[RB] NetBSD: Build script should use different source pathes

Holger Levsen holger at layer-acht.org
Thu Jun 15 19:03:50 BST 2023


Hi Jan,

On Thu, Jun 15, 2023 at 07:56:15PM +0200, Jan-Benedict Glaw wrote:
> 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.

ok, cool!
 
>   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.

can you please send these comments in the form of git patches? :)


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

Dat gifft in Plattdüütschen keen Woort för „Flüchtlinge”. Dat sünd allens Lüüd, 
Mischen, Kinners, Olle, Froons, Mannslüüd, so as Du un Ick.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20230615/bd67abed/attachment.sig>


More information about the Reproducible-builds mailing list