I'm experiencing problems with a system upgrade, and when it comes the moment to upgrade rpm, this is what happens:
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c rpmdb.c -fPIC -DPIC -o .libs/librpmdb_la-rpmdb.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c rpmlio.c -fPIC -DPIC -o .libs/librpmdb_la-rpmlio.o
In file included from dbconfig.c:14:0:
./rpmdb.h:433:5: error: unknown type name 'DB_SEQUENCE'
DB_SEQUENCE * dbi_seq; /*!< Berkeley DB_SEQUENCE handle */
^
./rpmdb.h:490:5: error: unknown type name 'DB_LOGC'
DB_LOGC * db_logc; /*!< Berkeley DB_LOGC handle */
^
./rpmdb.h:491:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE *db_mpf; /*!< Berkeley DB_MPOOLFILE handle */
^
./rpmdb.h: In function 'rpmlkId':
./rpmdb.h:875:9: error: 'DB_ENV' has no member named 'lock_id'
? dbenv->lock_id(dbenv, _idp) : ENOTSUP;
^
./rpmdb.h: In function 'rpmlkIdFree':
./rpmdb.h:886:9: error: 'DB_ENV' has no member named 'lock_id_free'
? dbenv->lock_id_free(dbenv, _id) : ENOTSUP;
^
./rpmdb.h: In function 'rpmlkGet':
./rpmdb.h:899:9: error: 'DB_ENV' has no member named 'lock_get'
? dbenv->lock_get(dbenv, _locker, _flags, _object, _lockmode, _lock)
^
In file included from dbconfig.c:14:0:
./rpmdb.h: In function 'rpmlkPut':
./rpmdb.h:911:9: error: 'DB_ENV' has no member named 'lock_put'
? dbenv->lock_put(dbenv, _lock)
^
./rpmdb.h: In function 'rpmlgcOpen':
./rpmdb.h:922:5: error: unknown type name 'DB_LOGC'
DB_LOGC * _logc = NULL;
^
./rpmdb.h:925:9: error: 'DB_ENV' has no member named 'log_cursor'
? dbenv->log_cursor(dbenv, &_logc, _flags) : ENOTSUP;
^
./rpmdb.h: At top level:
./rpmdb.h:933:28: error: unknown type name 'DB_LSN'
int rpmlgcGet(rpmdb rpmdb, DB_LSN * _lsn, DBT * data, uint32_t flags)
^
./rpmdb.h: In function 'rpmlgcClose':
./rpmdb.h:945:5: error: unknown type name 'DB_LOGC'
DB_LOGC * _logc = rpmdb->db_logc;
^
./rpmdb.h:947:28: error: request for member 'close' in something not a structure or union
int rc = (_logc ? _logc->close(_logc, _flags) : ENOTSUP);
^
./rpmdb.h: At top level:
./rpmdb.h:955:1: error: unknown type name 'DB_LSN'
int rpmlgcFile(rpmdb rpmdb, const DB_LSN * _lsn, char * name, size_t len)
^
./rpmdb.h: In function 'rpmlgcFile':
./rpmdb.h:958:19: error: 'DB_ENV' has no member named 'log_file'
int rc = dbenv->log_file(dbenv, _lsn, name, len);
^
./rpmdb.h: At top level:
./rpmdb.h:965:1: error: unknown type name 'DB_LSN'
int rpmlgcFlush(rpmdb rpmdb, const DB_LSN * _lsn)
^
./rpmdb.h: In function 'rpmlgcFlush':
./rpmdb.h:968:19: error: 'DB_ENV' has no member named 'log_flush'
int rc = dbenv->log_flush(dbenv, _lsn);
^
./rpmdb.h: In function 'rpmlgcPrintf':
./rpmdb.h:979:19: error: 'DB_ENV' has no member named 'log_printf'
int rc = dbenv->log_printf(dbenv, _txnid, fmt, _A1, _A2, _A3, _A4, _A5);
^
./rpmdb.h: At top level:
./rpmdb.h:986:28: error: unknown type name 'DB_LSN'
int rpmlgcPut(rpmdb rpmdb, DB_LSN * _lsn, const DBT * data, uint32_t flags)
^
./rpmdb.h: In function 'rpmmpfSyncAll':
./rpmdb.h:999:5: error: unknown type name 'DB_LSN'
DB_LSN * _lsn = NULL;
^
./rpmdb.h:1001:9: error: 'DB_ENV' has no member named 'memp_sync'
? dbenv->memp_sync(dbenv, _lsn) : ENOTSUP;
^
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT -c libsqldb.c -o libsqldb.o >/dev/null 2>&1
./rpmdb.h: In function 'rpmmpfTrickle':
./rpmdb.h:1014:9: error: 'DB_ENV' has no member named 'memp_trickle'
? dbenv->memp_trickle(dbenv, _percent, &_nwrote) : ENOTSUP;
^
./rpmdb.h: In function 'rpmmpfClose':
./rpmdb.h:1023:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
./rpmdb.h:1025:24: error: request for member 'close' in something not a structure or union
int rc = (mpf ? mpf->close(mpf, _flags) : ENOTSUP);
^
./rpmdb.h: In function 'rpmmpfGet':
./rpmdb.h:1035:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
./rpmdb.h:1037:17: error: request for member 'get' in something not a structure or union
int rc = mpf->get(mpf, _pgnop, _txnid, _flags, _pagep);
^
./rpmdb.h: In function 'rpmmpfOpen':
./rpmdb.h:1047:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = NULL;
^
./rpmdb.h:1052:9: error: 'DB_ENV' has no member named 'memp_fcreate'
? dbenv->memp_fcreate(dbenv, &mpf, _fcreate_flags) : ENOTSUP; [268/1930]
^
./rpmdb.h:1057:13: error: request for member 'open' in something not a structure or union
rc = mpf->open(mpf, fn, flags, _perms, _pagesize);
^
./rpmdb.h: In function 'rpmmpfPut':
./rpmdb.h:1069:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
./rpmdb.h:1070:26: error: 'DB_PRIORITY_DEFAULT' undeclared (first use in this function)
uint32_t _priority = DB_PRIORITY_DEFAULT;
^
./rpmdb.h:1070:26: note: each undeclared identifier is reported only once for each function it appears in
./rpmdb.h:1071:17: error: request for member 'put' in something not a structure or union
int rc = mpf->put(mpf, _page, _priority, flags);
^
./rpmdb.h: In function 'rpmmpfSync':
./rpmdb.h:1080:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
./rpmdb.h:1081:24: error: request for member 'sync' in something not a structure or union
int rc = (mpf ? mpf->sync(mpf) : ENOTSUP);
^
In file included from rpmlio.c:13:0:
./rpmdb.h:433:5: error: unknown type name 'DB_SEQUENCE'
DB_SEQUENCE * dbi_seq; /*!< Berkeley DB_SEQUENCE handle */
^
./rpmdb.h:490:5: error: unknown type name 'DB_LOGC'
DB_LOGC * db_logc; /*!< Berkeley DB_LOGC handle */
^
./rpmdb.h:491:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE *db_mpf; /*!< Berkeley DB_MPOOLFILE handle */
^
./rpmdb.h: In function 'rpmlkId':
./rpmdb.h:875:9: error: 'DB_ENV' has no member named 'lock_id'
? dbenv->lock_id(dbenv, _idp) : ENOTSUP;
^
./rpmdb.h: In function 'rpmlkIdFree':
./rpmdb.h:886:9: error: 'DB_ENV' has no member named 'lock_id_free'
? dbenv->lock_id_free(dbenv, _id) : ENOTSUP;
^
./rpmdb.h: In function 'rpmlkGet':
./rpmdb.h:899:9: error: 'DB_ENV' has no member named 'lock_get'
? dbenv->lock_get(dbenv, _locker, _flags, _object, _lockmode, _lock)
^
In file included from rpmlio.c:13:0:
./rpmdb.h: In function 'rpmlkPut':
./rpmdb.h:911:9: error: 'DB_ENV' has no member named 'lock_put'
? dbenv->lock_put(dbenv, _lock)
^
./rpmdb.h: In function 'rpmlgcOpen':
./rpmdb.h:922:5: error: unknown type name 'DB_LOGC'
DB_LOGC * _logc = NULL;
^
./rpmdb.h:925:9: error: 'DB_ENV' has no member named 'log_cursor'
? dbenv->log_cursor(dbenv, &_logc, _flags) : ENOTSUP;
^
./rpmdb.h: At top level:
./rpmdb.h:933:28: error: unknown type name 'DB_LSN'
int rpmlgcGet(rpmdb rpmdb, DB_LSN * _lsn, DBT * data, uint32_t flags)
^
./rpmdb.h: In function 'rpmlgcClose':
./rpmdb.h:945:5: error: unknown type name 'DB_LOGC'
DB_LOGC * _logc = rpmdb->db_logc;
^
./rpmdb.h:947:28: error: request for member 'close' in something not a structure or union
int rc = (_logc ? _logc->close(_logc, _flags) : ENOTSUP);
^
./rpmdb.h: At top level:
./rpmdb.h:955:1: error: unknown type name 'DB_LSN'
int rpmlgcFile(rpmdb rpmdb, const DB_LSN * _lsn, char * name, size_t len)
^
./rpmdb.h: In function 'rpmlgcFile':
./rpmdb.h:958:19: error: 'DB_ENV' has no member named 'log_file'
int rc = dbenv->log_file(dbenv, _lsn, name, len);
^
./rpmdb.h: At top level:
./rpmdb.h:965:1: error: unknown type name 'DB_LSN'
int rpmlgcFlush(rpmdb rpmdb, const DB_LSN * _lsn)
^
./rpmdb.h: In function 'rpmlgcFlush':
./rpmdb.h:968:19: error: 'DB_ENV' has no member named 'log_flush'
int rc = dbenv->log_flush(dbenv, _lsn);
^
./rpmdb.h: In function 'rpmlgcPrintf':
./rpmdb.h:979:19: error: 'DB_ENV' has no member named 'log_printf'
int rc = dbenv->log_printf(dbenv, _txnid, fmt, _A1, _A2, _A3, _A4, _A5);
^
./rpmdb.h: At top level:
./rpmdb.h:986:28: error: unknown type name 'DB_LSN'
int rpmlgcPut(rpmdb rpmdb, DB_LSN * _lsn, const DBT * data, uint32_t flags)
^
./rpmdb.h: In function 'rpmmpfSyncAll':
./rpmdb.h:999:5: error: unknown type name 'DB_LSN'
DB_LSN * _lsn = NULL;
^
./rpmdb.h:1001:9: error: 'DB_ENV' has no member named 'memp_sync'
? dbenv->memp_sync(dbenv, _lsn) : ENOTSUP;
^
./rpmdb.h: In function 'rpmmpfTrickle':
./rpmdb.h:1014:9: error: 'DB_ENV' has no member named 'memp_trickle'
? dbenv->memp_trickle(dbenv, _percent, &_nwrote) : ENOTSUP;
^
./rpmdb.h: In function 'rpmmpfClose':
./rpmdb.h:1023:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
./rpmdb.h:1025:24: error: request for member 'close' in something not a structure or union
int rc = (mpf ? mpf->close(mpf, _flags) : ENOTSUP);
^
./rpmdb.h: In function 'rpmmpfGet':
./rpmdb.h:1035:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
./rpmdb.h:1037:17: error: request for member 'get' in something not a structure or union
int rc = mpf->get(mpf, _pgnop, _txnid, _flags, _pagep);
^
./rpmdb.h: In function 'rpmmpfOpen':
Makefile:861: recipe for target 'librpmdb_la-dbconfig.lo' failed
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c poptDB.c -o librpmdb_la-poptDB.o >/dev/null 2>&1
make[4]: *** [librpmdb_la-dbconfig.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
./rpmdb.h:1047:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = NULL;
^
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c header_internal.c -o librpmdb_la-header_internal.o >/dev/null 2>&1
./rpmdb.h:1052:9: error: 'DB_ENV' has no member named 'memp_fcreate'
? dbenv->memp_fcreate(dbenv, &mpf, _fcreate_flags) : ENOTSUP;
^
./rpmdb.h:1057:13: error: request for member 'open' in something not a structure or union
rc = mpf->open(mpf, fn, flags, _perms, _pagesize);
^
./rpmdb.h: In function 'rpmmpfPut':
./rpmdb.h:1069:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
./rpmdb.h:1070:26: error: 'DB_PRIORITY_DEFAULT' undeclared (first use in this function)
uint32_t _priority = DB_PRIORITY_DEFAULT;
^
./rpmdb.h:1070:26: note: each undeclared identifier is reported only once for each function it appears in
./rpmdb.h:1071:17: error: request for member 'put' in something not a structure or union
int rc = mpf->put(mpf, _page, _priority, flags);
^
./rpmdb.h: In function 'rpmmpfSync':
./rpmdb.h:1080:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
./rpmdb.h:1081:24: error: request for member 'sync' in something not a structure or union
int rc = (mpf ? mpf->sync(mpf) : ENOTSUP);
^
Makefile:959: recipe for target 'librpmdb_la-rpmlio.lo' failed
make[4]: *** [librpmdb_la-rpmlio.lo] Error 1
In file included from rpmdb.c:28:0:
rpmdb.h:433:5: error: unknown type name 'DB_SEQUENCE'
DB_SEQUENCE * dbi_seq; /*!< Berkeley DB_SEQUENCE handle */
^
rpmdb.h:490:5: error: unknown type name 'DB_LOGC'
DB_LOGC * db_logc; /*!< Berkeley DB_LOGC handle */
^
rpmdb.h:491:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE *db_mpf; /*!< Berkeley DB_MPOOLFILE handle */
^
rpmdb.h: In function 'rpmlkId':
rpmdb.h:875:9: error: 'DB_ENV' has no member named 'lock_id'
? dbenv->lock_id(dbenv, _idp) : ENOTSUP;
^
rpmdb.h: In function 'rpmlkIdFree':
rpmdb.h:886:9: error: 'DB_ENV' has no member named 'lock_id_free'
? dbenv->lock_id_free(dbenv, _id) : ENOTSUP;
^
rpmdb.h: In function 'rpmlkGet':
rpmdb.h:899:9: error: 'DB_ENV' has no member named 'lock_get'
? dbenv->lock_get(dbenv, _locker, _flags, _object, _lockmode, _lock)
^
In file included from rpmdb.c:28:0:
rpmdb.h: In function 'rpmlkPut':
rpmdb.h:911:9: error: 'DB_ENV' has no member named 'lock_put'
? dbenv->lock_put(dbenv, _lock)
^
rpmdb.h: In function 'rpmlgcOpen':
rpmdb.h:922:5: error: unknown type name 'DB_LOGC'
DB_LOGC * _logc = NULL;
^
rpmdb.h:925:9: error: 'DB_ENV' has no member named 'log_cursor'
? dbenv->log_cursor(dbenv, &_logc, _flags) : ENOTSUP;
^
rpmdb.h: At top level:
rpmdb.h:933:28: error: unknown type name 'DB_LSN'
int rpmlgcGet(rpmdb rpmdb, DB_LSN * _lsn, DBT * data, uint32_t flags)
^
rpmdb.h: In function 'rpmlgcClose':
rpmdb.h:945:5: error: unknown type name 'DB_LOGC'
DB_LOGC * _logc = rpmdb->db_logc;
^
rpmdb.h:947:28: error: request for member 'close' in something not a structure or union
int rc = (_logc ? _logc->close(_logc, _flags) : ENOTSUP);
^
rpmdb.h: At top level:
rpmdb.h:955:1: error: unknown type name 'DB_LSN'
int rpmlgcFile(rpmdb rpmdb, const DB_LSN * _lsn, char * name, size_t len)
^
rpmdb.h: In function 'rpmlgcFile':
rpmdb.h:958:19: error: 'DB_ENV' has no member named 'log_file'
int rc = dbenv->log_file(dbenv, _lsn, name, len);
^
rpmdb.h: At top level:
rpmdb.h:965:1: error: unknown type name 'DB_LSN'
int rpmlgcFlush(rpmdb rpmdb, const DB_LSN * _lsn)
^
rpmdb.h: In function 'rpmlgcFlush':
rpmdb.h:968:19: error: 'DB_ENV' has no member named 'log_flush'
int rc = dbenv->log_flush(dbenv, _lsn);
^
rpmdb.h: In function 'rpmlgcPrintf':
rpmdb.h:979:19: error: 'DB_ENV' has no member named 'log_printf'
int rc = dbenv->log_printf(dbenv, _txnid, fmt, _A1, _A2, _A3, _A4, _A5);
^
rpmdb.h: At top level:
rpmdb.h:986:28: error: unknown type name 'DB_LSN'
int rpmlgcPut(rpmdb rpmdb, DB_LSN * _lsn, const DBT * data, uint32_t flags)
^
rpmdb.h: In function 'rpmmpfSyncAll':
rpmdb.h:999:5: error: unknown type name 'DB_LSN'
DB_LSN * _lsn = NULL;
^
rpmdb.h:1001:9: error: 'DB_ENV' has no member named 'memp_sync'
? dbenv->memp_sync(dbenv, _lsn) : ENOTSUP;
^
rpmdb.h: In function 'rpmmpfTrickle':
rpmdb.h:1014:9: error: 'DB_ENV' has no member named 'memp_trickle'
? dbenv->memp_trickle(dbenv, _percent, &_nwrote) : ENOTSUP;
^
rpmdb.h: In function 'rpmmpfClose':
rpmdb.h:1023:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
rpmdb.h:1025:24: error: request for member 'close' in something not a structure or union
int rc = (mpf ? mpf->close(mpf, _flags) : ENOTSUP);
^
rpmdb.h: In function 'rpmmpfGet':
rpmdb.h:1035:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
rpmdb.h:1037:17: error: request for member 'get' in something not a structure or union
int rc = mpf->get(mpf, _pgnop, _txnid, _flags, _pagep);
^
rpmdb.h: In function 'rpmmpfOpen':
rpmdb.h:1047:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = NULL;
^
rpmdb.h:1052:9: error: 'DB_ENV' has no member named 'memp_fcreate'
? dbenv->memp_fcreate(dbenv, &mpf, _fcreate_flags) : ENOTSUP;
^
rpmdb.h:1057:13: error: request for member 'open' in something not a structure or union
rc = mpf->open(mpf, fn, flags, _perms, _pagesize);
^
rpmdb.h: In function 'rpmmpfPut':
rpmdb.h:1069:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
rpmdb.h:1070:26: error: 'DB_PRIORITY_DEFAULT' undeclared (first use in this function)
uint32_t _priority = DB_PRIORITY_DEFAULT;
^
rpmdb.h:1070:26: note: each undeclared identifier is reported only once for each function it appears in
rpmdb.h:1071:17: error: request for member 'put' in something not a structure or union
int rc = mpf->put(mpf, _page, _priority, flags);
^
rpmdb.h: In function 'rpmmpfSync':
rpmdb.h:1080:5: error: unknown type name 'DB_MPOOLFILE'
DB_MPOOLFILE * mpf = rpmdb->db_mpf;
^
rpmdb.h:1081:24: error: request for member 'sync' in something not a structure or union
int rc = (mpf ? mpf->sync(mpf) : ENOTSUP);
^
rpmdb.c: In function 'dbiMireKeys':
rpmdb.c:1234:4: error: 'DBT' has no member named 'doff'
k.doff = 0;
^
rpmdb.c:1250:16: error: 'DB_DBT_PARTIAL' undeclared (first use in this function)
k.flags = DB_DBT_PARTIAL;
^
rpmdb.c:1251:7: error: 'DBT' has no member named 'dlen'
k.dlen = nb;
^
rpmdb.c:1254:15: error: 'DB_SET_RANGE' undeclared (first use in this function)
_flags = DB_SET_RANGE;
^
rpmdb.c:1276:33: error: 'DB_NEXT_DUP' undeclared (first use in this function)
if (_flags == DB_SET) _flags = DB_NEXT_DUP;
^
rpmdb.c:1286:43: error: 'DB_CURRENT' undeclared (first use in this function)
xx = dbiPget(dbi, dbcursor, &k, &p, &v, DB_CURRENT);
^
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c rpmdpkg.c -o librpmdb_la-rpmdpkg.o >/dev/null 2>&1
rpmdb.c: In function 'rpmmiGet':
rpmdb.c:2075:15: error: 'DB_DBT_USERMEM' undeclared (first use in this function)
vp->flags |= DB_DBT_USERMEM;
^
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c legacy.c -o librpmdb_la-legacy.o >/dev/null 2>&1
rpmdb.c:2077:12: error: 'DB_BUFFER_SMALL' undeclared (first use in this function)
if (rc == DB_BUFFER_SMALL) {
^
rpmdb.c:2086:8: error: 'DBT' has no member named 'ulen'
vp->ulen = (u_int32_t)uhlen;
^
rpmdb.c: In function 'rpmmiNext':
rpmdb.c:2157:26: error: 'DB_NEXT_DUP' undeclared (first use in this function)
_flags = (mi->mi_setx ? DB_NEXT_DUP : DB_SET);
^
Makefile:938: recipe for target 'librpmdb_la-rpmdb.lo' failed
make[4]: *** [librpmdb_la-rpmdb.lo] Error 1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c hdrNVR.c -o librpmdb_la-hdrNVR.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c fprint.c -o librpmdb_la-fprint.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c package.c -o librpmdb_la-package.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c merge.c -o librpmdb_la-merge.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c rpmevr.c -o librpmdb_la-rpmevr.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c pkgio.c -o librpmdb_la-pkgio.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c header.c -o librpmdb_la-header.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt -I../beecrypt -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -DRPM_OS_LINUX=031500 -DRPM_OS_LINUX=031500 -fopenmp -march=bdver2 -O2 -pipe -D_GNU_SOURCE -D_REENTRANT
-c hdrfmt.c -o librpmdb_la-hdrfmt.o >/dev/null 2>&1
make[4]: Leaving directory '/var/tmp/portage/app-arch/rpm-5.4.0/work/rpm-5.4.0/rpmdb'
Makefile:1057: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/app-arch/rpm-5.4.0/work/rpm-5.4.0/rpmdb'
Makefile:694: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/app-arch/rpm-5.4.0/work/rpm-5.4.0/rpmdb'
Makefile:971: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-arch/rpm-5.4.0/work/rpm-5.4.0'
Makefile:699: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: app-arch/rpm-5.4.0 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-arch/rpm-5.4.0'`,
* the complete build log and the output of `emerge -pqv '=app-arch/rpm-5.4.0'`.
* This ebuild is from an overlay named 'mva': '/var/lib/layman/mva/'
* The complete build log is located at '/var/tmp/portage/app-arch/rpm-5.4.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/rpm-5.4.0/temp/environment'.
* Working directory: '/var/tmp/portage/app-arch/rpm-5.4.0/work/rpm-5.4.0'
* S: '/var/tmp/portage/app-arch/rpm-5.4.0/work/rpm-5.4.0'
>>> Failed to emerge app-arch/rpm-5.4.0, Log file:
>>> '/var/tmp/portage/app-arch/rpm-5.4.0/temp/build.log'
I've recently upgraded my hardware, so I changed some CFLAGS based on the SAFE_CFLAGS's Gentoo wiki entry. At first, I thought I was having hardware issues, but I've been perfectly able to install inkscape today, so I tried and played a bit with the settings.
UPDATE: I masked 5.4.0 and it keeps failing with 5.3.11, but the error is different:
>>> Emerging (1 of 1) app-arch/rpm-5.3.11 from mva
* rpm-5.3.11-0.20110602.src.rpm SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* If you are upgrading from an rpm version of 5.0.0 or lower,
* your database will not be updated. Please back up your rpm
* database, and run:
* rpm --rebuilddb
>>> Unpacking source...
>>> Unpacking rpm-5.3.11-0.20110602.src.rpm to /var/tmp/portage/app-arch/rpm-5.3.11/work
>>> Unpacking ./cpu-os-macros.tar.gz to /var/tmp/portage/app-arch/rpm-5.3.11/work
>>> Unpacking ./rpm-5.3.11.tar.gz to /var/tmp/portage/app-arch/rpm-5.3.11/work
>>> Source unpacked in /var/tmp/portage/app-arch/rpm-5.3.11/work
>>> Preparing source in /var/tmp/portage/app-arch/rpm-5.3.11/work/rpm-5.3.11 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/rpm-5.3.11/work/rpm-5.3.11 ...
/var/tmp/portage/app-arch/rpm-5.3.11/temp/environment: line 5418: --without-dmalloc: command not found
* ERROR: app-arch/rpm-5.3.11 failed (configure phase):
* python_pkg_setup() not called
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 5419: Called python_get_libdir
* environment, line 4184: Called _python_check_python_pkg_setup_execution
* environment, line 697: Called die
* The specific snippet of code:
* die "python_pkg_setup() not called";
Question
PeGa!
Hey folks,
I'm experiencing problems with a system upgrade, and when it comes the moment to upgrade rpm, this is what happens:
I've recently upgraded my hardware, so I changed some CFLAGS based on the SAFE_CFLAGS's Gentoo wiki entry. At first, I thought I was having hardware issues, but I've been perfectly able to install inkscape today, so I tried and played a bit with the settings.
This is what I've got now:
This is my CPU:
Some more info:
Thanks in advance.
UPDATE: I masked 5.4.0 and it keeps failing with 5.3.11, but the error is different:
Thank you!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts