Your message dated Mon, 26 Jan 2026 07:03:55 +0000
with message-id <[email protected]>
and subject line Bug#1126346: fixed in dcl 7.5.2-4
has caused the Debian Bug report #1126346,
regarding dcl FTBFS on 32-bit with 64-bit time_t
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.)


-- 
1126346: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126346
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dcl
Version: 7.5.2-3
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/logs.php?pkg=dcl&ver=7.5.2-3

...
dateq3.c: In function ‘dateq3_’:
dateq3.c:20:10: error: passing argument 1 of ‘time’ from incompatible pointer 
type [-Wincompatible-pointer-types]
   20 |     time(&tp);
      |          ^~~
      |          |
      |          long int *
In file included from /usr/include/features.h:523,
                 from /usr/include/time.h:25,
                 from dateq3.c:8:
/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);
      |               ^~~~~~~~~~~~~~
dateq3.c:21:21: error: passing argument 1 of ‘localtime’ from incompatible 
pointer type [-Wincompatible-pointer-types]
   21 |     lt = *localtime(&tp);
      |                     ^~~
      |                     |
      |                     long int *
/usr/include/time.h:141:19: note: expected ‘const time_t *’ {aka ‘const long 
long int *’} but argument is of type ‘long int *’
  141 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
      |                   ^~~~~~~~~~~~~~
make[4]: *** [../../../Mkinclude:20: dateq3.o] Error 1
...
timeq3.c: In function ‘timeq3_’:
timeq3.c:20:10: error: passing argument 1 of ‘time’ from incompatible pointer 
type [-Wincompatible-pointer-types]
   20 |     time(&tp);
      |          ^~~
      |          |
      |          long int *
In file included from /usr/include/features.h:523,
                 from /usr/include/time.h:25,
                 from timeq3.c:8:
/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);
      |               ^~~~~~~~~~~~~~
timeq3.c:21:21: error: passing argument 1 of ‘localtime’ from incompatible 
pointer type [-Wincompatible-pointer-types]
   21 |     lt = *localtime(&tp);
      |                     ^~~
      |                     |
      |                     long int *
/usr/include/time.h:141:19: note: expected ‘const time_t *’ {aka ‘const long 
long int *’} but argument is of type ‘long int *’
  141 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
      |                   ^~~~~~~~~~~~~~
make[4]: *** [../../../Mkinclude:20: timeq3.o] Error 1
...



A fix is attached.
From: Adrian Bunk <[email protected]>
Date: Jan, 24 2026 15:08:42 +0000
Subject: Fix FTBFS with GCC 15 on 32-bit with 64-bit time_t

--- dcl-7.5.2.orig/src/misc1/datelib/dateq3.c
+++ dcl-7.5.2/src/misc1/datelib/dateq3.c
@@ -14,7 +14,7 @@ void dateq3_(DCL_INT *iy, DCL_INT *im, D
 void DATEQ3(DCL_INT *iy, DCL_INT *im, DCL_INT *id)
 #endif
 {
-    long tp;
+    time_t tp;
     struct tm lt;
 
     time(&tp);
--- dcl-7.5.2.orig/src/misc1/timelib/timeq3.c
+++ dcl-7.5.2/src/misc1/timelib/timeq3.c
@@ -14,7 +14,7 @@ void timeq3_(DCL_INT *ih, DCL_INT *im, D
 void TIMEQ3(DCL_INT *ih, DCL_INT *im, DCL_INT *is)
 #endif
 {
-    long tp;
+    time_t tp;
     struct tm lt;
 
     time(&tp);

--- End Message ---
--- Begin Message ---
Source: dcl
Source-Version: 7.5.2-4
Done: Youhei SASAKI <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dcl, 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.
Youhei SASAKI <[email protected]> (supplier of updated dcl 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: Mon, 26 Jan 2026 10:50:57 +0900
Source: dcl
Architecture: source
Version: 7.5.2-4
Distribution: unstable
Urgency: medium
Maintainer: Youhei SASAKI <[email protected]>
Changed-By: Youhei SASAKI <[email protected]>
Closes: 1126346
Changes:
 dcl (7.5.2-4) unstable; urgency=medium
 .
   * Add patch: Fix Uninitialized Array for ReproTest
   * Fix FTBFS: use 64-bit time_t (Closes: #1126346)
   * Refresh patch: Fix gcc-15 compatibility
Checksums-Sha1:
 b498822f422a30ab60c7e3a636a7e40deac03c9f 2101 dcl_7.5.2-4.dsc
 6aa8f6b73f34f35f1aea995de0e07a7fd8a4eebc 22184 dcl_7.5.2-4.debian.tar.xz
 51ec947c889700c47b2f422f95bb79f5ccdd6daf 16674 dcl_7.5.2-4_amd64.buildinfo
Checksums-Sha256:
 2ea22b326ae8e560d6c198ee8b8c5ec5bbbe81e6c6e013fef3782c15eda16b3a 2101 
dcl_7.5.2-4.dsc
 83825b95aeb3e5c5aa60c97c3b9817eefdd999301c5788781e2155673f6ae2ae 22184 
dcl_7.5.2-4.debian.tar.xz
 faf31e7d05bcee35a460f6d3c5aa8b1c497fb8e9676bcecad15e72412a4a6477 16674 
dcl_7.5.2-4_amd64.buildinfo
Files:
 d0e7b0c53e667891a60edc796d628cc3 2101 science optional dcl_7.5.2-4.dsc
 c0fb1e0d8c9835fc98eb13a6ce33be52 22184 science optional 
dcl_7.5.2-4.debian.tar.xz
 0bc4ee0fe868df5cd665b6c4a19d544b 16674 science optional 
dcl_7.5.2-4_amd64.buildinfo

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

iQIzBAEBCgAdFiEEZqTqcE/iQFWNasLmk5TzVIkdfgcFAml3CxMACgkQk5TzVIkd
fgde0A//ZFfui7c1+3Ns+DydwZxmIPid4Phzz2tZ8qtYYpmHCfXkICgqg81Epdzb
+UlB97iHyqYKYFWluPW3l8AP8WIChc2jKFeN0N4bmKZiJ2OlNfmdmODck0BMq2Wy
nbSH+K9NyJANnFjhXRXWXs2Kj61IowKMPguKPWspi+0BSg3rKkNg1Eigtmnptle8
qwJVCGMai5nb7fS9lqCCik4zObgeGoxZXGj2SQHxToYKZNMAMQZ1Poy47L8NG4TE
AB5zUJrjaNEqyKqE4qmz1cTk+iluBPO6sqpURYokOFUKEAwCq1aOhL2WeG0nDDik
/p9nbtzXLqDpXaMU1BtX3WsenD5wch4S7VVG373t8doxkylQLtjxa0pG3eQ4LMgp
kBW3qpN5xsZdRLtSK2MNNjyvSXyjW3UqkngOZp/t1SQBXTeesHFvHSt7bqxgSoJb
H0P59AbAHkCigVBnjZk+GFCRyThwMp4t0bcpse9O7aySWfZKvjIsET7cCVuQxPUX
h4mi4ycaGy0UwOGSxqY9ydmpnhaeeWg8YWT5jg1xaLBqeDzvYx+ZuTqgmb8fQH5Q
e8Swq1NGCfgQLcMwfTKKmQ/EX/8vRzaOHQ2/mnhRLgM3cIkzWuWPq9k9dCbfZ6U3
gmZZHnN7nzMAnNdT4+5qeRYTDX5QTygW4mt7/w4Q2VHP0zEUwMw=
=2gwl
-----END PGP SIGNATURE-----

Attachment: pgpOVq514BDfD.pgp
Description: PGP signature


--- End Message ---

Reply via email to