Your message dated Thu, 02 Jan 2014 17:18:42 +0000 with message-id <[email protected]> and subject line Bug#593639: fixed in ltrace 0.7.3-1 has caused the Debian Bug report #593639, regarding ltrace: configure script hardcodes gcc and does not allow libiberty to not exist to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 593639: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593639 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: ltrace Version: 0.5.3-2ubuntu3 Severity: important Justification: fails to build from source The configure script for ltrace has a hardcoded 'gcc' for tests which prevents it from getting the correct answers in a cross-compilation environment. It also always tries to use -liberty and -lsupc++ in the link lines even though it nominally has flags for detecting this. Here's a simple patch for addressing these deficiencies. --- ltrace-0.5.3/configure 2009-07-25 08:13:02.000000000 -0700 +++ ltrace-0.5.3.patched/configure 2010-08-19 11:37:51.453988171 -0700 @@ -6,6 +6,8 @@ exit 1 fi +CC=${CC:-gcc} + echo -n "checking package name... " PACKAGE_NAME='ltrace' echo $PACKAGE_NAME @@ -30,7 +32,7 @@ return cplus_demangle(); } EOF -if gcc conftest.c -liberty 2>/dev/null +if ${CC} conftest.c -liberty 2>/dev/null then HAVE_LIBIBERTY=1 echo "yes" @@ -48,7 +50,7 @@ return __cxa_demangle(); } EOF -if gcc conftest.c -lsupc++ 2>/dev/null +if ${CC} conftest.c -lsupc++ 2>/dev/null then HAVE_LIBSUPC__=1 echo "yes" @@ -67,7 +69,7 @@ return 0; } EOF -if gcc conftest.c 2>/dev/null +if ${CC} conftest.c 2>/dev/null then HAVE_ELF_C_READ_MMAP=1 echo "yes" @@ -77,10 +79,9 @@ fi rm -f conftest.c a.out -CC=gcc CPPFLAGS=' -I /usr/include/libelf' CFLAGS='-g -O2' -LIBS='-lelf -lsupc++ -liberty ' +LIBS='-lelf' INSTALL='/usr/bin/install -c' iquote='-iquote ' iquoteend='' @@ -109,6 +110,16 @@ esac done + +if [ "$HAVE_LIBSUPC__" ] ; then + LIBS="$LIBS -lsupc++" +fi + +if [ "$HAVE_LIBIBERTY" ] ; then + LIBS="$LIBS -liberty " +fi + + echo "configure: creating Makefile" # # Makefile.in -> Makefile -- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid') Architecture: i386 (i686) Kernel: Linux 2.6.32-23-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ltrace depends on: ii libc6 2.11.1-0ubuntu7.2 Embedded GNU C Library: Shared lib ii libelf1 0.143-1 library to read and write ELF file ltrace recommends no packages. ltrace suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: ltrace Source-Version: 0.7.3-1 We believe that the bug you reported is fixed in the latest version of ltrace, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Juan Cespedes <[email protected]> (supplier of updated ltrace package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Thu, 02 Jan 2014 18:00:05 +0100 Source: ltrace Binary: ltrace Architecture: source amd64 Version: 0.7.3-1 Distribution: unstable Urgency: low Maintainer: Juan Cespedes <[email protected]> Changed-By: Juan Cespedes <[email protected]> Description: ltrace - Tracks runtime library calls in dynamically linked programs Closes: 282068 457696 537781 548400 591412 593639 614018 645615 675607 678721 724253 Changes: ltrace (0.7.3-1) unstable; urgency=low . * New upstream release (closes: #675607), including: + support dlopen()'d libraries (closes: #537781) + support PIE binaries (closes: #614018) + fix -T option (closes: #548400) + use $HOST_CPU instead of $(uname -m) (closes: #457696) + don't hardcode gcc or assume -liberty and -lsupc++ exist (closes: #593639) + support threaded programs (closes: #282068, #591412) * Fix "free(): invalid pointer" crash (closes: #724253) * Fix FTBFS on alpha (closes: #678721) # Added "s390x" to the list of supported archs (closes: #645615) * Fixed dpkg-shlibdeps warning: don't link against libstdc++ or libsupc++ if we have libiberty * Switch to 3.0 (quilt) source format * Standards-Version: 3.9.5 * Lintian clean Checksums-Sha1: 311d73720c50ec5c649865179975f42523f57d9b 1192 ltrace_0.7.3-1.dsc 8df2acc8bc135a229917de6ef814f416d38124ca 482658 ltrace_0.7.3.orig.tar.bz2 5def0514a0a43bdeee571876e3fb31048c0d667a 10712 ltrace_0.7.3-1.debian.tar.gz 581dd9208b22118d8b7c727c1b5ab66ee4dd7fec 149992 ltrace_0.7.3-1_amd64.deb Checksums-Sha256: fcac1519b710d91af3e1d66f4b28a65099f145d1a667a5101615016d31d9a795 1192 ltrace_0.7.3-1.dsc 0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503 482658 ltrace_0.7.3.orig.tar.bz2 9997f76540f3982300c211af4880cba1e5078aa41b7b334c28a67cddee61369e 10712 ltrace_0.7.3-1.debian.tar.gz 921d6ddabdb53392c5b8f5b8eab5cd958b28ebcd9ac0ba974bb5b17d00997a76 149992 ltrace_0.7.3-1_amd64.deb Files: d37e77cf90ffcb647199b0879357b301 1192 utils optional ltrace_0.7.3-1.dsc b3dd199af8f18637f7d4ef97fdfb9d14 482658 utils optional ltrace_0.7.3.orig.tar.bz2 7334bfdd01259b48c4a0d550c01fca08 10712 utils optional ltrace_0.7.3-1.debian.tar.gz e6c210beb309fd16a24f46552a07eaad 149992 utils optional ltrace_0.7.3-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlLFm0sACgkQepWluYh4RwMWzwCgwaJh91DaAujC/KiOUonQMLva 3cQAoOOKB27myuQAq0En5JBr9u/WFKjR =IOEL -----END PGP SIGNATURE-----
--- End Message ---

