[Python-modules-team] Bug#925825: shiboken: ftbfs with GCC-9
Matthias Klose
doko at debian.org
Wed Mar 27 19:48:00 GMT 2019
Package: src:shiboken
Version: 1.2.2-5.1
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/shiboken_1.2.2-5.1_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.
[...]
cd /<<PKGBUILDDIR>>/build-2.7-dbg/ApiExtractor/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/testprimitivetypetag.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -Wl,-z,relro -rdynamic CMakeFiles/testprimitivetypetag.dir/testprimitivetypetag.cpp.o -o testprimitivetypetag -lQtTest -lQtCore -lQtGui ../../tests/libapiextractor.a -lxslt -lxml2 -lQtCore -lQtXmlPatterns -lQtXml
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
[ 61%] Built target testnestedtypes
[ 61%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/headergenerator.cpp.o
cd /<<PKGBUILDDIR>>/build-2.7-dbg/generator && /usr/bin/c++ -DDOCSTRINGS_ENABLED -DPy_DEBUG -I/<<PKGBUILDDIR>>/generator/shiboken -I/<<PKGBUILDDIR>>/generator/qtdoc -I/<<PKGBUILDDIR>>/generator -I/<<PKGBUILDDIR>>/build-2.7-dbg/generator -I/<<PKGBUILDDIR>>/ApiExtractor -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -o CMakeFiles/shiboken.dir/shiboken/headergenerator.cpp.o -c /<<PKGBUILDDIR>>/generator/shiboken/headergenerator.cpp
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
[ 61%] Built target testprimitivetypetag
[ 61%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/overloaddata.cpp.o
cd /<<PKGBUILDDIR>>/build-2.7-dbg/generator && /usr/bin/c++ -DDOCSTRINGS_ENABLED -DPy_DEBUG -I/<<PKGBUILDDIR>>/generator/shiboken -I/<<PKGBUILDDIR>>/generator/qtdoc -I/<<PKGBUILDDIR>>/generator -I/<<PKGBUILDDIR>>/build-2.7-dbg/generator -I/<<PKGBUILDDIR>>/ApiExtractor -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -o CMakeFiles/shiboken.dir/shiboken/overloaddata.cpp.o -c /<<PKGBUILDDIR>>/generator/shiboken/overloaddata.cpp
[ 62%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/shibokengenerator.cpp.o
cd /<<PKGBUILDDIR>>/build-2.7-dbg/generator && /usr/bin/c++ -DDOCSTRINGS_ENABLED -DPy_DEBUG -I/<<PKGBUILDDIR>>/generator/shiboken -I/<<PKGBUILDDIR>>/generator/qtdoc -I/<<PKGBUILDDIR>>/generator -I/<<PKGBUILDDIR>>/build-2.7-dbg/generator -I/<<PKGBUILDDIR>>/ApiExtractor -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -o CMakeFiles/shiboken.dir/shiboken/shibokengenerator.cpp.o -c /<<PKGBUILDDIR>>/generator/shiboken/shibokengenerator.cpp
[ 62%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/shibokennormalize.cpp.o
cd /<<PKGBUILDDIR>>/build-2.7-dbg/generator && /usr/bin/c++ -DDOCSTRINGS_ENABLED -DPy_DEBUG -I/<<PKGBUILDDIR>>/generator/shiboken -I/<<PKGBUILDDIR>>/generator/qtdoc -I/<<PKGBUILDDIR>>/generator -I/<<PKGBUILDDIR>>/build-2.7-dbg/generator -I/<<PKGBUILDDIR>>/ApiExtractor -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -o CMakeFiles/shiboken.dir/shiboken/shibokennormalize.cpp.o -c /<<PKGBUILDDIR>>/generator/shiboken/shibokennormalize.cpp
[ 62%] Building CXX object generator/CMakeFiles/shiboken.dir/main.cpp.o
cd /<<PKGBUILDDIR>>/build-2.7-dbg/generator && /usr/bin/c++ -DDOCSTRINGS_ENABLED -DPy_DEBUG -I/<<PKGBUILDDIR>>/generator/shiboken -I/<<PKGBUILDDIR>>/generator/qtdoc -I/<<PKGBUILDDIR>>/generator -I/<<PKGBUILDDIR>>/build-2.7-dbg/generator -I/<<PKGBUILDDIR>>/ApiExtractor -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -o CMakeFiles/shiboken.dir/main.cpp.o -c /<<PKGBUILDDIR>>/generator/main.cpp
[ 62%] Building CXX object generator/CMakeFiles/shiboken.dir/qtdoc/qtdocgenerator.cpp.o
cd /<<PKGBUILDDIR>>/build-2.7-dbg/generator && /usr/bin/c++ -DDOCSTRINGS_ENABLED -DPy_DEBUG -I/<<PKGBUILDDIR>>/generator/shiboken -I/<<PKGBUILDDIR>>/generator/qtdoc -I/<<PKGBUILDDIR>>/generator -I/<<PKGBUILDDIR>>/build-2.7-dbg/generator -I/<<PKGBUILDDIR>>/ApiExtractor -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -o CMakeFiles/shiboken.dir/qtdoc/qtdocgenerator.cpp.o -c /<<PKGBUILDDIR>>/generator/qtdoc/qtdocgenerator.cpp
[ 63%] Linking CXX executable shiboken
cd /<<PKGBUILDDIR>>/build-2.7-dbg/generator && /usr/bin/cmake -E cmake_link_script CMakeFiles/shiboken.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -Wl,-z,relro -rdynamic CMakeFiles/shiboken.dir/generator.cpp.o CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/headergenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/overloaddata.cpp.o CMakeFiles/shiboken.dir/shiboken/shibokengenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/shibokennormalize.cpp.o CMakeFiles/shiboken.dir/main.cpp.o CMakeFiles/shiboken.dir/qtdoc/qtdocgenerator.cpp.o -o shiboken ../tests/libapiextractor.a -lQtCore -lQtXml -lxslt -lxml2 -lQtCore -lQtXmlPatterns -lQtXml
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
[ 63%] Built target shiboken
make -f shibokenmodule/CMakeFiles/shibokenmodule.dir/build.make shibokenmodule/CMakeFiles/shibokenmodule.dir/depend
make -f tests/minimalbinding/CMakeFiles/minimal.dir/build.make tests/minimalbinding/CMakeFiles/minimal.dir/depend
make -f tests/samplebinding/CMakeFiles/sample.dir/build.make tests/samplebinding/CMakeFiles/sample.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
[ 63%] Running generator for 'sample' test binding...
cd /<<PKGBUILDDIR>>/tests/samplebinding && /<<PKGBUILDDIR>>/build-2.7-dbg/generator/shiboken --project-file=/<<PKGBUILDDIR>>/build-2.7-dbg/tests/samplebinding/sample-binding.txt
[ 63%] Running generator for 'shiboken'...
[ 63%] Running generator for 'minimal' test binding...
cd /<<PKGBUILDDIR>>/shibokenmodule && /<<PKGBUILDDIR>>/build-2.7-dbg/generator/shiboken --project-file=/<<PKGBUILDDIR>>/build-2.7-dbg/shibokenmodule/shibokenmodule.txt
cd /<<PKGBUILDDIR>>/tests/minimalbinding && /<<PKGBUILDDIR>>/build-2.7-dbg/generator/shiboken --project-file=/<<PKGBUILDDIR>>/build-2.7-dbg/tests/minimalbinding/minimal-binding.txt
Detecting inconsistencies in typesystem... [[0;32mOK[0m]
Segmentation fault
make[4]: *** [shibokenmodule/CMakeFiles/shibokenmodule.dir/build.make:65: shibokenmodule/shiboken/shiboken_module_wrapper.cpp] Error 139
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
make[3]: *** [CMakeFiles/Makefile2:1724: shibokenmodule/CMakeFiles/shibokenmodule.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
Generating class model... Resolving typedefs... Fixing class inheritance... [[0;32mOK[0m]
Detecting inconsistencies in class model... [[0;32mOK[0m]
[[0;32mOK[0m]
Segmentation fault
make[4]: *** [tests/minimalbinding/CMakeFiles/minimal.dir/build.make:67: tests/minimalbinding/minimal/minimal_module_wrapper.cpp] Error 139
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
make[3]: *** [CMakeFiles/Makefile2:1979: tests/minimalbinding/CMakeFiles/minimal.dir/all] Error 2
Generating class model... Duplicate type entry: 'SampleNamespace'
Generating enum model... Generating namespace model... namespace 'Foo' does not have a type entry
Resolving typedefs... Detecting inconsistencies in typesystem... [[1;33mWARNING[0m]
enum 'ObjectTypePtrList::CtorEnum' is specified in typesystem, but not declared
Segmentation fault
make[4]: *** [tests/samplebinding/CMakeFiles/sample.dir/build.make:67: tests/samplebinding/sample/abstractmodifications_wrapper.cpp] Error 139
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
make[3]: *** [CMakeFiles/Makefile2:2036: tests/samplebinding/CMakeFiles/sample.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
make[2]: *** [Makefile:144: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7-dbg'
dh_auto_build: cd build-2.7-dbg && make -j4 returned exit code 2
make[1]: *** [debian/rules:88: override_dh_auto_build_dbg-2.7] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the Python-modules-team
mailing list