Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#7550 closed defect (fixed)

BUG: gzip build fails with undefined symbols

Reported by: lrivers@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: vincent-opdarw@…
Port:

Description

DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/gzip DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/gzip DEBUG: Requested variant powerpc is not provided by port gzip. DEBUG: Requested variant darwin is not provided by port gzip. DEBUG: Requested variant macosx is not provided by port gzip. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Skipping completed com.apple.main (gzip) DEBUG: Skipping completed com.apple.unarchive (gzip) DEBUG: Skipping completed com.apple.fetch (gzip) DEBUG: Skipping completed com.apple.checksum (gzip) DEBUG: Skipping completed com.apple.extract (gzip) DEBUG: Skipping completed com.apple.patch (gzip) DEBUG: Skipping completed com.apple.configure (gzip) ---> Building gzip with target all DEBUG: Executing com.apple.build (gzip) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_archivers_gzip/work/gzip-1.3.5" && make all' make all-am /usr/bin/gcc-4.0 -g -O2 -o gzip bits.o crypt.o deflate.o getopt.o getopt1.o gzip.o inflate.o lzw.o trees.o unlzh.o unlzw.o unpack.o unzip.o util.o yesno.o zip.o match.o rpmatch.o /usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _longest_match _match_init collect2: ld returned 1 exit status make[1]: * [gzip] Error 1 make: * [all] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_archivers_gzip/work/gzip-1.3.5" && make all" returned error 2 Command output: make all-am /usr/bin/gcc-4.0 -g -O2 -o gzip bits.o crypt.o deflate.o getopt.o getopt1.o gzip.o inflate.o lzw.o trees.o unlzh.o unlzw.o unpack.o unzip.o util.o yesno.o zip.o match.o rpmatch.o /usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _longest_match _match_init collect2: ld returned 1 exit status make[1]: * [gzip] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for gzip): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed
Summary: gzip fails with undefined symbolsBUG: gzip build fails with undefined symbols

the addition of -DNO_ASM should have fixed this issue; please re-open with a full trace if problem persists though!

$ port -d build > logfile 2>&1

comment:2 Changed 19 years ago by vincent-opdarw@…

Cc: vincent-opdarw@… added

I can't reopen the bug, but the problem is not fixed, though -DNO_ASM is used:

Command output: else rm -f ".deps/util.Tpo"; exit 1; \ fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -DNO_ASM -MT yesno.o -MD -MP -MF ".deps/yesno.Tpo" \

-c -o yesno.o test -f 'yesno.c' || echo './'yesno.c; \

then mv ".deps/yesno.Tpo" ".deps/yesno.Po"; \ else rm -f ".deps/yesno.Tpo"; exit 1; \ fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -DNO_ASM -MT zip.o -MD -MP -MF ".deps/zip.Tpo" \

-c -o zip.o test -f 'zip.c' || echo './'zip.c; \

then mv ".deps/zip.Tpo" ".deps/zip.Po"; \ else rm -f ".deps/zip.Tpo"; exit 1; \ fi cp ./match.c _match.S /usr/bin/gcc-4.0 -E _match.S >_match.s /usr/bin/gcc-4.0 -c -DNO_ASM _match.s mv _match.o match.o rm -f _match.S _match.s if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -DNO_ASM -MT rpmatch.o -MD -MP -MF ".deps/rpmatch.Tpo" \

-c -o rpmatch.o test -f 'rpmatch.c' || echo './'rpmatch.c; \

then mv ".deps/rpmatch.Tpo" ".deps/rpmatch.Po"; \ else rm -f ".deps/rpmatch.Tpo"; exit 1; \ fi /usr/bin/gcc-4.0 -DNO_ASM -o gzip bits.o crypt.o deflate.o getopt.o getopt1.o gzip.o inflate.o lzw.o trees.o unlzh.o unlzw.o unpack.o unzip.o util.o yesno.o zip.o match.o rpmatch.o /usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _longest_match _match_init collect2: ld returned 1 exit status make[1]: * [gzip] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for gzip): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.

comment:3 Changed 19 years ago by mww@…

Resolution: fixed
Status: closedreopened

o.k . - now tried with DEFS=NO_ASM, please report back if it works now!

comment:4 Changed 19 years ago by vincent-opdarw@…

(In reply to comment #3)

o.k . - now tried with DEFS=NO_ASM, please report back if it works now!

Yes, it now works. Thanks. I let you close the bug since I can't do it.

comment:5 Changed 19 years ago by mww@…

Resolution: fixed
Status: reopenedclosed

excellent!

Note: See TracTickets for help on using tickets.