Your message dated Sun, 16 Mar 2025 07:04:32 +0000
with message-id <e1tti2y-009oc5...@fasolo.debian.org>
and subject line Bug#1091256: fixed in adjtimex 1.29-12
has caused the Debian Bug report #1091256,
regarding adjtimex: FTBFS on armhf: adjtimex.c:1641:24: error: passing argument 
1 of ‘ctime’ 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.)


-- 
1091256: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091256
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: adjtimex
Version: 1.29-11.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):
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -Wall -I. -DVERSION=\"1.29\" -o adjtimex  \
>        adjtimex.c mat.o -lm -Wl,-z,relro -Wl,-z,now -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2
> adjtimex.c: In function ‘main’:
> adjtimex.c:492:16: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 3 has type ‘long long int’ [-Wformat=]
>   492 |         printf("         mode: %d\n"
>       |                ^~~~~~~~~~~~~~~~~~~~~
> ......
>   504 |                txc.offset,
>       |                ~~~~~~~~~~
>       |                   |
>       |                   long long int
> adjtimex.c:493:34: note: format string is defined here
>   493 |                "       offset: %ld\n"
>       |                                ~~^
>       |                                  |
>       |                                  long int
>       |                                %lld
> adjtimex.c:492:16: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 4 has type ‘long long int’ [-Wformat=]
>   492 |         printf("         mode: %d\n"
>       |                ^~~~~~~~~~~~~~~~~~~~~
> ......
>   505 |                txc.freq,
>       |                ~~~~~~~~
>       |                   |
>       |                   long long int
> adjtimex.c:494:34: note: format string is defined here
>   494 |                "    frequency: %ld\n"
>       |                                ~~^
>       |                                  |
>       |                                  long int
>       |                                %lld
> adjtimex.c:492:16: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 5 has type ‘long long int’ [-Wformat=]
>   492 |         printf("         mode: %d\n"
>       |                ^~~~~~~~~~~~~~~~~~~~~
> ......
>   506 |                txc.maxerror,
>       |                ~~~~~~~~~~~~
>       |                   |
>       |                   long long int
> adjtimex.c:495:34: note: format string is defined here
>   495 |                "     maxerror: %ld\n"
>       |                                ~~^
>       |                                  |
>       |                                  long int
>       |                                %lld
> adjtimex.c:492:16: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 6 has type ‘long long int’ [-Wformat=]
>   492 |         printf("         mode: %d\n"
>       |                ^~~~~~~~~~~~~~~~~~~~~
> ......
>   507 |                txc.esterror,
>       |                ~~~~~~~~~~~~
>       |                   |
>       |                   long long int
> adjtimex.c:496:34: note: format string is defined here
>   496 |                "     esterror: %ld\n"
>       |                                ~~^
>       |                                  |
>       |                                  long int
>       |                                %lld
> adjtimex.c:492:16: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 8 has type ‘long long int’ [-Wformat=]
>   492 |         printf("         mode: %d\n"
>       |                ^~~~~~~~~~~~~~~~~~~~~
> ......
>   509 |                txc.constant,
>       |                ~~~~~~~~~~~~
>       |                   |
>       |                   long long int
> adjtimex.c:498:34: note: format string is defined here
>   498 |                "time_constant: %ld\n"
>       |                                ~~^
>       |                                  |
>       |                                  long int
>       |                                %lld
> adjtimex.c:492:16: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 9 has type ‘long long int’ [-Wformat=]
>   492 |         printf("         mode: %d\n"
>       |                ^~~~~~~~~~~~~~~~~~~~~
> ......
>   510 |                txc.precision,
>       |                ~~~~~~~~~~~~~
>       |                   |
>       |                   long long int
> adjtimex.c:499:34: note: format string is defined here
>   499 |                "    precision: %ld\n"
>       |                                ~~^
>       |                                  |
>       |                                  long int
>       |                                %lld
> adjtimex.c:492:16: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 10 has type ‘long long int’ [-Wformat=]
>   492 |         printf("         mode: %d\n"
>       |                ^~~~~~~~~~~~~~~~~~~~~
> ......
>   511 |                txc.tolerance,
>       |                ~~~~~~~~~~~~~
>       |                   |
>       |                   long long int
> adjtimex.c:500:34: note: format string is defined here
>   500 |                "    tolerance: %ld\n"
>       |                                ~~^
>       |                                  |
>       |                                  long int
>       |                                %lld
> adjtimex.c:492:16: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 11 has type ‘long long int’ [-Wformat=]
>   492 |         printf("         mode: %d\n"
>       |                ^~~~~~~~~~~~~~~~~~~~~
> ......
>   512 |                txc.tick,
>       |                ~~~~~~~~
>       |                   |
>       |                   long long int
> adjtimex.c:501:34: note: format string is defined here
>   501 |                "         tick: %ld\n"
>       |                                ~~^
>       |                                  |
>       |                                  long int
>       |                                %lld
> adjtimex.c: In function ‘cmos_read_time’:
> adjtimex.c:926:36: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 4 has type ‘time_t’ {aka ‘long long int’} [-Wformat=]
>   926 |     printf ("CMOS time %s (%s) = %ld\n", asctime (&tm),
>       |                                  ~~^
>       |                                    |
>       |                                    long int
>       |                                  %lld
> ......
>   930 |             cmos_time);
>       |             ~~~~~~~~~               
>       |             |
>       |             time_t {aka long long int}
> adjtimex.c:962:40: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 2 has type ‘time_t’ {aka ‘long long int’} [-Wformat=]
>   962 |           printf("WARNING: CMOS time %ld differs from system time %ld 
> by %3.2f hours\n",
>       |                                      ~~^
>       |                                        |
>       |                                        long int
>       |                                      %lld
>   963 |                  cmos_time, now.tv_sec, 
> (summertime_correction)/3600.);
>       |                  ~~~~~~~~~              
>       |                  |
>       |                  time_t {aka long long int}
> adjtimex.c:962:69: warning: format ‘%ld’ expects argument of type ‘long int’, 
> but argument 3 has type ‘__time64_t’ {aka ‘long long int’} [-Wformat=]
>   962 |           printf("WARNING: CMOS time %ld differs from system time %ld 
> by %3.2f hours\n",
>       |                                                                   ~~^
>       |                                                                     |
>       |                                                                     
> long int
>       |                                                                   %lld
>   963 |                  cmos_time, now.tv_sec, 
> (summertime_correction)/3600.);
>       |                             ~~~~~~~~~~                               
>       |                                |
>       |                                __time64_t {aka long long int}
> adjtimex.c: In function ‘compare’:
> adjtimex.c:1251:26: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 3 has type ‘long long int’ [-Wformat=]
>  1251 |         printf ("%11s %6ld %9ld", " ", txc.tick, txc.freq);
>       |                       ~~~^             ~~~~~~~~
>       |                          |                |
>       |                          long int         long long int
>       |                       %6lld
> adjtimex.c:1251:31: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 4 has type ‘long long int’ [-Wformat=]
>  1251 |         printf ("%11s %6ld %9ld", " ", txc.tick, txc.freq);
>       |                            ~~~^                  ~~~~~~~~
>       |                               |                     |
>       |                               long int              long long int
>       |                            %9lld
> adjtimex.c:1258:30: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 3 has type ‘long long int’ [-Wformat=]
>  1258 |           printf ("%11.1f %6ld %9ld",
>       |                           ~~~^
>       |                              |
>       |                              long int
>       |                           %6lld
>  1259 |                   error_ppm,
>  1260 |                   txc.tick,
>       |                   ~~~~~~~~    
>       |                      |
>       |                      long long int
> adjtimex.c:1258:35: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 4 has type ‘long long int’ [-Wformat=]
>  1258 |           printf ("%11.1f %6ld %9ld",
>       |                                ~~~^
>       |                                   |
>       |                                   long int
>       |                                %9lld
> ......
>  1261 |                   txc.freq);
>       |                   ~~~~~~~~         
>       |                      |
>       |                      long long int
> adjtimex.c:1268:28: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 2 has type ‘long long int’ [-Wformat=]
>  1268 |               printf("  %6ld %9ld\n",
>       |                         ~~~^
>       |                            |
>       |                            long int
>       |                         %6lld
>  1269 |                      txc.tick + tick_delta, txc.freq + freq_delta);
>       |                      ~~~~~~~~~~~~~~~~~~~~~
>       |                               |
>       |                               long long int
> adjtimex.c:1268:33: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 3 has type ‘long long int’ [-Wformat=]
>  1268 |               printf("  %6ld %9ld\n",
>       |                              ~~~^
>       |                                 |
>       |                                 long int
>       |                              %9lld
>  1269 |                      txc.tick + tick_delta, txc.freq + freq_delta);
>       |                                             ~~~~~~~~~~~~~~~~~~~~~
>       |                                                      |
>       |                                                      long long int
> adjtimex.c: In function ‘valid_system_rate’:
> adjtimex.c:1641:24: error: passing argument 1 of ‘ctime’ from incompatible 
> pointer type [-Wincompatible-pointer-types]
>  1641 |                  ctime(&pca->ca_adj_time));
>       |                        ^~~~~~~~~~~~~~~~~
>       |                        |
>       |                        long int *
> In file included from /usr/include/features.h:510,
>                  from /usr/include/ctype.h:25,
>                  from adjtimex.c:17:
> /usr/include/time.h:186:14: note: expected ‘const time_t *’ {aka ‘const long 
> long int *’} but argument is of type ‘long int *’
>   186 | extern char *__REDIRECT_NTH (ctime, (const time_t *__timer), 
> __ctime64);
>       |              ^~~~~~~~~~~~~~
> adjtimex.c: In function ‘review’:
> adjtimex.c:2177:39: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 2 has type ‘long long int’ [-Wformat=]
>  2177 |     printf("        current tick = %5ld  freq = %9ld\n",
>       |                                    ~~~^
>       |                                       |
>       |                                       long int
>       |                                    %5lld
>  2178 |            txc.tick, txc.freq );
>       |            ~~~~~~~~                    
>       |               |
>       |               long long int
> adjtimex.c:2177:52: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 3 has type ‘long long int’ [-Wformat=]
>  2177 |     printf("        current tick = %5ld  freq = %9ld\n",
>       |                                                 ~~~^
>       |                                                    |
>       |                                                    long int
>       |                                                 %9lld
>  2178 |            txc.tick, txc.freq );
>       |                      ~~~~~~~~                       
>       |                         |
>       |                         long long int
> adjtimex.c:2211:29: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 2 has type ‘long long int’ [-Wformat=]
>  2211 |       printf("new tick = %5ld  freq = %7ld\n", txc.tick, txc.freq );
>       |                          ~~~^                  ~~~~~~~~
>       |                             |                     |
>       |                             long int              long long int
>       |                          %5lld
> adjtimex.c:2211:42: warning: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 3 has type ‘long long int’ [-Wformat=]
>  2211 |       printf("new tick = %5ld  freq = %7ld\n", txc.tick, txc.freq );
>       |                                       ~~~^               ~~~~~~~~
>       |                                          |                  |
>       |                                          long int           long long 
> int
>       |                                       %7lld
> make[1]: *** [Makefile:39: adjtimex] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/12/23/adjtimex_1.29-11.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.

--- End Message ---
--- Begin Message ---
Source: adjtimex
Source-Version: 1.29-12
Done: Roger Shimizu <r...@debian.org>

We believe that the bug you reported is fixed in the latest version of
adjtimex, 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.
Roger Shimizu <r...@debian.org> (supplier of updated adjtimex 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: SHA512

Format: 1.8
Date: Sat, 15 Mar 2025 23:17:30 -0700
Source: adjtimex
Architecture: source
Version: 1.29-12
Distribution: unstable
Urgency: medium
Maintainer: Roger Shimizu <r...@debian.org>
Changed-By: Roger Shimizu <r...@debian.org>
Closes: 1085695 1091256
Changes:
 adjtimex (1.29-12) unstable; urgency=medium
 .
   * debian/patches:
     - Add patch to fix ftbfs (Closes: #1091256).
     - Amend 09 & 10 patches to fix manpage issue (Closes: #1085695).
Checksums-Sha1:
 adbe7255826c6ee745808097cba830df59c7ca99 1877 adjtimex_1.29-12.dsc
 6487bf55378008c3739eed892f2783502114ed15 85551 adjtimex_1.29.orig.tar.gz
 158cfa7718f7711d3c6cce659967c21f751794bd 34428 adjtimex_1.29-12.debian.tar.xz
 6f7e9863791b23e82af44ab8e30f83a7ca241412 6100 adjtimex_1.29-12_amd64.buildinfo
Checksums-Sha256:
 7d65a6632986f2198aaa4f684c8841b248e77b0b92d629cfeab3f4ae7bb253b7 1877 
adjtimex_1.29-12.dsc
 04b9e8b66e77276ed07e78de89af37fd1aa12725923de853480827c4fafd176a 85551 
adjtimex_1.29.orig.tar.gz
 2023bb9c3c14ccecbd2406831a9637ca5d55f77c582a6356244af8e886913055 34428 
adjtimex_1.29-12.debian.tar.xz
 d63ff3133c8ae418f47ef7c8e0cf872e8897a709f26e2c35a1c88d4c08e28565 6100 
adjtimex_1.29-12_amd64.buildinfo
Files:
 8ed5d5d6a900d51c04acc39a6cb88089 1877 admin optional adjtimex_1.29-12.dsc
 7ff7731baf829fdf6ad9af963a526cda 85551 admin optional adjtimex_1.29.orig.tar.gz
 56453b90d76de367dbdc447dda7de83f 34428 admin optional 
adjtimex_1.29-12.debian.tar.xz
 4e742c0f8c1694b5182b3a8409f1541b 6100 admin optional 
adjtimex_1.29-12_amd64.buildinfo

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

iQJEBAEBCgAuFiEECjKtvoA5m+cWOFnspHhrDacDNKgFAmfWdCgQHHJvc2hAZGVi
aWFuLm9yZwAKCRCkeGsNpwM0qPwBD/9+ptAVx+XV1Q/4rLRV8oH41mpywDeCh44Y
R+C0FhpX3lLNOE/kjAYo3hExsQwwEVub6PpfCnIdMII/JGZZIRtb9aFseLKWxyQ9
G0PncPi5LX4PcOe9WRbAqD3hqR3kTJRyvrsRHeEgUBdp7NDwCSTZJTV7ARZjmScN
FNHRq+80cjqWUzXtdxz+NZSXgXUU4TDom6eHCj7SNthr/N9nZ2UGXa3gOKdWn5Rk
GJHp5cGgaPbt/Uui8qKVKvCh9pbOTYXX1PEQspI+ffaMt9kRjqWlU6fh7u3HT5Dm
boP4jrwoDWcyys9SeaY5332rPPqZjP36uBEPrE9KmHFS8i6bqcv/XuMuec0QHzLV
+I+ZpfW9e8sKoX+i9qqwtECHO4dtfEpNCmXBJM9GPjqk8znK4aoOIm8DPauY7D3i
GzC5n8VH858LK+tbPKNHtnvbCCbJbobnvjcAlHGIVdZtbOtqwm9J4JZaVZ7CZBuz
dsIUNQZmHGoYeAtu5bf8vAKXjT5+cosuklQqa4acZMKq8xfThdk2rVZ7iYXVCki0
AHC+FSp/WLPr+nEGbhciLEDsBfMXglL/zHcGVwAizhGiRMn+RagyvAaPcCyBW/ks
ykWFXwu5o79/NwqOST1lyAzxGsvgWSTYnpgbaISGVRCq7sv/iaxrcraGmBrULamC
T/QOhWTLWA==
=42x+
-----END PGP SIGNATURE-----

Attachment: pgpge6rv82Y8F.pgp
Description: PGP signature


--- End Message ---

Reply via email to