[RB] NetBSD: Build script should use different source pathes
Jan-Benedict Glaw
jbglaw at lug-owl.de
Thu Jun 15 18:56:15 BST 2023
Hi!
I'm currently deep-diving into NetBSD's repro builds and looking at
https://salsa.debian.org/qa/jenkins.debian.net/-/blob/master/bin/reproducible_netbsd.sh,
I found some oddities that may make it blind to some issues.
First of all, all builds start from the same source location. I
suggest to do fresh GIT checkouts into different directories
(different tempdirs or rename the "src" resp. "netbsd" directory in
between), as in my builds, I experience the full filename showing up
in some parts. (That is, you'll find the two ubsan tests in NetBSD's
"tests" set different, as well as GCC's language frontends in the
"comp" set.) The current setup doesn't detect these, as all builds
seem to be done from one common source location.
Also, I think that these days, you no longer need to
`export MKREPRO="yes"` and supply
`-V MKREPRO_TIMESTAMP=$MKREPRO_TIMESTAMP` to `build.sh`, it's enough
to just give `-P` to `build.sh` (which in turn sets both.) GIT support
(to figure out the latest commit timestamp) is fixed as per
4e98e58f3bb5a8.
Thanks
Jan-Benedict
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20230615/53f9b3c6/attachment.sig>
More information about the Reproducible-builds
mailing list