[Debian-med-packaging] Bug#925629: aghermann: ftbfs with GCC-9
Matthias Klose
doko at debian.org
Wed Mar 27 19:44:00 GMT 2019
Package: src:aghermann
Version: 1.1.2-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9
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-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/aghermann_1.1.2-2_unstable_gcc9.log
The last lines of the build log are at the end of this report.
To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html
GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.
[...]
from rk1968/rk1968-profiles.cc:17:
../../src/common/alg.hh:132:44: warning: 'pure' attribute on function returning 'void' [-Wattributes]
132 | ensure_within( T& v, const T& l, const T& h)
| ^
../../src/common/alg.hh: In function 'std::valarray<double> agh::alg::to_vad(const std::valarray<float>&)':
../../src/common/alg.hh:169:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
169 | return move(ret);
| ~~~~^~~~~
../../src/common/alg.hh:169:20: note: remove 'std::move' call
In file included from ../../src/libmetrics/all.hh:16,
from ../../src/aghermann/expdesign/recording.hh:19,
from ../../src/aghermann/expdesign/profile.hh:16,
from ../../src/aghermann/model/achermann.hh:24,
from ../../src/aghermann/expdesign/expdesign.hh:27,
from rk1968/rk1968-profiles.cc:17:
../../src/libmetrics/psd.hh: In member function 'std::valarray<float> metrics::psd::CProfile::course(double, double) const':
../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
152 | return move(acc);
| ~~~~^~~~~
../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call
In file included from ../../src/libmetrics/all.hh:16,
from ../../src/aghermann/expdesign/recording.hh:19,
from rk1968/rk1968.cc:29:
../../src/libmetrics/psd.hh: In member function 'std::valarray<float> metrics::psd::CProfile::course(double, double) const':
../../src/libmetrics/psd.hh:152:36: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
152 | return move(acc);
| ~~~~^~~~~
../../src/libmetrics/psd.hh:152:36: note: remove 'std::move' call
In file included from ../../src/libsigproc/sigproc.hh:28,
from rk1968/rk1968.hh:23,
from rk1968/rk1968-profiles.cc:19:
../../src/libsigproc/exstrom.hh: In function 'std::valarray<int> exstrom::ccof_bwlp(unsigned int)':
../../src/libsigproc/exstrom.hh:326:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
326 | return move(ccof);
| ~~~~^~~~~~
../../src/libsigproc/exstrom.hh:326:20: note: remove 'std::move' call
../../src/libsigproc/exstrom.hh: In function 'std::valarray<int> exstrom::ccof_bwhp(unsigned int)':
../../src/libsigproc/exstrom.hh:345:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
345 | return move(ccof);
| ~~~~^~~~~~
../../src/libsigproc/exstrom.hh:345:20: note: remove 'std::move' call
../../src/libsigproc/exstrom.hh: In function 'std::valarray<int> exstrom::ccof_bwbp(unsigned int)':
../../src/libsigproc/exstrom.hh:369:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
369 | return move(ccof);
| ~~~~^~~~~~
../../src/libsigproc/exstrom.hh:369:20: note: remove 'std::move' call
rk1968/rk1968.cc: In lambda function:
rk1968/rk1968.cc:237:103: error: expected '{' before '->' token
237 | auto make_error_return = [&L] ( const char* fmt, ...) __attribute__ ((format (printf, 2, 3))) -> int
| ^~
rk1968/rk1968.cc: In function 'int host_get_data(lua_State*)':
rk1968/rk1968.cc:237:103: error: base operand of '->' has non-pointer type 'host_get_data(lua_State*)::<lambda(const char*, ...)>'
rk1968/rk1968.cc:237:106: error: expected unqualified-id before 'int'
237 | auto make_error_return = [&L] ( const char* fmt, ...) __attribute__ ((format (printf, 2, 3))) -> int
| ^~~
g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -Wdeprecated-declarations -std=c++0x -fno-rtti -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/p11-kit-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -fopenmp -I/usr/include/lua5.2 -I../../src -DPACKAGE_DATADIR=\"/usr/share\" -DBUILT_BY=\"@user@\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ui/sm/sm-construct.o ui/sm/sm-construct.cc
make[5]: *** [Makefile:995: rk1968/rk1968.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/aghermann'
make[4]: *** [Makefile:474: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:428: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:564: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:443: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j4 returned exit code 2
make: *** [debian/rules:10: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list