[Pkg-opencl-devel] Bug#1097627: pocl: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:45:11 GMT 2025


Package: src:pocl
Version: 6.0-4
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/pocl_6.0-4_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
Hwloc_STATIC_CFLAGS_OTHER:INTERNAL=
Hwloc_STATIC_INCLUDE_DIRS:INTERNAL=/usr/include
Hwloc_STATIC_LDFLAGS:INTERNAL=-L/usr/lib/x86_64-linux-gnu;-lhwloc;-lm;-ludev;-lpthread
Hwloc_STATIC_LDFLAGS_OTHER:INTERNAL=
Hwloc_STATIC_LIBDIR:INTERNAL=
Hwloc_STATIC_LIBRARIES:INTERNAL=hwloc;m;udev;pthread
Hwloc_STATIC_LIBRARY_DIRS:INTERNAL=/usr/lib/x86_64-linux-gnu
Hwloc_STATIC_LIBS:INTERNAL=
Hwloc_STATIC_LIBS_L:INTERNAL=
Hwloc_STATIC_LIBS_OTHER:INTERNAL=
Hwloc_STATIC_LIBS_PATHS:INTERNAL=
Hwloc_VERSION:INTERNAL=2.11.2
Hwloc_hwloc_INCLUDEDIR:INTERNAL=
Hwloc_hwloc_LIBDIR:INTERNAL=
Hwloc_hwloc_PREFIX:INTERNAL=
Hwloc_hwloc_VERSION:INTERNAL=
//Autodetected CPU
LLC_HOST_CPU_AUTO:INTERNAL=skylake-avx512
//LLC_TRIPLE
LLC_TRIPLE:INTERNAL=x86_64-pc-linux-gnu
//LLVM link test result
LLVM_LINK_TEST:INTERNAL=1
//DNDEBUG
LLVM_NDEBUG_BUILD:INTERNAL=0
//ADVANCED property for variable: PKG_CONFIG_ARGN
PKG_CONFIG_ARGN-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ProcessorCount_cmd_nproc
ProcessorCount_cmd_nproc-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ProcessorCount_cmd_sysctl
ProcessorCount_cmd_sysctl-ADVANCED:INTERNAL=1
//linker supports push/pop state
_CMAKE_CXX_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
//linker supports push/pop state
_CMAKE_C_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
//linker supports push/pop state
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/usr
//Result of TRY_COMPILE
_TRY_SUCCESS:INTERNAL=TRUE
__pkg_config_arguments_Hwloc:INTERNAL=hwloc
__pkg_config_checked_Hwloc:INTERNAL=1
//ADVANCED property for variable: pkgcfg_lib_Hwloc_hwloc
pkgcfg_lib_Hwloc_hwloc-ADVANCED:INTERNAL=1
prefix_result:INTERNAL=/usr/lib/x86_64-linux-gnu

	cd obj-x86_64-linux-gnu && tail -v -n \+0 CMakeFiles/CMakeOutput.log
==> CMakeFiles/CMakeOutput.log <==
Test -NDEBUG flag: Change Dir: '/build/reproducible-path/pocl-6.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'

Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_14d78/fast
gmake[2]: Entering directory '/build/reproducible-path/pocl-6.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/gmake  -f CMakeFiles/cmTC_14d78.dir/build.make CMakeFiles/cmTC_14d78.dir/build
gmake[3]: Entering directory '/build/reproducible-path/pocl-6.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_14d78.dir/llvmNDEBUG.cc.o
/usr/bin/c++   -g -O2 -ffile-prefix-map=/build/reproducible-path/pocl-6.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -ffile-prefix-map=/build/reproducible-path/pocl-6.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-18/include -std=c++17   -fno-exceptions -funwind-tables -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -UNDEBUG -o CMakeFiles/cmTC_14d78.dir/llvmNDEBUG.cc.o -c /build/reproducible-path/pocl-6.0/obj-x86_64-linux-gnu/CMakeFiles/llvmNDEBUG.cc
Linking CXX executable cmTC_14d78
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_14d78.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/pocl-6.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -Wl,-z,relro -Wl,-z,now  CMakeFiles/cmTC_14d78.dir/llvmNDEBUG.cc.o -o cmTC_14d78   -L/usr/lib/llvm-18/lib  -Wl,-rpath,/usr/lib/llvm-18/lib -lLLVM-18  -L/usr/lib/llvm-18/lib
gmake[3]: Leaving directory '/build/reproducible-path/pocl-6.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
gmake[2]: Leaving directory '/build/reproducible-path/pocl-6.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'


dh_auto_configure: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DENABLE_ICD=ON -DWITH_LLVM_CONFIG=/usr/bin/llvm-config-18 -DLLC_HOST_CPU=GENERIC -DKERNELLIB_HOST_CPU_VARIANTS=distro -DPOCL_ICD_ABSOLUTE_PATH=OFF -DHARDENING_ENABLE=ON -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF .. returned exit code 1
make[1]: *** [debian/rules:89: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/build/reproducible-path/pocl-6.0'
make: *** [debian/rules:53: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-opencl-devel mailing list