Hi, I added to debian/rules a small amount of bash code which selects the best available g++ (trying first g++-4.8 then 4.7, both of which are known to work) and assigns it to CXX. After that, ./configure will use $CXX (not whatever g++ happens to be), and therein lieth the fix.
This is the relevant part: %: for v in 4.8 4.7; do \ g=`which g++-$$v`; \ if test -n "$$g"; then \ $$g >/dev/null 2>&1; \ if [ $$? != 127 ]; then export CXX=`which g++-$$v`; break; fi \ fi \ done; \ dh $@ --with autoreconf The check for exit code 127 is required to detect the case of /usr/bin/g++-4.x existing (as a symlink) without g++-4.x actually installed. This is actually the case with g++-4.9: $ g++-4.9 /usr/bin/g++-4.9: not found (maybe g++-4.9 is not installed?) $ echo $? 127 Unless anyone suggests a better solution, I would ask my trusty sponsor Yaroslav to proceed with upload from http://johnhommer.com/academic/code/aghermann/source/deb/aghermann_1.0-2.dsc. Thanks Andrei On Mon, 18 Nov 2013 23:34:17 +0900 Hiroyuki Yamamoto <yama1...@gmail.com> wrote: > Source: aghermann > Version: 1.0-1 > Severity: serious > Justification: FTBFS by unsatisfiable build-dependency > > aghermann cannot be built on ia64, powerpc, s390x, sparc, ppc64, sh4, > which use gcc-4.6 designated by gcc-defaults_1.123, > so, maybe on alpha, too. > > https://buildd.debian.org/status/package.php?p=aghermann&suite=sid > http://buildd.debian-ports.org/status/package.php?p=aghermann&suite=sid > > > configure: error: g++ >= 4.7 is required to build aghermann as we must > > use -std=c++11 features your compiler doesn't seem to support checking > > whether g++ has all required c++11 features... no > > On powerpcspe, its sbuild may not be maintained as clean-build environment, > and all of g++-4.6, g++-4.7, g++-4.8 are installed, so building succeeded. > > Regards,
signature.asc
Description: PGP signature