Bug#808457: pbuilder: automatically avoid hardlinks or stop after one ln error

Gioele Barabucci gioele at svario.it
Sun Dec 20 10:42:15 UTC 2015


Package: pbuilder
Version: 0.221.3
Severity: wishlist

Dear Maintainer,

pbuilder will generate thousands of "ln: Invalid cross-device link"
errors when the base image and the build place are in two different
devices.

The documentation says that the solution to this problem is to set
`APTCACHEHARDLINK=no` in pbuilderrc.

It would be nice and (very helpful to new users of pbuilder) if pbuilder
automatically detected that it cannot use hardlinks and switched to
`APTCACHEHARDLINK=no`, warning the user about the occurred problem but
going forward in the building process.

Alternatively pbuilder could stop after the first error. There is no
need to spam the console with thousands of errors. After the first error
pbuilder already know that the setup of the chroot will fail.

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

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

Versions of packages pbuilder depends on:
ii  debconf [debconf-2.0]  1.5.58
ii  debootstrap            1.0.75
ii  dpkg-dev               1.18.3
ii  wget                   1.17.1-1

Versions of packages pbuilder recommends:
ii  devscripts  2.15.9
ii  fakeroot    1.20.2-1
ii  iproute2    4.3.0-1
ii  net-tools   1.60+git20150829.73cef8a-2
ii  sudo        1.8.12-1

Versions of packages pbuilder suggests:
ii  cowdancer   0.76
pn  gdebi-core  <none>

-- debconf information excluded



More information about the Pbuilder-maint mailing list