Your message dated Mon, 05 May 2014 15:34:33 +0000
with message-id <e1whkux-0007fb...@franck.debian.org>
and subject line Bug#745866: fixed in apt 1.0.3
has caused the Debian Bug report #745866,
regarding FileFd::Size failure on all big-endian architectures (patch attached)
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.)
--
745866: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745866
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.0.2
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu utopic ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* apt-pkg/contrib/fileutl.cc: When checking gzip filesizes, cast
size to uint32_t before setting it, so we don't end up playing
with the wrong half of a uint64_t on big-endian architectures.
This patch should be fairly self-explanatory for people who grok
binary math and endian flips. Fixes the FTBFS on big-endian arches.
... Adam
-- System Information:
Debian Release: jessie/sid
APT prefers utopic-updates
APT policy: (500, 'utopic-updates'), (500, 'utopic-security'), (500, 'utopic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru apt-1.0.2ubuntu1/apt-pkg/contrib/fileutl.cc apt-1.0.2ubuntu2/apt-pkg/contrib/fileutl.cc
--- apt-1.0.2ubuntu1/apt-pkg/contrib/fileutl.cc 2014-04-25 05:49:56.000000000 -0600
+++ apt-1.0.2ubuntu2/apt-pkg/contrib/fileutl.cc 2014-04-25 19:34:00.000000000 -0600
@@ -1880,7 +1880,7 @@
FileFdErrno("lseek","Unable to seek to end of gzipped file");
return 0;
}
- size = 0;
+ uint32_t size = 0;
if (read(iFd, &size, 4) != 4)
{
FileFdErrno("read","Unable to read original size of gzipped file");
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.0.3
We believe that the bug you reported is fixed in the latest version of
apt, 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 745...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Vogt <m...@debian.org> (supplier of updated apt 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: SHA1
Format: 1.8
Date: Mon, 05 May 2014 14:03:15 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc
apt-utils apt-transport-https
Architecture: source all amd64
Version: 1.0.3
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <de...@lists.debian.org>
Changed-By: Michael Vogt <m...@debian.org>
Description:
apt - commandline package manager
apt-doc - documentation for APT
apt-transport-https - https download transport for APT
apt-utils - package management related utility programs
libapt-inst1.5 - deb package format runtime library
libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - documentation for APT development
libapt-pkg4.12 - package management runtime library
Closes: 743595 744940 745866 746434
Changes:
apt (1.0.3) unstable; urgency=medium
.
[ Michael Vogt ]
* reduce delta to ubuntu
* provide support for vendor specific config files
* debian/apt-doc.docs: remove README.MultiArch
* Fix missing ScreenWidth check in apt.cc
* Only do openpty() if both stdin/stdout are terminals (Closes: 746434)
.
[ David Kalnischkies ]
* add a README for vendor information
* remove outdated README.MultiArch
* build http request in a stringstream
* enforce LFS for partial files in https range requests
* handle pkgnames shorter than modifiers (Closes: 744940)
* allow vendors to install configuration files
.
[ John Ogness ]
* properly undo CD-ROM mount in all error cases
.
[ Mahyuddin Ramli ]
* add vendor information for BlankOn (Closes: 743595)
.
[ Adam Conrad ]
* fix FileFd::Size bitswap on big-endian architectures (Closes: 745866)
.
[ Trần Ngọc Quân ]
* l10n: vi.po: Update one new string
Checksums-Sha1:
8d9a064d2d7891b89c5f9cc4d4e2556648f3f42b 1720 apt_1.0.3.dsc
e5f54ecba688f772cbc59ce8693dffdd77a20793 1764368 apt_1.0.3.tar.xz
40daacec8379ca2ce8efad05da1fc44edc556fa2 270834 apt-doc_1.0.3_all.deb
f528ffdc0fa79f7aaadf20ff896683fc269204f6 770610 libapt-pkg-doc_1.0.3_all.deb
3be929ba6b62730b8c7a3e219627a707daa9479f 747166 libapt-pkg4.12_1.0.3_amd64.deb
2456e0f6b677309dffa0e4ad79611928e358d213 163960 libapt-inst1.5_1.0.3_amd64.deb
472bfef9c1024a30a6e99a53a844eb98add5a843 1058132 apt_1.0.3_amd64.deb
070462b88e0e70c0b2a3e9be5ba92e965a1bbb16 188286 libapt-pkg-dev_1.0.3_amd64.deb
44c7b110958ab4b3213c4591a80d2292f9f41592 350998 apt-utils_1.0.3_amd64.deb
4704a14aafbc495e00f6c5b324c523198bfc4ec6 130802
apt-transport-https_1.0.3_amd64.deb
Checksums-Sha256:
484e761eb8b6f0756f34955acd96cd42e1a42a91836f7b2353166f1ae09941f2 1720
apt_1.0.3.dsc
2b27e33d550dae8c850c53d3193c948c0497dc0cb9c2e4ceb5a0a3f170098778 1764368
apt_1.0.3.tar.xz
a792444ad7606780c4a5acb8a1152f5979793fff85ba645e2d4ae546fa94229d 270834
apt-doc_1.0.3_all.deb
c47f93c24d5e9dbed1a057b3e19099b3ca78bce1d6f1425fa0c512d651c96827 770610
libapt-pkg-doc_1.0.3_all.deb
6a5f79c7ae7c9c4cd29b9640c937683046761679d8d84cf1d551ad9c667642ea 747166
libapt-pkg4.12_1.0.3_amd64.deb
8d2e73058e4286ce2f0564e3eeda82af0062ed0ddf7cf2c8cb8d4810f06d7126 163960
libapt-inst1.5_1.0.3_amd64.deb
515a904e333214a6dc1da4d1c8bc8a63e4ba6f79dcf359b70de956c11189937c 1058132
apt_1.0.3_amd64.deb
b024796502c74fc83029c9c088e18fdcbb670227e466b00a98f5523236d60345 188286
libapt-pkg-dev_1.0.3_amd64.deb
b1778d09d24ff6042fdb8986a55e043f2fee3eee9c37ed1f16498e890dec4c03 350998
apt-utils_1.0.3_amd64.deb
e44fa62e3a7a99ad9a15ac8fa617177fe709e0fa04aac2a455f17439667d5c93 130802
apt-transport-https_1.0.3_amd64.deb
Files:
5cf358038059361d5442fc2e31713056 270834 doc optional apt-doc_1.0.3_all.deb
cc3d00254cfd0d68c14c147f27cac5c6 770610 doc optional
libapt-pkg-doc_1.0.3_all.deb
4adfe98aec3287efd58c19c1780f7e40 747166 libs important
libapt-pkg4.12_1.0.3_amd64.deb
8c2051342840cd899a6dcfcc6013839d 163960 libs important
libapt-inst1.5_1.0.3_amd64.deb
72325aa37a732e8ea493a8eb6e5a935b 1058132 admin important apt_1.0.3_amd64.deb
0bcff7a5e67e941360b5b3c08300e9ad 188286 libdevel optional
libapt-pkg-dev_1.0.3_amd64.deb
4c7d779338c22cce5b89c3b5109442fb 350998 admin important
apt-utils_1.0.3_amd64.deb
9cff9b1e1bb05233dc06a9a21f806489 130802 admin optional
apt-transport-https_1.0.3_amd64.deb
4696413f0b9af8d163784ccc63ab6226 1720 admin important apt_1.0.3.dsc
ef218ee8dacbe73552de1acb6b2002d7 1764368 admin important apt_1.0.3.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlNnokIACgkQliSD4VZixzS9twCeNIBZcY+D4e4wCL3B/WWqZyRZ
X+sAmwY0Bbl4gIAyYyyR2xEEPgMJZUdZ
=2Cc+
-----END PGP SIGNATURE-----
--- End Message ---