[Apt-Rpm] Apt-RPM won't build....
Gary L. Greene Jr.
greeneg at tolharadys.net
Fri Sep 28 23:27:28 PDT 2007
Hi Panu,
I'm upgrading to 0.5.15lorg3.93 and getting a build error with rpmdb.h:
/bin/sh ../libtool --tag=CXX --mode=compile
i586-altimatos-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -I../include/apt-pkg -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/rpmhandler.lo -MD -MP -MF $depbase.Tpo -c -o rpm/rpmhandler.lo
rpm/rpmhandler.cc &&\
mv -f $depbase.Tpo $depbase.Plo
i586-altimatos-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -I../include/apt-pkg -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/rpmhandler.lo -MD -MP -MF rpm/.deps/rpmhandler.Tpo -c
rpm/rpmhandler.cc -fPIC -DPIC -o rpm/.libs/rpmhandler.o
/usr/include/rpm/rpmdb.h: In function 'int dbiDel(_dbiIndex*, DBC*, DBT*,
DBT*, unsigned int)':
/usr/include/rpm/rpmdb.h:582: error: invalid conversion from 'void*'
to 'rpmop_s*'
/usr/include/rpm/rpmdb.h:582: error: initializing argument 1 of 'int
rpmswEnter(rpmop_s*, ssize_t)'
/usr/include/rpm/rpmdb.h:584: error: invalid conversion from 'void*'
to 'rpmop_s*'
/usr/include/rpm/rpmdb.h:584: error: initializing argument 1 of 'rpmtime_t
rpmswExit(rpmop_s*, ssize_t)'
/usr/include/rpm/rpmdb.h: In function 'int dbiGet(_dbiIndex*, DBC*, DBT*,
DBT*, unsigned int)':
/usr/include/rpm/rpmdb.h:606: error: invalid conversion from 'void*'
to 'rpmop_s*'
/usr/include/rpm/rpmdb.h:606: error: initializing argument 1 of 'int
rpmswEnter(rpmop_s*, ssize_t)'
/usr/include/rpm/rpmdb.h:608: error: invalid conversion from 'void*'
to 'rpmop_s*'
/usr/include/rpm/rpmdb.h:608: error: initializing argument 1 of 'rpmtime_t
rpmswExit(rpmop_s*, ssize_t)'
/usr/include/rpm/rpmdb.h: In function 'int dbiPget(_dbiIndex*, DBC*, DBT*,
DBT*, DBT*, unsigned int)':
/usr/include/rpm/rpmdb.h:631: error: invalid conversion from 'void*'
to 'rpmop_s*'
/usr/include/rpm/rpmdb.h:631: error: initializing argument 1 of 'int
rpmswEnter(rpmop_s*, ssize_t)'
/usr/include/rpm/rpmdb.h:633: error: invalid conversion from 'void*'
to 'rpmop_s*'
/usr/include/rpm/rpmdb.h:633: error: initializing argument 1 of 'rpmtime_t
rpmswExit(rpmop_s*, ssize_t)'
/usr/include/rpm/rpmdb.h: In function 'int dbiPut(_dbiIndex*, DBC*, DBT*,
DBT*, unsigned int)':
/usr/include/rpm/rpmdb.h:655: error: invalid conversion from 'void*'
to 'rpmop_s*'
/usr/include/rpm/rpmdb.h:655: error: initializing argument 1 of 'int
rpmswEnter(rpmop_s*, ssize_t)'
/usr/include/rpm/rpmdb.h:657: error: invalid conversion from 'void*'
to 'rpmop_s*'
/usr/include/rpm/rpmdb.h:657: error: initializing argument 1 of 'rpmtime_t
rpmswExit(rpmop_s*, ssize_t)'
make[1]: *** [rpm/rpmhandler.lo] Error 1
make[1]: Leaving directory
`/srv/foremand/RPM/BUILD/apt-0.5.15lorg3.93/apt-pkg'
make: *** [all-recursive] Error 1
error: Bad exit status from /srv/foremand/RPM/tmp/rpm-tmp.47096 (%build)
RPM build errors:
Bad exit status from /srv/foremand/RPM/tmp/rpm-tmp.47096 (%build)
This is against RPM 4.4.6 and with gcc 4.1.2.
--
Gary L. Greene, Jr.
Sent from: peorth.tolharadys.net
23:23:58 up 20 days, 49 min, 1 user, load average: 0.79, 1.06, 0.61
=========================================================================
Developer and Project Lead for the AltimatOS open source project
Volunteer Developer for the KDE open source project
See www.tolharadys.net and www.kde.org for more information
=========================================================================
Please avoid sending me Word or PowerPoint attachments.
More information about the Apt-Rpm
mailing list