[Reproducible-builds] reproducible builds of FreeBSD in a chroot on Linux

Steven Chamberlain steven at pyro.eu.org
Mon Jul 20 12:33:48 UTC 2015


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 at pyro.eu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 493 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150720/94663540/attachment.sig>


More information about the Reproducible-builds mailing list