Package: src:ucx Version: 1.17.0+ds-3 Severity: important Tags: sid forky User: [email protected] 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/ucx_1.17.0+ds-3_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 [...] In file included from /build/reproducible-path/ucx-1.17.0+ds/src/ucs/arch/cpu.h:105, from arch/x86_64/cpu.c:15: /build/reproducible-path/ucx-1.17.0+ds/src/ucs/arch/x86_64/cpu.h:50:16: note: previous declaration of 'ucs_arch_get_cpu_flag' with type 'ucs_cpu_flag_t(void)' {aka 'enum ucs_cpu_flag(void)'} 50 | ucs_cpu_flag_t ucs_arch_get_cpu_flag() UCS_F_NOOPTIMIZE; | ^~~~~~~~~~~~~~~~~~~~~ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DCPU_FLAGS="" -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o async/libucs_la-pipe.lo `test -f 'async/pipe.c' || echo './'`async/pipe.c libtool: compile: gcc -DHAVE_CONFIG_H -DCPU_FLAGS= -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c arch/x86_64/global_opts.c -o arch/x86_64/libucs_la-global_opts.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DCPU_FLAGS= -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c async/pipe.c -fPIC -DPIC -DUCX_SHARED_LIB -o async/.libs/libucs_la-pipe.o async/async.c:81:27: error: initialization of 'void (*)(ucs_async_context_t *)' {aka 'void (*)(struct ucs_async_context *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 81 | .context_cleanup = ucs_empty_function, | ^~~~~~~~~~~~~~~~~~ async/async.c:81:27: note: (near initialization for 'ucs_async_poll_ops.context_cleanup') In file included from /build/reproducible-path/ucx-1.17.0+ds/src/ucs/config/parser.h:15, from /build/reproducible-path/ucx-1.17.0+ds/src/ucs/sys/sys.h:22, from async/signal.h:13, from async/async.h:11, from async/async_int.h:10, from async/async.c:11: /build/reproducible-path/ucx-1.17.0+ds/src/ucs/sys/stubs.h:23:6: note: 'ucs_empty_function' declared here 23 | void ucs_empty_function(); | ^~~~~~~~~~~~~~~~~~ async/async.c:83:27: error: initialization of 'void (*)(ucs_async_context_t *)' {aka 'void (*)(struct ucs_async_context *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 83 | .context_unblock = ucs_empty_function, | ^~~~~~~~~~~~~~~~~~ async/async.c:83:27: note: (near initialization for 'ucs_async_poll_ops.context_unblock') /build/reproducible-path/ucx-1.17.0+ds/src/ucs/sys/stubs.h:23:6: note: 'ucs_empty_function' declared here 23 | void ucs_empty_function(); | ^~~~~~~~~~~~~~~~~~ async/async.c:85:27: error: initialization of 'ucs_status_t (*)(ucs_async_context_t *, int)' {aka 'ucs_status_t (*)(struct ucs_async_context *, int)'} from incompatible pointer type 'ucs_status_t (*)(void)' [-Wincompatible-pointer-types] 85 | .remove_event_fd = ucs_empty_function_return_success, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ async/async.c:85:27: note: (near initialization for 'ucs_async_poll_ops.remove_event_fd') /build/reproducible-path/ucx-1.17.0+ds/src/ucs/sys/stubs.h:30:14: note: 'ucs_empty_function_return_success' declared here 30 | ucs_status_t ucs_empty_function_return_success(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ async/async.c:87:27: error: initialization of 'ucs_status_t (*)(ucs_async_context_t *, int, ucs_time_t)' {aka 'ucs_status_t (*)(struct ucs_async_context *, int, long unsigned int)'} from incompatible pointer type 'ucs_status_t (*)(void)' [-Wincompatible-pointer-types] 87 | .add_timer = ucs_empty_function_return_success, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ async/async.c:87:27: note: (near initialization for 'ucs_async_poll_ops.add_timer') /build/reproducible-path/ucx-1.17.0+ds/src/ucs/sys/stubs.h:30:14: note: 'ucs_empty_function_return_success' declared here 30 | ucs_status_t ucs_empty_function_return_success(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ async/async.c:88:27: error: initialization of 'ucs_status_t (*)(ucs_async_context_t *, int)' {aka 'ucs_status_t (*)(struct ucs_async_context *, int)'} from incompatible pointer type 'ucs_status_t (*)(void)' [-Wincompatible-pointer-types] 88 | .remove_timer = ucs_empty_function_return_success, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ async/async.c:88:27: note: (near initialization for 'ucs_async_poll_ops.remove_timer') /build/reproducible-path/ucx-1.17.0+ds/src/ucs/sys/stubs.h:30:14: note: 'ucs_empty_function_return_success' declared here 30 | ucs_status_t ucs_empty_function_return_success(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DCPU_FLAGS="" -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o async/libucs_la-eventfd.lo `test -f 'async/eventfd.c' || echo './'`async/eventfd.c make[4]: *** [Makefile:1602: async/libucs_la-async.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -DCPU_FLAGS= -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c arch/cpu.c -o arch/libucs_la-cpu.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DCPU_FLAGS= -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c async/eventfd.c -fPIC -DPIC -DUCX_SHARED_LIB -o async/.libs/libucs_la-eventfd.o libtool: compile: gcc -DHAVE_CONFIG_H -DCPU_FLAGS= -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c algorithm/qsort_r.c -o algorithm/libucs_la-qsort_r.o >/dev/null 2>&1 cc1: all warnings being treated as errors make[4]: *** [Makefile:1581: arch/x86_64/libucs_la-cpu.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -DCPU_FLAGS= -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c async/pipe.c -o async/libucs_la-pipe.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DCPU_FLAGS= -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c async/eventfd.c -o async/libucs_la-eventfd.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DCPU_FLAGS= -I/build/reproducible-path/ucx-1.17.0+ds/src -I/build/reproducible-path/ucx-1.17.0+ds -I/build/reproducible-path/ucx-1.17.0+ds/src -DUCX_MODULE_DIR=\"/usr/lib/x86_64-linux-gnu/ucx\" -DUCX_CONFIG_DIR=\"/etc/ucx\" -I/usr/include/hsa -I/usr/include/hip -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ucx-1.17.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c async/signal.c -o async/libucs_la-signal.o >/dev/null 2>&1 make[4]: Leaving directory '/build/reproducible-path/ucx-1.17.0+ds/src/ucs' make[3]: *** [Makefile:2122: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/ucx-1.17.0+ds/src/ucs' make[2]: *** [Makefile:788: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/ucx-1.17.0+ds' make[1]: *** [Makefile:658: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/ucx-1.17.0+ds' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
