Opened 5 years ago

Last modified 5 years ago

#58994 closed defect

openssl 1.1.c, mailx @12.4.6: mailx build error after rev update, possibly due to openssl update — at Initial Version

Reported by: lhaeger (Lothar Haeger) Owned by: yan12125 (Chih-Hsuan Yen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: larryv (Lawrence Velázquez), neverpanic (Clemens Lang)
Port: mailx

Description

Trying to update mailx form 12.4 rev5 to 12.4 rev6 gives me:

$ sudo port install -vst mailx ---> Computing dependencies for mailx ---> Fetching distfiles for mailx ---> Attempting to fetch mailx-12.4.tar.bz2 from http://nue.de.distfiles.macports.org/mailx ---> Verifying checksums for mailx ---> Extracting mailx ---> Applying patches to mailx ---> Configuring mailx ---> Building mailx Error: Failed to build mailx: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mailx/mailx/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port mailx failed

Running the build command manually shows:

$ sudo /usr/bin/make -j4 -w all make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mailx/mailx/work/mailx-12.4' /usr/bin/clang -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 aux.o base64.o cache.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o dotlock.o edit.o fio.o getname.o getopt.o head.o hmac.o imap.o imap_search.o junk.o lex.o list.o lzw.o macro.o maildir.o main.o md5.o mime.o names.o nss.o openssl.o pop3.o popen.o quit.o send.o sendout.o smtp.o ssl.o strings.o temp.o thread.o tty.o v7.local.o vars.o version.o grep '^[^#]' LIBS -o mailx Undefined symbols for architecture x86_64:

"_RAND_egd", referenced from:

_ssl_init in openssl.o

"_SSLv3_client_method", referenced from:

_ssl_open in openssl.o

ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: * [mailx] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mailx/mailx/work/mailx-12.4'

I've installed mailx 12.4.5 only a few hours ago when I still had openssl 1.0.2s installed. While running "port upgrade outdated", openssl was first updated to 1.1.1c and then the attempt updating mailx to 12.4.6 failed as above.

Change History (0)

Note: See TracTickets for help on using tickets.