Bug#667153: dragonegg: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:08:38 UTC 2012


Package: dragonegg
Version: 3.0-3
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

Backend.cpp:56:20: fatal error: config.h: No such file or directory

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/dragonegg_3.0-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
dh_clean 
/usr/bin/make clean VERBOSE=1
make[1]: Entering directory `/«PKGBUILDDIR»'
rm -f *.o *.d dragonegg.so ./TargetInfo
make[1]: Leaving directory `/«PKGBUILDDIR»'
rm -f debian/gcc-wrap
rm -rf stamps
 debian/rules build-arch
test -x debian/rules
mkdir -p "."
# link with llvm
LDFLAGS=-L/usr/lib/llvm-3.0/lib /usr/bin/make \
		VERBOSE=1 \
		LLVM_CONFIG=/usr/lib/llvm-3.0/bin/llvm-config \
		-C .
make[1]: Entering directory `/«PKGBUILDDIR»'
Compiling utils/TargetInfo.cpp
g++ -c -DTARGET_TRIPLE=\"x86_64-linux-gnu\" \
	 -I/usr/lib/llvm-3.0/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MP -DIN_GCC -DREVISION=\"exported\" -DGCC_MAJOR=4 -DGCC_MINOR=7 -DGCC_MICRO=0 -I/«PKGBUILDDIR»/include -Iplugin/include -Wall -Wextra -fvisibility=hidden -I/usr/lib/llvm-3.0/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual /«PKGBUILDDIR»/utils/TargetInfo.cpp
Linking TargetInfo
g++ -o TargetInfo TargetInfo.o -lLLVMSupport -L/usr/lib/llvm-3.0/lib \
	-L/usr/lib/llvm-3.0/lib  -lpthread -lffi -ldl -lm  -L/usr/lib/llvm-3.0/lib
Compiling Backend.cpp
g++ -c -DTARGET_NAME=\"x86_64--linux-gnu\" -I/«PKGBUILDDIR»/include/x86 -I/«PKGBUILDDIR»/include/linux -I/«PKGBUILDDIR»/src/linux/  -I/usr/lib/llvm-3.0/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MP -DIN_GCC -DREVISION=\"exported\" -DGCC_MAJOR=4 -DGCC_MINOR=7 -DGCC_MICRO=0 -I/«PKGBUILDDIR»/include -Iplugin/include -Wall -Wextra -fvisibility=hidden -I/usr/lib/llvm-3.0/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual /«PKGBUILDDIR»/src/Backend.cpp
/«PKGBUILDDIR»/src/Backend.cpp:56:20: fatal error: config.h: No such file or directory
compilation terminated.
make[1]: *** [Backend.o] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [stamps/build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-llvm-team mailing list