[Apt-Rpm] apt-rpm and rpm 4.8

Panu Matilainen pmatilai at laiskiainen.org
Wed May 5 02:08:34 PDT 2010


On Mon, 3 May 2010, Giulio Eulisse wrote:

> 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?

IIRC the 0.5.15lorg3.94a wont build and much less work, but git HEAD 
should be buildable even with rpm 4.8, provided you pass 
CPPFLAGS=-D_RPM_4_4_COMPAT to configure.

That said, apt-rpm needs a new maintainer / maintainers. I simply don't 
have the time/energy/itch anymore, as is painfully obvious from the 
complete lack of activity around apt-rpm in last couple of years.

 	- Panu -




More information about the Apt-Rpm mailing list