From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 17 12:36:08 2015 Return-Path: Delivered-To: freebsd-hackers@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EB242416 for ; Wed, 17 Jun 2015 12:36:08 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DE019BF for ; Wed, 17 Jun 2015 12:36:08 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [78.35.158.162] (helo=fabiankeil.de) by smtprelay05.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Z58wT-0007Hx-5o; Wed, 17 Jun 2015 10:43:29 +0200 Date: Wed, 17 Jun 2015 10:43:32 +0200 From: Fabian Keil To: Holger Levsen Cc: freebsd-hackers@freebsd.org Subject: Re: reproducible builds of FreeBSD in a chroot on Linux Message-ID: <33a87f86.7b4c928e@fabiankeil.de> In-Reply-To: <201506162350.11646.holger@layer-acht.org> References: <201505071122.36037.holger@layer-acht.org> <554B509B.8020608@fuckner.net> <201506162350.11646.holger@layer-acht.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/ZpbHUX4VY=e01Z98FRkEWm3"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 12:36:08 -0000 --Sig_/ZpbHUX4VY=e01Z98FRkEWm3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Holger Levsen wrote: > So in a while, I expect to have set up=20 > https://reproducible.debian.net/freebsd/ as well as=20 > https://reproducible.debian.net/netbsd/ - but no promises (yet), but > these are my plans ;-) Awesome. =20 > On Freitag, 8. Mai 2015, Julian Elischer wrote: > > also: By "FreeBSD" do you mean the kernel? or the whole system? > > Unlike Linux, FreeBSD includes most of what the Linux world would > > consider to be the domain of the base distro.. e.g. cat, ls, cc, etc. >=20 > I mean the whole system (what you get when you run "make world") as well > as the ports. >=20 > https://wiki.freebsd.org/ReproducibleBuilds claims there are 3 known > issues (for "make world" AIUI) for HEAD, I would like to build twice and > verify myself. The page is out of date, but luckily most of the issues are trivial to fix and there's work in progress to upstream the patches from ElectroBSD whose distfiles already built reproducible on amd64: https://www.fabiankeil.de/gehacktes/electrobsd/#reproducible-electrobsd The only non-trivial issue I run into was the efi boot stuff, but as I don't have the hardware for it anyway, I just detached it from the built for now and didn't spent a lot of time investigating. Obviously this "solution" is unlikely to fly for FreeBSD. Some of the other patches would require some polishing as well. Fabian --Sig_/ZpbHUX4VY=e01Z98FRkEWm3 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlWBMzAACgkQBYqIVf93VJ3nyACeNexJpzVkolKwCSqI6YyyoEzK TSgAnAhIFHq4/Wn8bfV5IjMEq1z7t3qX =7Vvx -----END PGP SIGNATURE----- --Sig_/ZpbHUX4VY=e01Z98FRkEWm3--