Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63301 closed defect (fixed)

ossp-fsl @1.6.1: build fails due to multiple undefined symbols for architecture x86_64

Reported by: cooljeanius (Eric Gallager) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: bigsur Cc:
Port: ossp-fsl

Description

Possibly the Big Sur libtool bug? I dunno:

/usr/bin/clang -dynamiclib  -o .libs/libfsl.16.0.21.dylib  .libs/fsl.o .libs/fsl_version.o lib_pcre/.libs/pcre_get.o lib_pcre/.libs/pcre_maketables.o lib_pcre/.libs/pcre_match.o lib_pcre/.libs/pcre_study.o  -L/opt/local/lib -lcfg -ll2  -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -install_name  /opt/local/lib/libfsl.16.dylib -Wl,-compatibility_version -Wl,17 -Wl,-current_version -Wl,17.21
Undefined symbols for architecture x86_64:
  "_pcre_compile", referenced from:
      _processcfg in fsl.o
      _pattern_compile in pcre_match.o
  "_pcre_exec", referenced from:
      _processcfg in fsl.o
      _pcre_match in pcre_match.o
  "_pcre_free", referenced from:
      _processcfg in fsl.o
      _pcre_free_substring_list in pcre_get.o
      _pcre_free_substring in pcre_get.o
      _pcre_match in pcre_match.o
      _hash_destroy in pcre_match.o
      _pattern_compile in pcre_match.o
     (maybe you meant: _pcre_free_substring, _pcre_free_substring_list )
  "_pcre_info", referenced from:
      _pcre_match in pcre_match.o
  "_pcre_malloc", referenced from:
      _pcre_get_substring_list in pcre_get.o
      _pcre_get_substring in pcre_get.o
      _pcre_maketables in pcre_maketables.o
      _pcre_match in pcre_match.o
      _pattern_compile in pcre_match.o
      _pcre_study in pcre_study.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: *** [libfsl.la] Error 1
make: *** Waiting for unfinished jobs....
./libtool --quiet --mode=link /usr/bin/clang -o libpcre.la \
	           pcre.lo pcre_get.lo pcre_maketables.lo pcre_study.lo pcre_match.lo -rpath /opt/local/lib
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-fsl/ossp-fsl/work/fsl-1.6.1/lib_pcre'
<=== lib_pcre
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-fsl/ossp-fsl/work/fsl-1.6.1'
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-fsl/ossp-fsl/work/fsl-1.6.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-fsl/ossp-fsl/work/fsl-1.6.1" && /usr/bin/make -j16 -w all 
Exit code: 2
Error: Failed to build ossp-fsl: command execution failed
DEBUG: Error code: CHILDSTATUS 67957 2

Attachments (2)

ossp-fsl_main.log (34.8 KB) - added by cooljeanius (Eric Gallager) 3 years ago.
main.log for ossp-fsl
ossp-fsl_config.log (52.4 KB) - added by cooljeanius (Eric Gallager) 3 years ago.
config.log for ossp-fsl

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by cooljeanius (Eric Gallager)

Attachment: ossp-fsl_main.log added

main.log for ossp-fsl

Changed 3 years ago by cooljeanius (Eric Gallager)

Attachment: ossp-fsl_config.log added

config.log for ossp-fsl

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In cf9915358e73fc3d99689b112df757870bffba41/macports-ports (master):

ossp-fsl: Fix the macOS 11+ libtool bug

Closes: #63301

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added
Note: See TracTickets for help on using tickets.