Bug#957917: vtk7: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:12:56 BST 2020
Package: src:vtk7
Version: 7.1.1+dfsg2-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10
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-10/g++-10, but succeeds to build with gcc-9/g++-9. 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/gcc10-20200225/vtk7_7.1.1+dfsg2-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html
[...]
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOStreamWrapper::operator<<(vtkOStreamWrapper::EndlType const&)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOStreamWrapper::operator<<(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOStreamWrapper::operator<<(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOStreamWrapper::operator<<(int)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOStreamWrapper::operator<<(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOStrStreamWrapper::str()'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOutputWindowDisplayGenericWarningText(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOStrStreamWrapper::rdbuf()'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: undefined reference to `vtkOStrStreamWrapper::freeze(int)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStrStreamWrapper::~vtkOStrStreamWrapper()'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkObject::GetGlobalWarningDisplay()'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStrStreamWrapper::vtkOStrStreamWrapper()'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStreamWrapper::operator<<(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStreamWrapper::operator<<(int)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStreamWrapper::operator<<(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStreamWrapper::operator<<(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStreamWrapper::operator<<(vtkOStreamWrapper::EndlType const&)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStreamWrapper::operator<<(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStreamWrapper::operator<<(int)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStreamWrapper::operator<<(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStrStreamWrapper::str()'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOutputWindowDisplayGenericWarningText(char const*)'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStrStreamWrapper::rdbuf()'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:748: undefined reference to `vtkOStrStreamWrapper::freeze(int)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o: in function `vtkCommand::~vtkCommand()':
./debian/build/Common/Core/./Common/Core/vtkCommand.h:422: undefined reference to `vtkObjectBase::~vtkObjectBase()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o: in function `vtkObjectBase::New()':
./debian/build/Common/Core/./Common/Core/vtkObjectBase.h:129: undefined reference to `vtkObjectBase::vtkObjectBase()'
/usr/bin/ld: ./debian/build/Common/Core/./Common/Core/vtkObjectBase.h:130: undefined reference to `vtkObjectBase::InitializeObjectBase()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o: in function `vtkGetInterpStruct(Tcl_Interp*)':
./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:44: undefined reference to `vtkOStrStreamWrapper::~vtkOStrStreamWrapper()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o: in function `vtkTclGenericDeleteObject(void*)':
./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:146: undefined reference to `vtkOStrStreamWrapper::~vtkOStrStreamWrapper()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o: in function `vtkTclGetObjectFromPointer(Tcl_Interp*, void*, char const*)':
./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:317: undefined reference to `vtkOStrStreamWrapper::~vtkOStrStreamWrapper()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o: in function `vtkTclVoidFunc(void*)':
./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:496: undefined reference to `vtkOStrStreamWrapper::~vtkOStrStreamWrapper()'
/usr/bin/ld: ./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:504: undefined reference to `vtkOStrStreamWrapper::~vtkOStrStreamWrapper()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:./debian/build/Common/Core/./Wrapping/Tcl/vtkTclUtil.cxx:740: more undefined references to `vtkOStrStreamWrapper::~vtkOStrStreamWrapper()' follow
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTI10vtkCommand[_ZTI10vtkCommand]+0x10): undefined reference to `typeinfo for vtkObjectBase'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x20): undefined reference to `vtkObjectBase::Delete()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x28): undefined reference to `vtkObjectBase::FastDelete()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x30): undefined reference to `vtkObjectBase::PrintSelf(std::ostream&, vtkIndent)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x38): undefined reference to `vtkObjectBase::PrintHeader(std::ostream&, vtkIndent)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x40): undefined reference to `vtkObjectBase::PrintTrailer(std::ostream&, vtkIndent)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x48): undefined reference to `vtkObjectBase::Register(vtkObjectBase*)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x70): undefined reference to `vtkObjectBase::RegisterInternal(vtkObjectBase*, int)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x78): undefined reference to `vtkObjectBase::UnRegisterInternal(vtkObjectBase*, int)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV10vtkCommand[_ZTV10vtkCommand]+0x80): undefined reference to `vtkObjectBase::ReportReferences(vtkGarbageCollector*)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x20): undefined reference to `vtkObjectBase::Delete()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x28): undefined reference to `vtkObjectBase::FastDelete()'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x30): undefined reference to `vtkObjectBase::PrintSelf(std::ostream&, vtkIndent)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x38): undefined reference to `vtkObjectBase::PrintHeader(std::ostream&, vtkIndent)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x40): undefined reference to `vtkObjectBase::PrintTrailer(std::ostream&, vtkIndent)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x48): undefined reference to `vtkObjectBase::Register(vtkObjectBase*)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x70): undefined reference to `vtkObjectBase::RegisterInternal(vtkObjectBase*, int)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x78): undefined reference to `vtkObjectBase::UnRegisterInternal(vtkObjectBase*, int)'
/usr/bin/ld: CMakeFiles/vtkCommonCoreTCL.dir/__/__/Wrapping/Tcl/vtkTclUtil.cxx.o:(.data.rel.ro._ZTV13vtkTclCommand[_ZTV13vtkTclCommand]+0x80): undefined reference to `vtkObjectBase::ReportReferences(vtkGarbageCollector*)'
collect2: error: ld returned 1 exit status
make[4]: *** [Common/Core/CMakeFiles/vtkCommonCoreTCL.dir/build.make:2433: lib/libvtkCommonCoreTCL-7.1.so.7.1p.1] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[3]: *** [CMakeFiles/Makefile2:6252: Common/Core/CMakeFiles/vtkCommonCoreTCL.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [Makefile:133: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
dh_auto_build: error: cd debian/build && make -j4 returned exit code 2
make[1]: *** [debian/rules:119: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:43: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list