Bug#1100247: nvidia-cuda-toolkit: FTBFS: ModuleNotFoundError: No module named 'distutils'
Santiago Vila
sanvila at debian.org
Wed Mar 12 16:32:00 GMT 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-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 " | 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
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 fork-child.o -MT fork-child.o -MMD -MP -MF ./.deps/fork-child.Tpo fork-child.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 hostio.o -MT hostio.o -MMD -MP -MF ./.deps/hostio.Tpo hostio.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 i387-fp.o -MT i387-fp.o -MMD -MP -MF ./.deps/i387-fp.Tpo i387-fp.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 inferiors.o -MT inferiors.o -MMD -MP -MF ./.deps/inferiors.Tpo inferiors.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 linux-low.o -MT linux-low.o -MMD -MP -MF ./.deps/linux-low.Tpo linux-low.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 linux-x86-low.o -MT linux-x86-low.o -MMD -MP -MF ./.deps/linux-x86-low.Tpo linux-x86-low.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 linux-x86-tdesc.o -MT linux-x86-tdesc.o -MMD -MP -MF ./.deps/linux-x86-tdesc.Tpo linux-x86-tdesc.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 mem-break.o -MT mem-break.o -MMD -MP -MF ./.deps/mem-break.Tpo mem-break.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 nat/amd64-linux-siginfo.o -MT nat/amd64-linux-siginfo.o -MMD -MP -MF nat/.deps/amd64-linux-siginfo.Tpo -x c++ ../gdb/nat/amd64-linux-siginfo.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 nat/fork-inferior.o -MT nat/fork-inferior.o -MMD -MP -MF nat/.deps/fork-inferior.Tpo -x c++ ../gdb/nat/fork-inferior.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 nat/linux-btrace.o -MT nat/linux-btrace.o -MMD -MP -MF nat/.deps/linux-btrace.Tpo -x c++ ../gdb/nat/linux-btrace.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 nat/linux-namespaces.o -MT nat/linux-namespaces.o -MMD -MP -MF nat/.deps/linux-namespaces.Tpo -x c++ ../gdb/nat/linux-namespaces.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 nat/linux-osdata.o -MT nat/linux-osdata.o -MMD -MP -MF nat/.deps/linux-osdata.Tpo -x c++ ../gdb/nat/linux-osdata.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 nat/linux-personality.o -MT nat/linux-personality.o -MMD -MP -MF nat/.deps/linux-personality.Tpo -x c++ ../gdb/nat/linux-personality.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 nat/linux-procfs.o -MT nat/linux-procfs.o -MMD -MP -MF nat/.deps/linux-procfs.Tpo -x c++ ../gdb/nat/linux-procfs.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 nat/linux-ptrace.o -MT nat/linux-ptrace.o -MMD -MP -MF nat/.deps/linux-ptrace.Tpo -x c++ ../gdb/nat/linux-ptrace.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 nat/linux-waitpid.o -MT nat/linux-waitpid.o -MMD -MP -MF nat/.deps/linux-waitpid.Tpo -x c++ ../gdb/nat/linux-waitpid.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 nat/x86-dregs.o -MT nat/x86-dregs.o -MMD -MP -MF nat/.deps/x86-dregs.Tpo -x c++ ../gdb/nat/x86-dregs.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 nat/x86-linux-dregs.o -MT nat/x86-linux-dregs.o -MMD -MP -MF nat/.deps/x86-linux-dregs.Tpo -x c++ ../gdb/nat/x86-linux-dregs.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 nat/x86-linux.o -MT nat/x86-linux.o -MMD -MP -MF nat/.deps/x86-linux.Tpo -x c++ ../gdb/nat/x86-linux.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 notif.o -MT notif.o -MMD -MP -MF ./.deps/notif.Tpo notif.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 proc-service.o -MT proc-service.o -MMD -MP -MF ./.deps/proc-service.Tpo proc-service.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 regcache.o -MT regcache.o -MMD -MP -MF ./.deps/regcache.Tpo regcache.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 remote-utils.o -MT remote-utils.o -MMD -MP -MF ./.deps/remote-utils.Tpo remote-utils.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 server.o -MT server.o -MMD -MP -MF ./.deps/server.Tpo 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 symbol.o -MT symbol.o -MMD -MP -MF ./.deps/symbol.Tpo symbol.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 target.o -MT target.o -MMD -MP -MF ./.deps/target.Tpo target.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 target/waitstatus.o -MT target/waitstatus.o -MMD -MP -MF target/.deps/waitstatus.Tpo -x c++ ../gdb/target/waitstatus.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 tdesc.o -MT tdesc.o -MMD -MP -MF ./.deps/tdesc.Tpo tdesc.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 thread-db.o -MT thread-db.o -MMD -MP -MF ./.deps/thread-db.Tpo thread-db.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 tracepoint.o -MT tracepoint.o -MMD -MP -MF ./.deps/tracepoint.Tpo tracepoint.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 utils.o -MT utils.o -MMD -MP -MF ./.deps/utils.Tpo utils.cc
/bin/bash ./../gdbsupport/create-version.sh ./../gdb \
x86_64-linux-gnu x86_64-linux-gnu version-generated.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 version.o -MT version.o -MMD -MP -MF ./.deps/version.Tpo version-generated.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 x86-low.o -MT x86-low.o -MMD -MP -MF ./.deps/x86-low.Tpo x86-low.cc
rm -f 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 -Wl,-z,relro -Wl,-z,now -pthread -Wl,--dynamic-list=./proc-service.list \
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection \
-o gdbserver alloc.o ax.o debug.o dll.o hostio.o inferiors.o mem-break.o notif.o regcache.o remote-utils.o server.o symbol.o target.o tdesc.o tracepoint.o utils.o version.o target/waitstatus.o linux-low.o nat/linux-osdata.o nat/linux-procfs.o nat/linux-ptrace.o nat/linux-waitpid.o nat/linux-personality.o nat/linux-namespaces.o fork-child.o nat/fork-inferior.o linux-x86-low.o x86-low.o nat/x86-dregs.o i387-fp.o arch/i386.o arch/amd64.o linux-x86-tdesc.o nat/linux-btrace.o nat/x86-linux.o nat/x86-linux-dregs.o nat/amd64-linux-siginfo.o thread-db.o proc-service.o cuda/cuda-notifications.o cuda/cuda-utils.o cuda/cuda-version.o cuda/libcudbg.o cuda/libcudbgipc.o cuda-packet-manager.o cuda-tdep-server.o ../gdbsupport/libgdbsupport.a ../gnulib/import/libgnu.a \
../libiberty/libiberty.a \
-ldl
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 gdbreplay.o -MT gdbreplay.o -MMD -MP -MF ./.deps/gdbreplay.Tpo gdbreplay.cc
rm -f gdbreplay
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 -Wl,-z,relro -Wl,-z,now -pthread -Wl,--dynamic-list=./proc-service.list \
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection \
-o gdbreplay gdbreplay.o utils.o version.o \
../gdbsupport/libgdbsupport.a ../gnulib/import/libgnu.a \
../libiberty/libiberty.a
make[6]: Leaving directory '/<<PKGBUILDDIR>>/cuda-gdb/gdbserver'
Configuring in ./gdb
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 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 dlfcn.h... yes
checking for windows.h... no
checking for library containing dlsym... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether g++ supports C++11 features by default... yes
checking dependency style of gcc... gcc3
checking whether NLS is requested... no
checking whether makeinfo --split-size=5000000 supports @click... yes
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
checking for x86_64-linux-gnu-pkg-config... /usr/bin/x86_64-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to use debuginfod... yes
checking for libdebuginfod >= 0.179... yes
checking libunwind-ia64.h usability... no
checking libunwind-ia64.h presence... no
checking for libunwind-ia64.h... no
checking for monstartup... yes
checking for _mcleanup... yes
checking for _etext... yes
checking for etext... yes
checking for gawk... mawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for x86_64-linux-gnu-ranlib... ranlib --plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so
checking for bison... bison -y
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-dlltool... dlltool
checking for x86_64-linux-gnu-windres... windres
checking for main in -lm... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
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 iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... -lncursesw
checking for library containing tgetent... none required
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether system readline is new enough... yes
checking size of unsigned long long... 8
checking size of unsigned long... 8
checking size of unsigned __int128... 16
checking for library containing dlopen... none required
checking whether to use expat... yes
checking for libexpat... yes
checking how to link with libexpat... /usr/lib/x86_64-linux-gnu/libexpat.so
checking for XML_StopParser... yes
checking for libgmp... yes
checking how to link with libgmp... /usr/lib/x86_64-linux-gnu/libgmp.so
checking whether to use MPFR... yes
checking for libmpfr... yes
checking how to link with libmpfr... /usr/lib/x86_64-linux-gnu/libmpfr.so /usr/lib/x86_64-linux-gnu/libgmp.so
checking whether to use python... python3
checking for python3... /usr/bin/python3
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cuda-gdb/gdb/./python/python-config.py", line 7, in <module>
from distutils import sysconfig
ModuleNotFoundError: No module named 'distutils'
configure: error: failure running python-config --includes
make[5]: *** [Makefile:12501: configure-gdb] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/cuda-gdb'
make[4]: *** [Makefile:1002: all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/cuda-gdb'
dh_auto_build: error: cd cuda-gdb && make -j1 V=1 returned exit code 2
make[3]: *** [debian/rules:486: override_dh_auto_build-arch] Error 25
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [debian/rules:225: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:225: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:225: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:nvidia-cuda-toolkit, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-nvidia-devel
mailing list