[MacPorts] #25143: unshield 0.6 fails to compile with Undefined symbols.
#25143: unshield 0.6 fails to compile with Undefined symbols. ---------------------------+------------------------------------------------ Reporter: sck@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: unshield ---------------------------+------------------------------------------------ On my 10.6.3 Intel laptop, running MacPorts 1.8.2, fully updated... I can't seem to get a clean compile of unshield 0.6 biko:~ sck$ sudo port clean unshield ---> Cleaning unshield biko:~ sck$ sudo port upgrade unshield ---> Computing dependencies for unshield ---> Fetching unshield ---> Verifying checksum(s) for unshield ---> Extracting unshield ---> Configuring unshield ---> Building unshield Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_unshield/work/unshield-0.6" && /usr/bin/make -j2 all " returned error 2 Command output: libtool: link: rm -fr .libs/libunshield.lax .libs/libunshield.lax libtool: link: ( cd ".libs" && rm -f "libunshield.la" && ln -s "../libunshield.la" "libunshield.la" ) Making all in src /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../lib -I../lib -I/opt/local/include -I/opt/local/include -Wall -Wsign-compare -Wno-long- long -O2 -arch x86_64 -MT unshield.o -MD -MP -MF .deps/unshield.Tpo -c -o unshield.o unshield.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../lib -I../lib -I/opt/local/include -I/opt/local/include -Wall -Wsign-compare -Wno-long- long -O2 -arch x86_64 -MT unshield-deobfuscate.o -MD -MP -MF .deps /unshield-deobfuscate.Tpo -c -o unshield-deobfuscate.o unshield- deobfuscate.c mv -f .deps/unshield-deobfuscate.Tpo .deps/unshield-deobfuscate.Po /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -Wall -Wsign- compare -Wno-long-long -O2 -arch x86_64 -L/opt/local/lib -L/opt/local/lib -o unshield-deobfuscate unshield-deobfuscate.o ../lib/libunshield.la -lz unshield.c: In function 'extract_helper': unshield.c:259: warning: 'success' may be used uninitialized in this function unshield.c:259: note: 'success' was declared here mv -f .deps/unshield.Tpo .deps/unshield.Po /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -Wall -Wsign- compare -Wno-long-long -O2 -arch x86_64 -L/opt/local/lib -L/opt/local/lib -o unshield unshield.o ../lib/libunshield.la -lz libtool: link: /usr/bin/gcc-4.2 -Wall -Wsign-compare -Wno-long-long -O2 -arch x86_64 -o .libs/unshield-deobfuscate unshield-deobfuscate.o -L/opt/local/lib -L../lib/.libs -lunshield -lz Undefined symbols: "_unshield_deobfuscate", referenced from: _main in unshield-deobfuscate.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [unshield-deobfuscate] Error 1 make[1]: *** Waiting for unfinished jobs.... libtool: link: /usr/bin/gcc-4.2 -Wall -Wsign-compare -Wno-long-long -O2 -arch x86_64 -o .libs/unshield unshield.o -L/opt/local/lib -L../lib/.libs -lunshield -lz Undefined symbols: "_unshield_file_save_raw", referenced from: _extract_helper in unshield.o "_unshield_file_save_old", referenced from: _extract_helper in unshield.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [unshield] Error 1 make: *** [all-recursive] Error 1 Error: Unable to upgrade port: 1 Before reporting a bug, first run the command again with the -d flag to get complete output. biko:~ sck$ I have attached the debug output if needed... Scott -- Ticket URL: <http://trac.macports.org/ticket/25143> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25143: unshield 0.6 fails to compile with Undefined symbols. ---------------------------+------------------------------------------------ Reporter: sck@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: unshield ---------------------------+------------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => boeyms@… Old description:
On my 10.6.3 Intel laptop, running MacPorts 1.8.2, fully updated...
I can't seem to get a clean compile of unshield 0.6
biko:~ sck$ sudo port clean unshield ---> Cleaning unshield biko:~ sck$ sudo port upgrade unshield ---> Computing dependencies for unshield ---> Fetching unshield ---> Verifying checksum(s) for unshield ---> Extracting unshield ---> Configuring unshield ---> Building unshield Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_unshield/work/unshield-0.6" && /usr/bin/make -j2 all " returned error 2 Command output: libtool: link: rm -fr .libs/libunshield.lax .libs/libunshield.lax libtool: link: ( cd ".libs" && rm -f "libunshield.la" && ln -s "../libunshield.la" "libunshield.la" ) Making all in src /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../lib -I../lib -I/opt/local/include -I/opt/local/include -Wall -Wsign-compare -Wno- long-long -O2 -arch x86_64 -MT unshield.o -MD -MP -MF .deps/unshield.Tpo -c -o unshield.o unshield.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../lib -I../lib -I/opt/local/include -I/opt/local/include -Wall -Wsign-compare -Wno- long-long -O2 -arch x86_64 -MT unshield-deobfuscate.o -MD -MP -MF .deps /unshield-deobfuscate.Tpo -c -o unshield-deobfuscate.o unshield- deobfuscate.c mv -f .deps/unshield-deobfuscate.Tpo .deps/unshield-deobfuscate.Po /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -Wall -Wsign- compare -Wno-long-long -O2 -arch x86_64 -L/opt/local/lib -L/opt/local/lib -o unshield-deobfuscate unshield-deobfuscate.o ../lib/libunshield.la -lz unshield.c: In function 'extract_helper': unshield.c:259: warning: 'success' may be used uninitialized in this function unshield.c:259: note: 'success' was declared here mv -f .deps/unshield.Tpo .deps/unshield.Po /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -Wall -Wsign- compare -Wno-long-long -O2 -arch x86_64 -L/opt/local/lib -L/opt/local/lib -o unshield unshield.o ../lib/libunshield.la -lz libtool: link: /usr/bin/gcc-4.2 -Wall -Wsign-compare -Wno-long-long -O2 -arch x86_64 -o .libs/unshield-deobfuscate unshield-deobfuscate.o -L/opt/local/lib -L../lib/.libs -lunshield -lz Undefined symbols: "_unshield_deobfuscate", referenced from: _main in unshield-deobfuscate.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [unshield-deobfuscate] Error 1 make[1]: *** Waiting for unfinished jobs.... libtool: link: /usr/bin/gcc-4.2 -Wall -Wsign-compare -Wno-long-long -O2 -arch x86_64 -o .libs/unshield unshield.o -L/opt/local/lib -L../lib/.libs -lunshield -lz Undefined symbols: "_unshield_file_save_raw", referenced from: _extract_helper in unshield.o "_unshield_file_save_old", referenced from: _extract_helper in unshield.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [unshield] Error 1 make: *** [all-recursive] Error 1
Error: Unable to upgrade port: 1 Before reporting a bug, first run the command again with the -d flag to get complete output. biko:~ sck$
I have attached the debug output if needed...
Scott
New description: On my 10.6.3 Intel laptop, running MacPorts 1.8.2, fully updated... I can't seem to get a clean compile of unshield 0.6 {{{ biko:~ sck$ sudo port clean unshield ---> Cleaning unshield biko:~ sck$ sudo port upgrade unshield ---> Computing dependencies for unshield ---> Fetching unshield ---> Verifying checksum(s) for unshield ---> Extracting unshield ---> Configuring unshield ---> Building unshield Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_unshield/work/unshield-0.6" && /usr/bin/make -j2 all " returned error 2 Command output: libtool: link: rm -fr .libs/libunshield.lax .libs/libunshield.lax libtool: link: ( cd ".libs" && rm -f "libunshield.la" && ln -s "../libunshield.la" "libunshield.la" ) Making all in src /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../lib -I../lib -I/opt/local/include -I/opt/local/include -Wall -Wsign-compare -Wno-long- long -O2 -arch x86_64 -MT unshield.o -MD -MP -MF .deps/unshield.Tpo -c -o unshield.o unshield.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../lib -I../lib -I/opt/local/include -I/opt/local/include -Wall -Wsign-compare -Wno-long- long -O2 -arch x86_64 -MT unshield-deobfuscate.o -MD -MP -MF .deps /unshield-deobfuscate.Tpo -c -o unshield-deobfuscate.o unshield- deobfuscate.c mv -f .deps/unshield-deobfuscate.Tpo .deps/unshield-deobfuscate.Po /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -Wall -Wsign- compare -Wno-long-long -O2 -arch x86_64 -L/opt/local/lib -L/opt/local/lib -o unshield-deobfuscate unshield-deobfuscate.o ../lib/libunshield.la -lz unshield.c: In function 'extract_helper': unshield.c:259: warning: 'success' may be used uninitialized in this function unshield.c:259: note: 'success' was declared here mv -f .deps/unshield.Tpo .deps/unshield.Po /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -Wall -Wsign- compare -Wno-long-long -O2 -arch x86_64 -L/opt/local/lib -L/opt/local/lib -o unshield unshield.o ../lib/libunshield.la -lz libtool: link: /usr/bin/gcc-4.2 -Wall -Wsign-compare -Wno-long-long -O2 -arch x86_64 -o .libs/unshield-deobfuscate unshield-deobfuscate.o -L/opt/local/lib -L../lib/.libs -lunshield -lz Undefined symbols: "_unshield_deobfuscate", referenced from: _main in unshield-deobfuscate.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [unshield-deobfuscate] Error 1 make[1]: *** Waiting for unfinished jobs.... libtool: link: /usr/bin/gcc-4.2 -Wall -Wsign-compare -Wno-long-long -O2 -arch x86_64 -o .libs/unshield unshield.o -L/opt/local/lib -L../lib/.libs -lunshield -lz Undefined symbols: "_unshield_file_save_raw", referenced from: _extract_helper in unshield.o "_unshield_file_save_old", referenced from: _extract_helper in unshield.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [unshield] Error 1 make: *** [all-recursive] Error 1 Error: Unable to upgrade port: 1 Before reporting a bug, first run the command again with the -d flag to get complete output. biko:~ sck$ }}} I have attached the debug output if needed... Scott -- -- Ticket URL: <http://trac.macports.org/ticket/25143#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25143: unshield 0.6 fails to compile with Undefined symbols. ----------------------------+----------------------------------------------- Reporter: sck@… | Owner: boeyms@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: unshield | ----------------------------+----------------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Looks like it doesn't want to link against the bits it's building, but instead against the already-installed libs from the older version. Should be fixes in r68545. -- Ticket URL: <http://trac.macports.org/ticket/25143#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts