Re: change in uname -a behaviour between 12-ALPHA5 and 12-ALPHA7

2018-09-26 Thread Ed Maste
On 26 September 2018 at 12:20, tech-lists  wrote:
> On 26/09/2018 14:34, Andrey Fesenko wrote:
>>
>> See WITH_REPRODUCIBLE_BUILD
>>
>> https://lists.freebsd.org/pipermail/freebsd-current/2018-September/071125.html
>
>
> Thanks, I was unaware of the change till now. Somehow missed that thread.

I've also added it to UPDATING now too, in r338946 - I missed that at first.

> I had to add the line WITHOUT_REPRODUCIBLE_BUILD="YES"
> to /etc/src.conf. I could not see WITH_REPRODUCIBLE_BUILD in man src.conf.

Where a knob has the same default on all architectures,only the
(non-default) setting that has an effect is documented:

 WITHOUT_REPRODUCIBLE_BUILD
 Set to include build metadata (such as the build time, user, and
 host) in the kernel, boot loaders, and uname output.  Successive
 builds will not be bit-for-bit identical.

> So this means at least in -current r338903 that
> WITHOUT_REPRODUCIBLE_BUILD="NO" is the default, iow REPRODUCIBLE_BUILD is on
> by default unless everything is recompiled WITHOUT_REPRODUCIBLE_BUILD="YES".

The WITH/WITHOUT options do not test the value, only whether set or
not -- see the src.conf(5) note:

 The values of variables are ignored regardless of their setting; even if
 they would be set to "FALSE" or "NO".  The presence of an option causes
 it to be honored by make(1).

In other words, there are only two cases:

- REPRODUCIBLE_BUILD defaults to off, and WITH_REPRODUCIBLE_BUILD=yes
enables it (prior to r338642)
- REPRODUCIBLE_BUILD defaults to on, and
WITHOUT_REPRODUCIBLE_BUILD=yes disables it (r338643 and later)

Note that the original plan was to make this change only in the branch
before the release, but we decided to do it earlier in order to
identify any issues. Right now it's still undecided whether the
default will switch back to off in HEAD after the branch or not.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: change in uname -a behaviour between 12-ALPHA5 and 12-ALPHA7

2018-09-26 Thread tech-lists

On 26/09/2018 14:34, Andrey Fesenko wrote:

See WITH_REPRODUCIBLE_BUILD
https://lists.freebsd.org/pipermail/freebsd-current/2018-September/071125.html


Thanks, I was unaware of the change till now. Somehow missed that thread.

I had to add the line WITHOUT_REPRODUCIBLE_BUILD="YES"
to /etc/src.conf. I could not see WITH_REPRODUCIBLE_BUILD in man 
src.conf. So this means at least in -current r338903 that 
WITHOUT_REPRODUCIBLE_BUILD="NO" is the default, iow REPRODUCIBLE_BUILD 
is on by default unless everything is recompiled 
WITHOUT_REPRODUCIBLE_BUILD="YES".

--
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: change in uname -a behaviour between 12-ALPHA5 and 12-ALPHA7

2018-09-26 Thread Ronald Klop

You can disable WITH_REPRODUCIBLE_BUILD in /etc/src.conf.
Or enable WITHOUT_REPRODUCIBLE_BUILD. I'm not sure which one is currently 
available. (see man src.conf)

The default changed for the release of 12. Which will be evaluated before the 
final release.

Somebody mailed about this a little while ago on the mailinglist.

Regards,

Ronald.

Van: tech-lists 
Datum: woensdag, 26 september 2018 15:23
Aan: FreeBSD Current 
Onderwerp: change in uname -a behaviour between 12-ALPHA5 and 12-ALPHA7


Hello,

uname -a used to show a string including the date and where the kernel was 
compiled:

FreeBSD 12.0-ALPHA5 #0 r338518: Fri Sep  7 02:13:14 UTC 2018 
r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC

It no longer does:

root@REDACTED:/etc# uname -a
FreeBSD REDACTED.REDACTED.org 12.0-ALPHA7 FreeBSD 12.0-ALPHA7 r338903 REDACTED  
amd64

How can I get the old behaviour back?

thanks,

--
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"




___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: change in uname -a behaviour between 12-ALPHA5 and 12-ALPHA7

2018-09-26 Thread Andrey Fesenko
See WITH_REPRODUCIBLE_BUILD
https://lists.freebsd.org/pipermail/freebsd-current/2018-September/071125.html

On Wed, Sep 26, 2018 at 4:23 PM, tech-lists  wrote:
> Hello,
>
> uname -a used to show a string including the date and where the kernel was
> compiled:
>
> FreeBSD 12.0-ALPHA5 #0 r338518: Fri Sep  7 02:13:14 UTC 2018
> r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
>
> It no longer does:
>
> root@REDACTED:/etc# uname -a
> FreeBSD REDACTED.REDACTED.org 12.0-ALPHA7 FreeBSD 12.0-ALPHA7 r338903
> REDACTED  amd64
>
> How can I get the old behaviour back?
>
> thanks,
>
> --
> J.
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


change in uname -a behaviour between 12-ALPHA5 and 12-ALPHA7

2018-09-26 Thread tech-lists

Hello,

uname -a used to show a string including the date and where the kernel 
was compiled:


FreeBSD 12.0-ALPHA5 #0 r338518: Fri Sep  7 02:13:14 UTC 2018 
r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC


It no longer does:

root@REDACTED:/etc# uname -a
FreeBSD REDACTED.REDACTED.org 12.0-ALPHA7 FreeBSD 12.0-ALPHA7 r338903 
REDACTED  amd64


How can I get the old behaviour back?

thanks,

--
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"