[Apt-Rpm] apt-rpm and rpm 4.8

Giulio Eulisse Giulio.Eulisse at cern.ch
Mon May 3 06:57:31 PDT 2010


Ciao,

I'm trying to build apt-rpm 0.5.15lorg3.94a against rpm 4.8.0 without much success.

In particular I get errors like:

rpm/aptcallback.cc: In function 'void getPackageData(headerToken_s*, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_stri
rpm/aptcallback.cc:26: error: 'rpmTagTable' was not declared in this scope
rpm/aptcallback.cc:26: error: 'rpmHeaderFormats' was not declared in this scope
rpm/aptcallback.cc:26: error: 'headerSprintf' was not declared in this scope

or

rpm/rpmhandler.h:66: error: 'int_32' has not been declared

or again

g++ -DHAVE_CONFIG_H -I. -I../include -I../include/apt-pkg   -I/Users/eulisse/work/buildrpm/test/foo/osx106_ia32_gcc421/external/libxml2/2.7.7/include/libxml2 -I/User
apt-shell.cc: In function ‘void ReadLineInit()’:
apt-shell.cc:2469: warning: deprecated conversion from string constant to ‘char*’
apt-shell.cc:2473: error: ‘read_history_range’ was not declared in this scope

Parts of it seems to come from the fact that some of the RPM api was deprecated, but apt-rpm was not updated to match the changes.

My quesiton is whether there is any plan to bring apt-rpm back up to speed and in general do you expect any real show-stopper (i.e. not API renaming) to have apt-rpm running on top of rpm 4.8?

Ciao,
Giulio




More information about the Apt-Rpm mailing list