Date: Thu, 23 Jul 2015 17:06:15 +0200 From: Holger Levsen <holger@layer-acht.org> To: reproducible-builds@lists.alioth.debian.org Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: [Reproducible-builds] reproducible builds of FreeBSD in a chroot on Linux Message-ID: <201507231706.24967.holger@layer-acht.org> In-Reply-To: <20150720123348.GD91487@pyro.eu.org> References: <201505071122.36037.holger@layer-acht.org> <201507181609.49815.holger@layer-acht.org> <20150720123348.GD91487@pyro.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart13194516.ZfEmHSPA2E Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Steven, On Montag, 20. Juli 2015, Steven Chamberlain wrote: > `mktemp freebsd-XXXXXXXX` on FreeBSD would result in random characters > being appended, resulting in freebsd-XXXXXXXX.v1adN6Qo as above. >=20 > `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. this doesnt happen when trying this manually on freebsd: [jenkins@freebsd-jenkins ~]$ TMPDIR=3D/srv/workspace/chroots/ mktemp -d -t= =20 freebsd-XXXXXXXX /srv/workspace/chroots//freebsd-XXXXXXXX.Qnc7a204 [jenkins@freebsd-jenkins ~]$ TMPDIR=3D/srv/workspace/chroots/ mktemp -d -t= =20 freebsd=20 /srv/workspace/chroots//freebsd.xmBuKFoO So I've changed the code to use the 2nd command now=E2=80=A6 =20 > Are you sure that your RSSH command is sending switches -d and -t > correctly, or do you need a "--" or extra quotes? >=20 > Take a look in /srv/workspace/chroots/ and see if mktemp has perhaps > created a file instead of a directory? there are directories as expected=E2=80=A6 So I've disabled the cleanup after build and fired up another, the result c= an=20 be seen at https://jenkins.debian.net/view/reproducible/job/reproducible_freebsd/9/con= sole and again ends with=20 =2D------------------------------------------------------------- >>> stage 2.1: cleaning up the object tree =2D------------------------------------------------------------- cd /srv/workspace/chroots/freebsd.YUCtKJvs/freebsd; MAKEOBJDIRPREFIX=3D/usr= /obj =20 MACHINE_ARCH=3Damd64 MACHINE=3Damd64 CPUTYPE=3D=20 GROFF_BIN_PATH=3D/usr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/tm= p/legacy/usr/bin =20 GROFF_FONT_PATH=3D/usr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/t= mp/legacy/usr/share/groff_font =20 GROFF_TMAC_PATH=3D/usr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/t= mp/legacy/usr/share/tmac =20 _LDSCRIPTROOT=3D VERSION=3D"FreeBSD 11.0-CURRENT amd64 1100077" INSTALL= =3D"sh=20 /srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/tools/install.sh" =20 PATH=3D/usr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/tmp/legacy/u= sr/sbin:/usr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/tmp/legacy/= usr/bin:/usr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/tmp/legacy/= bin:/usr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/tmp/usr/sbin:/u= sr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/tmp/usr/bin:/sbin:/bi= n:/usr/sbin:/usr/bin=20 CC=3D"cc " CXX=3D"c++ " DEPFLAGS=3D"" CPP=3D"cpp " AS=3D"as" AR=3D"ar" = LD=3D"ld" NM=3Dnm =20 OBJDUMP=3Dobjdump OBJCOPY=3D"objcopy" RANLIB=3Dranlib STRINGS=3D SIZE=3D"= size" make - f Makefile.inc1=20 DESTDIR=3D/usr/obj/srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/tmp par- cleandir =3D=3D=3D> lib (cleandir) =3D=3D=3D> lib/csu (cleandir) =3D=3D=3D> lib/csu/amd64 (cleandir) =3D=3D=3D> lib/libcompiler_rt (cleandir) =3D=3D=3D> lib/libc (cleandir) =3D=3D=3D> lib/libc/tests (cleandir) cd: /srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/lib/libc/tests: No such= =20 file or directory *** Error code 2 and indeed, /srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/lib/libc/ does = not=20 exist, while /srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/lib/ exists an= d=20 is populated: [jenkins@freebsd-jenkins ~]$ ls=20 /srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/lib/libc ls: /srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/lib/libc: No such file = or=20 directory [jenkins@freebsd-jenkins ~]$ ls=20 /srv/workspace/chroots/freebsd.YUCtKJvs/freebsd/lib/libc libc++/ libcalendar/ libcapsicum/ libclang_rt/ libcompat/ = =20 libcuse/ =20 libc_nonshared/ libcam/ libcasper/ libcom_err/ libcrypt/ = =20 libcxxrt/ =20 [jenkins@freebsd-jenkins ~]$=20 Any ideas how to proceed now? cheers, Holger --nextPart13194516.ZfEmHSPA2E Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIVAwUAVbEC6wkauFYGmqocAQqhuw//fzmfS446bELnuUkll0JWPg6FxmBSLZ3R yDMK8Ahv0Hsp40NZmlouEJsk6Y4ir7V6/KUz+y/nXMhJQTgDl8j2xypJx6yS99vS 3OVqJKYSwbpx9/7SWZmeks4NX1ign2kcKB8UfSsQoap4OV78lugg93ViHRv6V8OV 0DN489QgSMHRq1DSBA1zMZwbxANgtAsRFC9AJvPRCtqmszhlZWSc+uiyyKFdsuuG aS0wP75PmM6xZI8v43XdfXyovuFaRoNA7TkaBfmM6+ehztBEKhpymqorzAGfkM1y 5ChrhSXKQAhpH8/U1NQF/ICCaW0Kg4hQJ6gRn3wzZ4kqOo64gIW9qKNKZIOW+MTb N1pIqdJbl6D9ZtQeQS0CvnS0u4sPjyKTIwlSPhN1Z6La92cgdQMe2DK03418h/rn XpePkLM61yVh1QqltZ7JQhhN8FjGwPJv9IeIv3ORx//i8KM7Ufwcpk9lohYluN5D gNA2wlfkLsKuVBhViO9KEqUclAF4Gz8xlgdhN1AiX7PrEiivft7i4lWDY9iQOMTV Is3+NqfDmSPuXXQeV+viAkYgKBQB5ZCiX/YSZ6R9HgC1MTNeJFXTEbUeL5cCrFEv tKXbnUNOn5PQ+rMg0QnKw2NBcs6L+aDUWGPhqzU5AitPjCjRuIRGgOqp789ITQBL ug9aDKOXLAc= =0Zbs -----END PGP SIGNATURE----- --nextPart13194516.ZfEmHSPA2E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507231706.24967.holger>