Your message dated Thu, 24 May 2012 13:33:09 +0000
with message-id <[email protected]>
and subject line Bug#672690: fixed in libarchive 3.0.4-2
has caused the Debian Bug report #672690,
regarding libarchive: FTBFS on hurd-i386
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.)


-- 
672690: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672690
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libarchive
Version: 3.0.4-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-4.7

Hello,

libarchive currently FTBFS on hurd-i386, see 

https://buildd.debian.org/status/fetch.php?pkg=libarchive&arch=hurd-i386&ver=3.0.4-1%2Bb1&stamp=1336821322

This build was done with gcc-4.7, which is probably the "culprit", by
optimizing yet more. The issue is with the following piece of code:

        min_time = archive_entry_mtime(ae);
        assert(min_time <= 0);
        /* Simply asserting min_time - 1 > 0 breaks with some compiler 
optimizations. */
        t = min_time - 1;
        assert(t > 0);

This is supposed to check for overflowing when subtracting 1 from the
minimum time_t value.  Problem is: that is undefined in C, and the
compiler is thus allowed to do anything, including always raising the
assertion, since we have already checked that the integer is negative,
so subtracting 1 to it is not supposed to make it positive (again,
overflow is undefined).  Printing t, for instance, fixes the test, since
the compiler then actually computes t, but without it the assert always
gets triggered. I tried to reproduce it with i386, without success, but
anyway, the piece of code really has undefined behavior.

Samuel


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.4 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel Thibault <[email protected]>
<O> Ça peut être une madeleine à sous munitions (avec des composants,
par exemple)
 -+- #runtime -+-



--- End Message ---
--- Begin Message ---
Source: libarchive
Source-Version: 3.0.4-2

We believe that the bug you reported is fixed in the latest version of
libarchive, which is due to be installed in the Debian FTP archive:

bsdcpio_3.0.4-2_amd64.deb
  to main/liba/libarchive/bsdcpio_3.0.4-2_amd64.deb
bsdtar_3.0.4-2_amd64.deb
  to main/liba/libarchive/bsdtar_3.0.4-2_amd64.deb
libarchive-dev_3.0.4-2_amd64.deb
  to main/liba/libarchive/libarchive-dev_3.0.4-2_amd64.deb
libarchive12_3.0.4-2_amd64.deb
  to main/liba/libarchive/libarchive12_3.0.4-2_amd64.deb
libarchive_3.0.4-2.debian.tar.gz
  to main/liba/libarchive/libarchive_3.0.4-2.debian.tar.gz
libarchive_3.0.4-2.dsc
  to main/liba/libarchive/libarchive_3.0.4-2.dsc



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 Henriksson <[email protected]> (supplier of updated libarchive 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: SHA1

Format: 1.8
Date: Thu, 24 May 2012 14:49:41 +0200
Source: libarchive
Binary: libarchive-dev libarchive12 bsdtar bsdcpio
Architecture: source amd64
Version: 3.0.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Libarchive Maintainers <[email protected]>
Changed-By: Andreas Henriksson <[email protected]>
Description: 
 bsdcpio    - Implementation of the 'cpio' program from FreeBSD
 bsdtar     - Implementation of the 'tar' program from FreeBSD
 libarchive-dev - Multi-format archive and compression library (development 
files)
 libarchive12 - Multi-format archive and compression library (shared library)
Closes: 672690 674368
Changes: 
 libarchive (3.0.4-2) unstable; urgency=low
 .
   * Add debian/patches/gcc-4.7-fixes-from-upstream.patch
     (Closes: #674368, #672690)
Checksums-Sha1: 
 8a836a16a9e81a979a7e79f85ea0a10dc0fcfe26 1612 libarchive_3.0.4-2.dsc
 61c0432033571e15291c43cf08c84d9978e9091e 10185 libarchive_3.0.4-2.debian.tar.gz
 0e525220cb53bffd48d9c8e57b6ee9fd7543bcfa 471984 
libarchive-dev_3.0.4-2_amd64.deb
 eb568bd57d7b18ead6d4088b3e9e5c1ec9e2b554 303296 libarchive12_3.0.4-2_amd64.deb
 1c6364746c8b894ac2560f6c534ac78ec6800da1 54428 bsdtar_3.0.4-2_amd64.deb
 1d2bfeb8f5c3624850bed9ccb4d2ba9eac33a582 40882 bsdcpio_3.0.4-2_amd64.deb
Checksums-Sha256: 
 3af27d9330331d24a7a7312ad6390532f5f0397184d04b948d6c65b354395fc4 1612 
libarchive_3.0.4-2.dsc
 a0b367412bc1048e657f4cf44cddd43be712a5afcfe3cdbe3d948746622ac0a8 10185 
libarchive_3.0.4-2.debian.tar.gz
 714277cb1053a37431f8de00157e8574514665730520d28b169318741be2fa24 471984 
libarchive-dev_3.0.4-2_amd64.deb
 0b8ecc65f568dcfb974005558fc27b2ddecb928f9440517b79a8752573aab721 303296 
libarchive12_3.0.4-2_amd64.deb
 a21b24a4d8cb29ae8a5383c79c49bc5974827001a34e7da0d3cf51971dc17476 54428 
bsdtar_3.0.4-2_amd64.deb
 1d8c860f5c07d6d3b0a9a586444662debd18689da5ee3872fec1db617861ad37 40882 
bsdcpio_3.0.4-2_amd64.deb
Files: 
 55e65f6101e35fae69276678cd317bdc 1612 libs optional libarchive_3.0.4-2.dsc
 e265a6f1c003208ae9220d5cf36c6563 10185 libs optional 
libarchive_3.0.4-2.debian.tar.gz
 fccfb5b200ede93c2e0355fcde1d8c46 471984 libdevel optional 
libarchive-dev_3.0.4-2_amd64.deb
 2e6fee0023cd6c08334b91414acacfa7 303296 libs optional 
libarchive12_3.0.4-2_amd64.deb
 1915698d04fd9c1c76571c67cb371310 54428 utils optional bsdtar_3.0.4-2_amd64.deb
 bbd1454ad83d45a17c65aaec3c23cb6a 40882 utils optional bsdcpio_3.0.4-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk++N80ACgkQcgQ2cL3l8e5DDwCeL8gKGz/kKvaIqs2A6oAQKbIE
+kcAniOW54BW+G5l/8AjHbeIn3IXcOdJ
=Vnla
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to