Hi Christoph,

  Sorry about that -- you were right, 7.0.12 only fixed the long/time_t
  mismatch in the two files the original ticket pointed at
  (satupdat.c/ajoursat.c). I hadn't checked the rest of the tree.

  I've now gone through every call to time()/localtime()/gmtime()/
  ctime()/mktime()/difftime() in the whole source (63 call sites) and
  fixed the 27 more that had the same bug across 22 files: local
  variables, several date/time helper functions taking a "long"
  parameter instead of "time_t" (strdate, strdt, jour, heure, minute
  and others in variable.c, plus file-local duplicates in
  epurmess.c/epurwp.c), and two fields (debut, messdate) in the
  connection-state structure that xfbbd.c itself reads. Nothing that
  gets written to or read from disk was touched, only in-memory state.

  This is now released as 7.0.13, SVN tag tags/7.0.13 (revision 262).

  Before writing this, I reproduced your failure and then the fix: a
  full autoreconf/configure/make from a clean checkout on a real
  Debian 13 (Trixie) armv7l Raspberry Pi -- glibc 2.41, 64-bit time_t
  on armhf, the same ABI as your buildd. Clean build, zero errors, zero
  warnings, xfbbd included. I also rebuilt it on amd64/x86_64 to make
  sure nothing regressed there: same set of pre-existing
  -Wformat-overflow warnings as 7.0.12 (unrelated to this bug), no new
  ones.

  Source tarballs fbb-7.0.13.tar.gz and fbb-7.0.13.tar.bz2 are in the
  root of the Files area of the linfbb project on SourceForge, same
  place as 7.0.12:
  https://sourceforge.net/projects/linfbb/files/

  SHA-256 checksums:

   78f745a43120842433e9ea3ac32a61da77c999206e07107ffa1d38c9ab1cd522
  fbb-7.0.13.tar.gz
   f6b92c71fb26b85b4e5a9cfcdf3d62f3be349b9916189544a8a474e2a190dc6c
  fbb-7.0.13.tar.bz2

  Thanks for catching the incomplete fix rather than just reverting to
  removal, and sorry for the extra round trip.

  place as 7.0.12:
  https://sourceforge.net/projects/linfbb/files/

  SHA-256 checksums:

   78f745a43120842433e9ea3ac32a61da77c999206e07107ffa1d38c9ab1cd522
fbb-7.0.13.tar.gz
   f6b92c71fb26b85b4e5a9cfcdf3d62f3be349b9916189544a8a474e2a190dc6c
fbb-7.0.13.tar.bz2
  SHA-256 checksums:

   78f745a43120842433e9ea3ac32a61da77c999206e07107ffa1d38c9ab1cd522
fbb-7.0.13.tar.gz
   f6b92c71fb26b85b4e5a9cfcdf3d62f3be349b9916189544a8a474e2a190dc6c
fbb-7.0.13.tar.bz2

  Thanks for catching the incomplete fix rather than just reverting to
  removal, and sorry for the extra round trip.

  73,
  Bernard, F6BVP


Le lun. 21 sept. 2026 à 22:16, Christoph Berg <[email protected]> a écrit :
>
> Control: reopen 1091298
> Control: found 1091298 7.012-1
>
> Re: To Bernard F6BVP / AI7BG
> > thanks for the new version, I just uploaded it.
>
> Well, it's unfortunately still broken in the same way:
>
> arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I..  -I../include 
> -Wstrict-prototypes -funsigned-char -DPROTOTYPES -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/fbb-7.012=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -c -o autobin.o autobin.c
> xfbbd.c: In function ‘fbb_list’:
> xfbbd.c:603:44: error: passing argument 1 of ‘localtime’ from incompatible 
> pointer type [-Wincompatible-pointer-types]
>   603 |                         sdate = localtime (&(svoie[i]->debut));
>       |                                            ^~~~~~~~~~~~~~~~~~
>       |                                            |
>       |                                            long int *
> In file included from /usr/include/features.h:539,
>                  from /usr/include/dirent.h:25,
>                  from ../include/serv.h:32,
>                  from xfbbd.c:26:
> /usr/include/time.h:150:19: note: expected ‘const time_t *’ {aka ‘const long 
> long int *’} but argument is of type ‘long int *’
>   150 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
>       |                   ^~~~~~~~~~~~~~
> make[5]: *** [Makefile:892: xfbbd-xfbbd.o] Error 1
>
> https://buildd.debian.org/status/fetch.php?pkg=fbb&arch=armhf&ver=7.012-1&stamp=1790020300&raw=0
>
> Christoph

Reply via email to