RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm errors upon running

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 20 Jun 2011 - 20:26:18 CEST
Message-id: <11306513-4D09-40AB-8273-6EC0BAE14D5A@mac.com>

On Jun 20, 2011, at 2:23 PM, Miller, Vincent (Rick) wrote:

> Great…thanks.  Got a RPM 5.3.11 tarball.
> 
> I configure as followed and it exited normally:
> 
> ./configure —with-expat —with-path-magic=/usr/share/misc/magic CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" LIBS="-lgss"
> 
> I then ran gmake and it errored during the compile in rpmdb with:
> 
> gmake[4]: Entering directory `/usr/home/vmiller/rpm-5.3.11/rpmdb'
> /usr/local/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc  -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -I/usr/local/include -DRPM_OS_FREEBSD=080200 -I/usr/local/include   -I/usr/local/include   -I/usr/local/include -DRPM_OS_FREEBSD=080200 -I/usr/local/include   -I/usr/local/include   -fopenmp -g -O2 -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -fstack-protector -fexceptions -fexceptions -Wno-missing-field-initializers -D_GNU_SOURCE -D_REENTRANT     -MT librpmdb_la-dbconfig.lo -MD -MP -MF .deps/librpmdb_la-dbconfig.Tpo -c -o librpmdb_la-dbconfig.lo `test -f 'dbconfig.c' || echo './'`dbconfig.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -I/usr/local/include -DRPM_OS_FREEBSD=080200 -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRPM_OS_FREEBSD=080200 -I/usr/local/include -I/usr/local/include -fopenmp -g -O2 -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -fstack-protector -fexceptions -fexceptions -Wno-missing-field-initializers -D_GNU_SOURCE -D_REENTRANT -MT librpmdb_la-dbconfig.lo -MD -MP -MF .deps/librpmdb_la-dbconfig.Tpo -c dbconfig.c  -fPIC -DPIC -o .libs/librpmdb_la-dbconfig.o
> In file included from dbconfig.c:14:
> ./rpmdb.h:433: error: expected specifier-qualifier-list before 'DB_SEQUENCE'
> ./rpmdb.h:490: error: expected specifier-qualifier-list before 'DB_LOGC'
> ./rpmdb.h: In function 'dbiCopen':
> ./rpmdb.h:589: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiCclose':
> ./rpmdb.h:604: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiCdup':
> ./rpmdb.h:620: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiDel':
> ./rpmdb.h:642: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiGet':
> ./rpmdb.h:665: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiPget':
> ./rpmdb.h:689: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiPut':
> ./rpmdb.h:713: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiCount':
> ./rpmdb.h:732: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiClose':
> ./rpmdb.h:746: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiSync':
> ./rpmdb.h:760: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiExists':
> ./rpmdb.h:775: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiSeqno':
> ./rpmdb.h:790: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiAssociate':
> ./rpmdb.h:808: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiJoin':
> ./rpmdb.h:825: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiByteSwapped':
> ./rpmdb.h:837: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'dbiStat':
> ./rpmdb.h:850: error: 'struct _dbiIndex' has no member named 'dbi_vec'
> ./rpmdb.h: In function 'rpmlkId':
> ./rpmdb.h:874: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:875: error: 'DB_ENV' has no member named 'lock_id'
> ./rpmdb.h: In function 'rpmlkIdFree':
> ./rpmdb.h:885: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:886: error: 'DB_ENV' has no member named 'lock_id_free'
> ./rpmdb.h: In function 'rpmlkGet':
> ./rpmdb.h:898: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:899: error: 'DB_ENV' has no member named 'lock_get'
> ./rpmdb.h:899: error: 'db_lockmode_t' undeclared (first use in this function)
> ./rpmdb.h:899: error: (Each undeclared identifier is reported only once
> ./rpmdb.h:899: error: for each function it appears in.)
> ./rpmdb.h:899: error: expected ')' before '_lockmode'
> ./rpmdb.h: In function 'rpmlkPut':
> ./rpmdb.h:910: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:911: error: 'DB_ENV' has no member named 'lock_put'
> ./rpmdb.h:911: error: 'DB_LOCK' undeclared (first use in this function)
> ./rpmdb.h:911: error: expected expression before ')' token
> ./rpmdb.h: In function 'rpmlgcOpen':
> ./rpmdb.h:922: error: 'DB_LOGC' undeclared (first use in this function)
> ./rpmdb.h:922: error: '_logc' undeclared (first use in this function)
> ./rpmdb.h:924: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:925: error: 'DB_ENV' has no member named 'log_cursor'
> ./rpmdb.h:926: error: 'struct rpmdb_s' has no member named 'db_logc'
> ./rpmdb.h: At top level:
> ./rpmdb.h:933: error: expected declaration specifiers or '...' before 'DB_LSN'
> ./rpmdb.h: In function 'rpmlgcGet':
> ./rpmdb.h:935: error: 'DB_LOGC' undeclared (first use in this function)
> ./rpmdb.h:935: error: '_logc' undeclared (first use in this function)
> ./rpmdb.h:935: error: 'struct rpmdb_s' has no member named 'db_logc'
> ./rpmdb.h:936: error: '_lsn' undeclared (first use in this function)
> ./rpmdb.h: In function 'rpmlgcClose':
> ./rpmdb.h:945: error: 'DB_LOGC' undeclared (first use in this function)
> ./rpmdb.h:945: error: '_logc' undeclared (first use in this function)
> ./rpmdb.h:945: error: 'struct rpmdb_s' has no member named 'db_logc'
> ./rpmdb.h:948: error: 'struct rpmdb_s' has no member named 'db_logc'
> ./rpmdb.h: At top level:
> ./rpmdb.h:955: error: expected ';', ',' or ')' before '*' token
> ./rpmdb.h:965: error: expected ';', ',' or ')' before '*' token
> ./rpmdb.h: In function 'rpmlgcPrintf':
> ./rpmdb.h:979: error: 'DB_ENV' has no member named 'log_printf'
> ./rpmdb.h: At top level:
> ./rpmdb.h:986: error: expected declaration specifiers or '...' before 'DB_LSN'
> ./rpmdb.h: In function 'rpmlgcPut':
> ./rpmdb.h:989: error: 'DB_ENV' has no member named 'log_put'
> ./rpmdb.h:989: error: '_lsn' undeclared (first use in this function)
> ./rpmdb.h: In function 'rpmmpfSyncAll':
> ./rpmdb.h:999: error: 'DB_LSN' undeclared (first use in this function)
> ./rpmdb.h:999: error: '_lsn' undeclared (first use in this function)
> ./rpmdb.h:1000: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:1001: error: 'DB_ENV' has no member named 'memp_sync'
> ./rpmdb.h: In function 'rpmmpfTrickle':
> ./rpmdb.h:1013: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:1014: error: 'DB_ENV' has no member named 'memp_trickle'
> ./rpmdb.h: In function 'rpmmpfClose':
> ./rpmdb.h:1023: error: 'DB_MPOOLFILE' undeclared (first use in this function)
> ./rpmdb.h:1023: error: 'mpf' undeclared (first use in this function)
> ./rpmdb.h:1023: error: 'struct rpmdb_s' has no member named 'db_mpf'
> ./rpmdb.h:1026: error: 'struct rpmdb_s' has no member named 'db_mpf'
> ./rpmdb.h: In function 'rpmmpfGet':
> ./rpmdb.h:1035: error: 'DB_MPOOLFILE' undeclared (first use in this function)
> ./rpmdb.h:1035: error: 'mpf' undeclared (first use in this function)
> ./rpmdb.h:1035: error: 'struct rpmdb_s' has no member named 'db_mpf'
> ./rpmdb.h: In function 'rpmmpfOpen':
> ./rpmdb.h:1047: error: 'DB_MPOOLFILE' undeclared (first use in this function)
> ./rpmdb.h:1047: error: 'mpf' undeclared (first use in this function)
> ./rpmdb.h:1048: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:1051: error: 'struct rpmdb_s' has no member named '_dbi'
> ./rpmdb.h:1052: error: 'DB_ENV' has no member named 'memp_fcreate'
> ./rpmdb.h:1058: error: 'struct rpmdb_s' has no member named 'db_mpf'
> ./rpmdb.h: In function 'rpmmpfPut':
> ./rpmdb.h:1069: error: 'DB_MPOOLFILE' undeclared (first use in this function)
> ./rpmdb.h:1069: error: 'mpf' undeclared (first use in this function)
> ./rpmdb.h:1069: error: 'struct rpmdb_s' has no member named 'db_mpf'
> ./rpmdb.h:1070: error: 'DB_PRIORITY_DEFAULT' undeclared (first use in this function)
> ./rpmdb.h:1071: error: 'DB_CACHE_PRIORITY' undeclared (first use in this function)
> ./rpmdb.h:1071: error: expected ')' before '_priority'
> ./rpmdb.h: In function 'rpmmpfSync':
> ./rpmdb.h:1080: error: 'DB_MPOOLFILE' undeclared (first use in this function)
> ./rpmdb.h:1080: error: 'mpf' undeclared (first use in this function)
> ./rpmdb.h:1080: error: 'struct rpmdb_s' has no member named 'db_mpf'
> gmake[4]: *** [librpmdb_la-dbconfig.lo] Error 1
> gmake[4]: Leaving directory `/usr/home/vmiller/rpm-5.3.11/rpmdb'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/usr/home/vmiller/rpm-5.3.11/rpmdb'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/home/vmiller/rpm-5.3.11/rpmdb'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/home/vmiller/rpm-5.3.11'
> gmake: *** [all] Error 2
> 
> ==
> Vincent (Rick) Miller
> Systems Engineer
> vmiller@Verisign.com
> 
> t: 703-948-4395
> 21345 Ridgetop Cir Dulles, VA 20166
> 
> VerisignInc.com   
> 
> From: Jeff Johnson <n3npq@mac.com>
> Reply-To: <rpm-users@rpm5.org>
> Date: Mon, 20 Jun 2011 13:56:34 -0400
> To: <rpm-users@rpm5.org>
> Subject: Re: rpm errors upon running
> 
> 
> On Jun 20, 2011, at 1:48 PM, Miller, Vincent (Rick) wrote:
> 
>> Ok.  Based on your input with regards to the error I am seeing with the rpmbuild issues.  I'll need to rebuild RPM5.  So, I was going to download it, but there are no source tarballs (just source rpms) for newer versions and I cannot download newer sources from CVS due to a firewall.
>> 
>> How do you recommend I download a newer version?
> 
> Find scripts/rpm2cpio.sh (its also on the web site).
> 
> Download the *.src.rpm and run
> 
> rpm2cpio.sh rpm-*.src.rpm | cpio -dim
> 
> You will end up w 2 tar balls and one spec file jun the current directory.
> 
> 73 de Jeff
> 




  • application/pkcs7-signature attachment: smime.p7s
Received on Mon Jun 20 20:26:23 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.