Build problem with 0.5.15lorg3.90

Gary L. Greene, Jr. greeneg at tolharadys.net
Sat Feb 17 09:21:02 PST 2007


Hi Panu,

I'm in the process of building a new distribution's build root and decided to 
use apt-rpm 3.90 for it. However, I seem to be running into a rather nasty 
breakage with libtool complaining about an invalid conversion in 
rpm/rpmpm.cc. The build error follows:

/bin/sh ../libtool --tag=CXX   --mode=compile 
i586-altimatos-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include  -DLIBDIR=\"/usr/lib\" -DPKGDATADIR=\"/usr/share/apt\" -DLOCALEDIR=\"/usr/share/locale\" -DAPT_DOMAIN=\"apt\" -I../lua/include -I../lua/local -I/usr/include/rpm  -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -MT 
rpm/rpmpm.lo -MD -MP -MF $depbase.Tpo -c -o rpm/rpmpm.lo rpm/rpmpm.cc &&\
mv -f $depbase.Tpo $depbase.Plo 
i586-altimatos-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -DLIBDIR=\"/usr/lib\" -DPKGDATADIR=\"/usr/share/apt\" -DLOCALEDIR=\"/usr/share/locale\" -DAPT_DOMAIN=\"apt\" -I../lua/include -I../lua/local -I/usr/include/rpm -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -MT 
rpm/rpmpm.lo -MD -MP -MF rpm/.deps/rpmpm.Tpo -c rpm/rpmpm.cc  -fPIC -DPIC -o 
rpm/.libs/rpmpm.o
rpm/rpmpm.cc: In member function 'virtual bool 
pkgRPMLibPM::Process(std::vector<const char*, std::allocator<const char*> >&, 
std::vector<const char*, std::allocator<const char*> >&, std::vector<const 
char*, std::allocator<const char*> >&)':
rpm/rpmpm.cc:896: error: invalid conversion from 'void* (*)(const void*, 
rpmCallbackType, long unsigned int, long unsigned int, const void*, void*)' 
to 'void* (*)(const void*, rpmCallbackType, long long unsigned int, long long 
unsigned int, const void*, void*)'
rpm/rpmpm.cc:896: error:   initializing argument 2 of 'int 
rpmtsSetNotifyCallback(rpmts_s*, void* (*)(const void*, rpmCallbackType, long 
long unsigned int, long long unsigned int, const void*, void*), void*)'

The version of RPM on AltimatOS is version 4.4.5. If you have any ideas on how 
best to fix this, I'm all ears. Thanks.

-- 
Gary L. Greene, Jr.
Sent from: uriel.tolharadys.net
 12:14:08 up 3 days,  5:11,  5 users,  load average: 1.26, 1.11, 1.05
=========================================================================
Developer and Project Lead for the AltimatOS open source project
Volunteer Developer for the KDE open source project
 See http://www.tolharadys.net/ and http://www.kde.org/ for more 
 information
=========================================================================

Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20070217/ebbfa649/attachment-0002.pgp>


More information about the Apt-Rpm mailing list