Package: src:openfoam Version: 4.1+dfsg1-2 Severity: normal Tags: sid buster User: debian-...@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/openfoam_4.1+dfsg1-2_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 [...] "minor", you should undefine it after including <sys/types.h>. stat[8] = label(minor(fStat.status_.st_rdev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++0x -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX/lnInclude -fPIC -c cpuTime/cpuTime.C -o /<<BUILDDIR>>/openfoam-4.1+dfsg1/platforms/linux64Gcc51/src/OSspecific/POSIX/cpuTime/cpuTime.o g++ -std=c++0x -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX/lnInclude -fPIC -c clockTime/clockTime.C -o /<<BUILDDIR>>/openfoam-4.1+dfsg1/platforms/linux64Gcc51/src/OSspecific/POSIX/clockTime/clockTime.o g++ -std=c++0x -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX/lnInclude -fPIC -c memInfo/memInfo.C -o /<<BUILDDIR>>/openfoam-4.1+dfsg1/platforms/linux64Gcc51/src/OSspecific/POSIX/memInfo/memInfo.o g++ -std=c++0x -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX/lnInclude -fPIC -c fileMonitor.C -o /<<BUILDDIR>>/openfoam-4.1+dfsg1/platforms/linux64Gcc51/src/OSspecific/POSIX/fileMonitor.o g++ -std=c++0x -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude -I/<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OSspecific/POSIX/lnInclude -fPIC -c printStack.C -o /<<BUILDDIR>>/openfoam-4.1+dfsg1/platforms/linux64Gcc51/src/OSspecific/POSIX/printStack.o In file included from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/token.H:46, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/Istream.H:47, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/ISstream.H:39, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/IOstreams.H:38, from fileStat.C:27: /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of 'To& Foam::dynamicCast(From&) [with To = Foam::token::Compound<Foam::List<int> >; From = Foam::token::compound]': /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/FixedListIO.C:58:13: required from 'Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::FixedList<T, Size>&) [with T = int; unsigned int Size = 13]' /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/FixedListIO.C:37:15: required from 'Foam::FixedList<T, Size>::FixedList(Foam::Istream&) [with T = int; unsigned int Size = 13]' fileStat.C:100:33: required from here /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/typeInfo.H:91:5: warning: catching polymorphic type 'class std::bad_cast' by value [-Wcatch-value=] catch (std::bad_cast) ^~~~~ In file included from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/PackedList.H:641, from fileMonitor.C:29: /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/PackedListI.H: In member function 'void Foam::PackedList<nBits>::const_iterator::operator=(const Foam::PackedList<nBits>::iteratorBase&)': /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/PackedListI.H:550:13: error: return-statement with a value, in function returning 'void' [-fpermissive] return *this; ^~~~ In file included from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/token.H:46, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/UListIO.C:28, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/UList.C:233, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/UList.H:484, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/List.H:43, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/HashTable.C:30, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/HashTable.H:555, from /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/NamedEnum.H:38, from fileMonitor.H:46, from fileMonitor.C:26: /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of 'To& Foam::dynamicCast(From&) [with To = Foam::token::Compound<Foam::List<unsigned int> >; From = Foam::token::compound]': /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/ListIO.C:60:13: required from 'Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List<T>&) [with T = unsigned int]' /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/combineGatherScatter.C:445:27: required from 'static void Foam::Pstream::listCombineScatter(const Foam::List<Foam::UPstream::commsStruct>&, Foam::List<T>&, int, Foam::label) [with T = unsigned int; Foam::label = int]' /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/combineGatherScatter.C:498:9: required from 'static void Foam::Pstream::listCombineScatter(Foam::List<T>&, int, Foam::label) [with T = unsigned int; Foam::label = int]' fileMonitor.C:553:60: required from here /<<BUILDDIR>>/openfoam-4.1+dfsg1/src/OpenFOAM/lnInclude/typeInfo.H:91:5: warning: catching polymorphic type 'class std::bad_cast' by value [-Wcatch-value=] catch (std::bad_cast) ^~~~~ make[2]: *** [/<<BUILDDIR>>/openfoam-4.1+dfsg1/wmake/rules/General/transform:8: /<<BUILDDIR>>/openfoam-4.1+dfsg1/platforms/linux64Gcc51/src/OSspecific/POSIX/fileMonitor.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [debian/rules:70: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<BUILDDIR>>/openfoam-4.1+dfsg1' make: *** [debian/rules:7: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers