Article View: muc.lists.netbsd.ports
Article #1NetBSD Reproducibility
From: Jan-Benedict Glaw
Date: Tue, 23 Jul 2024 17:09
Date: Tue, 23 Jul 2024 17:09
75 lines
3953 bytes
3953 bytes
--Sr1nOIr3CvdE5hEN
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi!
After handing a good number of patches regarding NetBSD
reproducibility to Christos during the last months (years?), the
current state over all port/arch combinations emitted by
./build.sh list-arch | grep -v NO_DEFAULT | \
while IFS=3D$'\t'=3D read _1 MACHINE _2 ARCH _; do
echo "${MACHINE}-${ARCH}"
done
when running a `current` build in a Debian `unstable` Docker container
as well as in a NetBSD `current` Qemu VM (hosted on a Linux system)
are consistent enough so that I started to auto-generate a report:
http://toolchain.lug-owl.de/reports/netbsd-reproducibility-overview-1.html
Each port/arch combination is built four times:
* two builds in a Debian unstable Docker and
* two builds in a NetBSD current VM.
The table shows the build state for those four builds, whether or not
the two Linux builds produces a fully matching result, whether or not
the two NetBSD builds match, and whether or not the NetBSD builds
match the Linux builds.
Build artifacts taken into consideration are all sets, install
filesystems as well as the install ISOs if available. Everything is
packed into a tarball (with carefully overridden timestamps) and
compressed (gzip -n). With matching build artifacts, the tarballs also
have to be bit-identical.
I intend to work down the remaining differences, but that takes
time. (Esp. my computation power is limited, so it *really* takes time
to track things down.)
Stats:
96 considered port/arch
83 had successful builds on Linux and NetBSD
45 were completely reproducible comparing Linux- and NetBSD-based builds
Remarks:
* amd64-x86_64 failed to build on NetBSD due to the virtual disk
being too small. Disk is larger now, should work in the next
build round.
* hp300-m68k failed on Linux with a mmap error. The boot code was
recently reworked, that may have caused this issue.
MfG, JBG
=20
--=20
--Sr1nOIr3CvdE5hEN
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCZp/jzQAKCRAdvV51g5nh
u5BaAJ938YWDkc8d55m3Y7fSPR8stLqwRwCeJCYZwYbIxVC6/JwVD8ZSiQiJTnE=
=JTYb
-----END PGP SIGNATURE-----
--Sr1nOIr3CvdE5hEN--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<20240723170936.GC6678@lug-owl.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <20240723170936.GC6678@lug-owl.de> Subject: NetBSD Reproducibility Date: Tue, 23 Jul 2024 19:09:36 +0200 From: Jan-Benedict Glaw <jbglaw@lug-owl.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf1.newsdeef.eu!not-for-mail Sender: netbsd-ports-owner@NetBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Sr1nOIr3CvdE5hEN" User-Agent: Mutt/1.10.1 (2018-07-13) X-Tkuev: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll Distribution: world Content-Disposition: inline X-Operating-System: Linux chamaeleon 6.4.0-0.deb12.2-amd64 Newsgroups: muc.lists.netbsd.ports Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Mime-Version: 1.0 X-Gpg-Fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-Echelon-Enable: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-Gpg-Key: wwwkeys.de.pgp.net X-Message-Flag: Please send plain text messages only. Do not send HTML emails. Thank you. Precedence: bulk X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes