Hi,
On 2/13/21 6:03 PM, Lucas Nussbaum wrote:
Source: drm-info
Version: 2.2.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210213 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
thanks for your report!
Relevant part (hopefully):
cc -Idrm_info.p -I. -I.. -I/usr/include/libdrm -I/usr/include/json-c
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-std=c11 -D_POSIX_C_SOURCE=200809L -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-MD -MQ drm_info.p/meson-generated_.._tables.c.o -MF
drm_info.p/meson-generated_.._tables.c.o.d -o drm_info.p/meson-generated_.._tables.c.o -c
tables.c
tables.c: In function ‘modifier_str’:
tables.c:247:2: error: duplicate case value
247 | case DRM_FORMAT_MOD_LINEAR:
| ^~~~
tables.c:245:2: note: previously used here
245 | case DRM_FORMAT_MOD_LINEAR:
| ^~~~
tables.c:251:2: error: duplicate case value
251 | case DRM_FORMAT_MOD_SAMSUNG_16_16_TILE:
| ^~~~
tables.c:241:2: note: previously used here
241 | case DRM_FORMAT_MOD_SAMSUNG_16_16_TILE:
| ^~~~
[4/6] cc -Idrm_info.p -I. -I.. -I/usr/include/libdrm -I/usr/include/json-c
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-std=c11 -D_POSIX_C_SOURCE=200809L -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-MD -MQ drm_info.p/json.c.o -MF drm_info.p/json.c.o.d -o drm_info.p/json.c.o -c ../json.c
[5/6] cc -Idrm_info.p -I. -I.. -I/usr/include/libdrm -I/usr/include/json-c
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-std=c11 -D_POSIX_C_SOURCE=200809L -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-MD -MQ drm_info.p/pretty.c.o -MF drm_info.p/pretty.c.o.d -o drm_info.p/pretty.c.o -c
../pretty.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:6: binary] Error 25
Applying the patches generously provided by Dennis Filder I can build in
a up to date schroot.
The full build log is available from:
http://qa-logs.debian.net/2021/02/13/drm-info_2.2.0-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Cheers