[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: reproducible builds of FreeBSD in a chroot on Linux
From:       Steven Chamberlain <steven () pyro ! eu ! org>
Date:       2015-07-20 12:33:48
Message-ID: 20150720123348.GD91487 () pyro ! eu ! org
[Download RAW message or body]


Hi Holger,

Holger Levsen wrote:
> With this, 
> http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_freebsd.sh 
> gets as far as 
> https://jenkins.debian.net/view/reproducible/job/reproducible_freebsd/7/console 
> where "stage 2.1: cleaning up the object tree" fails on "make buildworld", 
> because /srv/workspace/chroots/freebsd-
> XXXXXXXX.v1adN6Qo/freebsd/lib/libc/tests does not exist.

`mktemp freebsd-XXXXXXXX` on FreeBSD would result in random characters
being appended, resulting in freebsd-XXXXXXXX.v1adN6Qo as above.

`mktemp -d -t freebsd-XXXXXXXX` should replace the X's with random
characters, same as GNU mktemp.  But it doesn't seem to have done that.

Are you sure that your RSSH command is sending switches -d and -t
correctly, or do you need a "--" or extra quotes?

Take a look in /srv/workspace/chroots/ and see if mktemp has perhaps
created a file instead of a directory?

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic