[Pkg-uml-pkgs] Bug#778157: user-mode-linux: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:37:39 UTC 2015


Package: src:user-mode-linux
Version: 3.16-1um-0.1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

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

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/user-mode-linux_3.16-1um-0.1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]
  CC      arch/um/kernel/config.o
In file included from arch/um/kernel/config.c:8:0:
./arch/um/include/shared/init.h:129:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__used'
 #define __uml_setup_help __used __section(.uml.help.init)
                          ^
./arch/um/include/shared/init.h:122:37: note: in expansion of macro '__uml_setup_help'
  static const char *__uml_help_##fn __uml_setup_help = __uml_help_str_##fn
                                     ^
./arch/um/include/shared/init.h:111:2: note: in expansion of macro '__uml_help'
  __uml_help(fn, help);      \
  ^
arch/um/kernel/config.c:2080:1: note: in expansion of macro '__uml_setup'
 __uml_setup("--showconfig", print_config,
 ^
./arch/um/include/shared/init.h:128:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__used'
 #define __uml_init_setup __used __section(.uml.setup.init)
                          ^
./arch/um/include/shared/init.h:113:43: note: in expansion of macro '__uml_init_setup'
  static struct uml_param __uml_setup_##fn __uml_init_setup = { __uml_setup_str_##fn, fn }
                                           ^
arch/um/kernel/config.c:2080:1: note: in expansion of macro '__uml_setup'
 __uml_setup("--showconfig", print_config,
 ^
arch/um/kernel/config.c:2072:19: warning: 'print_config' defined but not used [-Wunused-function]
 static int __init print_config(char *line, int *add)
                   ^
In file included from arch/um/kernel/config.c:8:0:
./arch/um/include/shared/init.h:121:14: warning: '__uml_help_str_print_config' defined but not used [-Wunused-variable]
  static char __uml_help_str_##fn[] __initdata = help;  \
              ^
./arch/um/include/shared/init.h:111:2: note: in expansion of macro '__uml_help'
  __uml_help(fn, help);      \
  ^
arch/um/kernel/config.c:2080:1: note: in expansion of macro '__uml_setup'
 __uml_setup("--showconfig", print_config,
 ^
./arch/um/include/shared/init.h:112:14: warning: '__uml_setup_str_print_config' defined but not used [-Wunused-variable]
  static char __uml_setup_str_##fn[] __initdata = str;  \
              ^
arch/um/kernel/config.c:2080:1: note: in expansion of macro '__uml_setup'
 __uml_setup("--showconfig", print_config,
 ^
make[2]: *** [arch/um/kernel/config.o] Error 1
scripts/Makefile.build:257: recipe for target 'arch/um/kernel/config.o' failed
make[1]: *** [arch/um/kernel] Error 2
Makefile:905: recipe for target 'arch/um/kernel' failed
make[1]: Leaving directory '/«PKGBUILDDIR»/linux-source-3.16'
make: *** [build-stamp] Error 2
debian/rules:73: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-uml-pkgs mailing list