Package: aptitude Version: 0.4.5.2-1 Severity: important Tags: patch
Hello, As written on debian-devel (under another address), the most recent version of aptitude in experimental fails to build from source. There are two aspects of this: * a simple broken sprintf argument with -Werror, fixed in the attached patch; * some more complex problems which I seem unable to fix. It is likely however that it is due to a missing build-dep on the right version of libapt-pkg-dev (debian/control says (>= 0.6.0) ...) : libapt-pkg-dev 0.7 is not yet available for amd64 (FTBS, it seems). Regards, Vincent Fourmond -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.21 (SMP w/2 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB) Shell: /bin/sh linked to /bin/dash Versions of packages aptitude depends on: ii apt [libapt-pkg-libc6.3 0.6.46.4-0.1 Advanced front-end for dpkg ii libc6 2.5-11 GNU C Library: Shared libraries ii libgcc1 1:4.2-20070609-1 GCC support library ii libncursesw5 5.6-3 Shared libraries for terminal hand ii libsigc++-2.0-0c2a 2.0.17-2 type-safe Signal Framework for C++ ii libstdc++6 4.2-20070609-1 The GNU Standard C++ Library v3 Versions of packages aptitude recommends: pn aptitude-doc-en | aptitude-do <none> (no description available) ii libparse-debianchangelog-perl 1.0-1 parse Debian changelogs and output -- no debconf information
--- aptitude-0.4.5.2.orig/src/generic/util/eassert.cc +++ aptitude-0.4.5.2/src/generic/util/eassert.cc @@ -33,9 +33,9 @@ std::string AssertionFailure::errmsg() const { if(msg.empty()) - return ssprintf("%s:%d: %s: Assertion \"%s\" failed.", + return ssprintf("%s:%lu: %s: Assertion \"%s\" failed.", file.c_str(), line, func.c_str(), exp.c_str()); else - return ssprintf("%s:%d: %s: %s: Assertion \"%s\" failed.", + return ssprintf("%s:%lu: %s: %s: Assertion \"%s\" failed.", file.c_str(), line, func.c_str(), msg.c_str(), exp.c_str()); }
aptitude.build.log.gz
Description: GNU Zip compressed data