https://bugzilla.novell.com/show_bug.cgi?id=691089 https://bugzilla.novell.com/show_bug.cgi?id=691089#c0 Summary: libzypp uses internal rpm functions Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: anas.nashif@intel.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16 Since rpm 4.1 times, callers are supposed to use the rpmtsFooDB() variants instead of the lower-level rpmdb functions, and mixing them is not safe. In rpm 4.9 the use of ts-level versions is enforced by making rpmdbLink(), rpmdbOpen(), rpmdbInit(), rpmdbClose(), rpmdbSync(), rpmdbVerify() and rpmdbRebuild() internal-only. This breaks libzypp when built against rpm 4.9 Reproducible: Always Steps to Reproduce: 1. build libzypp against rpm 4.9 2. 3. Actual Results: tPtr&, zypp::callback::SendReportzypp::target::rpm::ConvertDBReport&)': /home/abuild/rpmbuild/BUILD/libzypp-8.12.1/zypp/target/rpm/librpmDb.cv3.cc:416:13: error: '::rpmdbOpen' has not been declared /home/abuild/rpmbuild/BUILD/libzypp-8.12.1/zypp/target/rpm/librpmDb.cv3.cc:421:7: error: '::rpmdbClose' has not been declared /home/abuild/rpmbuild/BUILD/libzypp-8.12.1/zypp/target/rpm/librpmDb.cv3.cc:443:5: error: '::rpmdbClose' has not been declared /home/abuild/rpmbuild/BUILD/libzypp-8.12.1/zypp/target/rpm/librpmDb.cv3.cc:494:5: warning: 'int headerNVR(headerToken_s*, const char**, const char**, const char**)' is deprecated (declared at /usr/include/rpm/header.h:332) /home/abuild/rpmbuild/BUILD/libzypp-8.12.1/zypp/target/rpm/librpmDb.cv3.cc:494:43: warning: 'int headerNVR(headerToken_s*, const char**, const char**, const char**)' is deprecated (declared at /usr/include/rpm/header.h:332) /home/abuild/rpmbuild/BUILD/libzypp-8.12.1/zypp/target/rpm/librpmDb.cv3.cc:512:33: error: 'rpmdbAdd' was not declared in this scope /home/abuild/rpmbuild/BUILD/libzypp-8.12.1/zypp/target/rpm/librpmDb.cv3.cc:526:3: error: '::rpmdbClose' has not been declared Expected Results: libzypp builds correctly with rpm 4.9 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.