[MacPorts] #63301: ossp-fsl @1.6.1: build fails due to multiple undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Mon Jul 26 19:57:01 UTC 2021


#63301: ossp-fsl @1.6.1: build fails due to multiple undefined symbols for
architecture x86_64
-------------------------+----------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  ossp-fsl
-------------------------+----------------------
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63301>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list