• Bug#1100247: nvidia-cuda-toolkit: FTBFS: ModuleNotFoundError: No module

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:40:12 2025
    Package: src:nvidia-cuda-toolkit
    Version: 12.2.2-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules build
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    dh build
    debian/rules execute_before_dh_update_autotools_config
    make[3]: Entering directory '/<<PKGBUILDDIR>>'
    perl -p \
    -e 's{#VERSION_TOOLKIT#}{12.2.2}g;' \
    -e 's{#DEFAULT_GCC_VERSION#}{12}g;' \
    -e 's{#DEB_HOST_MULTIARCH#}{x86_64-linux-gnu}g;' \
    -e 's{#LIBDIR#}{usr/lib/x86_64-linux-gnu}g;' \
    -e 's{#!ppc64el#}{}g;' \
    -e 's{#arm64#}{#}g;' \
    -e 's{#!arm64#}{}g;' \
    -e 's{#CUDA_JAVA_HOME#}{/usr/lib/jvm/java-8-openjdk-amd64}g;' \

    [... snipped ...]

    g++ -DHAVE_CONFIG_H -I. -I./../include -I./../gdb -I../gnulib/import -I./../gnulib/import -I.. -I./.. -I../bfd -I./../bfd -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -Wall -Wpointer-arith -Wno-unused -
    Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-
    fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -
    fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tdesc.o tdesc.cc
    g++ -DHAVE_CONFIG_H -I. -I./../include -I./../gdb -I../gnulib/import -I./../gnulib/import -I.. -I./.. -I../bfd -I./../bfd -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -Wall -Wpointer-arith -Wno-unused -
    Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-
    fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -
    fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o thread-pool.o thread-pool.cc
    g++ -DHAVE_CONFIG_H -I. -I./../include -I./../gdb -I../gnulib/import -I./../gnulib/import -I.. -I./.. -I../bfd -I./../bfd -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -Wall -Wpointer-arith -Wno-unused -
    Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-
    fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -
    fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xml-utils.o xml-utils.cc
    g++ -DHAVE_CONFIG_H -I. -I./../include -I./../gdb -I../gnulib/import -I./../gnulib/import -I.. -I./.. -I../bfd -I./../bfd -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -Wall -Wpointer-arith -Wno-unused -
    Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-
    fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -
    fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o event-pipe.o event-pipe.cc
    rm -f libgdbsupport.a
    ar --plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so cru libgdbsupport.a agent.o btrace-common.o buffer.o cleanups.o common-debug.o common-exceptions.o common-inferior.o common-regcache.o common-utils.o environ.o errors.o event-loop.o fileio.
    o filestuff.o format.o gdb-dlfcn.o gdb-hashtab.o gdb_obstack.o gdb_regex.o gdb_tilde_expand.o gdb_wait.o gdb_vecs.o job-control.o netstuff.o new-op.o pathstuff.o print-utils.o ptid.o rsp-low.o run-time-clock.o safe-strerror.o scoped_mmap.o search.o
    signals.o signals-state-save-restore.o tdesc.o thread-pool.o xml-utils.o event-pipe.o
    ar: `u' modifier ignored since `D' is the default (see `U')
    ranlib --plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so libgdbsupport.a
    make[7]: Leaving directory '/<<PKGBUILDDIR>>/cuda-gdb/gdbsupport'
    make[6]: Leaving directory '/<<PKGBUILDDIR>>/cuda-gdb/gdbsupport'
    Configuring in ./gdbserver
    configure: creating cache ./config.cache
    checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-linux-gnu-gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking target system type... x86_64-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for x86_64-linux-gnu-ar... ar --plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so
    checking for x86_64-linux-gnu-ranlib... ranlib --plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so
    checking whether g++ supports C++11 features by default... yes
    checking for ANSI C header files... (cached) yes
    checking for size_t... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... yes
    checking for pid_t... yes
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for ld used by GCC... ld
    checking if the linker (ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for ANSI C header files... (cached) yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for nl_langinfo and CODESET... yes
    checking linux/perf_event.h usability... yes
    checking linux/perf_event.h presence... yes
    checking for linux/perf_event.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for memory.h... (cached) yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking sys/un.h usability... yes
    checking sys/un.h presence... yes
    checking for sys/un.h... yes
    checking sys/wait.h usability... yes
    checking sys/wait.h presence... yes
    checking for sys/wait.h... yes
    checking thread_db.h usability... yes
    checking thread_db.h presence... yes
    checking for thread_db.h... yes
    checking wait.h usability... yes
    checking wait.h presence... yes
    checking for wait.h... yes
    checking termios.h usability... yes
    checking termios.h presence... yes
    checking for termios.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking linux/elf.h usability... yes
    checking linux/elf.h presence... yes
    checking for linux/elf.h... yes
    checking proc_service.h usability... yes
    checking proc_service.h presence... yes
    checking for proc_service.h... yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking sys/poll.h usability... yes
    checking sys/poll.h presence... yes
    checking for sys/poll.h... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for fdwalk... no
    checking for getrlimit... yes
    checking for pipe... yes
    checking for pipe2... yes
    checking for poll... yes
    checking for socketpair... yes
    checking for sigaction... yes
    checking for ptrace64... no
    checking for sbrk... yes
    checking for setns... yes
    checking for sigaltstack... yes
    checking for sigprocmask... yes
    checking for setpgid... yes
    checking for setpgrp... yes
    checking for getrusage... yes
    checking for getauxval... yes
    checking for sigtimedwait... yes
    checking whether ADDR_NO_RANDOMIZE is declared... yes
    checking whether strstr is declared... yes
    checking for struct stat.st_blocks... yes
    checking for struct stat.st_blksize... yes
    checking for library containing kinfo_getfile... no
    checking for kinfo_getfile... no
    checking whether gcc is Clang... no
    checking whether pthreads work with -pthread... yes
    checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
    checking whether more special flags are required for pthreads... no
    checking for PTHREAD_PRIO_INHERIT... yes
    checking for std::thread... yes
    checking for pthread_sigmask... yes
    checking for pthread_setname_np... yes
    checking for sigsetjmp... yes
    checking whether to use intel pt... yes
    checking for libipt... yes
    checking how to link with libipt... /usr/lib/x86_64-linux-gnu/libipt.so checking for pt_insn_event... yes
    checking for struct pt_insn.enabled... no
    checking for struct pt_insn.resynced... no
    checking for long long support in printf... yes
    checking sys/procfs.h usability... yes
    checking sys/procfs.h presence... yes
    checking for sys/procfs.h... yes
    checking for gregset_t in sys/procfs.h... no
    checking for fpregset_t in sys/procfs.h... no
    checking for prgregset_t in sys/procfs.h... yes
    checking for prfpregset_t in sys/procfs.h... yes
    checking for prgregset32_t in sys/procfs.h... no
    checking for lwpid_t in sys/procfs.h... yes
    checking for psaddr_t in sys/procfs.h... yes
    checking for elf_fpregset_t in sys/procfs.h... yes
    checking whether NLS is requested... no
    checking dependency style of gcc... gcc3
    checking for termios.h... (cached) yes
    checking sys/reg.h usability... yes
    checking sys/reg.h presence... yes
    checking for sys/reg.h... yes
    checking for string.h... (cached) yes
    checking for sys/procfs.h... (cached) yes
    checking for linux/elf.h... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for signal.h... (cached) yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking for sys/socket.h... (cached) yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/tcp.h usability... yes
    checking netinet/tcp.h presence... yes
    checking for netinet/tcp.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking ws2tcpip.h usability... no
    checking ws2tcpip.h presence... no
    checking for ws2tcpip.h... no
    checking for vfork.h... (cached) no
    checking for fork... (cached) yes
    checking for vfork... (cached) yes
    checking for working fork... (cached) yes
    checking for working vfork... (cached) yes
    checking for pread... yes
    checking for pwrite... yes
    checking for pread64... yes
    checking sys/ptrace.h usability... yes
    checking sys/ptrace.h presence... yes
    checking for sys/ptrace.h... yes
    checking ptrace.h usability... no
    checking ptrace.h presence... no
    checking for ptrace.h... no
    checking return type of ptrace... long
    checking types of arguments for ptrace... enum __ptrace_request,int,long,long checking for ust... no
    checking the compiler type... gcc
    checking compiler warning flags... -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-
    uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral
    checking for dladdr... yes
    checking for long long... yes
    checking size of long long... 8
    checking whether basename is declared... yes
    checking whether ffs is declared... yes
    checking whether asprintf is declared... yes
    checking whether vasprintf is declared... yes
    checking whether snprintf is declared... yes
    checking whether vsnprintf is declared... yes
    checking whether strtol is declared... yes
    checking whether strtoul is declared... yes
    checking whether strtoll is declared... yes
    checking whether strtoull is declared... yes
    checking whether strverscmp is declared... yes
    checking whether perror is declared... yes
    checking whether vasprintf is declared... (cached) yes
    checking whether vsnprintf is declared... (cached) yes
    checking for socklen_t... yes
    checking for Elf32_auxv_t... yes
    checking for Elf64_auxv_t... yes
    checking if building for x32... no
    checking for PTRACE_GETREGS... yes
    checking for PTRACE_GETFPXREGS... yes
    checking for dlopen in -ldl... yes
    checking for the dynamic export flag... -Wl,--dynamic-list
    checking for TD_VERSION... yes
    checking whether the target supports __sync_*_compare_and_swap... yes configure: updating cache ./config.cache
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.h
    config.status: executing depdir commands
    mkdir -p -- .deps
    config.status: executing gdbdepdir commands
    mkdir -p -- arch/.deps
    mkdir -p -- cuda/.deps
    mkdir -p -- gdbsupport/.deps
    mkdir -p -- nat/.deps
    mkdir -p -- target/.deps
    make[6]: Entering directory '/<<PKGBUILDDIR>>/cuda-gdb/gdbserver'
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o alloc.o -MT alloc.o -MMD -MP -MF ./.deps/alloc.Tpo -x c++ ../gdb/alloc.c
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o arch/amd64.o -MT arch/amd64.o -MMD -MP -MF arch/.deps/amd64.Tpo -x c++ ../gdb/arch/amd64.c
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o arch/i386.o -MT arch/i386.o -MMD -MP -MF arch/.deps/i386.Tpo -x c++ ../gdb/arch/i386.c
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ax.o -MT ax.o -MMD -MP -MF ./.deps/ax.Tpo `echo " -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-s
    witch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-
    copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral " | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"` ax.cc
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cuda-packet-manager.o -MT cuda-packet-manager.o -MMD -MP -MF ./.deps/cuda-packet-manager.Tpo cuda-packet-manager.cc
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cuda-tdep-server.o -MT cuda-tdep-server.o -MMD -MP -MF ./.deps/cuda-tdep-server.Tpo cuda-tdep-server.cc
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cuda/cuda-notifications.o -MT cuda/cuda-notifications.o -MMD -MP -MF cuda/.deps/cuda-notifications.Tpo ../gdb/cuda/cuda-notifications.c
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cuda/cuda-utils.o -MT cuda/cuda-utils.o -MMD -MP -MF cuda/.deps/cuda-utils.Tpo ../gdb/cuda/cuda-utils.c
    ../gdb/cuda/cuda-utils.c: In function ‘void cuda_gdb_lock_file_create()’: ../gdb/cuda/cuda-utils.c:352:36: warning: ‘%s’ directive output may be truncated writing 13 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
    352 | snprintf (buf, sizeof (buf), "%s/%s",
    | ^~
    353 | cuda_gdb_get_tmp_basedir (), cuda_gdb_lock_file);
    | ~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/stdio.h:970,
    from ./../gnulib/import/stdio.h:43,
    from ./../gdbsupport/common-defs.h:86,
    from ./server.h:27,
    from ../gdb/cuda/cuda-utils.c:22:
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void cuda_gdb_lock_file_create()’ at ../gdb/cuda/cuda-utils.c:352:12:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output between 15 and 1038 bytes into a destination of size 1024
    68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    69 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    70 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~ ../gdb/cuda/cuda-utils.c: In function ‘void cuda_gdb_lock_file_create()’: ../gdb/cuda/cuda-utils.c:401:15: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
    401 | strncpy (buf, visible_devices, CUDA_GDB_TMP_BUF_SIZE);
    | ^
    ../gdb/cuda/cuda-utils.c: In function ‘void cuda_gdb_tmpdir_setup()’: ../gdb/cuda/cuda-utils.c:436:44: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
    436 | snprintf (dirpath, sizeof (dirpath), "%s/%u", cuda_gdb_get_tmp_basedir (),
    | ^~ ../gdb/cuda/cuda-utils.c:436:40: note: using the range [0, 4294967295] for directive argument
    436 | snprintf (dirpath, sizeof (dirpath), "%s/%u", cuda_gdb_get_tmp_basedir (),
    | ^~~~~~~
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void cuda_gdb_tmpdir_setup()’ at ../gdb/cuda/cuda-utils.c:436:12:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output between 3 and 1035 bytes into a destination of size 1024
    68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    69 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    70 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cuda/cuda-version.o -MT cuda/cuda-version.o -MMD -MP -MF cuda/.deps/cuda-version.Tpo ../gdb/cuda/cuda-version.c
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cuda/libcudbg.o -MT cuda/libcudbg.o -MMD -MP -MF cuda/.deps/libcudbg.Tpo ../gdb/cuda/libcudbg.c
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cuda/libcudbgipc.o -MT cuda/libcudbgipc.o -MMD -MP -MF cuda/.deps/libcudbgipc.Tpo ../gdb/cuda/libcudbgipc.c
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o debug.o -MT debug.o -MMD -MP -MF ./.deps/debug.Tpo debug.cc
    g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/nvidia-cuda-tree-amd64/cuda_cudart/include -pthread -Wall -Wpointer-arith -Wno-
    unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -
    Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o dll.o -MT dll.o -MMD -MP -MF ./.deps/dll.Tpo dll.cc

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 13 12:20:02 2025
    This is a multi-part message in MIME format...

    Your message dated Thu, 13 Mar 2025 11:10:29 +0000
    with message-id <E1tsgSL-00EWEq-Py@fasolo.debian.org>
    and subject line Bug#1100247: fixed in nvidia-cuda-toolkit 12.2.2-2
    has caused the Debian Bug report #1100247,
    regarding nvidia-cuda-toolkit: FTBFS: ModuleNotFoundError: No module named 'distutils'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1100247: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100247
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 12 Mar 2025 16:32:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-118.7 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,
    URIBL_SBL_A,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,
    WORD_WITHOUT_VOWELS,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 428; hammy, 150; neutral, 570; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila Return-path: <sanvila@debian