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

Re: Broken pbuilder process



Hello The Wanderer,

Am Samstag, den 16.12.2017, 08:10 -0500 schrieb The Wanderer:
> This looks like the same error as in bugs 576425, 725434, and 823651.
Thanks for the bug numbers. I've done now:
* Install gdebi and gdebi-core (libpam-tmpdir already installed)
* Added BUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-
satisfydepends-gdebi"
* And finally added as /var/cache/pbuilder/hooks/D10tmp:

#!/bin/bash
# Work around #725434
# example file to be used with --hookdir
#
#create $TMP and $TMPDIR

echo "*******************************************************"
echo "* Use workaroud for bug #725434 and create            *"
echo "*    TMP=$TMP                                         *"
echo "*    TMPDIR=$TMPDIR                                   *"
echo "*******************************************************"

[ -n "$TMP" -a ! -d "$TMP" ] && mkdir -p "$TMP" || true
[ -n "$TMPDIR" -a ! -d "$TMPDIR" ] && mkdir -p "$TMPDIR" || true

Now that issue is gone. TMP and TMPDIR is now set to /tmp/user/0

I checked /tmp and found out, that /tmp/user/0 and /tmp/user/1000 are
created successfully.

Now pbuilder stops at that point:

dh build --with python3 --with autoreconf
   dh_testdir
   dh_update_autotools_config
   dh_autoreconf
autoreconf: cannot create /tmp/user/0/ar9833.19830: Permission denied
 at /usr/bin/autoreconf line 691.
dh_autoreconf: autoreconf -f -i returned exit code 13

It looks like, that "ar9833.19830" is a temporary given directory name.

But why i have no permission to create that subdirectory? 

Greetings
Sascha

-- 
Sascha Manns
Email: Sascha.Manns@mailbox.org | Blog: http://saigkill.tuxfamily.org
GPG: 0x168428cdb1f20ab1


Reply to: