[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#834767: marked as done (apt: no longer built with LFS on i386)



Your message dated Tue, 30 Aug 2016 22:22:29 +0000
with message-id <E1berQL-00039Y-Ko@franck.debian.org>
and subject line Bug#834767: fixed in apt 1.3~rc3
has caused the Debian Bug report #834767,
regarding apt: no longer built with LFS on 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 owner@bugs.debian.org
immediately.)


-- 
834767: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834767
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.3~rc2
Severity: important
Tags: lfs

apt on i386 (and maybe other 32 bit architectures) is no longer built with LFS
support. Hence installing packages is no longer possible if
/var/cache/apt/archives is on a large partition:

$ apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libusb-0.1-4
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  dirmngr gnupg-agent gnupg-l10n libassuan0 libffi6 libgnutls30 libhogweed4 libidn11 libksba8 libldap-2.4-2 libnettle6 libnpth0 libp11-kit0 libsasl2-2
  libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.0.2 libtasn1-6 pinentry-curses
The following packages will be upgraded:
  apt base-passwd binutils bsdutils cpp-6 g++-6 gcc-6 gcc-6-base gnupg gpgv libapt-pkg5.0 libasan3 libatomic1 libaudit-common libaudit1 libblkid1 libcc1-0
  libcilkrts5 libfdisk1 libgcc-6-dev libgcc1 libgcrypt20 libgomp1 libitm1 libmount1 libmpx2 libquadmath0 libsmartcols1 libstdc++-6-dev libstdc++6 libsystemd0
  libubsan0 libudev1 libuuid1 mount util-linux
36 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 112 MB of archives.
After this operation, 15.9 MB of additional disk space will be used.
W: Couldn't determine free space in /var/cache/apt/archives/ - statvfs (75: Value too large for defined data type)
E: Handler silently failed

The failure is consistent with a program calling statvfs once built with LFS and
once without:

$ cat test.c
#include <stdio.h>
#include <sys/statvfs.h>

int main(int argc, char* argv[])
{
  struct statvfs vfs;
  if (statvfs(argv[1], &vfs) == -1) {
    perror("statvfs");
    return -1;
  }
  printf("f_bsize (block size): %lu\n"
         "f_frsize (fragment size): %lu\n"
         "f_blocks (size of fs in f_frsize units): %lu\n"
         "f_bfree (free blocks): %lu\n"
         "f_bavail free blocks for unprivileged users): %lu\n"
         "f_files (inodes): %lu\n"
         "f_ffree (free inodes): %lu\n"
         "f_favail (free inodes for unprivileged users): %lu\n"
         "f_fsid (file system ID): %lu\n"
         "f_flag (mount flags): %lu\n"
         "f_namemax (maximum filename length)%lu\n",
         vfs.f_bsize, vfs.f_frsize, vfs.f_blocks, vfs.f_bfree, vfs.f_bavail,
         vfs.f_files, vfs.f_ffree, vfs.f_favail, vfs.f_fsid, vfs.f_flag,
         vfs.f_namemax);

  return 0;
}

$ gcc test.c -o no-lfs
$ gcc $(getconf LFS_CFLAGS) test.c -o lfs

# with LFS
$ ./lfs /var/cache/apt/archives/
f_bsize (block size): 131072
f_frsize (fragment size): 131072
f_blocks (size of fs in f_frsize units): 22620775
f_bfree (free blocks): 0
f_bavail free blocks for unprivileged users): 22616737
f_files (inodes): 0
f_ffree (free inodes): 22616737
f_favail (free inodes for unprivileged users): 0
f_fsid (file system ID): 1494930212
f_flag (mount flags): 1
f_namemax (maximum filename length)1494917568

# no without LFS
$ ./no-lfs /var/cache/apt/archives/
statvfs: Value too large for defined data type

Cheers

(System information below is from my amd64 system since it's a bit cumbersome to
track down all reportbug dependencies by hand.)

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (650, 'unstable-debug'), (650, 'buildd-unstable'), (650, 'unstable'), (601, 'testing'), (600, 'experimental-debug'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt depends on:
ii  adduser                 3.115
ii  debian-archive-keyring  2014.3
ii  gpgv                    2.1.14-5
ii  init-system-helpers     1.42
ii  libapt-pkg5.0           1.3~rc2
ii  libc6                   2.23-4
ii  libgcc1                 1:6.1.1-12
ii  libstdc++6              6.1.1-12

Versions of packages apt recommends:
ii  gnupg2  2.1.11-7

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.3-1
ii  dpkg-dev        1.18.10
ii  powermgmt-base  1.31+nmu1
ii  python-apt      1.1.0~beta4

-- no debconf information

-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.3~rc3

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 834767@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 30 Aug 2016 22:20:28 +0200
Source: apt
Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source
Version: 1.3~rc3
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@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-inst2.0 - 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-pkg5.0 - package management runtime library
Closes: 834767 834973 835094 835195 835818
Changes:
 apt (1.3~rc3) unstable; urgency=medium
 .
   [ Julian Andres Klode ]
   * Ignore SIGINT and SIGQUIT for Pre-Install hooks
     This basically fixes Bug #832593, as long as your /bin/sh
     is not dash, as dash is evil.
   * prepare-release: Use equivs and gdebi-core for travis deps
   * install-progress: Call the real ::fork() in our fork() method
   * Packaging cleanup:
     - debian: Install etc/apt if present (e.g., on Ubuntu)
     - tests/control: Handle the gpg1/gpg2 mess a bit better
     - debian: Make better use of the tree installed by CMake
     - debian: Switch to debhelper 10
     - debian: Add more lintian overrides
     - debian: Drop outdated stuff
     - debian: Run wrap-and-sort
     - Add new symbols to symbols file
   * Build system fixes, including:
    - CMake: Translations: Don't rebuild .mo for line number changes
    - CMake: Translations: Pass --previous to msgmerge.
      Thanks to Guillem Jover for the suggestion.
    - CMake: Do not add po/ if USE_NLS is OFF
    - CMake: Install config and logging directories
    - CMake: Translations: Build byproduct before output
    - CMake: Add Large File Support (Closes: #834767)
   * Several portability fixes (full test suite passes on FreeBSD), including:
    - CMake: Discover docbook stylesheet in other locations
    - Add missing includes and external definitions
    - Use C locale instead of C.UTF-8 for protocol strings
    - Make directory paths configurable
    - Lower-case uname -r output in kernel autoremove helper
    - Make root group configurable via ROOT_GROUP
   * Accept --autoremove as alias for --auto-remove
   * apt-inst: debfile: Pass comp. Name to ExtractTar, not Binary
   * changelog: Respect Dir setting for local changelog getting
   * init: Add Dir::Bin::planners default entry
   * Switch documentation from httpredir.d.o to deb.d.o
 .
   [ Zhou Mo ]
   * zh_CN.po: update simplified Chinese translation
 .
   [ David Kalnischkies ]
   * do dpkg --configure before --remove/--purge --pending (Closes: 835094)
   * prevent C++ locale number formatting in text APIs (try 3) (LP: 1611010)
   * do fail on weakhash/loop earlier in acquire (Closes: 835195)
   * do not restore selections for already purged packages
   * apt-key: warn instead of fail on unreadable keyrings
   * show apt-key warnings in apt update (Closes: 834973)
   * treat .ddeb files like .deb, especially for dpkg (LP: #1616909)
   * randomize acquire order for same type index files
   * don't loop on pinning pkgs from absolute debs by regex (Closes: 835818)
Checksums-Sha1:
 acecff740b990be937f2e7424e56d7c5b3c67199 2504 apt_1.3~rc3.dsc
 f1cefd8a56d25e03aafaf011e4d21a854866d8f6 2039444 apt_1.3~rc3.tar.xz
Checksums-Sha256:
 6f012892b5f68f5f3e6b4448e46a327f1e0fdda8084d25912fbb71a386998edc 2504 apt_1.3~rc3.dsc
 7dcb942027d29aa6dfdab195b6c1754c564b839d4e5b43756258692a51a9fa8a 2039444 apt_1.3~rc3.tar.xz
Files:
 c9cf02f73a35e3950b8cbe059ca203e6 2504 admin important apt_1.3~rc3.dsc
 a3f91993c6d5198e99910893b7f8b337 2039444 admin important apt_1.3~rc3.tar.xz

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

iQIsBAEBCgAWBQJXxerhDxxqYWtAZGViaWFuLm9yZwAKCRDXPDnlZYCzhqboEACV
qrJDv8SqCDU8HxlJGhPsBIrfOC5+qIErSRNcsTwihxd7ravPyIv7t7EvhbYnRowf
DWThAqj9YoUlmrMZ01PKX5HlLUbriKchbEo63KfLrfuUITy3rTFlNn5ELjM+dBIB
zD0b2cXzkfhOAYER5vOyEIWxIelIsAFIzRcKxH4NqkKmKXxMsYSK9WBzlqCpaeL1
clw+jYw9ZtcKzPE9ar299eDY7c/wTnKNC7ueC5potsXTeHKfhlcemSEOiEClATmE
K++tYwbuamiRnBDVQamOGJBvFunsdkZ4fvb8+kJwjf3ms7BzZTXhxo1wDBNyGGtV
5MERHGPdmIzJVUioUoJQFBrp3GhtutpxIy6QSONAtzrSvYgrL1xmCquM8K7Q6ls1
WHYsqDtRe+reQZmnxLUO+CcyKQgNd3WcWt8joK7XYu92/tW+19npbk/oEW4GLsyN
lktUx+tM1bIHt1VgcliSMjZvA4YdrEHOxr7ESxYSqlFFw1EHtiSkq7qh2pjUibol
MrpLEl+w0OrDOdn1LEdXjc6R8Tx6M/x8dGIB27blqMN5F/Ri7EZDWU6Xv/FcMo85
Bub3B/eU7FMqAAgkQ9ZySoYNFRwSxchKyLyDNMC4v1HtT3nxXuam6Zw8GBe61eUr
Nu+YtzfpNp5sBvJzU9aUnmSL5QVYsGn970dvrQAN9g==
=FwXw
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: