Bug#1030184: ezquake FTBFS
Judit Foglszinger
urbec at riseup.net
Tue Jan 31 22:50:09 GMT 2023
Source: ezquake
Version: 3.6.1-1
Severity: serious
Tags: ftbfs
Hi,
ezquake fails to build from source on the buildds.
https://buildd.debian.org/status/package.php?p=ezquake&suite=sid
(log eg https://buildd.debian.org/status/fetch.php?pkg=ezquake&arch=amd64&ver=3.6.1-1&stamp=1674575852&raw=0)
...
FAILED: ezquake.p/common.c.o
cc -Iezquake.p -I. -I.. -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/libpng16 -I/usr/include/minizip -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Werror -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-format-truncation -Wno-unused-function '-DBUILD_DATE="Sun, 22 Jan 2023 20:25:58 +0000"' -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -D_REENTRANT -DREVISION=666 '-DVERSION="r666"' -DNDEBUG -DJSS_CAM -DUSE_PR2 -DWITH_NQPROGS -DUSE_SDL2 -DWITH_ZIP -Wno-strict-aliasing -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -msse2 -DWITH_PNG -D__Q_PNG14__ -DWITH_JPEG -DWITH_SPEEX -DWITH_ZLIB -DX11_GAMMA_WORKAROUND -DRENDERER_OPTION_CLASSIC_OPENGL -DRENDERER_OPTION_MODERN_OPENGL -MD -MQ ezquake.p/common.c.o -MF ezquake.p/common.c.o.d -o ezquake.p/common.c.o -c ../common.c
../common.c: In function ‘COM_WriteToUniqueTempFile’:
../common.c:429:17: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
429 | write(fd, buffer, bytes);
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[128/384] cc -Iezquake.p -I. -I.. -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/libpng16 -I/usr/include/minizip -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Werror -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-format-truncation -Wno-unused-function '-DBUILD_DATE="Sun, 22 Jan 2023 20:25:58 +0000"' -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -D_REENTRANT -DREVISION=666 '-DVERSION="r666"' -DNDEBUG -DJSS_CAM -DUSE_PR2 -DWITH_NQPROGS -DUSE_SDL2 -DWITH_ZIP -Wno-strict-aliasing -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -msse2 -DWITH_PNG -D__Q_PNG14__ -DWITH_JPEG -DWITH_SPEEX -DWITH_ZLIB -DX11_GAMMA_WORKAROUND -DRENDERER_OPTION_CLASSIC_OPENGL -DRENDERER_OPTION_MODERN_OPENGL -MD -MQ ezquake.p/com_msg.c.o -MF ezquake.p/com_msg.c.o.d -o ezquake.p/com_msg.c.o -c ../com_msg.c
[129/384] cc -Iezquake.p -I. -I.. -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/libpng16 -I/usr/include/minizip -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Werror -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-format-truncation -Wno-unused-function '-DBUILD_DATE="Sun, 22 Jan 2023 20:25:58 +0000"' -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -D_REENTRANT -DREVISION=666 '-DVERSION="r666"' -DNDEBUG -DJSS_CAM -DUSE_PR2 -DWITH_NQPROGS -DUSE_SDL2 -DWITH_ZIP -Wno-strict-aliasing -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -msse2 -DWITH_PNG -D__Q_PNG14__ -DWITH_JPEG -DWITH_SPEEX -DWITH_ZLIB -DX11_GAMMA_WORKAROUND -DRENDERER_OPTION_CLASSIC_OPENGL -DRENDERER_OPTION_MODERN_OPENGL -MD -MQ ezquake.p/config_manager.c.o -MF ezquake.p/config_manager.c.o.d -o ezquake.p/config_manager.c.o -c ../config_manager.c
[130/384] cc -Iezquake.p -I. -I.. -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/libpng16 -I/usr/include/minizip -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Werror -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-format-truncation -Wno-unused-function '-DBUILD_DATE="Sun, 22 Jan 2023 20:25:58 +0000"' -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -D_REENTRANT -DREVISION=666 '-DVERSION="r666"' -DNDEBUG -DJSS_CAM -DUSE_PR2 -DWITH_NQPROGS -DUSE_SDL2 -DWITH_ZIP -Wno-strict-aliasing -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -msse2 -DWITH_PNG -D__Q_PNG14__ -DWITH_JPEG -DWITH_SPEEX -DWITH_ZLIB -DX11_GAMMA_WORKAROUND -DRENDERER_OPTION_CLASSIC_OPENGL -DRENDERER_OPTION_MODERN_OPENGL -MD -MQ ezquake.p/console.c.o -MF ezquake.p/console.c.o.d -o ezquake.p/console.c.o -c ../console.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v returned exit code 1
make: *** [debian/rules:12: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20230201/34341290/attachment.sig>
More information about the Pkg-games-devel
mailing list