Your message dated Fri, 03 Jan 2025 10:13:05 +0000
with message-id <e1ttefx-0030w0...@fasolo.debian.org>
and subject line Bug#1091252: fixed in chess.app 2.8-6
has caused the Debian Bug report #1091252,
regarding chess.app: FTBFS on armhf: gnuchess.c:523:16: error: passing argument
1 of ‘time’ from incompatible pointer type [-Wincompatible-pointer-types]
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1091252: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091252
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: chess.app
Version: 2.8-5
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):
> gcc gnuchess.c -c \
> -MMD -MP -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
> -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
> -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -pthread
> -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -I. -I/usr/local/include/GNUstep
> -I/usr/include/GNUstep \
> -o obj/Chess.obj/gnuchess.c.o
> gnuchess.c: In function ‘NewGame’:
> gnuchess.c:523:16: error: passing argument 1 of ‘time’ from incompatible
> pointer type [-Wincompatible-pointer-types]
> 523 | time0 = 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 gnuchess.c:39:
> /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);
> | ^~~~~~~~~~~~~~
> gnuchess.c: In function ‘ataks’:
> gnuchess.c:1749:22: warning: operation on ‘*(a + (sizetype)((unsigned int)u *
> 2))’ may be undefined [-Wsequence-point]
> 1749 | a[u] = ++a[u] | c;
> | ~~~~~^~~~~~~~~~~~
> gnuchess.c:1759:20: warning: operation on ‘*(a + (sizetype)((unsigned int)u *
> 2))’ may be undefined [-Wsequence-point]
> 1759 | a[u] = ++a[u] | c;
> | ~~~~~^~~~~~~~~~~~
> gnuchess.c: In function ‘KingScan’:
> gnuchess.c:2048:6: warning: suggest explicit braces to avoid ambiguous ‘else’
> [-Wdangling-else]
> 2048 | if (color[u] != c2) \
> | ^
> gnuchess.c:2066:34: note: in expansion of macro ‘ScoreThreat’
> 2066 | if (atk2[u] & ctlBQ) ScoreThreat;
> | ^~~~~~~~~~~
> gnuchess.c:2048:6: warning: suggest explicit braces to avoid ambiguous ‘else’
> [-Wdangling-else]
> 2048 | if (color[u] != c2) \
> | ^
> gnuchess.c:2078:34: note: in expansion of macro ‘ScoreThreat’
> 2078 | if (atk2[u] & ctlRQ) ScoreThreat;
> | ^~~~~~~~~~~
> gnuchess.c:2048:6: warning: suggest explicit braces to avoid ambiguous ‘else’
> [-Wdangling-else]
> 2048 | if (color[u] != c2) \
> | ^
> gnuchess.c:2088:32: note: in expansion of macro ‘ScoreThreat’
> 2088 | if (atk2[u] & ctlNN) ScoreThreat;
> | ^~~~~~~~~~~
> make[5]: *** [/usr/share/GNUstep/Makefiles/rules.make:528:
> obj/Chess.obj/gnuchess.c.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/12/23/chess.app_2.8-5_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.
--- End Message ---
--- Begin Message ---
Source: chess.app
Source-Version: 2.8-6
Done: Yavor Doganov <ya...@gnu.org>
We believe that the bug you reported is fixed in the latest version of
chess.app, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1091...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yavor Doganov <ya...@gnu.org> (supplier of updated chess.app package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 27 Dec 2024 08:02:50 +0200
Source: chess.app
Architecture: source
Version: 2.8-6
Distribution: unstable
Urgency: medium
Maintainer: Debian GNUstep maintainers
<pkg-gnustep-maintain...@lists.alioth.debian.org>
Changed-By: Yavor Doganov <ya...@gnu.org>
Closes: 1091252
Changes:
chess.app (2.8-6) unstable; urgency=medium
.
* Team upload.
.
[ Debian Janitor ]
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
Repository-Browse.
* Avoid explicitly specifying -Wl,--as-needed linker flag.
.
[ Yavor Doganov ]
* Run wrap-and-sort --ast.
* debian/patches/ftbfs-armhf.patch: New; fix FTBFS on armhf due to
64-bit time_t (Closes: #1091252). Thanks Lucas Nussbaum.
* debian/patches/compiler-warnings.patch: New; taken from upstream.
* debian/patches/improve-chessinfo-plist: Remove template description.
* debian/rules: Enable hardening.
(optim): Remove definition; that's done in config.mk.
(override_dh_auto_build): Use dh_auto_build and $(verbose). Extract a
PNG icon for the .desktop file.
(override_dh_link): Rename as...
(execute_before_dh_link): ...and use dh_gnustep --app --game. Convert
the Localizable.strings file to fix linitan W: national-encoding.
Install the PNG icon in the app's bundle.
* debian/control (Build-Depends): Require gnustep-make (>= 2.9.2-2) for
dh_gnustep's new features. Replace imagemagick with icnsutils.
(Section): Change to "games".
(Depends): Remove ${gnustep:Depends}; obsolete.
(Description): Extend a bit to placate lintian.
* debian/Chess.1: Rename as...
* debian/Chess.6: ...since this is a game.
* debian/manpages: Adjust extension.
* debian/Chess.desktop: New file.
* debian/install: New file; install the .desktop file.
* debian/upstream/metadata: Point to Savannah; GitHub is only a mirror.
* debian/copyright: Add Upstream-Contact. Replace APPLE-BSD with AML to
pacify licenserecon.
Checksums-Sha1:
a90884e0177197c51b124e5cf2ef7266e5f9f523 2006 chess.app_2.8-6.dsc
6de8cbf23cf215ff6c57262e56e397e80e462b68 7776 chess.app_2.8-6.debian.tar.xz
0d51851ed5849be54334acbd0b13da2b1bd4aae7 9782 chess.app_2.8-6_source.buildinfo
Checksums-Sha256:
9086a5f02d59f46bb5e4d6097e71e4cdace3dbb13194cb0f59c8889ba57b6c4b 2006
chess.app_2.8-6.dsc
bedd1fdc194078f0c988f7a0bfbafe8a640478116c5dfe0fd56ec7524c9cc269 7776
chess.app_2.8-6.debian.tar.xz
3f42cc33af278aa0f519af38ceb474ab39d23f3dde492b0543062fdc8a4b2045 9782
chess.app_2.8-6_source.buildinfo
Files:
9102fabf99bf7e3f10a46950c01d4cc6 2006 games optional chess.app_2.8-6.dsc
b79d9b670e1bdc16e57bc903821fe853 7776 games optional
chess.app_2.8-6.debian.tar.xz
649053aec0a640296e5921fed5648851 9782 games optional
chess.app_2.8-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmd3s20ACgkQEWhSvN91
FcAgbw/+KxSSSJSwIJPQDtU5myEpsH5Dq2Mkgf8QuPEpC8XA903RX5Twj049tv4e
gZyiisUcsoinPKh7GXoKMma7uNZQnx88MAVcpXQ+iT+SYm+i32sNDZ6hqyPxsNge
YICMqLwgqZrFich25DbCLDoGqwRiNL/sgz6cKKPeTueHzRaIvWtSAbWUR9dLjgO/
8rewLJcYofg1fhXSMYYDLxWDVzSGOoJoPnN28WaWHUIgEbJw2LKPtxBAkJs24GNk
0Q3V8fKeADgSKI9sk5AbqULcGd/MLovVfLEtJIhPIHgX2HHp3IdeGspA3vOwx+QM
HQL03AJv6ZT84EtV8e+K2fuWdK1MtHtvv3rbmhBcJc2eAVgdlM1IWfZ/d12217Sc
TJ4yYHMUtf2AooXhtgrHoUsqDpA6lt2E4qCmlgNd7YVSOcjbfdVDDOVM1DtJRzi7
CJFf/lJMxlCHNcKG+wrbtAExhzqKwnWu1o55ASjFMVD0q49qP2t0ifBx+YTU8iZ3
6Uzo9ayCcvFX21onXs9Qp0LgMswnZQqb/6m9TimKYy46LDZ4SvdzhxtkGNMss5/p
SqtjS0HKCZdeQkQT1XMm2TXjghJBMOMXPfEzdydN85lH29ahkFsnhPIMhzke6ZRF
zOwFh90k7w8G4UOVrIsa7KSwEdvhcJWKz5eIG1n3GSaf/GpyjvQ=
=zrO/
-----END PGP SIGNATURE-----
pgpkuZzdEGe69.pgp
Description: PGP signature
--- End Message ---