[Aptitude-devel] Bug#667793: aptitude: FTBFS
Michal Suchanek
michal.suchanek at ruk.cuni.cz
Fri Apr 6 15:43:36 UTC 2012
Package: aptitude
Version: 0.6.6-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Hello,
I tried to build aptitude with the experimental apt libraries installed.
Building aptitude is not possible with the steted build-dependencies, however.
I don't think it even gets to use the new apt headers.
First it utterly fails to detect gmock.
There is gmock-config which aptitude does not use.
diff -u aptitude-0.6.6/configure.ac aptitude-0.6.6.mod/configure.ac
--- aptitude-0.6.6/configure.ac 2012-03-26 04:34:49.000000000 +0200
+++ aptitude-0.6.6.mod/configure.ac 2012-04-06 17:13:54.000000000 +0200
@@ -501,7 +501,7 @@
BUILD_LOCAL_GMOCK=0
OLD_LIBS="$LIBS"
-LIBS="$LIBS -lgmock"
+LIBS="$LIBS $(gmock-config --libs)"
AC_LINK_IFELSE([AC_LANG_SOURCE([
#include <gmock/gmock.h>
When configure is patched to find gmock using the gmock-config the build still fails.
The build-depends state libsigc++-2.0-dev but version 2.2.4.2-1 from squeeze does not suffice, version 2.2.10-0.1 works.
Please update the package so that it is buildable.
Thanks
Michal
Versions of packages aptitude-build-deps depends on:
ii build-essential 11.5
ii debhelper 9.20120322
ii docbook-xml 4.5-7
ii docbook-xsl 1.75.2+dfsg-5
ii dpkg-dev 1.16.2
ii elinks 0.12~pre5-7
ii g++ 4:4.6.2-4
ii gettext 0.18.1.1-3
ii google-mock 1.4.0-3
ii libapt-pkg-dev 0.8.16~exp13
ii libboost-dev 1.49.0.1
ii libboost-iostreams-dev 1.49.0.1
ii libboost-python-dev 1.49.0.1
ii libboost-serialization-dev 1.49.0.1
ii libboost-test-dev 1.49.0.1
ii libcppunit-dev 1.12.1-1
ii libcwidget-dev 0.5.16-3
ii libept-dev 1.0.6~exp1
ii libgtest-dev 1.5.0-1
ii libncursesw5-dev 5.9-4
ii librsvg2-bin 2.34.2-3
ii libsigc++-2.0-dev 2.2.4.2-1
ii libsqlite3-dev 3.7.11-2
ii pkg-config 0.26-1
ii po4a 0.40.2-1
ii xsltproc 1.1.26-6
-- Package-specific info:
Terminal: rxvt-unicode
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.6.6 compiled at Mar 27 2012 22:36:24
Compiler: g++ 4.6.3
Compiled against:
apt version 4.10.1
NCurses version 5.9
libsigc++ version: 2.2.10
Ept support enabled.
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 5.9.20110404
cwidget version: 0.5.16
Apt version: 4.10.1
aptitude linkage:
linux-vdso.so.1 => (0x00007fffa71ff000)
libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007f9c7a04a000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f9c79e1b000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f9c79bf2000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f9c799ed000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f9c79721000)
libept.so.1 => /usr/lib/libept.so.1 (0x00007f9c794cc000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f9c790ec000)
libz.so.1 => /usr/lib/x86_64-linux-gnu/libz.so.1 (0x00007f9c78ed6000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f9c78c2e000)
libboost_iostreams.so.1.48.0 => /usr/lib/libboost_iostreams.so.1.48.0 (0x00007f9c78a15000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9c787f9000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9c784f1000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9c7826f000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9c78059000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9c77cd1000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f9c77ace000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9c778ca000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f9c776c4000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f9c774b4000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9c772ab000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9c7a380000)
-- System Information:
Debian Release: wheezy/sid
APT prefers stable
APT policy: (900, 'stable'), (500, 'testing'), (410, 'unstable'), (200, 'experimental'), (111, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages aptitude depends on:
ii apt [libapt-pkg4.10] 0.8.15.10
ii libboost-iostreams1.48.0 1.48.0-3
ii libc6 2.13-27
ii libcwidget3 0.5.16-3
ii libept1 1.0.4
ii libgcc1 1:4.7.0-1
ii libncursesw5 5.9-4
ii libsigc++-2.0-0c2a 2.2.4.2-1
ii libsqlite3-0 3.7.11-2
ii libstdc++6 4.7.0-1
ii libtinfo5 5.9-4
ii libxapian22 1.2.3-2
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages aptitude recommends:
ii apt-xapian-index <none>
ii aptitude-doc-en [aptitude-doc] 0.6.3-3.2+squeeze1
ii libparse-debianchangelog-perl 1.1.1-2.1
ii sensible-utils 0.0.4
Versions of packages aptitude suggests:
pn debtags <none>
pn tasksel <none>
-- no debconf information
More information about the Aptitude-devel
mailing list