Bug#609192: liblocal-lib-perl: FTBFS if homedirectory of building user is not writeable

Salvatore Bonaccorso carnil at debian.org
Fri Jan 7 08:25:12 UTC 2011


Source: liblocal-lib-perl
Version: 1.006005-1
Severity: serious
Tags: squeeze
Justification: FTBFS

Hi

liblocal-lib-perl FTBFS if home of building user is not writable with
the following:

>  debian/rules build
> dh build
>    dh_testdir
>    dh_auto_configure
> mkdir /home/salvi: Permission denied at /usr/share/perl/5.10/CPAN/HandleConfig.pm line 554
> dh_auto_configure: perl Makefile.PL INSTALLDIRS=vendor create_packlist=0 returned exit code 13
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

I have attached full build log. The just uploaded version to unstable
does not have this problem anymore.

Bests
Salvatore

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages liblocal-lib-perl depends on:
ii  perl                          5.10.1-16  Larry Wall's Practical Extraction 
ii  perl-modules [libmodule-build 5.10.1-16  Core Perl modules

liblocal-lib-perl recommends no packages.

Versions of packages liblocal-lib-perl suggests:
ii  libcapture-tiny-perl          0.08-1     module to capture STDOUT and STDER
-------------- next part --------------
sbuild (Debian sbuild) 0.60.0 (23 Feb 2010) on elende

????????????????????????????????????????????????????????????????????????????????
? liblocal-lib-perl 1.006005-1 (amd64)                       07 Jan 2011 09:19 ?
????????????????????????????????????????????????????????????????????????????????

Package: liblocal-lib-perl
Version: 1.006005-1
Architecture: amd64
Chroot Build Dir: /var/lib/schroot/mount/squeeze-amd64-sbuild-7ea1e2eb-ba01-40a7-babe-e643f6c7ad3b/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq
Start Time: 20110107-0919
Get:1 http://ftp.ch.debian.org squeeze Release.gpg [835 B]
Ign http://ftp.ch.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.ch.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.ch.debian.org/debian/ squeeze/non-free Translation-en
Get:2 http://ftp.ch.debian.org squeeze Release [89.9 kB]
Get:3 http://ftp.ch.debian.org squeeze/main Sources/DiffIndex [2038 B]
Get:4 http://ftp.ch.debian.org squeeze/contrib Sources/DiffIndex [2023 B]
Hit http://ftp.ch.debian.org squeeze/non-free Sources/DiffIndex
Get:5 http://ftp.ch.debian.org squeeze/main amd64 Packages/DiffIndex [2038 B]
Get:6 http://ftp.ch.debian.org squeeze/contrib amd64 Packages/DiffIndex [2023 B]
Hit http://ftp.ch.debian.org squeeze/non-free amd64 Packages/DiffIndex
Get:7 http://ftp.ch.debian.org squeeze/main 2011-01-07-0216.46.pdiff [1869 B]
Get:8 http://ftp.ch.debian.org squeeze/contrib 2011-01-07-0216.46.pdiff [489 B]
Get:9 http://ftp.ch.debian.org squeeze/main 2011-01-07-0216.46.pdiff [1869 B]
Get:10 http://ftp.ch.debian.org squeeze/main amd64 2011-01-07-0216.46.pdiff [5085 B]
Get:11 http://ftp.ch.debian.org squeeze/contrib amd64 2011-01-07-0216.46.pdiff [883 B]
Get:12 http://ftp.ch.debian.org squeeze/contrib 2011-01-07-0216.46.pdiff [489 B]
Get:13 http://ftp.ch.debian.org squeeze/main 2011-01-07-0216.46.pdiff [1869 B]
Get:14 http://ftp.ch.debian.org squeeze/main amd64 2011-01-07-0216.46.pdiff [5085 B]
Get:15 http://ftp.ch.debian.org squeeze/contrib amd64 2011-01-07-0216.46.pdiff [883 B]
Get:16 http://ftp.ch.debian.org squeeze/contrib 2011-01-07-0216.46.pdiff [489 B]
Get:17 http://ftp.ch.debian.org squeeze/main amd64 2011-01-07-0216.46.pdiff [5085 B]
Get:18 http://ftp.ch.debian.org squeeze/contrib amd64 2011-01-07-0216.46.pdiff [883 B]
Fetched 107 kB in 2s (41.7 kB/s)
Reading package lists...

????????????????????????????????????????????????????????????????????????????????
? Fetch source files                                                           ?
????????????????????????????????????????????????????????????????????????????????


Local sources
?????????????

liblocal-lib-perl_1.006005-1.dsc exists in .; copying to chroot

Check arch
??????????

** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 7.2.13)
Build-Depends-Indep: perl (>= 5.10), libcapture-tiny-perl

????????????????????????????????????????????????????????????????????????????????
? Install build dependencies (internal resolver)                               ?
????????????????????????????????????????????????????????????????????????????????

Checking for already installed source dependencies...
debhelper: missing
Using default version 8.0.0
perl: already installed (5.10.1-16 >= 5.10 is satisfied)
libcapture-tiny-perl: missing
Checking for source dependency conflicts...
Installing positive dependencies: debhelper libcapture-tiny-perl
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  bsdmainutils file gettext gettext-base groff-base html2text intltool-debian
  libcroco3 libglib2.0-0 libmagic1 libpcre3 libunistring0 libxml2 man-db
  po-debconf
Suggested packages:
  wamerican wordlist whois vacation dh-make gettext-doc groff less www-browser
  libmail-box-perl
Recommended packages:
  curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core
  libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils debhelper file gettext gettext-base groff-base html2text
  intltool-debian libcapture-tiny-perl libcroco3 libglib2.0-0 libmagic1
  libpcre3 libunistring0 libxml2 man-db po-debconf
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.6 kB/9002 kB of archives.
After this operation, 26.5 MB of additional disk space will be used.
Get:1 http://ftp.ch.debian.org/debian/ squeeze/main libcapture-tiny-perl all 0.08-1 [16.6 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 16.6 kB in 0s (283 kB/s)
Selecting previously deselected package bsdmainutils.
(Reading database ... 10106 files and directories currently installed.)
Unpacking bsdmainutils (from .../bsdmainutils_8.0.13_amd64.deb) ...
Selecting previously deselected package groff-base.
Unpacking groff-base (from .../groff-base_1.20.1-10_amd64.deb) ...
Selecting previously deselected package man-db.
Unpacking man-db (from .../man-db_2.5.7-7_amd64.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_5.04-5_amd64.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_5.04-5_amd64.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.18.1.1-3_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.02-1.1_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-2_amd64.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.24.2-1_amd64.deb) ...
Selecting previously deselected package libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.2-1_amd64.deb) ...
Selecting previously deselected package libunistring0.
Unpacking libunistring0 (from .../libunistring0_0.9.3-3_amd64.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.18.1.1-3_amd64.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16+nmu1_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_8.0.0_all.deb) ...
Selecting previously deselected package libcapture-tiny-perl.
Unpacking libcapture-tiny-perl (from .../libcapture-tiny-perl_0.08-1_all.deb) ...
Setting up bsdmainutils (8.0.13) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode.
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode.
Setting up groff-base (1.20.1-10) ...
Setting up man-db (2.5.7-7) ...
Building database of manual pages ...
Setting up libmagic1 (5.04-5) ...
Setting up file (5.04-5) ...
Setting up gettext-base (0.18.1.1-3) ...
Setting up libpcre3 (8.02-1.1) ...
Setting up libxml2 (2.7.8.dfsg-2) ...
Setting up html2text (1.3.2a-15) ...
Setting up libglib2.0-0 (2.24.2-1) ...
Setting up libcroco3 (0.6.2-1) ...
Setting up libunistring0 (0.9.3-3) ...
Setting up gettext (0.18.1.1-3) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu1) ...
Setting up debhelper (8.0.0) ...
Setting up libcapture-tiny-perl (0.08-1) ...
Removing negative dependencies: 
Checking correctness of source dependencies...
Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64)
Toolchain package versions: libc6-dev_2.11.2-7 dpkg-dev_1.15.8.7 linux-libc-dev_2.6.32-29 gcc-4.4_4.4.5-8 g++-4.4_4.4.5-8 binutils_2.20.1-15 libstdc++6-4.4-dev_4.4.5-8 libstdc++6_4.4.5-8
Package versions: apt_0.8.10 base-files_5.10 base-passwd_3.5.22 bash_4.1-3 binutils_2.20.1-15 bsdmainutils_8.0.13 bsdutils_1:2.17.2-5 build-essential_11.5 bzip2_1.0.5-6 coreutils_8.5-1 cpp_4:4.4.5-1 cpp-4.4_4.4.5-8 dash_0.5.5.1-7.4 debconf_1.5.36 debconf-i18n_1.5.36 debfoster_2.7-1.1 debhelper_8.0.0 debian-archive-keyring_2010.08.28 debianutils_3.4 diffutils_1:3.0-1 dpkg_1.15.8.7 dpkg-dev_1.15.8.7 e2fslibs_1.41.12-2 e2fsprogs_1.41.12-2 fakeroot_1.14.4-1 file_5.04-5 findutils_4.4.2-1+b1 g++_4:4.4.5-1 g++-4.4_4.4.5-8 gcc_4:4.4.5-1 gcc-4.4_4.4.5-8 gcc-4.4-base_4.4.5-8 gettext_0.18.1.1-3 gettext-base_0.18.1.1-3 gnupg_1.4.10-4 gpgv_1.4.10-4 grep_2.6.3-3 groff-base_1.20.1-10 gzip_1.3.12-9 hostname_3.04 html2text_1.3.2a-15 initscripts_2.88dsf-13 insserv_1.14.0-2 intltool-debian_0.35.0+20060710.1 libacl1_2.2.49-4 libattr1_1:2.4.44-2 libblkid1_2.17.2-5 libbz2-1.0_1.0.5-6 libc-bin_2.11.2-7 libc-dev-bin_2.11.2-7 libc6_2.11.2-7 libc6-dev_2.11.2-7 libcapture-tiny-perl_0.08-1 libcomerr2_1.41.12-2 libcroco3_0.6.2-1 libdb4.7_4.7.25-9 libdb4.8_4.8.30-2 libdpkg-perl_1.15.8.7 libgc1c2_1:6.8-1.2 libgcc1_1:4.4.5-8 libgdbm3_1.8.3-9 libglib2.0-0_2.24.2-1 libgmp3c2_2:4.3.2+dfsg-1 libgomp1_4.4.5-8 liblocale-gettext-perl_1.05-6 liblzma2_5.0.0-2 libmagic1_5.04-5 libmpfr4_3.0.0-2 libncurses5_5.7+20100313-4 libpam-modules_1.1.1-6.1 libpam-runtime_1.1.1-6.1 libpam0g_1.1.1-6.1 libpcre3_8.02-1.1 libreadline6_6.1-3 libselinux1_2.0.96-1 libsepol1_2.0.41-1 libslang2_2.2.2-4 libss2_1.41.12-2 libstdc++6_4.4.5-8 libstdc++6-4.4-dev_4.4.5-8 libtext-charwidth-perl_0.04-6 libtext-iconv-perl_1.7-2 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libunistring0_0.9.3-3 libusb-0.1-4_2:0.1.12-16 libuuid1_2.17.2-5 libxml2_2.7.8.dfsg-2 linux-libc-dev_2.6.32-29 login_1:4.1.4.2+svn3283-2 lsb-base_3.2-23.1 make_3.81-8 man-db_2.5.7-7 mawk_1.3.3-15 mount_2.17.2-5 ncurses-base_5.7+20100313-4 ncurses-bin_5.7+20100313-4 passwd_1:4.1.4.2+svn3283-2 patch_2.6-2 perl_5.10.1-16 perl-base_5.10.1-16 perl-modules_5.10.1-16 po-debconf_1.0.16+nmu1 readline-common_6.1-3 sed_4.2.1-7 sensible-utils_0.0.4 sysv-rc_2.88dsf-13 sysvinit_2.88dsf-13 sysvinit-utils_2.88dsf-13 tar_1.23-3 tzdata_2010o-1 util-linux_2.17.2-5 xz-utils_5.0.0-2 zlib1g_1:1.2.3.4.dfsg-3

????????????????????????????????????????????????????????????????????????????????
? Build                                                                        ?
????????????????????????????????????????????????????????????????????????????????


Unpack source
?????????????

gpgv: keyblock resource `/home/salvi/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Wed Jul 14 16:23:17 2010 UTC using RSA key ID 8649AA06
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./liblocal-lib-perl_1.006005-1.dsc
dpkg-source: info: extracting liblocal-lib-perl in liblocal-lib-perl-1.006005
dpkg-source: info: unpacking liblocal-lib-perl_1.006005.orig.tar.gz
dpkg-source: info: unpacking liblocal-lib-perl_1.006005-1.debian.tar.gz

Check disc space
????????????????


dpkg-buildpackage
?????????????????

dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: source package liblocal-lib-perl
dpkg-buildpackage: source version 1.006005-1
dpkg-buildpackage: source changed by Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>
 dpkg-source --before-build liblocal-lib-perl-1.006005
dpkg-buildpackage: host architecture amd64
 /usr/bin/fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   debian/rules override_dh_clean
make[1]: Entering directory `/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005'
dh_clean
rm -vrf /build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005/t/var/splat \
		/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005/t/dist/MB/Build \
		/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005/t/dist/MB/_build \
		/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005/t/dist/MB/blib \
		/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005/t/dist/EUMM/Makefile \
		/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005/t/dist/EUMM/pm_to_blib \
		/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005/t/dist/EUMM/blib
make[1]: Leaving directory `/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq/liblocal-lib-perl-1.006005'
 dpkg-source -b liblocal-lib-perl-1.006005
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building liblocal-lib-perl using existing ./liblocal-lib-perl_1.006005.orig.tar.gz
dpkg-source: info: building liblocal-lib-perl in liblocal-lib-perl_1.006005-1.debian.tar.gz
dpkg-source: info: building liblocal-lib-perl in liblocal-lib-perl_1.006005-1.dsc
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
mkdir /home/salvi: Permission denied at /usr/share/perl/5.10/CPAN/HandleConfig.pm line 554
dh_auto_configure: perl Makefile.PL INSTALLDIRS=vendor create_packlist=0 returned exit code 13
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
????????????????????????????????????????????????????????????????????????????????
Build finished at 20110107-0919
FAILED [dpkg-buildpackage died]
????????????????????????????????????????????????????????????????????????????????
Purging /var/lib/schroot/mount/squeeze-amd64-sbuild-7ea1e2eb-ba01-40a7-babe-e643f6c7ad3b/build/salvi-liblocal-lib-perl_1.006005-1-amd64-bs1lPq
(Reading database ... 11355 files and directories currently installed.)
Removing libcapture-tiny-perl ...
Removing debhelper ...
Removing po-debconf ...
Removing man-db ...
Purging configuration files for man-db ...
Removing intltool-debian ...
Removing groff-base ...
Purging configuration files for groff-base ...
Removing gettext ...
Removing file ...
Removing html2text ...
Purging configuration files for html2text ...
Removing gettext-base ...
Removing libunistring0 ...
Purging configuration files for libunistring0 ...
Removing libcroco3 ...
Purging configuration files for libcroco3 ...
Removing libmagic1 ...
Purging configuration files for libmagic1 ...
Removing libxml2 ...
Purging configuration files for libxml2 ...
Removing bsdmainutils ...
Purging configuration files for bsdmainutils ...
Removing libglib2.0-0 ...
Purging configuration files for libglib2.0-0 ...
Removing libpcre3 ...
Purging configuration files for libpcre3 ...
????????????????????????????????????????????????????????????????????????????????
Finished at 20110107-0919
Build needed 00:00:13, 328k disc space


More information about the pkg-perl-maintainers mailing list