Bug#746856: grub2: ftbfs with GCC-4.9

Matthias Klose doko at debian.org
Sun May 4 00:21:43 UTC 2014


Package: src:grub2
Version: 2.02~beta2-9
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9

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

The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/grub2_2.02~beta2-9_unstable_gcc49.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols
files.  For other C/C++ related build failures see the porting guide
at http://gcc.gnu.org/gcc-4.9/porting_to.html

[...]


SKIP: zfs_test
==============


SKIP: gettext_strings_test
==========================

Skipping upstream maintenance check.

FAIL: grub_cmd_sleep
====================

Interval not in range 1397930127-1397930115 != 10

SKIP: lzocompress_test
======================

lzop not installed; cannot test lzo compression.

make[6]: *** [test-suite.log] Error 1
============================================================================
Testsuite summary for GRUB 2.02~beta2-9
============================================================================
# TOTAL: 78
# PASS:  59
# SKIP:  18
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to bug-grub at gnu.org
============================================================================
make[6]: Leaving directory `/«PKGBUILDDIR»/obj/grub-pc'
make[5]: *** [check-TESTS] Error 2
make[4]: *** [check-am] Error 2
make[5]: Leaving directory `/«PKGBUILDDIR»/obj/grub-pc'
make[4]: Leaving directory `/«PKGBUILDDIR»/obj/grub-pc'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj/grub-pc'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj/grub-pc'
dh_auto_test: make -j10 check returned exit code 2
make[1]: *** [debian/stamps/build-grub-pc] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-grub-devel mailing list