Bug#853453: inkscape: ftbfs with GCC-7

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


Package: src:inkscape
Version: 0.92.0-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/inkscape_0.92.0-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

[...]
     throw (std::bad_alloc)
     ^~~~~
/<<PKGBUILDDIR>>/src/inkgc/gc-managed.h:41:5: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     throw (std::bad_alloc)
     ^~~~~
In file included from /<<PKGBUILDDIR>>/src/ui/view/view.h:18:0,
                 from /<<PKGBUILDDIR>>/src/desktop.h:34,
                 from /<<PKGBUILDDIR>>/src/inkscape.cpp:52:
/<<PKGBUILDDIR>>/src/inkgc/gc-managed.h:33:5: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     throw (std::bad_alloc)
     ^~~~~
/<<PKGBUILDDIR>>/src/inkgc/gc-managed.h:41:5: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     throw (std::bad_alloc)
     ^~~~~
In file included from /<<PKGBUILDDIR>>/src/sp-filter-reference.h:4:0,
                 from /<<PKGBUILDDIR>>/src/style-internal.h:26,
                 from /<<PKGBUILDDIR>>/src/style.h:21,
                 from /<<PKGBUILDDIR>>/src/file.cpp:63:
/<<PKGBUILDDIR>>/src/uri-references.h:69:33: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     void attach(URI const& uri) throw(BadURIException);
                                 ^~~~~
In file included from /<<PKGBUILDDIR>>/src/style-internal.h:28:0,
                 from /<<PKGBUILDDIR>>/src/style.h:21,
                 from /<<PKGBUILDDIR>>/src/file.cpp:63:
/<<PKGBUILDDIR>>/src/uri.h:40:41: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     explicit URI(char const *preformed) throw(BadURIException);
                                         ^~~~~
/<<PKGBUILDDIR>>/src/uri.h:101:45: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     static URI fromUtf8( char const* path ) throw (BadURIException);
                                             ^~~~~
/<<PKGBUILDDIR>>/src/uri.h:103:55: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     static URI from_native_filename(char const *path) throw(BadURIException);
                                                       ^~~~~
/<<PKGBUILDDIR>>/src/uri.h:105:54: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     static char *to_native_filename(char const* uri) throw(BadURIException);
                                                      ^~~~~
/<<PKGBUILDDIR>>/src/uri.h:109:36: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
     char *toNativeFilename() const throw(BadURIException);
                                    ^~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:602: recipe for target 'src/CMakeFiles/inkscape_base.dir/all' failed
make[2]: *** [src/CMakeFiles/inkscape_base.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:130: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: make -j64 returned exit code 2
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list