[zypp-devel] libzypp and rpm 4.9 alpha
Just spotted this while building libzypp against 4.9 alpha: home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:704:2: warning: #warning TESTCASE: rpmdbAppendIterator and (non)sequential access? /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:719:2: warning: #warning TESTCASE: rpmdbGetIteratorCount returns 0 on sequential access? /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc: In constructor 'zypp::target::rpm::librpmDb::D::D(const zypp::filesystem::Pathname&, const zypp::filesystem::Pathname&, bool)': /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:68:17: error: '::rpmdbInit' has not been declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:78:15: error: '::rpmdbOpen' has not been declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:83:9: error: '::rpmdbClose' has not been declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc: In destructor 'zypp::target::rpm::librpmDb::D::~D()': /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:99:7: error: '::rpmdbClose' has not been declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc: In member function 'unsigned int zypp::target::rpm::librpmDb::size() const': /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:457:15: error: '::rpmdbOpen' has not been declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:467:9: error: '::rpmdbClose' has not been declared Looks like all of the above have been moved to rpmdb_internal.h in the new rpm. Anas-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Tue, Dec 21, 2010 at 11:21:58AM +0000, Anas Nashif wrote:
Just spotted this while building libzypp against 4.9 alpha:
home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:704:2:???warning:???#warning???TESTCASE:???rpmdbAppendIterator???and???(non)sequential???access? /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:719:2:???warning:???#warning???TESTCASE:???rpmdbGetIteratorCount???returns???0???on???sequential???access? /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:???In???constructor???'zypp::target::rpm::librpmDb::D::D(const???zypp::filesystem::Pathname&,???const???zypp::filesystem::Pathname&,???bool)': /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:68:17:???error:???'::rpmdbInit'???has???not???been???declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:78:15:???error:???'::rpmdbOpen'???has???not???been???declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:83:9:???error:???'::rpmdbClose'???has???not???been???declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:???In???destructor???'zypp::target::rpm::librpmDb::D::~D()': /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:99:7:???error:???'::rpmdbClose'???has???not???been???declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:???In???member???function???'unsigned???int???zypp::target::rpm::librpmDb::size()???const': /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:457:15:???error:???'::rpmdbOpen'???has???not???been???declared /home/abuild/rpmbuild/BUILD/libzypp-8.10.2/zypp/target/rpm/librpmDb.cc:467:9:???error:???'::rpmdbClose'???has???not???been???declared
Looks like all of the above have been moved to rpmdb_internal.h in the new rpm.
Yes, I've seen the commit in the rpm git repository. Nowadays you're suppost to use the rpmts interface. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Anas Nashif
-
Michael Schroeder