Your message dated Thu, 08 Aug 2024 21:50:00 +0000
with message-id <[email protected]>
and subject line Bug#1078228: fixed in 1oom 1.10.3-1
has caused the Debian Bug report #1078228,
regarding 1oom: FTBFS with GCC 14: error: passing argument 4 of
'menu_make_enum' from incompatible pointer type
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 [email protected]
immediately.)
--
1078228: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078228
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: 1oom
Version: 1.8.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Hi,
1oom started to FTBFS when GCC 14 was made the default compiler:
gcc -DHAVE_CONFIG_H -I. -I../../../src -I../../../src/os/unix
-I../../../src/game -I../../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/build/1oom-1.8.1=.
-fstack-protector-strong -fstack-clash-prote
ction -Wformat -Werror=format-security -fcf-protection -c -o uimainmenu.o
uimainmenu.c
uimainmenu.c: In function 'main_menu_make_game_custom_page':
uimainmenu.c:357:88: error: passing argument 4 of 'menu_make_enum' from
incompatible pointer type [-Wincompatible-pointer-types]
357 | menu_make_enum(menu_allocate_item(), "Difficulty",
mm_get_custom_difficulty_value, &game_opt_custom.difficulty, 0, DIFFICULTY_NUM
- 1, MOO_KEY_d);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
difficulty_t *
In file included from uimainmenu.c:21:
../../../src/menu.h:104:123: note: expected 'int *' but argument is of type
'difficulty_t *'
104 | static inline void menu_make_enum(struct menu_item_data_s *d, const
char *text, const char *(*get_text_value) (int), int *value_ptr, int value_min,
int value_max, mookey_t key)
|
~~~~~^~~~~~~~~
uimainmenu.c: In function 'main_menu_make_game_custom_galaxy_page':
uimainmenu.c:368:83: error: passing argument 4 of 'menu_make_enum' from
incompatible pointer type [-Wincompatible-pointer-types]
368 | menu_make_enum(menu_allocate_item(), "Size",
mm_get_custom_galaxy_size_value, &game_opt_custom.galaxy_size, 0,
GALAXY_SIZE_HUGE, MOO_KEY_s);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
galaxy_size_t *
../../../src/menu.h:104:123: note: expected 'int *' but argument is of type
'galaxy_size_t *'
104 | static inline void menu_make_enum(struct menu_item_data_s *d, const
char *text, const char *(*get_text_value) (int), int *value_ptr, int value_min,
int value_max, mookey_t key)
|
~~~~~^~~~~~~~~
uimainmenu.c: In function 'main_menu_make_game_custom_homeworlds_page':
uimainmenu.c:381:82: error: passing argument 4 of 'menu_make_enum' from
incompatible pointer type [-Wincompatible-pointer-types]
381 | menu_make_enum(menu_allocate_item(), "Special",
mm_get_custom_special_value, &game_opt_custom.homeworlds.special, 0,
PLANET_SPECIAL_4XTECH, MOO_KEY_e);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
planet_special_t * {aka enum planet_special_e *}
../../../src/menu.h:104:123: note: expected 'int *' but argument is of type
'planet_special_t *' {aka 'enum planet_special_e *'}
104 | static inline void menu_make_enum(struct menu_item_data_s *d, const
char *text, const char *(*get_text_value) (int), int *value_ptr, int value_min,
int value_max, mookey_t key)
|
~~~~~^~~~~~~~~
make[5]: *** [Makefile:564: uimainmenu.o] Error 1
Andreas
1oom_1.8.1-1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: 1oom
Source-Version: 1.10.3-1
Done: Alexandre Detiste <[email protected]>
We believe that the bug you reported is fixed in the latest version of
1oom, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated 1oom 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 08 Aug 2024 22:36:44 +0200
Source: 1oom
Architecture: source
Version: 1.10.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1078228
Changes:
1oom (1.10.3-1) unstable; urgency=medium
.
* Team upload.
* New upstream version 1.10.3 (Closes: #1078228)
Checksums-Sha1:
411599d3df3c84724ac6bafefe38b47e291709db 1970 1oom_1.10.3-1.dsc
1a2d9bf50851a13484de69770225cf965220495e 555409 1oom_1.10.3.orig.tar.gz
294c7c8cdcd0b63fb5ef368b5784b887a5ba0332 4408 1oom_1.10.3-1.debian.tar.xz
bd62d2b0a8d8f927492c44ac80f480d2f0ce3855 11695 1oom_1.10.3-1_source.buildinfo
Checksums-Sha256:
fa416d2f61d005895b7f7ef9896ca77d91c1dbd50da44bb026546f0ba671e9de 1970
1oom_1.10.3-1.dsc
4bca5d286df30971942340615736138321f3b9e55e2a2bf3c4b9a6a352bf2d8a 555409
1oom_1.10.3.orig.tar.gz
77aa6b1ef0c35da7728f2e3e77157a3db2c3b57ecf407a1d6426879453e6c4f1 4408
1oom_1.10.3-1.debian.tar.xz
bb4401e4726100fc4cf4b69a78e7b8fbd2b3fe79a2d9383a2dee379024d32aca 11695
1oom_1.10.3-1_source.buildinfo
Files:
973c11190d8e0fd01922003876f3a125 1970 contrib/games optional 1oom_1.10.3-1.dsc
3682cb81f210a6cbee3a41ae23f69ca3 555409 contrib/games optional
1oom_1.10.3.orig.tar.gz
92f6b58b651f00b402349c6373144702 4408 contrib/games optional
1oom_1.10.3-1.debian.tar.xz
cbe7afebec68b4ae1fb236a1bf8203e4 11695 contrib/games optional
1oom_1.10.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAma1LlgRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqucQ/+LNSYLpJEPh1mIkq0ZmOTO6YW8BWVtFkh
UxOclVH/qUuMp0s5ujDqo5Kx3X5+6DgJTG2ohYZjrb7mQpKxRHfVCzwrAqure7B4
WECRkjkECe3pOk9DfHLc2RNx19KJUGIFp/9HLvTro6dmoPb4CHLo6OcYg2yW7xvZ
iNLBDi21giZMhVNsr67QCoUE4gzasLyRNWhu7U3GscNVM5tp3TXEAfh+es3wmzdh
zO2mUmim7qux4wv+rRT8Rn++GkfU+LGktg6qsv/MFZlyL4asBYb0dugXz7/DBEBN
U/bSKI/RTbBhcOj2uT+/gmHbYCImN2VUWXfwTx7WUekrQTN9VB74UuKQYV9VSHAt
YCZpAF+uBK+QahQqAh0a81SElW113ZAjl/esJDsllVCbnL0IiFfPo5ButLeUnnJM
MwmIFo2j2U+1Hz2qt/9FO7daM4rS4RGjmA9eAz0Ss+/7CDnSDWw2RucEkTQ32SXT
zXkXeiPQsTVlJlrzBNREJO6LHOWW0QFOQPHsxVlOJXdc4wMgdcXEn5YDVdGtTlxw
P53KT8FW349crugK2DmC2T7SU2SaCQrC0EHtS4iyesYhakytZGgeYbO8Ul6+rU1i
X4vuMhvDbqnZsieN8cuTwiRsh704s9bw6yBFHvwg/cpzhNdGJs1AuchEao6zxIz7
lSDhq216hFs=
=Cw8T
-----END PGP SIGNATURE-----
pgpk3mOc15olt.pgp
Description: PGP signature
--- End Message ---