Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21932 closed defect (fixed)

DPKG(1.10.28) fails to build under Snow Leopard (10.6.1)

Reported by: drunknbass@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: nerdling (Jeremy Lavergne), andy@…
Port: dpkg

Description

Same issue as this 'closed' ticket http://trac.macports.org/ticket/20963

ar: creating archive libdpkg.a ranlib: file: libdpkg.a(compat.o) has no symbols ranlib libdpkg.a ranlib: file: libdpkg.a(compat.o) has no symbols gnumake: * [all-recursive] Error 2

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Keywords: dpkg snow leopard libdpkg.a removed
Owner: changed from macports-tickets@… to landonf@…
Port: 1.10.28 removed

Comment 2 in the other ticket applies equally here.

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:3 Changed 15 years ago by andy@…

Experiencing this, in 10.6.2.

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_dpkg/work/dpkg-1.10.28" && /usr/bin/gnumake -j2 all " returned error 2
Command output: gnumake[1]: *** Waiting for unfinished jobs....
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c myopt.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c nfmalloc.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c parse.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c parsehelp.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c showcright.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c showpkg.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c tarfn.c
showpkg.c: In function 'show1package':
showpkg.c:219: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
tarfn.c:39: warning: cast from pointer to integer of different size
tarfn.c:61: warning: no previous prototype for 'StoC'
tarfn.c: In function 'StoC':
tarfn.c:65: warning: implicit declaration of function 'strnlen'
tarfn.c:65: warning: nested extern declaration of 'strnlen'
tarfn.c: In function 'DecodeTarHeader':
tarfn.c:84: warning: unused variable 'fileLen'
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c varbuf.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c vercmp.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c md5.c
/usr/bin/gcc-4.2 -I/opt/local/include -O2 -arch x86_64  -Wall  -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/opt/local/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/opt/local/share/doc/dpkg/copyright\" -c utils.c
utils.c:26: warning: no previous prototype for 'strnlen'
utils.c: In function 'strnlen':
utils.c:28: warning: comparison between signed and unsigned
ar r libdpkg.a compat.o compression.o database.o dbmodify.o dump.o ehandle.o fields.o lock.o mlib.o myopt.o nfmalloc.o parse.o parsehelp.o showcright.o showpkg.o tarfn.o varbuf.o vercmp.o md5.o utils.o
ar: creating archive libdpkg.a
ranlib: file: libdpkg.a(compat.o) has no symbols
ranlib libdpkg.a
ranlib: file: libdpkg.a(compat.o) has no symbols
gnumake: *** [all-recursive] Error 2

comment:4 Changed 15 years ago by landonf (Landon Fuller)

Resolution: fixed
Status: newclosed

Parallel building breaks dpkg; I've disabled it in r60675. Additionally, if you re-run the build, it should actually build to completion.

comment:5 Changed 15 years ago by andy@…

Cc: andy@… added

Cc Me!

comment:6 Changed 15 years ago by andy@…

Wow, that was fast :) I had started to poke at what it would take to bring it up to 1.15.5.2, but this worked great. If I feel like getting a newer version, I'll submit a patch to the Portfile. Thanks!

Note: See TracTickets for help on using tickets.