Package: debian-xcontrol
Severity: serious
Version: 0.0.4-1
Justification: FTBFS against current libapt-pkg

debian-xcontrol is currently uninstallable as it's linked against an
older version of libapt-pkg. A simple rebuild fails because of several
issues. One of them is already reported in
http://bugs.debian.org/560669.

But even if the build-dependencies are fixed as reported in #560669, it
still FTBFS because of -Werror aborts on libapt-pkg's deprecation
warnings:

x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include    -W -Wall -Werror 
-g -O2 -MT xdpkg-checkbuilddeps.o -MD -MP -MF .deps/xdpkg-checkbuilddeps.Tpo -c 
-o xdpkg-checkbuilddeps.o xdpkg-checkbuilddeps.cpp
cc1plus: warnings being treated as errors
xdpkg-checkbuilddeps.cpp: In function 'int main(int, const char* const*)':
xdpkg-checkbuilddeps.cpp:108: error: 'bool pkgCacheFile::Open(OpProgress&, 
const bool&)' is deprecated (declared at /usr/include/apt-pkg/cachefile.h:59)
make[3]: *** [xdpkg-checkbuilddeps.o] Error 1
make[3]: Leaving directory `/home/abe/debian/debian-xcontrol-0.0.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/abe/debian/debian-xcontrol-0.0.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/abe/debian/debian-xcontrol-0.0.4'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

This can be resolved by removing the -Werror from CXXFLAGS in
debian/rules. A better solution would be of course to fix the
deprecation warning upstream.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'oldstable'), (400, 
'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to