Your message dated Tue, 14 Jul 2020 10:03:27 +0000
with message-id <e1jvhmz-0005vx...@fasolo.debian.org>
and subject line Bug#964227: fixed in datefudge 1.24
has caused the Debian Bug report #964227,
regarding datefudge: FTBFS with glibc 2.31 (conflicting gettimeofday prototype)
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.)
--
964227: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964227
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: datefudge
Version: 1.23
Severity: important
Tags: patch upstream
datefudge fails to build from source with glibc 2.31
| gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Wextra -D_REENTRANT -fpic -c -o datefudge.o
datefudge.c
| sed -e 's,@VERSION@,1.23,g; s,@MULTIARCH_PATTERN@,/*-*,g;
s,@LIBDIR@,/usr/lib,g;' \
| < datefudge.man > datefudge.1
| datefudge.c:81:5: error: conflicting types for ‘gettimeofday’
| 81 | int gettimeofday(struct timeval *x, struct timezone *y) {
| | ^~~~~~~~~~~~
| In file included from datefudge.c:21:
| /usr/include/x86_64-linux-gnu/sys/time.h:66:12: note: previous declaration of
‘gettimeofday’ was here
| 66 | extern int gettimeofday (struct timeval *__restrict __tv,
| | ^~~~~~~~~~~~
| make[1]: *** [Makefile:40: datefudge.o] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true"
returned exit code 2
| make: *** [debian/rules:16: binary] Error 25
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
2
The full build log is available there:
http://qa-logs.debian.net/2020/06/24/datefudge_1.23_unstable_glibc-exp.log
The support for timezones in gettimeofday has been removed in glibc
2.31. As a result the second argument of the gettimeofday prototype has
been changed from struct timezone * to void *. The same change needs to
be done in datefudge.
You will find attached a patch fixing that. It would be nice if it can
be fixed relatively soon so that we can start the transition.
Regards,
Aurelien
diff -Nru datefudge-1.23/datefudge.c datefudge-1.23/datefudge.c
--- datefudge-1.23/datefudge.c 2019-08-02 18:09:51.000000000 +0000
+++ datefudge-1.23/datefudge.c 2020-07-03 20:49:48.000000000 +0000
@@ -66,8 +66,8 @@
#endif
-int __gettimeofday(struct timeval *x, struct timezone *y) {
- static int (*libc_gettimeofday)(struct timeval *, struct timezone *) =
NULL;
+int __gettimeofday(struct timeval *x, void *y) {
+ static int (*libc_gettimeofday)(struct timeval *, void *) = NULL;
int res;
if(!libc_gettimeofday)
@@ -78,7 +78,7 @@
return 0;
}
-int gettimeofday(struct timeval *x, struct timezone *y) {
+int gettimeofday(struct timeval *x, void *y) {
return __gettimeofday(x,y);
}
--- End Message ---
--- Begin Message ---
Source: datefudge
Source-Version: 1.24
Done: Robert Luberda <rob...@debian.org>
We believe that the bug you reported is fixed in the latest version of
datefudge, 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 964...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Robert Luberda <rob...@debian.org> (supplier of updated datefudge 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: SHA256
Format: 1.8
Date: Tue, 14 Jul 2020 11:11:48 +0200
Source: datefudge
Architecture: source
Version: 1.24
Distribution: unstable
Urgency: medium
Maintainer: Robert Luberda <rob...@debian.org>
Changed-By: Robert Luberda <rob...@debian.org>
Closes: 945599 964227
Changes:
datefudge (1.24) unstable; urgency=medium
.
[ Debian Janitor ]
* Update standards version to 4.4.1, no changes needed.
* Set debhelper-compat version in Build-Depends.
* Fix day-of-week for changelog entries 1.12, 1.11, 1.10, 1.9, 1.8,
1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0.
.
[ Robert Luberda ]
* Fix FTBFS on hurd-i386: Necessary functions disabled (closes: #945599).
Thanks to Paul Sonnenschein for the patch.
* Fix FTBFS with glibc 2.31 (conflicting gettimeofday prototype) (closes:
#964227). Thanks to Aurelien Jarno for the patch.
* Bump debhelper's compact level to 13.
* Standards-Version: 4.5.0.
Checksums-Sha1:
c835f640c884d60adb8fb7673e38273033beb062 1572 datefudge_1.24.dsc
40a47b67a116cb886755536d05374e7c963b616f 14152 datefudge_1.24.tar.xz
b393bdcc2d1df289d4052edb917cfcca0fd9079e 5833 datefudge_1.24_amd64.buildinfo
Checksums-Sha256:
452581e5b7a61ab80a45a7dae1b8d44c13f443a3dea5cfedb227f1cecb4e09d8 1572
datefudge_1.24.dsc
80efab249232deeb142bf8a0ec66f2cf596c45560e4fdd28f3b5bdd290ac0385 14152
datefudge_1.24.tar.xz
eec62b0538de15d0d6df2bd0af33a35086227e8653be5583362f636e4aaaff37 5833
datefudge_1.24_amd64.buildinfo
Files:
632e3fcb018fd0b838d96fc49888f84a 1572 devel optional datefudge_1.24.dsc
b8c03f4b0c0b7efab35c46e71ef6de4e 14152 devel optional datefudge_1.24.tar.xz
62b72646ce3852f36a47cdd41a5767cd 5833 devel optional
datefudge_1.24_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENeh2+rTTcy6TtNI3Yx3nVTvor9QFAl8NdxEACgkQYx3nVTvo
r9Q8YBAArGZyYZWPPv1W6s8WG+RTjNpftrYuKCPaH7ZAaSAdptYp7vlKT50XxIEF
y5WslqPIwpTaFHC3CefFbBQQFETDegfPNy7ye8QNO75r2jZhE9WvcNbq8HrXl+bU
i3YdIAECC2v5KNl3T0/8fp1OboNoMOWVYKW++7bdqsWqrHtkhMEk6qKtz6UAEnaL
Fox0dBqdM0ejQF5UuwoX/wBpbj/rmXDMfKyW+A02K79GTrztFZPEwV0JDsXqHeAL
JDPYyU9hmNPMjy6zxpIPiXR1oJLyR3AAWgoxPb0jjrGxmhOBsqnUJ/L61N4E79K8
W3vL2feIC9QyTKCtb8GJMS7/U+Zb2XC6j3O9Nsd4lIB+kYGLSFLhm+GWLMQq4vg+
iPlXgyKtlwXTOj3kAanpiwKe2pnwhIMyNWYUB6ZU8wHvOrskAAgws1UmfqnCKL0X
JHTZ/lyN+A7uUwa81AvPocmKIIILCzRRrOtvpUOYoONKFtB3h+k2X5w6CKUVSF4V
VvbjwHD/NTMCoDkMOXrLyzbm1WKsxcG0Go8Bv072lCos2PQ8UBwetcQdcqOWY8rJ
ulfDV3hTUSv5eBDWlo22NWjf7jIY+IPqTVmOB6oqyb1Wo6rABR3zovm8qFHZdEfT
bh0TnDcOO8cAU/OGDxbPCAuPZUdW4wugpvrT+Dt/WKvAItSLcNE=
=tiBL
-----END PGP SIGNATURE-----
--- End Message ---