Opened 5 years ago

Closed 5 years ago

#58980 closed defect (fixed)

Error: Failed to configure libwww

Reported by: dbl001 (dbl) Owned by: yan12125 (Chih-Hsuan Yen)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: libwww

Description (last modified by mf2k (Frank Schima))

opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_libwww/libwww/work/w3c-libwww-5.4.0/config.log

configure:7626: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Wall -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -ldl  -lz -L/opt/local/lib -lssl -lcrypto 1>&5
configure:7622:2: warning: implicit declaration of function 'SSL_library_init' is invalid in C99 [-Wimplicit-function-declaration]
 SSL_library_init();
 ^
1 warning generated.
Undefined symbols for architecture x86_64:
  "_SSL_library_init", referenced from:
      _main in conftest-ba8912.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 7619 "configure"
#include "confdefs.h"

Attachments (1)

config.log (44.1 KB) - added by dbl001 (dbl) 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by dbl001 (dbl)

Attachment: config.log added

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Milestone: MacPorts 2.6.0

The Milestone field is for use by Macports team members only, please do not set it.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: libwww removed

comment:3 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Owner: set to yan12125
Status: newassigned

comment:4 Changed 5 years ago by Chih-Hsuan Yen <yan12125@…>

Resolution: fixed
Status: assignedclosed

In f0f3b771f5cd8b403acf596ec5a67e44d832a7bc/macports-ports (master):

libwww: update to 5.4.2

  • Patches are from FreeBSD [1]. Also switch the FreeBSD approach to specify OpenSSL path. It's simpler.
  • Builds without ltconfig13 and ltmain13. Those are added 17 years ago [2]. I believe the issue has been fixed or is no longer relevant. Also, upstream ltmain is much newer than ltmain13.
  • libwww-config.in.diff: not needed as the library order is fixed in 5.4.2.
  • patch-configure.diff: there is no ac_tr_hdr in 5.4.2.

Note that some HTTPS sites are not working. For example,
webbot https://www.macports.org works but
webbot https://httpbin.org/ fails with "unable to get local
issuer certificate".

Closes: #58980

[1] https://svnweb.freebsd.org/ports/head/www/libwww/files/
[2] e78a648591105cb3d250c8604ca3eeb19ce4595a/macports-ports#diff-4daf6f089f884dca3cee10a133a62626

Note: See TracTickets for help on using tickets.