[MacPorts] #68144: libextractor fails to build on Rosetta: Undefined symbols: "_LE_le16toh"
MacPorts
noreply at macports.org
Fri Sep 8 17:09:49 UTC 2023
#68144: libextractor fails to build on Rosetta: Undefined symbols: "_LE_le16toh"
-------------------------------------------+--------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: powerpc, rosetta, snowleopard | Port: libextractor
-------------------------------------------+--------------------------
{{{
:info:build libtool: link: ( cd ".libs" && rm -f "libextractor_riff.la" &&
ln -s "../libextractor_riff.la" "libextractor_riff.la" )
:info:build /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.2
-pipe -Os -arch ppc -export-dynamic -avoid-version -module -no-undefined
-export-symbols-regex "(EXTRACTOR|pl)_[a-zA-Z0-9_]*_......."
-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport
-arch ppc -o libextractor_flac.la -rpath /opt/local/lib/libextractor
flac_extractor.lo -lFLAC -lintl -Wl,-framework -Wl,CoreFoundation
:info:build libtool: link: /opt/local/bin/nm .libs/sid_extractor.o |
sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-
Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' |
/opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/libextractor_sid.exp
:info:build libtool: link: /opt/local/bin/nm .libs/s3m_extractor.o |
sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-
Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' |
/opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/libextractor_s3m.exp
:info:build libtool: link: /opt/local/bin/ggrep -E -e
"(EXTRACTOR|pl)_[a-zA-Z0-9_]*_......." ".libs/libextractor_sid.exp" >
".libs/libextractor_sid.expT"
:info:build libtool: link: /opt/local/bin/ggrep -E -e
"(EXTRACTOR|pl)_[a-zA-Z0-9_]*_......." ".libs/libextractor_s3m.exp" >
".libs/libextractor_s3m.expT"
:info:build libtool: link: /opt/local/bin/nm .libs/xm_extractor.o | sed
-n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-
Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' |
/opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/libextractor_xm.exp
:info:build libtool: link: mv -f ".libs/libextractor_sid.expT"
".libs/libextractor_sid.exp"
:info:build libtool: link: sed -e 's|^|_|' < .libs/libextractor_sid.exp >
.libs/libextractor_sid-symbols.expsym
:info:build libtool: link: /usr/bin/gcc-4.2 -o .libs/libextractor_sid.so
-bundle .libs/sid_extractor.o -L/opt/local/lib -lMacportsLegacySupport
-Os -arch ppc -Wl,-headerpad_max_install_names -arch ppc
-Wl,-exported_symbols_list,.libs/libextractor_sid-symbols.expsym
:info:build libtool: link: ar cr .libs/libextractor_sid.a sid_extractor.o
:info:build libtool: link: mv -f ".libs/libextractor_s3m.expT"
".libs/libextractor_s3m.exp"
:info:build libtool: link: sed -e 's|^|_|' < .libs/libextractor_s3m.exp >
.libs/libextractor_s3m-symbols.expsym
:info:build libtool: link: /usr/bin/gcc-4.2 -o .libs/libextractor_s3m.so
-bundle .libs/s3m_extractor.o -L/opt/local/lib -lMacportsLegacySupport
-Os -arch ppc -Wl,-headerpad_max_install_names -arch ppc
-Wl,-exported_symbols_list,.libs/libextractor_s3m-symbols.expsym
:info:build libtool: link: ranlib .libs/libextractor_sid.a
:info:build Undefined symbols:
:info:build "_LE_le16toh", referenced from:
:info:build _EXTRACTOR_s3m_extract_method in s3m_extractor.o
:info:build _EXTRACTOR_s3m_extract_method in s3m_extractor.o
:info:build _EXTRACTOR_s3m_extract_method in s3m_extractor.o
:info:build _EXTRACTOR_s3m_extract_method in s3m_extractor.o
:info:build _EXTRACTOR_s3m_extract_method in s3m_extractor.o
:info:build _EXTRACTOR_s3m_extract_method in s3m_extractor.o
:info:build _EXTRACTOR_s3m_extract_method in s3m_extractor.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[4]: *** [libextractor_s3m.la] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68144>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list