[Pkg-opencl-devel] Bug#983984: beignet: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:10:41 GMT 2021


Package: src:beignet
Version: 1.3.2-8
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/beignet_1.3.2-8_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp:314:1: note: in expansion of macro ‘MAKE_UTEST_FROM_FUNCTION’
  314 | MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_max_float);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp: In function ‘void __ANON__compiler_workgroup_scan_exclusive_min_int__()’:
/<<PKGBUILDDIR>>/utests/utest.hpp:125:22: warning: catching polymorphic type ‘class Exception’ by value [-Wcatch-value=]
  125 |     catch (Exception e) { \
      |                      ^
/<<PKGBUILDDIR>>/utests/utest.hpp:99:40: note: in expansion of macro ‘UTEST_EXPECT_SUCCESS’
   99 |   static void __ANON__##FN##__(void) { UTEST_EXPECT_SUCCESS(FN()); } \
      |                                        ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp:329:1: note: in expansion of macro ‘MAKE_UTEST_FROM_FUNCTION’
  329 | MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_min_int);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp: In function ‘void __ANON__compiler_workgroup_scan_exclusive_min_uint__()’:
/<<PKGBUILDDIR>>/utests/utest.hpp:125:22: warning: catching polymorphic type ‘class Exception’ by value [-Wcatch-value=]
  125 |     catch (Exception e) { \
      |                      ^
/<<PKGBUILDDIR>>/utests/utest.hpp:99:40: note: in expansion of macro ‘UTEST_EXPECT_SUCCESS’
   99 |   static void __ANON__##FN##__(void) { UTEST_EXPECT_SUCCESS(FN()); } \
      |                                        ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp:340:1: note: in expansion of macro ‘MAKE_UTEST_FROM_FUNCTION’
  340 | MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_min_uint);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp: In function ‘void __ANON__compiler_workgroup_scan_exclusive_min_long__()’:
/<<PKGBUILDDIR>>/utests/utest.hpp:125:22: warning: catching polymorphic type ‘class Exception’ by value [-Wcatch-value=]
  125 |     catch (Exception e) { \
      |                      ^
/<<PKGBUILDDIR>>/utests/utest.hpp:104:40: note: in expansion of macro ‘UTEST_EXPECT_SUCCESS’
  104 |   static void __ANON__##FN##__(void) { UTEST_EXPECT_SUCCESS(FN()); } \
      |                                        ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp:351:1: note: in expansion of macro ‘MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE’
  351 | MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_exclusive_min_long);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp: In function ‘void __ANON__compiler_workgroup_scan_exclusive_min_ulong__()’:
/<<PKGBUILDDIR>>/utests/utest.hpp:125:22: warning: catching polymorphic type ‘class Exception’ by value [-Wcatch-value=]
  125 |     catch (Exception e) { \
      |                      ^
/<<PKGBUILDDIR>>/utests/utest.hpp:104:40: note: in expansion of macro ‘UTEST_EXPECT_SUCCESS’
  104 |   static void __ANON__##FN##__(void) { UTEST_EXPECT_SUCCESS(FN()); } \
      |                                        ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp:362:1: note: in expansion of macro ‘MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE’
  362 | MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_exclusive_min_ulong);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp: In function ‘void __ANON__compiler_workgroup_scan_exclusive_min_float__()’:
/<<PKGBUILDDIR>>/utests/utest.hpp:125:22: warning: catching polymorphic type ‘class Exception’ by value [-Wcatch-value=]
  125 |     catch (Exception e) { \
      |                      ^
/<<PKGBUILDDIR>>/utests/utest.hpp:99:40: note: in expansion of macro ‘UTEST_EXPECT_SUCCESS’
   99 |   static void __ANON__##FN##__(void) { UTEST_EXPECT_SUCCESS(FN()); } \
      |                                        ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utests/compiler_workgroup_scan_exclusive.cpp:373:1: note: in expansion of macro ‘MAKE_UTEST_FROM_FUNCTION’
  373 | MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_min_float);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [utests/CMakeFiles/utests.dir/build.make:5051: utests/CMakeFiles/utests.dir/compiler_workgroup_scan_exclusive.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:472: utests/CMakeFiles/utests.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
[ 67%] Linking CXX executable gbe_bin_generater
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/backend/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/gbe_bin_generater.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DGBE_DEBUG=1  -funroll-loops -fstrict-aliasing -fPIC -Wall -Wcast-align -Wl,-E -std=c++0x -Wno-invalid-offsetof -fno-rtti -I/usr/lib/llvm-9/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DGBE_DEBUG_MEMORY=0  -DGBE_COMPILER_AVAILABLE=1 -fvisibility=hidden -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/gbe_bin_generater.dir/gbe_bin_generater.cpp.o -o gbe_bin_generater   -L/usr/lib/llvm-9/lib  -Wl,-rpath,/usr/lib/llvm-9/lib:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/backend/src libgbe.so -ldrm_intel -ldrm /usr/lib/llvm-9/lib/libclangCodeGen.a /usr/lib/llvm-9/lib/libclangFrontend.a /usr/lib/llvm-9/lib/libclangSerialization.a /usr/lib/llvm-9/lib/libclangDriver.a /usr/lib/llvm-9/lib/libclangSema.a /usr/lib/llvm-9/lib/libclangStaticAnalyzerFrontend.a /usr/lib/llvm-9/lib/libclangStaticAnalyzerCheckers.a /usr/lib/llvm-9/lib/libclangStaticAnalyzerCore.a /usr/lib/llvm-9/lib/libclangAnalysis.a /usr/lib/llvm-9/lib/libclangEdit.a /usr/lib/llvm-9/lib/libclangASTMatchers.a /usr/lib/llvm-9/lib/libclangAST.a /usr/lib/llvm-9/lib/libclangParse.a /usr/lib/llvm-9/lib/libclangSema.a /usr/lib/llvm-9/lib/libclangStaticAnalyzerFrontend.a /usr/lib/llvm-9/lib/libclangStaticAnalyzerCheckers.a /usr/lib/llvm-9/lib/libclangStaticAnalyzerCore.a /usr/lib/llvm-9/lib/libclangAnalysis.a /usr/lib/llvm-9/lib/libclangEdit.a /usr/lib/llvm-9/lib/libclangASTMatchers.a /usr/lib/llvm-9/lib/libclangAST.a /usr/lib/llvm-9/lib/libclangParse.a /usr/lib/llvm-9/lib/libclangLex.a /usr/lib/llvm-9/lib/libclangBasic.a -lLLVMXRay -lLLVMWindowsManifest -lLLVMTextAPI -lLLVMTableGen -lLLVMSymbolize -lLLVMDebugInfoPDB -lLLVMPerfJITEvents -lLLVMOrcJIT -lLLVMJITLink -lLLVMObjectYAML -lLLVMMCA -lLLVMLTO -lLLVMPasses -lLLVMObjCARCOpts -lLLVMLineEditor -lLLVMLibDriver -lLLVMInterpreter -lLLVMFuzzMutate -lLLVMMCJIT -lLLVMExecutionEngine -lLLVMRuntimeDyld -lLLVMDlltoolDriver -lLLVMOption -lLLVMDebugInfoGSYM -lLLVMCoverage -lLLVMCoroutines -lLLVMAVRDisassembler -lLLVMAVRCodeGen -lLLVMAVRAsmParser -lLLVMAVRDesc -lLLVMAVRInfo -lLLVMXCoreDisassembler -lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Utils -lLLVMX86Info -lLLVMWebAssemblyDisassembler -lLLVMWebAssemblyCodeGen -lLLVMWebAssemblyDesc -lLLVMWebAssemblyAsmParser -lLLVMWebAssemblyInfo -lLLVMSystemZDisassembler -lLLVMSystemZCodeGen -lLLVMSystemZAsmParser -lLLVMSystemZDesc -lLLVMSystemZInfo -lLLVMSparcDisassembler -lLLVMSparcCodeGen -lLLVMSparcAsmParser -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMRISCVDisassembler -lLLVMRISCVCodeGen -lLLVMRISCVAsmParser -lLLVMRISCVDesc -lLLVMRISCVUtils -lLLVMRISCVInfo -lLLVMPowerPCDisassembler -lLLVMPowerPCCodeGen -lLLVMPowerPCAsmParser -lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc -lLLVMNVPTXInfo -lLLVMMSP430Disassembler -lLLVMMSP430CodeGen -lLLVMMSP430AsmParser -lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMipsDisassembler -lLLVMMipsCodeGen -lLLVMMipsAsmParser -lLLVMMipsDesc -lLLVMMipsInfo -lLLVMLanaiDisassembler -lLLVMLanaiCodeGen -lLLVMLanaiAsmParser -lLLVMLanaiDesc -lLLVMLanaiInfo -lLLVMHexagonDisassembler -lLLVMHexagonCodeGen -lLLVMHexagonAsmParser -lLLVMHexagonDesc -lLLVMHexagonInfo -lLLVMBPFDisassembler -lLLVMBPFCodeGen -lLLVMBPFAsmParser -lLLVMBPFDesc -lLLVMBPFInfo -lLLVMARMDisassembler -lLLVMARMCodeGen -lLLVMARMAsmParser -lLLVMARMDesc -lLLVMARMUtils -lLLVMARMInfo -lLLVMAMDGPUDisassembler -lLLVMAMDGPUCodeGen -lLLVMMIRParser -lLLVMipo -lLLVMInstrumentation -lLLVMVectorize -lLLVMLinker -lLLVMIRReader -lLLVMAsmParser -lLLVMAMDGPUAsmParser -lLLVMAMDGPUDesc -lLLVMAMDGPUUtils -lLLVMAMDGPUInfo -lLLVMAArch64Disassembler -lLLVMMCDisassembler -lLLVMAArch64CodeGen -lLLVMGlobalISel -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMDebugInfoDWARF -lLLVMCodeGen -lLLVMTarget -lLLVMScalarOpts -lLLVMInstCombine -lLLVMAggressiveInstCombine -lLLVMTransformUtils -lLLVMBitWriter -lLLVMAnalysis -lLLVMProfileData -lLLVMObject -lLLVMBitReader -lLLVMBitstreamReader -lLLVMCore -lLLVMRemarks -lLLVMAArch64AsmParser -lLLVMMCParser -lLLVMAArch64Desc -lLLVMMC -lLLVMDebugInfoCodeView -lLLVMDebugInfoMSF -lLLVMBinaryFormat -lLLVMAArch64Utils -lLLVMAArch64Info -lLLVMSupport -lLLVMDemangle -lz -lrt -ldl -ltinfo -lpthread -lm -lpthread -ldl 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 67%] Built target gbe_bin_generater
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:174: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:26: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-opencl-devel mailing list