Your message dated Wed, 03 Sep 2025 20:35:00 +0000
with message-id <[email protected]>
and subject line Bug#1096275: fixed in acct 6.6.4-9
has caused the Debian Bug report #1096275,
regarding acct: ftbfs with GCC-15
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.)


-- 
1096275: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096275
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:acct
Version: 6.6.4-5
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/acct_6.6.4-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
      |                                                        ^~~~~~~~~~~~~~~~
In function ‘snprintf’,
    inlined from ‘print_record’ at last.c:701:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 10 and 27 bytes into a destination of 
size 16
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
last.c: In function ‘print_record’:
last.c:698:67: warning: ‘%02d’ directive output may be truncated writing 
between 2 and 9 bytes into a region of size between 0 and 10 
[-Wformat-truncation=]
  698 |             (void)snprintf (temp_str, sizeof(temp_str), 
"(%d+%02d:%02d:%02d)",
      |                                                                   ^~~~
last.c:698:57: note: directive argument in the range [-35791394, 35791394]
  698 |             (void)snprintf (temp_str, sizeof(temp_str), 
"(%d+%02d:%02d:%02d)",
      |                                                         
^~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
    inlined from ‘print_record’ at last.c:698:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 13 and 39 bytes into a destination of 
size 16
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I.  -I./lib -I./lib -Wdate-time -D_FORTIFY_SOURCE=2  -g 
-O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/acct-6.6.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -c -o 
accton.o accton.c
gcc -DHAVE_CONFIG_H -I.  -I./lib -I./lib -Wdate-time -D_FORTIFY_SOURCE=2  -g 
-O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/acct-6.6.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -c -o sa.o 
sa.c
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/acct-6.6.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wmissing-prototypes  
-Wl,-z,relro -Wl,-z,now -o dump-utmp dump-utmp.o common.o dev_hash.o file_rd.o 
hashtab.o utmp_rd.o lib/libgnu.la 
sa.c: In function ‘print_user_list’:
sa.c:1509:42: error: passing argument 4 of ‘qsort’ from incompatible pointer 
type [-Wincompatible-pointer-types]
 1509 |          sizeof (struct hashtab_elem *), (int (*)()) 
compare_user_entry);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                          |
      |                                          int (*)(void)
In file included from ./lib/stdlib.h:36,
                 from sa.c:47:
/usr/include/stdlib.h:971:34: note: expected ‘__compar_fn_t’ {aka ‘int 
(*)(const void *, const void *)’} but argument is of type ‘int (*)(void)’
  971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
      |                    ~~~~~~~~~~~~~~^~~~~~~~
/usr/include/stdlib.h:948:15: note: ‘__compar_fn_t’ declared here
  948 | typedef int (*__compar_fn_t) (const void *, const void *);
      |               ^~~~~~~~~~~~~
sa.c: In function ‘print_command_list’:
sa.c:1689:43: error: passing argument 4 of ‘qsort’ from incompatible pointer 
type [-Wincompatible-pointer-types]
 1689 |          sizeof (struct hashtab_entry *), (int (*)()) 
compare_sum_entry);
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                           |
      |                                           int (*)(void)
/usr/include/stdlib.h:971:34: note: expected ‘__compar_fn_t’ {aka ‘int 
(*)(const void *, const void *)’} but argument is of type ‘int (*)(void)’
  971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
      |                    ~~~~~~~~~~~~~~^~~~~~~~
/usr/include/stdlib.h:948:15: note: ‘__compar_fn_t’ declared here
  948 | typedef int (*__compar_fn_t) (const void *, const void *);
      |               ^~~~~~~~~~~~~
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/acct-6.6.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wmissing-prototypes  
-Wl,-z,relro -Wl,-z,now -o ac ac.o common.o file_rd.o hashtab.o utmp_rd.o 
lib/libgnu.la 
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/acct-6.6.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -Wl,-z 
-Wl,relro -Wl,-z -Wl,now -o dump-utmp dump-utmp.o common.o dev_hash.o file_rd.o 
hashtab.o utmp_rd.o  lib/.libs/libgnu.a
make[4]: *** [Makefile:1345: sa.o] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/acct-6.6.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -Wl,-z 
-Wl,relro -Wl,-z -Wl,now -o ac ac.o common.o file_rd.o hashtab.o utmp_rd.o  
lib/.libs/libgnu.a
make[4]: Leaving directory '/build/reproducible-path/acct-6.6.4'
make[3]: *** [Makefile:1625: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/acct-6.6.4'
make[2]: *** [Makefile:1107: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/acct-6.6.4'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:23: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/acct-6.6.4'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: acct
Source-Version: 6.6.4-9
Done: Andrew Bower <[email protected]>

We believe that the bug you reported is fixed in the latest version of
acct, 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.
Andrew Bower <[email protected]> (supplier of updated acct 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: Wed, 03 Sep 2025 18:41:32 +0100
Source: acct
Architecture: source
Version: 6.6.4-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Andrew Bower <[email protected]>
Closes: 922533 1023810 1043617 1096275
Changes:
 acct (6.6.4-9) unstable; urgency=medium
 .
   * Fix FTBFS with C23 (Closes: #1096275)
     - use t64 with utmp(5)'s newly unsigned seconds field
   * Use logrotate for daily process accounting log rotation
     - avoid hand-crafted duplication of logrotate smarts
     - drop daily cron job, avoiding needing an equivalent timer
     - provide /usr/share/acct/hooks.d (Closes: #922533)
   * Enable 'build twice' by removing upstream files
     Thanks: Phil Wyett. (Closes: #1043617)
   * Rework init script with init-d-script(5)
     - move lock file to /run. (Closes: #1023810)
     - fix status and one shot properties
     - stop overriding dh_installinit and requiring syslog facility
     - stop using /etc/default/acct (policy 9.3.3.1); document in NEWS
   * Improve systemd integration
     - provide timer for monthly report
     - use tmpfiles.d, enabling removal of d/acct.postinst
     - add documentation
   * Add service hardening
   * d/copyright:
     - swap FSF postal address for URL
     - add myself
     - expand oversimplifications, including autotools/m4 content
   * d/patches:
     - lift maintainer-supplied man page from replace-all patch
     - fix files listing layout in lastcomm.1
     - re-apply info typo fixes to the texi source
     - drop ineffective html unsplitting doc patch to generated Makefile
     - refresh all patches with preferred DEP-3 dialect
   * d/control:
     - update to standards version 4.7.2
     - drop obsolete depends on lsb-base
     - recommend logrotate
     - add myself to Uploaders
   * d/rules:
     - do not set DH_VERBOSE in debian/rules
     - prefer execute_after_dh-style rules
   * d/acct.postrm: make purge resilient to no logs
   * Make various mechanical formatting changes to canonicalize debian/
Checksums-Sha1:
 c66d42bb4af4b7408fd00ebf86c4fef9cc0d2c83 2237 acct_6.6.4-9.dsc
 de20bf04a933bf45e0a2919f6dd5ea81d5e549b4 28044 acct_6.6.4-9.debian.tar.xz
 f6480c32afff8be92869c51e2f16d1a82a5aad02 6258 acct_6.6.4-9_amd64.buildinfo
Checksums-Sha256:
 1f7a20a9a175ddfaf6dc561cb72ebe50ba458916972e356bf0c934ab52d91d2d 2237 
acct_6.6.4-9.dsc
 b53ab0a9250629393ad31510ec8a82f51c5425c9d487774f213891da4cc7f57d 28044 
acct_6.6.4-9.debian.tar.xz
 e6db2ceff803380e362959843b19f6cb6d59e1bdc6c42952f06860f3bfdb0092 6258 
acct_6.6.4-9_amd64.buildinfo
Files:
 7832a0fe5c2fc86be12653e43fc5f82a 2237 admin optional acct_6.6.4-9.dsc
 2d5339c972d8e5a1edd1ea55d9a23fe8 28044 admin optional 
acct_6.6.4-9.debian.tar.xz
 ba0e93980558e18d905e910517e4e6d7 6258 admin optional 
acct_6.6.4-9_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEPfXoqkP8n9/QhvGVrfUO2vit1YUFAmi4nxEPHHNnZUBkZWJp
YW4ub3JnAAoJEK31Dtr4rdWFXOAQAKknt2vif5UqgWGDVLK2g8MGLpsbaVER2YNw
JcrvJMLcUgAY37gBMUCo0aS89y+jG9UODKQtrGyXCqOlaFAnM8W9vEtsboAby/wt
PoOCEFntK1ptCHiKgrvj1L9lA1PMvCbhFa7RzDTxm5PDHVzaz5Ikf4X0rPXIL/0R
pbF9psHBb57teJhFgl7/w6PuzATRN7sCIFnp4gntzDOdi609i5XORiAmKDJPGwn8
jgA6g++FVxjxwkQfBUPfKWi/vZLlN4RdKcQuPCPZzeYBbNEXPb92FUW5AbKyW7Sf
co5tMJHZxUjCKFjY3rZovEu4jEQNhVYPjjIXGosmDPn2Ik0lVJecYF2X4YGtciYb
0yWg4WD8R9tzxC7INTO0T7BUmP18v32AQhRkb3L+FadcurvNiQHy/IORxW3dehbK
ogAagEeCxzmbFIPfygESi54vo2o6Xw9hsFW3xSNJBkG40T0ajpv0ggkTelyio1R2
/O2qbaVZcK2CFuHNTY3wTUTXZsALhx07TUxsS4PpecYdZnh2/mv7Fs6EcIaM2T2j
EO5K3xrBtDkF/B6vwA9dmwUEypgHcmNH4daUX/auPXaNvMQkGTRhGjCMoKGzk3+A
wuh5vP98LRSiDOwLL0qeaGRlu5PHG7ZlTAPhMSDr9C0m/Ze+f/m/Rg1rDYbdZ8Fq
j+EqhlqN
=uRW9
-----END PGP SIGNATURE-----

Attachment: pgpHChvnGfZcN.pgp
Description: PGP signature


--- End Message ---

Reply via email to