Your message dated Sun, 06 Jul 2014 06:19:10 +0000
with message-id <[email protected]>
and subject line Bug#753896: fixed in findutils 4.4.2-9
has caused the Debian Bug report #753896,
regarding src:findutils: FTBFS on x32: gnulib wrongly assumes sizeof(time_t) <= 
sizeof(long)
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.)


-- 
753896: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753896
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:findutils
Version: 4.4.2-8
Severity: normal
Tags: patch
User: [email protected]
Usertags: rebootstrap

findutils currently FTBFS on x32. Relevant build log excerpt:

| x86_64-linux-gnux32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../intl 
-D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Werror=format-security -Wall -MT mktime.o -MD -MP -MF $depbase.Tpo -c 
-o mktime.o mktime.c &&\
| mv -f $depbase.Tpo $depbase.Po
| mktime.c: In function 'ydhms_diff':
| mktime.c:105:52: error: size of array 'a' is negative
|  #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
|                                                     ^
| mktime.c:168:3: note: in expansion of macro 'verify'
|    verify (long_int_year_and_yday_are_wide_enough,
|    ^
| Makefile:890: recipe for target 'mktime.o' failed
| make[5]: *** [mktime.o] Error 1

The compile-time assertion in question verifies that sizeof(time_t) <=
sizeof(long), which is wrong on x32. The issue is solved in a later
gnulib release. I am attaching a patch that updates mktime.c to a more
recent gnulib version, which fixes this issue.

Helmut
diff -Nru findutils-4.4.2/debian/changelog findutils-4.4.2/debian/changelog
--- findutils-4.4.2/debian/changelog    2014-04-20 19:34:33.000000000 +0200
+++ findutils-4.4.2/debian/changelog    2014-07-05 22:43:55.000000000 +0200
@@ -1,3 +1,10 @@
+findutils (4.4.2-8.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Update gnulib's mktime.c to fix FTBFS on x32. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 05 Jul 2014 22:43:30 +0200
+
 findutils (4.4.2-8) unstable; urgency=low
 
   * Point Vcs-* to GIT repository.
diff -Nru findutils-4.4.2/debian/clean findutils-4.4.2/debian/clean
--- findutils-4.4.2/debian/clean        2014-04-13 19:25:06.000000000 +0200
+++ findutils-4.4.2/debian/clean        2014-07-05 22:42:49.000000000 +0200
@@ -1,3 +1,5 @@
 doc/stamp-vti
 doc/version.texi
 gnulib/lib/getdate.c
+gnulib/lib/mktime.c
+gnulib/lib/mktime-internal.h
diff -Nru findutils-4.4.2/debian/control findutils-4.4.2/debian/control
--- findutils-4.4.2/debian/control      2014-04-20 19:21:09.000000000 +0200
+++ findutils-4.4.2/debian/control      2014-07-05 22:41:29.000000000 +0200
@@ -4,7 +4,7 @@
 Maintainer: Andreas Metzler <[email protected]>
 Uploaders: Chuan-kai Lin <[email protected]>
 Build-Depends: texinfo, debhelper (>= 9), autotools-dev, dejagnu,
- bison
+ bison, gnulib
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/pkg-findutils/pkg-findutils.git
 Vcs-Browser: 
http://anonscm.debian.org/gitweb/?p=pkg-findutils/pkg-findutils.git
diff -Nru findutils-4.4.2/debian/rules findutils-4.4.2/debian/rules
--- findutils-4.4.2/debian/rules        2014-04-13 19:25:06.000000000 +0200
+++ findutils-4.4.2/debian/rules        2014-07-05 22:43:27.000000000 +0200
@@ -27,6 +27,7 @@
 config.status: configure
        rm -vf build-aux/config.guess build-aux/config.sub
        ln -s /usr/share/misc/config.sub /usr/share/misc/config.guess build-aux/
+       cp /usr/share/gnulib/lib/mktime* gnulib/lib/
 
        dh_testdir
        # Configure the package.

--- End Message ---
--- Begin Message ---
Source: findutils
Source-Version: 4.4.2-9

We believe that the bug you reported is fixed in the latest version of
findutils, 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.
Andreas Metzler <[email protected]> (supplier of updated findutils 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: Sun, 06 Jul 2014 08:03:56 +0200
Source: findutils
Binary: findutils locate
Architecture: source i386
Version: 4.4.2-9
Distribution: unstable
Urgency: medium
Maintainer: Andreas Metzler <[email protected]>
Changed-By: Andreas Metzler <[email protected]>
Description:
 findutils  - utilities for finding files--find, xargs
 locate     - maintain and query an index of a directory tree
Closes: 753896
Changes:
 findutils (4.4.2-9) unstable; urgency=medium
 .
   * 22_gl_update_mktime.diff: Update mktime* from gnulib 20140202+stable-2 to
     fix a FTBFS on x32. (Thanks, Helmut Grohne) Closes: #753896
Checksums-Sha1:
 e2675cbd6e64d2de38b34c4b1493d294075e53dc 1996 findutils_4.4.2-9.dsc
 fe18d9d1bbe9e7eef86911f5461aafeb5fb6190d 27384 findutils_4.4.2-9.debian.tar.xz
 26f2ee2f1f18b5e32cd83186a134c70ab3d57c3f 453594 findutils_4.4.2-9_i386.deb
 d839a905c10df681ba82640fa7a63e232ad7ea66 146770 locate_4.4.2-9_i386.deb
Checksums-Sha256:
 0dd9d96af8260d2e81c5819d2e5536f95cb894e771c9adcab44ba70726adb13e 1996 
findutils_4.4.2-9.dsc
 8a9f5fb20c255b833994d7dfff1999b3f4f95dea6008495f2b0ef6c549d62c34 27384 
findutils_4.4.2-9.debian.tar.xz
 a26617ef398cc7ffee37374d834ca6511c5a9d0c630c255757cb4777e26270f7 453594 
findutils_4.4.2-9_i386.deb
 b77b998626ef0782ba3c67e68c406aabc89ae6936c6a808001b00ee50b0abb76 146770 
locate_4.4.2-9_i386.deb
Files:
 be3a925d259b112ff31885ce0649c29a 453594 utils required 
findutils_4.4.2-9_i386.deb
 f13636a1c3dc9e69fa1cc366f8ff0cd0 146770 utils optional locate_4.4.2-9_i386.deb
 faa756c7a845cc4de0f47824a71c551e 1996 utils required findutils_4.4.2-9.dsc
 f209d34902b0033db7033f86700350af 27384 utils required 
findutils_4.4.2-9.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJTuOeEAAoJEKVPAYVDghSEL4YQAIhtwdd2ktK85UvTkL3CfBHI
HdBa+G2yfrYCLTbfFydLLpHUd8NLyzT2vzeWxowY91Lp+F2eYb2q4TDvPcsO90Ko
rgKTIXKOrkmcST2XepWOG95PWcSfGajYZWy4UtsZIuuk78sP+7+YDaJLaaLJGd0X
HFWeD/Pct8EhjPOlr4K6baFLXtgR8uFiKfHcxAFF/Is+7Z/nLCruyGP1mufkCv04
FKnU9JQG6OZgjIlV+IPiiimjwB2Q7uxRHXAb2xJFnKBhSHuz7sV3zjKruR5QTTOc
55gMwGYYjlbMzP4LJIZ0GgPBvf+AjwJDPN52JuHqBBZCFGNSX6tQK10VErKZX/Zt
jCUqRuwkRop8tqL6KHFMEX8uLoGP2FNWObc2/vpzGLw7kDfV+tQuwCkkc+tk6jei
NjBBxM3wjeiddFNUOz6MM8wXiazi85wX6uZEj/gxKdhby6H8w77XdEN2uCA6nP9Y
JLeAAOs/hbcRpApAdjwMR6j8u7p2N16jbR8GGqno4SuSsMEjcpsNZgFKe7aZHRQg
eRDTjK3ApSLcT0/XZowUUaXI24OL5WhnaKHotb7Zlcth4xAQ58sNi64wVVIvRhq2
iM680kdnTdm1BqTYbo+ox5MxGZzY16/gd3tto5ObKchxyyVMvHN6IlHgwFfioKN0
OAK8ejE8Ou64QEzrnEOR
=pRqG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to