[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#853374: dislocker: ftbfs with GCC-7



Package: src:dislocker
Version: 0.6.1-7
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/dislocker_0.6.1-7_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html

[...]
cd /<<PKGBUILDDIR>>/src && /usr/bin/cc  -DAUTHOR="\"Romain Coltel\"" -DPROGNAME=\"dislocker\" -DVERSION=\"0.6.1\" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.3.0 -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__LINUX -D__OS=\"Linux\" -Ddislocker_EXPORTS -isystem /usr/local/include -I/<<PKGBUILDDIR>>/include -I/usr/include/ruby-2.3.0 -I/usr/include/ruby-2.3.0/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/ruby-2.3.0  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Werror -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Wconversion -Wl,-z,now -Wl,-z,relro -fPIC   -o CMakeFiles/dislocker.dir/common.c.o   -c /<<PKGBUILDDIR>>/src/common.c
[  7%] Building C object src/CMakeFiles/dislocker.dir/config.c.o
cd /<<PKGBUILDDIR>>/src && /usr/bin/cc  -DAUTHOR="\"Romain Coltel\"" -DPROGNAME=\"dislocker\" -DVERSION=\"0.6.1\" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.3.0 -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__LINUX -D__OS=\"Linux\" -Ddislocker_EXPORTS -isystem /usr/local/include -I/<<PKGBUILDDIR>>/include -I/usr/include/ruby-2.3.0 -I/usr/include/ruby-2.3.0/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/ruby-2.3.0  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Werror -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Wconversion -Wl,-z,now -Wl,-z,relro -fPIC   -o CMakeFiles/dislocker.dir/config.c.o   -c /<<PKGBUILDDIR>>/src/config.c
[ 10%] Building C object src/CMakeFiles/dislocker.dir/xstd/xstdio.c.o
cd /<<PKGBUILDDIR>>/src && /usr/bin/cc  -DAUTHOR="\"Romain Coltel\"" -DPROGNAME=\"dislocker\" -DVERSION=\"0.6.1\" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.3.0 -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__LINUX -D__OS=\"Linux\" -Ddislocker_EXPORTS -isystem /usr/local/include -I/<<PKGBUILDDIR>>/include -I/usr/include/ruby-2.3.0 -I/usr/include/ruby-2.3.0/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/ruby-2.3.0  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Werror -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Wconversion -Wl,-z,now -Wl,-z,relro -fPIC   -o CMakeFiles/dislocker.dir/xstd/xstdio.c.o   -c /<<PKGBUILDDIR>>/src/xstd/xstdio.c
/<<PKGBUILDDIR>>/src/xstd/xstdio.c: In function 'dis_stdio_init':
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:91:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
    verbosity       = L_DEBUG;
    ~~~~~~~~~~~~~~~~^~~~~~~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:93:3: note: here
   case L_DEBUG:
   ^~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:94:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
    fds[L_DEBUG]    = log;
    ~~~~~~~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:96:3: note: here
   case L_INFO:
   ^~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:97:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
    fds[L_INFO]     = log;
    ~~~~~~~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:99:3: note: here
   case L_WARNING:
   ^~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:100:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
    fds[L_WARNING]  = log;
    ~~~~~~~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:102:3: note: here
   case L_ERROR:
   ^~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:103:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
    fds[L_ERROR]    = log;
    ~~~~~~~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/src/xstd/xstdio.c:105:3: note: here
   case L_CRITICAL:
   ^~~~
cc1: all warnings being treated as errors
src/CMakeFiles/dislocker.dir/build.make:137: recipe for target 'src/CMakeFiles/dislocker.dir/xstd/xstdio.c.o' failed
make[3]: *** [src/CMakeFiles/dislocker.dir/xstd/xstdio.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
CMakeFiles/Makefile2:203: recipe for target 'src/CMakeFiles/dislocker.dir/all' failed
make[2]: *** [src/CMakeFiles/dislocker.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:130: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:12: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Reply to: