[MacPorts] #21861: rpm - 4.4.9 - doesn't build cause to libbd.la error

MacPorts noreply at macports.org
Tue Oct 6 03:00:50 PDT 2009


#21861: rpm  - 4.4.9 - doesn't build cause to libbd.la error
----------------------------------------+-----------------------------------
 Reporter:  antoine.mercadal@…          |       Owner:  n3npq@…      
     Type:  defect                      |      Status:  new          
 Priority:  Normal                      |   Milestone:               
Component:  ports                       |     Version:  1.8.1        
 Keywords:  snowleopard                 |        Port:  rpm          
----------------------------------------+-----------------------------------

Comment(by antoine.mercadal@…):

 I've aslo noticed that if I simply relaunch the command
 {{{
 sudo port install rpm
 }}}
 without cleaning before I get back the first submited error about libdb :

 {{{
 sudo port install rpm
 --->  Computing dependencies for rpm
 --->  Building rpm
 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_rpm/work/rpm-4.4.9"
 && /usr/bin/gnumake -j2 all " returned error 2
 Command output: rpmdb.c:1175: warning: no previous prototype for
 'rpmdbOpenDatabase'
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib
 -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 tagname.lo -MD -MP -MF .deps/tagname.Tpo -c tagname.c -o tagname.o
 >/dev/null 2>&1
 mv -f .deps/tagname.Tpo .deps/tagname.Plo
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../rpmio
 -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include  -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 tagtbl.lo -MD -MP -MF .deps/tagtbl.Tpo -c -o tagtbl.lo tagtbl.c
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib
 -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 tagtbl.lo -MD -MP -MF .deps/tagtbl.Tpo -c tagtbl.c  -fno-common -DPIC -o
 .libs/tagtbl.o
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib
 -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 tagtbl.lo -MD -MP -MF .deps/tagtbl.Tpo -c tagtbl.c -o tagtbl.o >/dev/null
 2>&1
 mv -f .deps/tagtbl.Tpo .deps/tagtbl.Plo
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../rpmio
 -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include  -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 db3.lo -MD -MP -MF .deps/db3.Tpo -c -o db3.lo db3.c
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib
 -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 db3.lo -MD -MP -MF .deps/db3.Tpo -c db3.c  -fno-common -DPIC -o
 .libs/db3.o
 db3.c: In function 'db_init':
 db3.c:359: warning: passing argument 2 of 'dbenv->set_errcall' from
 incompatible pointer type
 db3.c: In function 'db3close':
 db3.c:980: warning: passing argument 2 of 'dbenv->set_errcall' from
 incompatible pointer type
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib
 -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 db3.lo -MD -MP -MF .deps/db3.Tpo -c db3.c -o db3.o >/dev/null 2>&1
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib
 -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 rpmdb.lo -MD -MP -MF .deps/rpmdb.Tpo -c rpmdb.c -o rpmdb.o >/dev/null 2>&1
 mv -f .deps/db3.Tpo .deps/db3.Plo
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../rpmio
 -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include  -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 sqlite.lo -MD -MP -MF .deps/sqlite.Tpo -c -o sqlite.lo sqlite.c
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib
 -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 sqlite.lo -MD -MP -MF .deps/sqlite.Tpo -c sqlite.c  -fno-common -DPIC -o
 .libs/sqlite.o
 sqlite.c: In function 'sql_step':
 sqlite.c:456: warning: pointer targets in initialization differ in
 signedness
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib
 -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc
 -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -O2 -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-
 arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
 sqlite.lo -MD -MP -MF .deps/sqlite.Tpo -c sqlite.c -o sqlite.o >/dev/null
 2>&1
 mv -f .deps/rpmdb.Tpo .deps/rpmdb.Plo
 sed -e"/^libdir=/s/^.*$/libdir=''/" < ../db3/libdb-4.5.la >
 ../db3/libdb.la
 /bin/sh: ../db3/libdb-4.5.la: No such file or directory
 gnumake[3]: *** [../db3/libdb.la] Error 1
 gnumake[3]: *** Waiting for unfinished jobs....
 mv -f .deps/sqlite.Tpo .deps/sqlite.Plo
 gnumake[2]: *** [all] Error 2
 gnumake[1]: *** [all-recursive] Error 1
 gnumake: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}
 weird...

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


More information about the macports-tickets mailing list