Bug#853527: lmms: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:33:32 UTC 2017
Package: src:lmms
Version: 1.1.3-7
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/lmms_1.1.3-7_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
[...]
[ 40%] Building CXX object plugins/dynamics_processor/CMakeFiles/dynamicsprocessor.dir/dynamics_processor_controls.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/dynamics_processor && /usr/bin/c++ -DPLUGIN_NAME=dynamicsprocessor -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_XML_LIB -Ddynamicsprocessor_EXPORTS -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtCore -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/dynamics_processor -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/gui -O2 -g -fno-exceptions -Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow -Werror -Wno-array-bounds -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -fPIC -D'QT_TRANSLATIONS_DIR="/usr/share/qt4/translations"' -o CMakeFiles/dynamicsprocessor.dir/dynamics_processor_controls.o -c /<<PKGBUILDDIR>>/plugins/dynamics_processor/dynamics_processor_controls.cpp
[ 40%] Building CXX object plugins/dynamics_processor/CMakeFiles/dynamicsprocessor.dir/dynamics_processor_control_dialog.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/dynamics_processor && /usr/bin/c++ -DPLUGIN_NAME=dynamicsprocessor -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_XML_LIB -Ddynamicsprocessor_EXPORTS -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtCore -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/dynamics_processor -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/gui -O2 -g -fno-exceptions -Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow -Werror -Wno-array-bounds -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -fPIC -D'QT_TRANSLATIONS_DIR="/usr/share/qt4/translations"' -o CMakeFiles/dynamicsprocessor.dir/dynamics_processor_control_dialog.o -c /<<PKGBUILDDIR>>/plugins/dynamics_processor/dynamics_processor_control_dialog.cpp
[ 40%] Linking CXX shared module libdynamicsprocessor.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/dynamics_processor && /usr/bin/cmake -E cmake_link_script CMakeFiles/dynamicsprocessor.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -g -fno-exceptions -Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow -Werror -Wno-array-bounds -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -Wl,-z,relro -shared -o libdynamicsprocessor.so CMakeFiles/dynamicsprocessor.dir/dynamics_processor.o CMakeFiles/dynamicsprocessor.dir/dynamics_processor_controls.o CMakeFiles/dynamicsprocessor.dir/dynamics_processor_control_dialog.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 40%] Built target dynamicsprocessor
make -f plugins/flp_import/CMakeFiles/flpimport.dir/build.make plugins/flp_import/CMakeFiles/flpimport.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/plugins/flp_import /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/flp_import /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/flp_import/CMakeFiles/flpimport.dir/DependInfo.cmake --color=
Scanning dependencies of target flpimport
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f plugins/flp_import/CMakeFiles/flpimport.dir/build.make plugins/flp_import/CMakeFiles/flpimport.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 40%] Building CXX object plugins/flp_import/CMakeFiles/flpimport.dir/FlpImport.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/flp_import && /usr/bin/c++ -DPLUGIN_NAME=flpimport -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_XML_LIB -Dflpimport_EXPORTS -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtCore -I/<<PKGBUILDDIR>>/plugins/flp_import/unrtf -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/flp_import -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/gui -O2 -g -fno-exceptions -Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow -Werror -Wno-array-bounds -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -fPIC -D'QT_TRANSLATIONS_DIR="/usr/share/qt4/translations"' -o CMakeFiles/flpimport.dir/FlpImport.o -c /<<PKGBUILDDIR>>/plugins/flp_import/FlpImport.cpp
[ 40%] Building CXX object plugins/flp_import/CMakeFiles/flpimport.dir/unrtf.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/flp_import && /usr/bin/c++ -DPLUGIN_NAME=flpimport -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_XML_LIB -Dflpimport_EXPORTS -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtCore -I/<<PKGBUILDDIR>>/plugins/flp_import/unrtf -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/flp_import -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/gui -O2 -g -fno-exceptions -Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow -Werror -Wno-array-bounds -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -fPIC -D'QT_TRANSLATIONS_DIR="/usr/share/qt4/translations"' -o CMakeFiles/flpimport.dir/unrtf.o -c /<<PKGBUILDDIR>>/plugins/flp_import/unrtf.cpp
In file included from /<<PKGBUILDDIR>>/plugins/flp_import/unrtf.cpp:61:0:
/<<PKGBUILDDIR>>/plugins/flp_import/unrtf/convert.c: In function 'int cmd_expand(Word*, int, char, int)':
/<<PKGBUILDDIR>>/plugins/flp_import/unrtf/convert.c:1550:1: error: may write a terminating nul past the end of the destination [-Werror=format-overflow=]
cmd_expand (Word *w, int align, char has_param, int param) {
^~~~~~~~~~
In file included from /usr/include/stdio.h:938:0,
from /usr/include/c++/7/cstdio:42,
from /usr/include/c++/7/ext/string_conversions.h:43,
from /usr/include/c++/7/bits/basic_string.h:6142,
from /usr/include/c++/7/string:52,
from /usr/include/qt4/QtCore/qstring.h:54,
from /usr/include/qt4/QtCore/QString:1,
from /<<PKGBUILDDIR>>/plugins/flp_import/unrtf.cpp:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:43: note: format output between 10 and 11 bytes into a destination of size 10
__bos (__s), __fmt, __va_arg_pack ());
^
cc1plus: all warnings being treated as errors
plugins/flp_import/CMakeFiles/flpimport.dir/build.make:89: recipe for target 'plugins/flp_import/CMakeFiles/flpimport.dir/unrtf.o' failed
make[3]: *** [plugins/flp_import/CMakeFiles/flpimport.dir/unrtf.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:1981: recipe for target 'plugins/flp_import/CMakeFiles/flpimport.dir/all' failed
make[2]: *** [plugins/flp_import/CMakeFiles/flpimport.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:152: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
debian/rules:29: 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-edu-pkg-team
mailing list