Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2024 21:23:36 +0100 (CET)
From:      henrichhartzer@tuta.io
To:        Warner Losh <imp@bsdimp.com>
Cc:        Eugene Grosbein <eugen@grosbein.net>, FreeBSD stable <freebsd-stable@freebsd.org>, FreeBSD Release Engineering Team <re@freebsd.org>, Freebsd Reproducibility <freebsd-reproducibility@freebsd.org>
Subject:   Re: kern.version and uname -v
Message-ID:  <Nnjon8O--3-9@tuta.io>
In-Reply-To: <CANCZdfqnCnBmF49YTzkESQfiheS30Rqp20A0GUoNTLcRvQNXjA@mail.gmail.com>
References:  <c7d140b1-8d47-ab7f-c27a-0f3eb3f1b599@grosbein.net> <CANCZdfrPLsZiVznsw3mkMz_2FOc=4kjy7R20ouUFgtTdbgQGWg@mail.gmail.com> <bfbf2da2-52c8-ed76-bfeb-e39eefb1bd76@grosbein.net> <CANCZdfqnCnBmF49YTzkESQfiheS30Rqp20A0GUoNTLcRvQNXjA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I personally feel that building releases reproducibly is quite important. H=
ow can we trust the current 14.0-RELEASE images? Would be nice to be able t=
o build them locally and know they are the same.

What do we need to do to make sure that 14.1-RELEASE is built reproducibly?

Thanks!

PS: It looks like freebsd-reproducibility@ may have some issues?


Jan 9, 2024, 03:29 by imp@bsdimp.com:

>
>
> On Mon, Jan 8, 2024 at 7:17=E2=80=AFPM Eugene Grosbein <> eugen@grosbein.=
net> > wrote:
>
>> 09.01.2024 4:16, Warner Losh wrote:
>>
>> > On Mon, Jan 8, 2024 at 1:58=E2=80=AFPM Eugene Grosbein <>> eugen@grosb=
ein.net>>  <mailto:>> eugen@grosbein.net>> >> wrote:
>> >=C2=A0 =C2=A0 =C2=A0For ages, "uname -v" output (sligtly polished sysct=
l kern.version) had the following format:
>> >=C2=A0 =C2=A0 =C2=A0$ uname -v
>> >=C2=A0 =C2=A0 =C2=A0FreeBSD 13.2-STABLE 36a037f15 KERNELIDENT
>> >
>> > This is the reproducible format: only include data that is identical f=
rom build to build. It's relatively recent (FreeBSD 11 maybe)
>> >
>> >=C2=A0 =C2=A0 =C2=A0Where KERNELIDENT is GENERIC for x86 distribution m=
edia.
>> >
>> >=C2=A0 =C2=A0 =C2=A0But now:
>> >
>> >=C2=A0 =C2=A0 =C2=A0# uname -v
>> >=C2=A0 =C2=A0 =C2=A0FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716ee=
e8ab4: Fri Nov 10 05:51:26 UTC 2023=C2=A0 =C2=A0 =C2=A0root@releng1.nyi.fre=
ebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC
>> >
>> > This is the old, non-reproducible format. We've had both formats for s=
everal major releases, and this format, with various tweaks as we went from=
 CVS -> svn -> git.
>> >
>> > Maybe the problem here is that in the run up to 14.0 we didn't turn on=
 reproducible builds?
>>
>> You meant opposite, did you?
>>
>
> I don't think so. The quoted value is the old WITHOUT_REPRODUCIBLE_BUILDS=
 format. We forgot to turn on WITH_REPRODUCIBLE_BUILDS in the branch before=
 the release.
>
> Warner
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Nnjon8O--3-9>