[Pkg-puppet-devel] Bug#897778: leatherman: ftbfs with GCC-8
Matthias Klose
doko at debian.org
Fri May 4 13:22:06 BST 2018
Package: src:leatherman
Version: 1.4.0+dfsg-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8
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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.
The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/leatherman_1.4.0+dfsg-1_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html
[...]
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:37:85: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
#define LOAD_SYMBOL(x) x(reinterpret_cast<decltype(x)>(library.find_symbol(#x, true)))
^
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:109:9: note: in expansion of macro 'LOAD_SYMBOL'
LOAD_SYMBOL(rb_eStandardError),
^~~~~~~~~~~
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:37:85: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
#define LOAD_SYMBOL(x) x(reinterpret_cast<decltype(x)>(library.find_symbol(#x, true)))
^
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:110:9: note: in expansion of macro 'LOAD_SYMBOL'
LOAD_SYMBOL(rb_eRuntimeError),
^~~~~~~~~~~
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:37:85: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
#define LOAD_SYMBOL(x) x(reinterpret_cast<decltype(x)>(library.find_symbol(#x, true)))
^
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:111:9: note: in expansion of macro 'LOAD_SYMBOL'
LOAD_SYMBOL(rb_eLoadError),
^~~~~~~~~~~
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:39:88: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
#define LOAD_OPTIONAL_SYMBOL(x) x(reinterpret_cast<decltype(x)>(library.find_symbol(#x)))
^
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:112:9: note: in expansion of macro 'LOAD_OPTIONAL_SYMBOL'
LOAD_OPTIONAL_SYMBOL(ruby_setup),
^~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:37:85: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
#define LOAD_SYMBOL(x) x(reinterpret_cast<decltype(x)>(library.find_symbol(#x, true)))
^
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:113:9: note: in expansion of macro 'LOAD_SYMBOL'
LOAD_SYMBOL(ruby_init),
^~~~~~~~~~~
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:37:85: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
#define LOAD_SYMBOL(x) x(reinterpret_cast<decltype(x)>(library.find_symbol(#x, true)))
^
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:114:9: note: in expansion of macro 'LOAD_SYMBOL'
LOAD_SYMBOL(ruby_options),
^~~~~~~~~~~
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:37:85: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
#define LOAD_SYMBOL(x) x(reinterpret_cast<decltype(x)>(library.find_symbol(#x, true)))
^
/<<BUILDDIR>>/leatherman-1.4.0+dfsg/ruby/src/api.cc:115:9: note: in expansion of macro 'LOAD_SYMBOL'
LOAD_SYMBOL(ruby_cleanup),
^~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [ruby/CMakeFiles/leatherman_ruby.dir/build.make:66: ruby/CMakeFiles/leatherman_ruby.dir/src/api.cc.o] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/leatherman-1.4.0+dfsg/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1042: ruby/CMakeFiles/leatherman_ruby.dir/all] Error 2
make[1]: *** [Makefile:144: all] Error 2
dh_auto_build: cd obj-x86_64-linux-gnu && make -j8 -Oline "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:12: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the Pkg-puppet-devel
mailing list