[Pkg-phototools-devel] Bug#984049: enblend-enfuse: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:11:54 GMT 2021


Package: src:enblend-enfuse
Version: 4.2-8
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/enblend-enfuse_4.2-8_unstable_gcc11.log
The last lines of the build log are at the end of this report.

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

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
In file included from /usr/include/vigra/stdconvolution.hxx:43,
                 from /usr/include/vigra/convolution.hxx:41,
                 from ../../src/openmp_vigra.h:32,
                 from ../../src/enblend.h:40,
                 from ../../src/enblend.cc:191:
/usr/include/vigra/separableconvolution.hxx:1413:13: error: ISO C++17 does not allow dynamic exception specifications
 1413 |             throw(PreconditionViolation)
      |             ^~~~~
In file included from /usr/include/vigra/convolution.hxx:41,
                 from ../../src/openmp_vigra.h:32,
                 from ../../src/enblend.h:40,
                 from ../../src/enblend.cc:191:
/usr/include/vigra/stdconvolution.hxx:796:13: error: ISO C++17 does not allow dynamic exception specifications
  796 |             throw(PreconditionViolation)
      |             ^~~~~
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENBLEND_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enblend-self_test.o `test -f 'self_test.cc' || echo '../../src/'`self_test.cc
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENBLEND_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enblend-tiff_message.o `test -f 'tiff_message.cc' || echo '../../src/'`tiff_message.cc
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENBLEND_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enblend-timer.o `test -f 'timer.cc' || echo '../../src/'`timer.cc
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENBLEND_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enblend-minimizer.o `test -f 'minimizer.cc' || echo '../../src/'`minimizer.cc
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENFUSE_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enfuse-exposure_weight.o `test -f 'exposure_weight.cc' || echo '../../src/'`exposure_weight.cc
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENFUSE_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enfuse-enfuse.o `test -f 'enfuse.cc' || echo '../../src/'`enfuse.cc
In file included from ../../src/alternativepercentage.h:25,
                 from ../../src/enfuse.cc:80:
../config.h:8: warning: "BOOST_FALLTHROUGH" redefined
    8 | #define BOOST_FALLTHROUGH ((void) 0)
      | 
In file included from /usr/include/boost/config.hpp:39,
                 from /usr/include/boost/static_assert.hpp:17,
                 from /usr/include/boost/iterator/iterator_adaptor.hpp:10,
                 from /usr/include/boost/token_iterator.hpp:22,
                 from /usr/include/boost/tokenizer.hpp:20,
                 from ../../src/enfuse.cc:71:
/usr/include/boost/config/compiler/gcc.hpp:323: note: this is the location of the previous definition
  323 | #  define BOOST_FALLTHROUGH __attribute__((fallthrough))
      | 
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENFUSE_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enfuse-opencl.o `test -f 'opencl.cc' || echo '../../src/'`opencl.cc
In file included from /usr/include/vigra/stdconvolution.hxx:43,
                 from /usr/include/vigra/convolution.hxx:41,
                 from ../../src/openmp_vigra.h:32,
                 from ../../src/enfuse.h:46,
                 from ../../src/enfuse.cc:182:
/usr/include/vigra/separableconvolution.hxx:1413:13: error: ISO C++17 does not allow dynamic exception specifications
 1413 |             throw(PreconditionViolation)
      |             ^~~~~
In file included from /usr/include/vigra/convolution.hxx:41,
                 from ../../src/openmp_vigra.h:32,
                 from ../../src/enfuse.h:46,
                 from ../../src/enfuse.cc:182:
/usr/include/vigra/stdconvolution.hxx:796:13: error: ISO C++17 does not allow dynamic exception specifications
  796 |             throw(PreconditionViolation)
      |             ^~~~~
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENFUSE_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enfuse-opencl_exposure_weight.o `test -f 'opencl_exposure_weight.cc' || echo '../../src/'`opencl_exposure_weight.cc
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -DENFUSE_SOURCE   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../src/dynamic_loader -I../../src/layer_selection -pthread -I/usr/include/OpenEXR -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -O2 -DNDEBUG -fopenmp -c -o enfuse-alternativepercentage.o `test -f 'alternativepercentage.cc' || echo '../../src/'`alternativepercentage.cc
make[6]: *** [Makefile:700: enblend-enblend.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: *** [Makefile:896: enfuse-enfuse.o] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/build-def/src'
make[5]: *** [Makefile:1137: all-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-def/src'
make[4]: *** [Makefile:556: all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-def/src'
make[3]: *** [Makefile:444: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-def'
make[2]: *** [Makefile:385: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-def'
dh_auto_build: error: cd build-def && make -j4 returned exit code 2
make[1]: *** [debian/rules:37: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:66: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-phototools-devel mailing list