Ticket #13462 (closed defect: worksforme)
gnutar 1.19_0 build failure in Leopard: duplicate symbol _argp_fmtstream_write
| Reported by: | marcus@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Bugs |
| Component: | ports | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Port: |
Description
I'm not sure if port specific issues are posted here. Hopefully this can get routed to the proper spot. I'm not able to build gnutar on MacPorts, this wouldn't be a problem but Leopard's tar does not recognize the --exclude flag.
Here is what I'm running:
Running MacPorts 1.520 Mac OS X 10.5.1
gnutar relies on the following two ports, here are the versions I have installed
{{{ $ port installed | grep gettext
gettext @0.16.1_0 (active)
}}}
{{{ $ port installed | grep libiconv
libiconv @1.11_6 (active)
}}}
and here is the results of trying to install
$ port install gnutar
---> Fetching gnutar
---> Verifying checksum(s) for gnutar
---> Extracting gnutar
---> Applying patches to gnutar
---> Configuring gnutar
---> Building gnutar with target all
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_gnutar/work/tar-1.19" && make all " returned error 2
Command output: then mv -f ".deps/xheader.Tpo" ".deps/xheader.Po"; else rm -f ".deps/xheader.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT incremen.o -MD -MP -MF ".deps/incremen.Tpo" -c -o incremen.o incremen.c; \
then mv -f ".deps/incremen.Tpo" ".deps/incremen.Po"; else rm -f ".deps/incremen.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT list.o -MD -MP -MF ".deps/list.Tpo" -c -o list.o list.c; \
then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f ".deps/list.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT names.o -MD -MP -MF ".deps/names.Tpo" -c -o names.o names.c; \
then mv -f ".deps/names.Tpo" ".deps/names.Po"; else rm -f ".deps/names.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT sparse.o -MD -MP -MF ".deps/sparse.Tpo" -c -o sparse.o sparse.c; \
then mv -f ".deps/sparse.Tpo" ".deps/sparse.Po"; else rm -f ".deps/sparse.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT system.o -MD -MP -MF ".deps/system.Tpo" -c -o system.o system.c; \
then mv -f ".deps/system.Tpo" ".deps/system.Po"; else rm -f ".deps/system.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT tar.o -MD -MP -MF ".deps/tar.Tpo" -c -o tar.o tar.c; \
then mv -f ".deps/tar.Tpo" ".deps/tar.Po"; else rm -f ".deps/tar.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT transform.o -MD -MP -MF ".deps/transform.Tpo" -c -o transform.o transform.c; \
then mv -f ".deps/transform.Tpo" ".deps/transform.Po"; else rm -f ".deps/transform.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT update.o -MD -MP -MF ".deps/update.Tpo" -c -o update.o update.c; \
then mv -f ".deps/update.Tpo" ".deps/update.Po"; else rm -f ".deps/update.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -I/opt/local/include -O2 -MT utf8.o -MD -MP -MF ".deps/utf8.Tpo" -c -o utf8.o utf8.c; \
then mv -f ".deps/utf8.Tpo" ".deps/utf8.Po"; else rm -f ".deps/utf8.Tpo"; exit 1; fi
utf8.c: In function 'string_ascii_p':
utf8.c:94: warning: comparison is always true due to limited range of data type
gcc -std=gnu99 -O2 -L/opt/local/lib -o tar buffer.o compare.o create.o delete.o extract.o xheader.o incremen.o list.o misc.o names.o sparse.o system.o tar.o transform.o update.o utf8.o ../lib/libtar.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation -liconv
ld: duplicate symbol _argp_fmtstream_write in ../lib/libtar.a(argp-help.o) and tar.o
collect2: ld returned 1 exit status
make[2]: *** [tar] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
Change History
Note: See
TracTickets for help on using
tickets.

