Bug#853416: getfem++: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:31:35 UTC 2017


Package: src:getfem++
Version: 5.1+dfsg1-4
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/getfem++_5.1+dfsg1-4_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

[...]
       if (i) dists.push_back(i); if (j) dists.push_back(j);
                                  ^~
../src/getfem/getfem_mesher.h:631:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if (k) dists.push_back(k); if (l) dists.push_back(l);
       ^~
../src/getfem/getfem_mesher.h:631:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (k) dists.push_back(k); if (l) dists.push_back(l);
                                  ^~
../src/getfem/getfem_mesher.h:632:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if (m) dists.push_back(m); if (n) dists.push_back(n);
       ^~
../src/getfem/getfem_mesher.h:632:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (m) dists.push_back(m); if (n) dists.push_back(n);
                                  ^~
../src/getfem/getfem_mesher.h:633:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if (o) dists.push_back(o); if (p) dists.push_back(p);
       ^~
../src/getfem/getfem_mesher.h:633:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (o) dists.push_back(o); if (p) dists.push_back(p);
                                  ^~
../src/getfem/getfem_mesher.h:634:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if (q) dists.push_back(q); if (r) dists.push_back(r);
       ^~
../src/getfem/getfem_mesher.h:634:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (q) dists.push_back(q); if (r) dists.push_back(r);
                                  ^~
../src/getfem/getfem_mesher.h:635:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if (s) dists.push_back(s); if (t) dists.push_back(t);
       ^~
../src/getfem/getfem_mesher.h:635:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (s) dists.push_back(s); if (t) dists.push_back(t);
                                  ^~
test_mesh_generation.cc: In function 'int main(int, char**)':
test_mesh_generation.cc:144:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
       fixed.push_back(base_node(0,-z));
                       ^~~~~~~~~~~~~~~
test_mesh_generation.cc:146:5: note: here
     case 2: dist = D2; break; /* union of 2 disks */
     ^~~~
make[3]: Leaving directory '/build/getfem++-DZRk9N/getfem++-5.1+dfsg1/tests'
Makefile:1553: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/build/getfem++-DZRk9N/getfem++-5.1+dfsg1/tests'
Makefile:543: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/build/getfem++-DZRk9N/getfem++-5.1+dfsg1'
dh_auto_test: make -j64 check VERBOSE=1 returned exit code 2
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the debian-science-maintainers mailing list