[packman] Build fails with bad tempdir
Olaf Hering
olaf at aepfle.de
Thu Oct 13 23:19:08 CEST 2016
On Wed, Oct 12, Stefan Botter wrote:
> The "bad tempdir" error is emitted by the runservices script from
> build:
> Lines 33 ff.
> ====
> my $tempdir;
> if ($buildroot ne '') {
> $tempdir = File::Temp::tempdir('CLEANUP' => 1, 'DIR' => "$buildroot/tmp");
> die("bad tempdir\n") unless $tempdir =~ s/^\Q$buildroot\E//;
> } else {
> $tempdir = File::Temp::tempdir('CLEANUP' => 1);
> }
> ====
>
>
> This is run only if there are source services present in the package,
> but I do not understand why this fails on certain buildhosts.
Can you modify the code to print also $buildroot and $tempdir to see
whats going one? When did this start to happen?
Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20161013/753a1c3f/attachment.sig>
More information about the Packman
mailing list