RPM Community Forums

Mailing List Message of <rpm-users>

libzypp and rpm-5.3.10

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Sat 30 Jul 2011 - 19:47:50 CEST
Message-Id: <201107301747.59427.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

did somebody have any luck with building libzypp against rpm-5.3.10? I've 
weeded out most of the simple compile errors, but I'm stuck here:

cd /usr/src/gnyubuild/build/libzypp-9.8.9/build/zypp && /usr/bin/c++   -
Dzypp_EXPORTS -DHAVE_PIPE2 -D_FILE_OFFSET_BITS=64 -DVERSION=\"9.9.0\" -
D_RPM_5 -DHAVE_UDEV -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" 
- -O2 -g -m32 -mtune=generic -march=i686 -fasynchronous-unwind-tables -
D_RPMDB_INTERNAL -D_RPMDB_INTERNAL  -fno-strict-aliasing -fPIC -g -Wall -
Woverloaded-virtual -Wnon-virtual-dtor -Wl,-as-needed -fPIC -
I/usr/src/gnyubuild/build/libzypp-9.8.9 -
I/usr/src/gnyubuild/build/libzypp-9.8.9/build -I/usr/include/rpm -
I/usr/include/libxml2 -I/usr/src/gnyubuild/build/libzypp-9.8.9/build/zypp    
- -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -o 
CMakeFiles/zypp.dir/target/rpm/BinHeader.cc.o -c 
/usr/src/gnyubuild/build/libzypp-9.8.9/zypp/target/rpm/BinHeader.cc
In file included from /usr/include/rpm/rpm4compat.h:60:0,
                 from 
/usr/src/gnyubuild/build/libzypp-9.8.9/zypp/target/rpm/librpm.h:19,
                 from 
/usr/src/gnyubuild/build/libzypp-9.8.9/zypp/target/rpm/BinHeader.cc:12:
/usr/include/rpm/rpmdb.h: In function 'DB_TXN* dbiTxnid(_dbiIndex*)':
/usr/include/rpm/rpmdb.h:863:50: error: invalid conversion from 'void*' to 
'DB_TXN*'
/usr/include/rpm/rpmdb.h: In function 'int rpmlkId(rpmdb_s*, uint32_t*)':
/usr/include/rpm/rpmdb.h:873:29: error: invalid conversion from 'void*' to 
'DB_ENV*'
/usr/include/rpm/rpmdb.h: In function 'int rpmlkIdFree(rpmdb_s*, uint32_t)':
/usr/include/rpm/rpmdb.h:884:29: error: invalid conversion from 'void*' to 
'DB_ENV*'
/usr/include/rpm/rpmdb.h: In function 'int rpmlkGet(rpmdb_s*, DBT*, 
uint32_t, void*)':
/usr/include/rpm/rpmdb.h:895:29: error: invalid conversion from 'void*' to 
'DB_ENV*'
/usr/include/rpm/rpmdb.h:899:69: error: invalid conversion from 'uint32_t' 
to 'db_lockmode_t'
/usr/include/rpm/rpmdb.h:899:69: error: invalid conversion from 'void*' to 
'DB_LOCK*'

I'de be grateful for any hints.

TA!

			Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBAgAGBQJONEPHAAoJEIXD2TZ1epVB73gP/jKox4mA+BLCuNjf4qmhfnB6
4zFbwf2DBT9BvTFxnLYDHkWTivXz5pBO9IIwJ2vEAtdVSWXmAeUfLq6a5ZfvlIKQ
HNBC2GN1TDQEH0S6ifZzO8SjsaKP107j57bpdDQvzETeiKWLVK4DiUaIaaScwzJW
ctzSHwlZVKGHj0OH3dONN1c86I7087oxIU7kyc1VKtq7HUlM4kCMkLrQZ5rsafZ/
oglGt8paSReB1/mVA1A9yXXYDFJT43fMhIgLb3R+LE/GlEuxHiQRp6r/VCE+Z26p
eknFlxQaK4bqHynvx/jPo0R2xbxM6EyVdYh+uegIxtg4WpCFMn78YxpH3pgeS+I8
NJ5bHIyfZUeh2FCkCe5ol3aCh8yoY14JzcD/mXe3l8fqWun2eeVQSaylI269JYJK
VpfcowOkEFfQ1hyu+zhE+FXeX11vvyC1IMVrUop7sFlyu/5fPFqwB64qIwBvFjCJ
UIOBvOZ4KUSWc95Qr7a+DLst4k3n6vOm4HsIId1z3DoY15NEpFd1v9CAFOmaYfU/
eq3AokA4qtKQS563ycVwQR3q/bpS2Aqx9mmpejY7o9HrRRBlQvWWIjfS22gKcu1e
OUCn+A5NiIWvuK5XaKMCFhHDo+U3nYWIz9E7AWhgSFJ7H4LtW6Pqn3eTUBGBNWZh
PzWVKgD/454p6tLRi6PW
=9jiK
-----END PGP SIGNATURE-----
Received on Sat Jul 30 19:55:09 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.