[MacPorts] #21932: DPKG(1.10.28) fails to build under Snow Leopard (10.6.1)

MacPorts noreply at macports.org
Thu Nov 19 12:58:28 PST 2009


#21932: DPKG(1.10.28) fails to build under Snow Leopard (10.6.1)
-------------------------------+--------------------------------------------
 Reporter:  drunknbass@…       |       Owner:  landonf@…           
     Type:  defect             |      Status:  new                 
 Priority:  Normal             |   Milestone:                      
Component:  ports              |     Version:  1.8.1               
 Keywords:                     |        Port:  dpkg                
-------------------------------+--------------------------------------------

Comment(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

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21932#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list