[packman] Build fails with bad tempdir

Stefan Botter jsj at jsj.dyndns.org
Fri Oct 14 15:53:15 CEST 2016


Hi Olaf,

On Thu, 13 Oct 2016 23:19:08 +0200
Olaf Hering <olaf at aepfle.de> wrote:

> 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?

I am not sure, where that comes from.
The chroot-workers do not have package "build" installed, usually the
worker process fetches its source from the repserver. But there I do
not see any reference to build, let alone runservices.

Greetings,

Stefan
-- 
Stefan Botter zu Hause
Bremen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20161014/b70ced36/attachment.sig>


More information about the Packman mailing list