Source: kgames
Version: 2.3-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20241223 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, this package failed to build
on armhf.

This package currently has binary packages on armhf, so this is a regression.
Also, there are no known issues on amd64 or arm64 according to recent (a couple
days ago) rebuilds.

The rebuild was done using an armhf chroot on an AWS "m6g" instance (Graviton2
CPU).

Relevant part (hopefully):
> cc -Ikaces/kaces.p -Ikaces -I../kaces -I. -I.. -I/usr/include/freetype2 
> -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 
> -I/usr/lib/arm-linux-gnueabihf/pkgconfig/../../../include/librsvg-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include 
> -I/usr/include/sysprof-6 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/arm-linux-gnueabihf -I/usr/include/webp 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/harfbuzz 
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/fribidi 
> -I/usr/include/uuid -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra 
> -Wpedantic -Werror=implicit-function-declaration -Werror=vla -Warray-bounds 
> -Wold-style-definition -Wno-overlength-strings -fstack-protector-strong 
> -Werror=format -Werror=format-security -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ 
> kaces/kaces.p/aces.c.o -MF kaces/kaces.p/aces.c.o.d -o kaces/kaces.p/aces.c.o 
> -c ../kaces/aces.c
> In file included from ../Xkw/Xkw.h:32,
>                  from ../Xkw/Hand.h:7,
>                  from ../Xkw/Cards.h:28,
>                  from ../kaces/aces.c:39:
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../include/librsvg-2.0/librsvg/rsvg.h:1331:1:
>  warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
>  1331 | #if LIBRSVG_CHECK_FEATURE(PIXBUF)
>       | ^~~~~~~~~~~~~~~~~~~
> ../kaces/aces.c: In function ‘main’:
> ../kaces/aces.c:868:32: error: passing argument 1 of ‘time’ from incompatible 
> pointer type [-Wincompatible-pointer-types]
>   868 |     srandom (getpid () ^ time ((long *) 0));
>       |                                ^~~~~~~~~~
>       |                                |
>       |                                long int *
> In file included from /usr/include/features.h:510,
>                  from 
> /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
>                  from /usr/include/stdlib.h:26,
>                  from ../kaces/aces.c:26:
> /usr/include/time.h:85:15: note: expected ‘time_t *’ {aka ‘long long int *’} 
> but argument is of type ‘long int *’
>    85 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
>       |               ^~~~~~~~~~~~~~
> [64/136] cc -Ikcribbage/kcribbage.p -Ikcribbage -I../kcribbage -I. -I.. 
> -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo 
> -I/usr/include/pixman-1 
> -I/usr/lib/arm-linux-gnueabihf/pkgconfig/../../../include/librsvg-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include 
> -I/usr/include/sysprof-6 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/arm-linux-gnueabihf -I/usr/include/webp 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/harfbuzz 
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/fribidi 
> -I/usr/include/uuid -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra 
> -Wpedantic -Werror=implicit-function-declaration -Werror=vla -Warray-bounds 
> -Wold-style-definition -Wno-overlength-strings -fstack-protector-strong 
> -Werror=format -Werror=format-security -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ 
> kcribbage/kcribbage.p/cards.c.o -MF kcribbage/kcribbage.p/cards.c.o.d -o 
> kcribbage/kcribbage.p/cards.c.o -c ../kcribbage/cards.c
> FAILED: kcribbage/kcribbage.p/cards.c.o 
> cc -Ikcribbage/kcribbage.p -Ikcribbage -I../kcribbage -I. -I.. 
> -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo 
> -I/usr/include/pixman-1 
> -I/usr/lib/arm-linux-gnueabihf/pkgconfig/../../../include/librsvg-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include 
> -I/usr/include/sysprof-6 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/arm-linux-gnueabihf -I/usr/include/webp 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/harfbuzz 
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/fribidi 
> -I/usr/include/uuid -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra 
> -Wpedantic -Werror=implicit-function-declaration -Werror=vla -Warray-bounds 
> -Wold-style-definition -Wno-overlength-strings -fstack-protector-strong 
> -Werror=format -Werror=format-security -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ 
> kcribbage/kcribbage.p/cards.c.o -MF kcribbage/kcribbage.p/cards.c.o.d -o 
> kcribbage/kcribbage.p/cards.c.o -c ../kcribbage/cards.c
> ../kcribbage/cards.c: In function ‘makedeck’:
> ../kcribbage/cards.c:21:19: error: passing argument 1 of ‘time’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    21 |         i = time( (long *) 0 );
>       |                   ^~~~~~~~~~
>       |                   |
>       |                   long int *
> In file included from /usr/include/features.h:510,
>                  from 
> /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:28,
>                  from ../kcribbage/cards.c:7:
> /usr/include/time.h:85:15: note: expected ‘time_t *’ {aka ‘long long int *’} 
> but argument is of type ‘long int *’
>    85 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
>       |               ^~~~~~~~~~~~~~
> [65/136] cc  -o Xkw/libXkw.so.3.0.0 
> Xkw/libXkw.so.3.0.0.p/meson-generated_laylex.c.o 
> Xkw/libXkw.so.3.0.0.p/meson-generated_laygram.c.o 
> Xkw/libXkw.so.3.0.0.p/meson-generated_.._cards-svg.c.o 
> Xkw/libXkw.so.3.0.0.p/Animate.c.o Xkw/libXkw.so.3.0.0.p/Cards.c.o 
> Xkw/libXkw.so.3.0.0.p/CardsUtil.c.o Xkw/libXkw.so.3.0.0.p/Dialog.c.o 
> Xkw/libXkw.so.3.0.0.p/Draw.c.o Xkw/libXkw.so.3.0.0.p/Events.c.o 
> Xkw/libXkw.so.3.0.0.p/Hand.c.o Xkw/libXkw.so.3.0.0.p/HandDrag.c.o 
> Xkw/libXkw.so.3.0.0.p/Icon.c.o Xkw/libXkw.so.3.0.0.p/Layout.c.o 
> Xkw/libXkw.so.3.0.0.p/medium.c.o Xkw/libXkw.so.3.0.0.p/Message.c.o 
> Xkw/libXkw.so.3.0.0.p/Pad.c.o Xkw/libXkw.so.3.0.0.p/padtest.c.o 
> Xkw/libXkw.so.3.0.0.p/SuitCards.c.o Xkw/libXkw.so.3.0.0.p/Thermo.c.o 
> Xkw/libXkw.so.3.0.0.p/Svg.c.o Xkw/libXkw.so.3.0.0.p/KCommand.c.o 
> Xkw/libXkw.so.3.0.0.p/KLabel.c.o Xkw/libXkw.so.3.0.0.p/KMenuButton.c.o 
> Xkw/libXkw.so.3.0.0.p/KPorthole.c.o Xkw/libXkw.so.3.0.0.p/KScrollbar.c.o 
> Xkw/libXkw.so.3.0.0.p/KSimple.c.o Xkw/libXkw.so.3.0.0.p/KSimpleMenu.c.o 
> Xkw/libXkw.so.3.0.0.p/KSme.c.o Xkw/libXkw.so.3.0.0.p/KSmeBSB.c.o 
> Xkw/libXkw.so.3.0.0.p/KSmeLine.c.o Xkw/libXkw.so.3.0.0.p/KTextLine.c.o 
> Xkw/libXkw.so.3.0.0.p/KToggle.c.o Xkw/libXkw.so.3.0.0.p/XkwInit.c.o 
> -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libXkw.so.3 
> -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 
> -Wl,--start-group /usr/lib/arm-linux-gnueabihf/libXft.so 
> /usr/lib/arm-linux-gnueabihf/libcairo.so 
> /usr/lib/arm-linux-gnueabihf/libfreetype.so 
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/librsvg-2.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libcairo-gobject.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libpng16.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libdav1d.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libgio-2.0.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libxml2.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libpangocairo-1.0.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libcairo.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libpangoft2-1.0.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libpango-1.0.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libgobject-2.0.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libharfbuzz.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libfontconfig.so
>  
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libfreetype.so
>  -Wl,--export-dynamic 
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libgmodule-2.0.so
>  -pthread 
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../lib/arm-linux-gnueabihf/libglib-2.0.so
>  /usr/lib/arm-linux-gnueabihf/libfontconfig.so 
> /usr/lib/arm-linux-gnueabihf/libXrender.so 
> /usr/lib/arm-linux-gnueabihf/libX11.so 
> /usr/lib/arm-linux-gnueabihf/libXaw7.so /usr/lib/arm-linux-gnueabihf/libXt.so 
> /usr/lib/arm-linux-gnueabihf/libXmu.so /usr/lib/arm-linux-gnueabihf/libXpm.so 
> -lm -Wl,--end-group
> [66/136] cc -Ikcanfield/kcanfield.p -Ikcanfield -I../kcanfield -I. -I.. 
> -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo 
> -I/usr/include/pixman-1 
> -I/usr/lib/arm-linux-gnueabihf/pkgconfig/../../../include/librsvg-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include 
> -I/usr/include/sysprof-6 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/arm-linux-gnueabihf -I/usr/include/webp 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/harfbuzz 
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/fribidi 
> -I/usr/include/uuid -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra 
> -Wpedantic -Werror=implicit-function-declaration -Werror=vla -Warray-bounds 
> -Wold-style-definition -Wno-overlength-strings -fstack-protector-strong 
> -Werror=format -Werror=format-security -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ 
> kcanfield/kcanfield.p/canfield.c.o -MF kcanfield/kcanfield.p/canfield.c.o.d 
> -o kcanfield/kcanfield.p/canfield.c.o -c ../kcanfield/canfield.c
> FAILED: kcanfield/kcanfield.p/canfield.c.o 
> cc -Ikcanfield/kcanfield.p -Ikcanfield -I../kcanfield -I. -I.. 
> -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo 
> -I/usr/include/pixman-1 
> -I/usr/lib/arm-linux-gnueabihf/pkgconfig/../../../include/librsvg-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include 
> -I/usr/include/sysprof-6 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/arm-linux-gnueabihf -I/usr/include/webp 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/harfbuzz 
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/fribidi 
> -I/usr/include/uuid -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra 
> -Wpedantic -Werror=implicit-function-declaration -Werror=vla -Warray-bounds 
> -Wold-style-definition -Wno-overlength-strings -fstack-protector-strong 
> -Werror=format -Werror=format-security -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ 
> kcanfield/kcanfield.p/canfield.c.o -MF kcanfield/kcanfield.p/canfield.c.o.d 
> -o kcanfield/kcanfield.p/canfield.c.o -c ../kcanfield/canfield.c
> In file included from ../Xkw/Xkw.h:32,
>                  from ../Xkw/Hand.h:7,
>                  from ../Xkw/Cards.h:28,
>                  from ../kcanfield/canfield.c:39:
> /usr/lib/arm-linux-gnueabihf/pkgconfig/../../../include/librsvg-2.0/librsvg/rsvg.h:1331:1:
>  warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
>  1331 | #if LIBRSVG_CHECK_FEATURE(PIXBUF)
>       | ^~~~~~~~~~~~~~~~~~~
> ../kcanfield/canfield.c: In function ‘main’:
> ../kcanfield/canfield.c:980:32: error: passing argument 1 of ‘time’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>   980 |     srandom (getpid () ^ time ((long *) 0));
>       |                                ^~~~~~~~~~
>       |                                |
>       |                                long int *
> In file included from /usr/include/features.h:510,
>                  from 
> /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
>                  from /usr/include/stdlib.h:26,
>                  from ../kcanfield/canfield.c:26:
> /usr/include/time.h:85:15: note: expected ‘time_t *’ {aka ‘long long int *’} 
> but argument is of type ‘long int *’
>    85 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
>       |               ^~~~~~~~~~~~~~
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-arm-linux-gnueabihf && LC_ALL=C.UTF-8 ninja -j4 
> -v returned exit code 1
> make: *** [debian/rules:20: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/12/23/kgames_2.3-1_unstable-armhf.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241223;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241223&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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 mine
so that we can identify if something relevant changed in the meantime.

Reply via email to