Package: src:ktx
Version: 1.42+dfsg-3
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=cmake
dh_update_autotools_config -O--buildsystem=cmake
dh_autoreconf -O--buildsystem=cmake
dh_auto_configure -O--buildsystem=cmake
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb cmake
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..
-- The C compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/game.q3asm
-- Configuring done (0.2s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
CMAKE_FIND_USE_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
dh_auto_build -O--buildsystem=cmake
cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/qwprogs.dir/build.make CMakeFiles/qwprogs.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>>
/<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/qwprogs.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/qwprogs.dir/build.make CMakeFiles/qwprogs.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Building C object CMakeFiles/qwprogs.dir/src/g_main.c.o
[ 2%] Building C object CMakeFiles/qwprogs.dir/src/admin.c.o
/usr/bin/cc -DBOT_SUPPORT=1 -Dqwprogs_EXPORTS -I/<<PKGBUILDDIR>>/include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-fvisibility=hidden -Wall -MD -MT CMakeFiles/qwprogs.dir/src/admin.c.o -MF CMakeFiles/qwprogs.dir/src/admin.c.o.d
-o CMakeFiles/qwprogs.dir/src/admin.c.o -c /<<PKGBUILDDIR>>/src/admin.c
/usr/bin/cc -DBOT_SUPPORT=1 -Dqwprogs_EXPORTS -I/<<PKGBUILDDIR>>/include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-fvisibility=hidden -Wall -MD -MT CMakeFiles/qwprogs.dir/src/g_main.c.o -MF CMakeFiles/qwprogs.dir/src/g_main.c.o.d
-o CMakeFiles/qwprogs.dir/src/g_main.c.o -c /<<PKGBUILDDIR>>/src/g_main.c
In file included from /<<PKGBUILDDIR>>/include/g_local.h:31,
from /<<PKGBUILDDIR>>/src/g_main.c:26:
/<<PKGBUILDDIR>>/include/q_shared.h:101:8: error: conflicting types for
‘strlcpy’; have ‘size_t(char *, char *, size_t)’ {aka ‘long unsigned int(char *, char *,
long unsigned int)’}
101 | size_t strlcpy(char *dst, char *src, size_t siz);
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/include/g_local.h:31,
from /<<PKGBUILDDIR>>/src/admin.c:2:
/<<PKGBUILDDIR>>/include/q_shared.h:101:8: error: conflicting types for
‘strlcpy’; have ‘size_t(char *, char *, size_t)’ {aka ‘long unsigned int(char *, char *,
long unsigned int)’}
101 | size_t strlcpy(char *dst, char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:502,
from /usr/include/assert.h:35,
from /<<PKGBUILDDIR>>/include/q_shared.h:80:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:150:1: note: previous
definition of ‘strlcpy’ with type ‘size_t(char * restrict, const char *
restrict, size_t)’ {aka ‘long unsigned int(char * restrict, const char *
restrict, long unsigned int)’}
150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
| ^~~~~
/<<PKGBUILDDIR>>/include/q_shared.h:102:8: error: conflicting types for
‘strlcat’; have ‘size_t(char *, char *, size_t)’ {aka ‘long unsigned int(char *, char *,
long unsigned int)’}
102 | size_t strlcat(char *dst, char *src, size_t siz);
| ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:167:1: note: previous
definition of ‘strlcat’ with type ‘size_t(char * restrict, const char *
restrict, size_t)’ {aka ‘long unsigned int(char * restrict, const char *
restrict, long unsigned int)’}
167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src,
| ^~~~~
In file included from /usr/include/features.h:502,
from /usr/include/assert.h:35,
from /<<PKGBUILDDIR>>/include/q_shared.h:80:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:150:1: note: previous
definition of ‘strlcpy’ with type ‘size_t(char * restrict, const char *
restrict, size_t)’ {aka ‘long unsigned int(char * restrict, const char *
restrict, long unsigned int)’}
150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
| ^~~~~
/<<PKGBUILDDIR>>/include/q_shared.h:102:8: error: conflicting types for
‘strlcat’; have ‘size_t(char *, char *, size_t)’ {aka ‘long unsigned int(char *, char *,
long unsigned int)’}
102 | size_t strlcat(char *dst, char *src, size_t siz);
| ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:167:1: note: previous
definition of ‘strlcat’ with type ‘size_t(char * restrict, const char *
restrict, size_t)’ {aka ‘long unsigned int(char * restrict, const char *
restrict, long unsigned int)’}
167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src,
| ^~~~~
/<<PKGBUILDDIR>>/src/g_main.c: In function ‘G_InitGame’:
/<<PKGBUILDDIR>>/src/g_main.c:494:35: warning: macro "__DATE__" might prevent
reproducible builds [-Wdate-time]
494 | cvar_set("qwm_builddate", MOD_BUILD_DATE);
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/g_local.h:79:42: warning: macro "__TIME__" might
prevent reproducible builds [-Wdate-time]
79 | #define MOD_BUILD_DATE (__DATE__ ", " __TIME__)
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/g_main.c:494:35: note: in expansion of macro
‘MOD_BUILD_DATE’
494 | cvar_set("qwm_builddate", MOD_BUILD_DATE);
| ^~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/qwprogs.dir/build.make:79:
CMakeFiles/qwprogs.dir/src/g_main.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/qwprogs.dir/build.make:93:
CMakeFiles/qwprogs.dir/src/admin.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:203: CMakeFiles/qwprogs.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:94: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
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/202405/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.