Bug#823651: pbuilder: fails to make temp file - breaks

Norbert Preining preining at logic.at
Sat May 7 14:14:14 UTC 2016


Hi Mattia,

> This error is the same as the one reported in #576425, a report about
> pbuilder not working with libpam-tmpfs.  Are you using libpam-tmpfs?

No, not even installed.

> If not please provide you /etc/pbuilderrc, ~/.pbuilderrc, a full log
> with --debug.

/etc/pbuilderrc only contains
	MIRRORSITE=http://ftp.jaist.ac.jp/debian/
There is no ~/.pbuilderrc.

debug log created with runing as root
	cowbuilder --build --debug --buildresult . ...dsc
is attached.

All the best

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
-------------- next part --------------
 -> Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build/cow.28356 
  forking: cp -al /var/cache/pbuilder/base.cow /var/cache/pbuilder/build/cow.28356 
I: removed stale ilistfile /var/cache/pbuilder/build/cow.28356/.ilist
  forking: chroot /var/cache/pbuilder/build/cow.28356 cowdancer-ilistcreate /.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i ' 
 -> Invoking pbuilder
  forking: pbuilder build --debug --buildplace /var/cache/pbuilder/build/cow.28356 --buildresult . --no-targz --internal-chrootexec chroot /var/cache/pbuilder/build/cow.28356 cow-shell /src/TeX/debian/git/build-area/texlive-bin_2016.20160507.40923-1.dsc 
W: /root/.pbuilderrc does not exist
++ shift
++ '[' -n --buildplace ']'
++ case "$1" in
++ '[' '!' -d /var/cache/pbuilder/build/cow.28356 ']'
+++ readlink -f /var/cache/pbuilder/build/cow.28356
++ BUILDPLACE=/var/cache/pbuilder/build/cow.28356
++ shift
++ shift
++ '[' -n --buildresult ']'
++ case "$1" in
++ '[' -n . ']'
++ '[' -d . ']'
+++ readlink -f .
++ BUILDRESULT=/src/TeX/debian/git/build-area
++ shift
++ shift
++ '[' -n --no-targz ']'
++ case "$1" in
++ log.i 'Running in no-targz mode'
++ case "$LOGLEVEL" in
++ log 'I: Running in no-targz mode'
++ case "$*" in
++ echo 'I: Running in no-targz mode'
I: Running in no-targz mode
++ INTERNAL_BUILD_UML=yes
++ shift
++ '[' -n --internal-chrootexec ']'
++ case "$1" in
++ CHROOTEXEC='chroot /var/cache/pbuilder/build/cow.28356 cow-shell'
++ shift
++ shift
++ '[' -n /src/TeX/debian/git/build-area/texlive-bin_2016.20160507.40923-1.dsc ']'
++ case "$1" in
++ break
++ log.d 'cmdline: build --debug --buildplace /var/cache/pbuilder/build/cow.28356 --buildresult . --no-targz --internal-chrootexec chroot /var/cache/pbuilder/build/cow.28356 cow-shell /src/TeX/debian/git/build-area/texlive-bin_2016.20160507.40923-1.dsc'
++ case "$LOGLEVEL" in
++ BUILDPLACE=/var/cache/pbuilder/build/cow.28356
++ BASEBUILDPLACE=/var/cache/pbuilder/build/cow.28356
++ '[' yes '!=' yes -a no '!=' yes ']'
++ '[' -z 'chroot /var/cache/pbuilder/build/cow.28356 cow-shell' ']'
++ case "$LOGLEVEL" in
++ case "$PBUILDER_OPERATION" in
++ EXPERIMENTAL=
++ case "$PBUILDER_OPERATION" in
++ '[' noninteractive = noninteractive -o noninteractive = Noninteractive ']'
++ exec
++ FORCE_CONFNEW[0]=-o
++ FORCE_CONFNEW[1]=DPkg::Options::=--force-confnew
++ '[' -n '' ']'
+++ sort -u
++ BINDMOUNTS=
++ '[' no = yes ']'
+ . /usr/lib/pbuilder/pbuilder-buildpackage-funcs
+ PACKAGENAME=/src/TeX/debian/git/build-area/texlive-bin_2016.20160507.40923-1.dsc
+ '[' '!' -f /src/TeX/debian/git/build-area/texlive-bin_2016.20160507.40923-1.dsc ']'
+ '[' .dsc '!=' .dsc ']'
+ shift
+ '[' -n '' ']'
+ '[' -n pbuilder -a -n 1234 ']'
+ SUTOUSER='LD_PRELOAD= LOGNAME=pbuilder USER=pbuilder /sbin/start-stop-daemon --start --pidfile /dev/null --chuid pbuilder --startas /bin/sh'
+ DEBBUILDOPTS=-rfakeroot
+ EXTRAPACKAGES=' fakeroot'
+ log.i 'using fakeroot in build.'
+ case "$LOGLEVEL" in
+ log 'I: using fakeroot in build.'
+ case "$*" in
+ echo 'I: using fakeroot in build.'
I: using fakeroot in build.
+ UNSHARE=
+ case $USENETWORK in
+ /usr/bin/unshare -n -- /usr/lib/pbuilder/pbuilder-unshare-wrapper true
+ USENETWORK=no
+ UNSHARE='/usr/bin/unshare -n -- /usr/lib/pbuilder/pbuilder-unshare-wrapper'
+ log.i 'pbuilder: network access will be disabled during build'
+ case "$LOGLEVEL" in
+ log 'I: pbuilder: network access will be disabled during build'
+ case "$*" in
+ echo 'I: pbuilder: network access will be disabled during build'
I: pbuilder: network access will be disabled during build
+ BUILDRESULTUID=0
+ BUILDRESULTGID=0
+ echobacktime
++ date
+ log.i 'Current time: Sat May  7 23:12:40 JST 2016'
+ case "$LOGLEVEL" in
+ log 'I: Current time: Sat May  7 23:12:40 JST 2016'
+ case "$*" in
+ echo 'I: Current time: Sat May  7 23:12:40 JST 2016'
I: Current time: Sat May  7 23:12:40 JST 2016
++ date +%s
+ log.i 'pbuilder-time-stamp: 1462630360'
+ case "$LOGLEVEL" in
+ log 'I: pbuilder-time-stamp: 1462630360'
+ case "$*" in
+ echo 'I: pbuilder-time-stamp: 1462630360'
I: pbuilder-time-stamp: 1462630360
+ extractbuildplace
+ '[' yes '!=' yes -a '!' '(' no = yes -a -d /var/cache/pbuilder/build/cow.28356 ')' ']'
+ copy_local_configuration
+ log.i 'copying local configuration'
+ case "$LOGLEVEL" in
+ log 'I: copying local configuration'
+ case "$*" in
+ echo 'I: copying local configuration'
I: copying local configuration
+ '[' -n /etc/pbuilder/conf_files ']'
+ '[' -d /etc/pbuilder/conf_files ']'
+ '[' 0 -eq 0 ']'
+ tocopy=(hosts hostname mailname resolv.conf)
+ local tocopy
+ '[' no = yes ']'
+ for a in '"${tocopy[@]}"'
+ '[' -n /etc/pbuilder/conf_files ']'
+ '[' -f /etc/pbuilder/conf_files/hosts ']'
+ '[' -f /etc/hosts ']'
+ rm -f /var/cache/pbuilder/build/cow.28356/etc/hosts
++ readlink -f /etc/hosts
+ cp /etc/hosts /var/cache/pbuilder/build/cow.28356/etc/hosts
+ for a in '"${tocopy[@]}"'
+ '[' -n /etc/pbuilder/conf_files ']'
+ '[' -f /etc/pbuilder/conf_files/hostname ']'
+ '[' -f /etc/hostname ']'
+ rm -f /var/cache/pbuilder/build/cow.28356/etc/hostname
++ readlink -f /etc/hostname
+ cp /etc/hostname /var/cache/pbuilder/build/cow.28356/etc/hostname
+ for a in '"${tocopy[@]}"'
+ '[' -n /etc/pbuilder/conf_files ']'
+ '[' -f /etc/pbuilder/conf_files/mailname ']'
+ '[' -f /etc/mailname ']'
+ rm -f /var/cache/pbuilder/build/cow.28356/etc/mailname
++ readlink -f /etc/mailname
+ cp /etc/mailname /var/cache/pbuilder/build/cow.28356/etc/mailname
+ for a in '"${tocopy[@]}"'
+ '[' -n /etc/pbuilder/conf_files ']'
+ '[' -f /etc/pbuilder/conf_files/resolv.conf ']'
+ '[' -f /etc/resolv.conf ']'
+ rm -f /var/cache/pbuilder/build/cow.28356/etc/resolv.conf
++ readlink -f /etc/resolv.conf
+ cp /run/NetworkManager/resolv.conf /var/cache/pbuilder/build/cow.28356/etc/resolv.conf
+ loadhooks
+ '[' -z '' ']'
+ return
+ '[' no = yes ']'
+ '[' '' = yes ']'
+ mountproc
+ local -a mounted
+ '[' yes = yes ']'
+ log.i 'mounting /proc filesystem'
+ case "$LOGLEVEL" in
+ log 'I: mounting /proc filesystem'
+ case "$*" in
+ echo 'I: mounting /proc filesystem'
I: mounting /proc filesystem
+ mkdir -p /var/cache/pbuilder/build/cow.28356/proc
+ case "$DEB_BUILD_ARCH_OS" in
+ PROCFS=proc
+ mount -t proc /proc /var/cache/pbuilder/build/cow.28356/proc
+ ln -s ../proc/mounts /var/cache/pbuilder/build/cow.28356/etc/mtab
+ true
+ mounted[${#mounted[@]}]=/var/cache/pbuilder/build/cow.28356/proc
+ '[' linux = kfreebsd ']'
+ '[' no = yes ']'
+ '[' linux = linux ']'
+ '[' yes = yes ']'
+ log.i 'mounting /run/shm filesystem'
+ case "$LOGLEVEL" in
+ log 'I: mounting /run/shm filesystem'
+ case "$*" in
+ echo 'I: mounting /run/shm filesystem'
I: mounting /run/shm filesystem
+ mkdir -p /var/cache/pbuilder/build/cow.28356/run/shm
+ mount -t tmpfs tmpfs /var/cache/pbuilder/build/cow.28356/run/shm
+ mounted[${#mounted[@]}]=/var/cache/pbuilder/build/cow.28356/run/shm
+ '[' linux = linux ']'
+ '[' yes = yes ']'
+ log.i 'mounting /dev/pts filesystem'
+ case "$LOGLEVEL" in
+ log 'I: mounting /dev/pts filesystem'
+ case "$*" in
+ echo 'I: mounting /dev/pts filesystem'
I: mounting /dev/pts filesystem
+ mkdir -p /var/cache/pbuilder/build/cow.28356/dev/pts
+ TTYGRP=5
+ TTYMODE=620
+ '[' -f /etc/default/devpts ']'
+ . /etc/default/devpts
++ TTYGRP=5
++ TTYMODE=620
+ mount -t devpts none /var/cache/pbuilder/build/cow.28356/dev/pts -onoexec,nosuid,gid=5,mode=620
+ mounted[${#mounted[@]}]=/var/cache/pbuilder/build/cow.28356/dev/pts
+ '[' -x /usr/sbin/selinuxenabled ']'
+ '[' linux = hurd ']'
+ MOUNTPARAMS=-obind
+ '[' linux = kfreebsd ']'
+ '[' -f /var/cache/pbuilder/build/cow.28356/usr/sbin/policy-rc.d ']'
+ log.i 'policy-rc.d already exists'
+ case "$LOGLEVEL" in
+ log 'I: policy-rc.d already exists'
+ case "$*" in
+ echo 'I: policy-rc.d already exists'
I: policy-rc.d already exists
+ mkdir -p /var/cache/pbuilder/build/cow.28356/build
+ '[' /build '!=' /tmp/buildd ']'
+ '[' -h /var/cache/pbuilder/build/cow.28356/tmp/buildd ']'
++ readlink -f /var/cache/pbuilder/build/cow.28356/tmp/buildd
+ '[' /var/cache/pbuilder/build/cow.28356/build = /var/cache/pbuilder/build/cow.28356/build ']'
+ rm /var/cache/pbuilder/build/cow.28356/tmp/buildd
+ '[' -d /var/cache/pbuilder/build/cow.28356/tmp/buildd ']'
+ '[' '!' -e /var/cache/pbuilder/build/cow.28356/tmp/buildd ']'
+ ln -rs /var/cache/pbuilder/build/cow.28356/build /var/cache/pbuilder/build/cow.28356/tmp/buildd
+ executehooks H
+ local prefix=H
+ '[' -z '' ']'
+ return
+ trap umountproc_cleanbuildplace_trap exit sighup sigpipe
+ '[' '!' -d /src/TeX/debian/git/build-area ']'
+ '[' -z '' ']'
+ '[' '' = yes ']'
+ '[' -f '' ']'
+ recover_aptcache
+ local doit
+ '[' -n /var/cache/pbuilder/aptcache/ ']'
+ '[' yes = yes ']'
+ doit=ln
+ log.i 'Obtaining the cached apt archive contents'
+ case "$LOGLEVEL" in
+ log 'I: Obtaining the cached apt archive contents'
+ case "$*" in
+ echo 'I: Obtaining the cached apt archive contents'
I: Obtaining the cached apt archive contents
+ find /var/cache/pbuilder/aptcache/ -maxdepth 1 -name '*.deb'
+ read A
+ createbuilduser
+ '[' -n pbuilder -a -n 1234 ']'
+ '[' -e /var/cache/pbuilder/build/cow.28356/etc/shadow ']'
+ p=x
+ '[' -e /var/cache/pbuilder/build/cow.28356/etc/gshadow ']'
+ g=x
+ grep -q '^pbuilder:' /var/cache/pbuilder/build/cow.28356/etc/passwd
+ cowprotect /var/cache/pbuilder/build/cow.28356/etc/passwd
+ for A in '"$@"'
+ readlink -f /var/cache/pbuilder/build/cow.28356/etc/passwd
++ readlink -f /var/cache/pbuilder/build/cow.28356/etc/passwd
+ A=/var/cache/pbuilder/build/cow.28356/etc/passwd
+ mv /var/cache/pbuilder/build/cow.28356/etc/passwd /var/cache/pbuilder/build/cow.28356/etc/passwd~
+ cp -a /var/cache/pbuilder/build/cow.28356/etc/passwd~ /var/cache/pbuilder/build/cow.28356/etc/passwd
+ rm -f /var/cache/pbuilder/build/cow.28356/etc/passwd~
+ echo pbuilder:x:1234:1234:,,,:/nonexistent:/bin/sh
+ grep -q '^pbuilder:' /var/cache/pbuilder/build/cow.28356/etc/group
+ cowprotect /var/cache/pbuilder/build/cow.28356/etc/group
+ for A in '"$@"'
+ readlink -f /var/cache/pbuilder/build/cow.28356/etc/group
++ readlink -f /var/cache/pbuilder/build/cow.28356/etc/group
+ A=/var/cache/pbuilder/build/cow.28356/etc/group
+ mv /var/cache/pbuilder/build/cow.28356/etc/group /var/cache/pbuilder/build/cow.28356/etc/group~
+ cp -a /var/cache/pbuilder/build/cow.28356/etc/group~ /var/cache/pbuilder/build/cow.28356/etc/group
+ rm -f /var/cache/pbuilder/build/cow.28356/etc/group~
+ echo pbuilder:x:1234:
+ addgrsecgroup
++ sysctl -ne kernel.grsecurity.tpe
+ '[' '' = 1 ']'
+ return 0
+ '[' -e /var/cache/pbuilder/build/cow.28356/etc/shadow ']'
+ grep -q '^pbuilder:' /var/cache/pbuilder/build/cow.28356/etc/shadow
+ cowprotect /var/cache/pbuilder/build/cow.28356/etc/shadow
+ for A in '"$@"'
+ readlink -f /var/cache/pbuilder/build/cow.28356/etc/shadow
++ readlink -f /var/cache/pbuilder/build/cow.28356/etc/shadow
+ A=/var/cache/pbuilder/build/cow.28356/etc/shadow
+ mv /var/cache/pbuilder/build/cow.28356/etc/shadow /var/cache/pbuilder/build/cow.28356/etc/shadow~
+ cp -a /var/cache/pbuilder/build/cow.28356/etc/shadow~ /var/cache/pbuilder/build/cow.28356/etc/shadow
+ rm -f /var/cache/pbuilder/build/cow.28356/etc/shadow~
+ echo 'pbuilder:!:::::::'
+ '[' -e /var/cache/pbuilder/build/cow.28356/etc/gshadow ']'
+ grep -q '^pbuilder:' /var/cache/pbuilder/build/cow.28356/etc/gshadow
+ cowprotect /var/cache/pbuilder/build/cow.28356/etc/gshadow
+ for A in '"$@"'
+ readlink -f /var/cache/pbuilder/build/cow.28356/etc/gshadow
++ readlink -f /var/cache/pbuilder/build/cow.28356/etc/gshadow
+ A=/var/cache/pbuilder/build/cow.28356/etc/gshadow
+ mv /var/cache/pbuilder/build/cow.28356/etc/gshadow /var/cache/pbuilder/build/cow.28356/etc/gshadow~
+ cp -a /var/cache/pbuilder/build/cow.28356/etc/gshadow~ /var/cache/pbuilder/build/cow.28356/etc/gshadow
+ rm -f /var/cache/pbuilder/build/cow.28356/etc/gshadow~
+ echo 'pbuilder:!::'
+ unset LOGNAME
+ CCACHE_ENV=
+ setup_ccache
+ '[' -n '' ']'
+ SUTOUSER=' LD_PRELOAD= LOGNAME=pbuilder USER=pbuilder /sbin/start-stop-daemon --start --pidfile /dev/null --chuid pbuilder --startas /bin/sh'
+ log.i 'Installing the build-deps'
+ case "$LOGLEVEL" in
+ log 'I: Installing the build-deps'
+ case "$*" in
+ echo 'I: Installing the build-deps'
I: Installing the build-deps
+ executehooks D
+ local prefix=D
+ '[' -z '' ']'
+ return
+ trap saveaptcache_umountproc_cleanbuildplace_trap exit sighup sigpipe
+ checkbuilddep /src/TeX/debian/git/build-area/texlive-bin_2016.20160507.40923-1.dsc
+ local BUILDOPT=--binary-all
+ case "${BINARY_ARCH}" in
+ /usr/lib/pbuilder/pbuilder-satisfydepends --control /src/TeX/debian/git/build-area/texlive-bin_2016.20160507.40923-1.dsc --chroot /var/cache/pbuilder/build/cow.28356 --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.28356 cow-shell' --binary-all
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: autoconf (>= 2.69), automake (>= 1:1.13.1), bison, debhelper (>= 9), dh-autoreconf, flex, libcairo2-dev, libfontconfig1-dev, libfreetype6-dev, libgd-dev, libgmp-dev, libgraphite2-dev, libgs-dev, libharfbuzz-dev (>= 0.9.18-3), libicu-dev, libmpfr-dev, libncurses5-dev | libncurses-dev, libpaper-dev, libpixman-1-dev (>= 0.32.4), libpng-dev, libpoppler-private-dev (>= 0.38), libpotrace-dev (>= 1.11), libtool (>= 2.4.2), libxaw7-dev, libxi-dev, libzzip-dev (>= 0.12), m4 (>= 1.4.16), sharutils, texinfo, time, zlib1g-dev | libz-dev
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
dpkg-deb: error: failed to make temporary file (control member): No such file or directory
+ '[' 2 -eq 2 -a no = yes ']'
+ log.e 'pbuilder-satisfydepends failed.'
+ case "$LOGLEVEL" in
+ log 'E: pbuilder-satisfydepends failed.'
+ case "$*" in
+ echo 'E: pbuilder-satisfydepends failed.'
E: pbuilder-satisfydepends failed.
+ exit 2
+ saveaptcache_umountproc_cleanbuildplace_trap
+ trap '' sigpipe sighup
+ set +e
+ saveaptcache_umountproc_cleanbuildplace
+ save_aptcache
+ local doit
+ '[' -n /var/cache/pbuilder/aptcache/ ']'
+ log.i 'Copying back the cached apt archive contents'
+ case "$LOGLEVEL" in
+ log 'I: Copying back the cached apt archive contents'
+ case "$*" in
+ echo 'I: Copying back the cached apt archive contents'
I: Copying back the cached apt archive contents
+ mkdir -p /var/cache/pbuilder/aptcache/
+ '[' yes = yes ']'
+ doit=ln
+ find /var/cache/pbuilder/build/cow.28356/var/cache/apt/archives/ -maxdepth 1 -name '*.deb'
+ read A
+ umountproc_cleanbuildplace
+ '[' 0 -ne 0 ']'
+ umountproc
+ local reversed
+ reversed=
+ '[' -x /usr/sbin/selinuxenabled ']'
+ '[' linux = linux ']'
+ '[' yes = yes ']'
+ umount_one dev/pts
+ '[' '' = yes ']'
+ log.i 'unmounting dev/pts filesystem'
+ case "$LOGLEVEL" in
+ log 'I: unmounting dev/pts filesystem'
+ case "$*" in
+ echo 'I: unmounting dev/pts filesystem'
I: unmounting dev/pts filesystem
+ local UMOUNT_OUTPUT
++ LC_ALL=C
++ umount /var/cache/pbuilder/build/cow.28356/dev/pts
+ UMOUNT_OUTPUT=
+ '[' linux = kfreebsd ']'
+ '[' no = yes ']'
+ '[' yes = yes ']'
+ '[' linux '!=' hurd ']'
+ umount_one run/shm
+ '[' '' = yes ']'
+ log.i 'unmounting run/shm filesystem'
+ case "$LOGLEVEL" in
+ log 'I: unmounting run/shm filesystem'
+ case "$*" in
+ echo 'I: unmounting run/shm filesystem'
I: unmounting run/shm filesystem
+ local UMOUNT_OUTPUT
++ LC_ALL=C
++ umount /var/cache/pbuilder/build/cow.28356/run/shm
+ UMOUNT_OUTPUT=
+ '[' yes = yes ']'
+ '[' linux = linux ']'
+ '[' -e /var/cache/pbuilder/build/cow.28356/proc/sys/fs/binfmt_misc/status ']'
+ umount_one proc
+ '[' '' = yes ']'
+ log.i 'unmounting proc filesystem'
+ case "$LOGLEVEL" in
+ log 'I: unmounting proc filesystem'
+ case "$*" in
+ echo 'I: unmounting proc filesystem'
I: unmounting proc filesystem
+ local UMOUNT_OUTPUT
++ LC_ALL=C
++ umount /var/cache/pbuilder/build/cow.28356/proc
+ UMOUNT_OUTPUT=
+ '[' linux = kfreebsd ']'
+ '[' linux = hurd ']'
+ cleanbuildplace
+ '[' 0 -ne 0 ']'
+ unloadhooks
+ '[' -z '' ']'
+ return
+ '[' yes '!=' yes ']'
+ trap - exit sighup sigpipe
+ exit 1
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build/cow.28356 


More information about the Pbuilder-maint mailing list