Your message dated Mon, 13 Jan 2025 23:34:03 +0000
with message-id <[email protected]>
and subject line Bug#1092292: fixed in ifmail 2.14tx8.10-31
has caused the Debian Bug report #1092292,
regarding ifmail: FTBFS on hppa and sh - error: passing argument 1 of ‘time’
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.)


-- 
1092292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092292
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ifmail
Version: 2.14tx8.10-30
Severity: normal
Tags: ftbfs patch

Dear Maintainer,

Build fails with following error:

zmsend.c: In function ‘sendfile’:
zmsend.c:167:20: error: passing argument 1 of ‘time’ from incompatible pointer 
type [-Wincompatible-pointer-types]
  167 |         (void)time(&startime);
      |                    ^~~~~~~~~
      |                    |
      |                    long int *
In file included from /usr/include/features.h:510,
                 from /usr/include/hppa-linux-gnu/sys/types.h:25,
                 from zmsend.c:1:
/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);

Full log:
https://buildd.debian.org/status/fetch.php?pkg=ifmail&arch=hppa&ver=2.14tx8.10-30&stamp=1736100342&raw=0

The variables startime and endtime have wrong type (long).  Type
should be time_t.

The attached patch fixes the build on hppa.

Regards,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.12.8-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--- ifcico/tcpproto.c.save      2025-01-06 17:02:12.000000000 -0500
+++ ifcico/tcpproto.c   2025-01-06 17:17:47.863715417 -0500
@@ -31,7 +31,7 @@
 static char txbuf[2048];
 static char rxbuf[2048];
 static int rx_type;
-static long startime,endtime;
+static time_t startime,endtime;
 static off_t rxbytes,sbytes;
 
 static int sendfile(char *,char *);
--- ifcico/zmsend.c.save        2025-01-06 17:02:12.000000000 -0500
+++ ifcico/zmsend.c     2025-01-06 17:14:28.410269745 -0500
@@ -47,7 +47,7 @@
 static int Lzconv=0;
 static int Beenhereb4;
 static char Myattn[]={0};
-static long startime,endtime;
+static time_t startime,endtime;
 static long skipsize;
 #if 1
 static char *qbf=

--- End Message ---
--- Begin Message ---
Source: ifmail
Source-Version: 2.14tx8.10-31
Done: Marco d'Itri <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ifmail, 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.
Marco d'Itri <[email protected]> (supplier of updated ifmail 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: Tue, 14 Jan 2025 00:15:13 +0100
Source: ifmail
Architecture: source
Version: 2.14tx8.10-31
Distribution: unstable
Urgency: medium
Maintainer: Marco d'Itri <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Closes: 1092292
Changes:
 ifmail (2.14tx8.10-31) unstable; urgency=medium
 .
   * Updated patch fix_lfs to also fix time64-related breakage.
     (Closes: #1092292)
Checksums-Sha1:
 38a2bf35ac5f539f4524b1de1d53037d8e55081c 1334 ifmail_2.14tx8.10-31.dsc
 ce530d9ac34dd949302e0bf5e9ac6f34fd3705fd 41872 
ifmail_2.14tx8.10-31.debian.tar.xz
 1287d655bd53652e7cc746fe1f1fe63d9f1bb2db 6582 
ifmail_2.14tx8.10-31_amd64.buildinfo
Checksums-Sha256:
 d3dd052ee00746dd650fef95b5f9ca1ce5a3546d9e9ea4aa0462a2189788c1af 1334 
ifmail_2.14tx8.10-31.dsc
 9163c97df5b451e33b650883853cbedd3731c60145234ce5d010a693d16bb47c 41872 
ifmail_2.14tx8.10-31.debian.tar.xz
 cd3219ee3fbbd42515b6e3bd5298f9e02cec1cf73bf45cf82717812b1312e0ae 6582 
ifmail_2.14tx8.10-31_amd64.buildinfo
Files:
 dfdf081d5ccdb83af363face1713c3e8 1334 comm optional ifmail_2.14tx8.10-31.dsc
 064455d5a004867c038b3b08faf856e6 41872 comm optional 
ifmail_2.14tx8.10-31.debian.tar.xz
 a47afab2ec2cf80a27faa4c4122a8638 6582 comm optional 
ifmail_2.14tx8.10-31_amd64.buildinfo

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

iHUEARYKAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCZ4Wg/QAKCRDLPsM64d7X
gdd0AP4gZuRzZqW5y0eCIaYg0SWcjsB7uYtUlKQ701dpuERBcwD+PzGIrG23zs7C
zuCtGHVO54Utr+wK1Cnkrhmi64gYagA=
=i+Wu
-----END PGP SIGNATURE-----

Attachment: pgpo7XyW5wnah.pgp
Description: PGP signature


--- End Message ---

Reply via email to