Package: ubuntu-dev-tools Version: 0.165 Severity: important File: /usr/bin/pbuilder-dist
Dear Maintainer, I have /home in a different partition from root /, and pbuilder-dist installs files under /home/user/pbuilder/ folder. Causing the following error when trying to build a package: ln: failed to create hard link '/home/koike/pbuilder/aptcache/debian/libxdamage1_1%3a1.1.4-3_amd64.deb' => '/var/cache/pbuilder/build/16417/var/cache/apt/archives/libxdamage1_1%3a1.1.4-3_amd64.deb': Invalid cross-device link This happends because it is trying to create a hardlink between two different partitions. My current partitions/mouting points: /dev/mapper/floko--vg-root / /dev/mapper/floko--vg-home /home How to reproduce: mkdir tmp && cd tmp apt source ibus-chewing debhelper pbuilder-dist buster amd64 create pbuilder-dist buster amd64 build ibus-chewing_1.5.1-3.dsc -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ubuntu-dev-tools depends on: ii binutils 2.30-20 ii dctrl-tools 2.24-2+b1 ii devscripts 2.18.3 ii diffstat 1.61-1+b1 ii distro-info 0.18 ii dpkg-dev 1.19.0.5 ii lsb-release 9.20170808 ii perl 5.26.2-5 ii python 2.7.15~rc1-1 ii python-apt 1.6.0 ii python-debian 0.1.32 ii python-distro-info 0.18 ii python-httplib2 0.9.2+dfsg-1 ii python-launchpadlib 1.10.6-1 ii python-lazr.restfulclient 0.14.0-1 ii python-ubuntutools 0.165 ii sensible-utils 0.0.12 ii sudo 1.8.23-1 Versions of packages ubuntu-dev-tools recommends: ii bzr 2.7.0+bzr6622-11 ii bzr-builddeb 2.8.10 ii ca-certificates 20170717 ii debian-archive-keyring 2017.7 ii debian-keyring 2018.03.24 ii debootstrap 1.0.102 ii dput 1.0.2 ii genisoimage 9:1.1.11-3+b2 ii libwww-perl 6.33-1 ii lintian 2.5.88 ii patch 2.7.6-2 ii pbuilder 0.229.3 ii python-dns 2.3.6-4 ii python-soappy 0.12.22-1 ii quilt 0.65-1 ii reportbug 7.1.10 Versions of packages ubuntu-dev-tools suggests: ii python 2.7.15~rc1-1 ii python-simplejson 3.15.0-1+b1 ii qemu-user-static 1:2.12+dfsg-1+b1 -- no debconf information