Package: lttoolbox Version: 3.1.0-1.1 Severity: wishlist Tags: patch sid User: debian-powerpc...@breakpoint.cc Usertags: powerpcspe
Hi, lttoolbox currently FTBFS on powerpcspe[1] due to special compiler flags on powerpc generally: [...] checking Compilation architecture: PPC, i686, x86_64, Other... PowerPC checking for powerpc-linux-gnuspe-g++... powerpc-linux-gnuspe-g++ checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. make: *** [config.status] Error 77 dpkg-buildpackage: error: debian/rules build gave error exit status 2 [...] Attaching a patch that fixes this by putting powerpcspe into the set of "Other" archs without special compiler flags. (Please also run ./autogen.sh) Thanks, Roland [1] http://wiki.debian.org/PowerPCSPEPort -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.5.0 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dash
--- lttoolbox-3.1.0/configure.ac.orig 2012-11-20 14:44:18.199268659 +0100 +++ lttoolbox-3.1.0/configure.ac 2012-11-20 14:47:19.307313666 +0100 @@ -55,6 +55,10 @@ else ARCH=$($(which arch)) fi +if test x$(dpkg-architecture -qDEB_HOST_ARCH) = xpowerpcspe +then ARCH=powerpcspe +fi + if test x$ARCH = xppc then AC_MSG_RESULT([PowerPC])