Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Sep 2024 20:35:15 +0200
From:      Daniel Engberg <daniel.engberg.lists@pyret.net>
To:        void <void@f-m.fm>
Cc:        freebsd-hackers@freebsd.org, Cy Schubert <cy@FreeBSD.org>
Subject:   Re: Binary updates (was Re: It's not Rust, it's FreeBSD (and LLVM))
Message-ID:  <bb89061bc332bd6e324a80e7464cf5cc@mail.infomaniak.com>
In-Reply-To: <15a38054-3a14-4eb4-a803-9ce12e413194@app.fastmail.com>
References:  <202409031532.483FW0If007252@critter.freebsd.dk> <3845d980-7160-4819-82a4-db2281828c8c@app.fastmail.com> <202409090442.4894gGMb086473@donotpassgo.dyslexicfish.net> <20240909143239.8F285AF@slippy.cwsent.com> <15a38054-3a14-4eb4-a803-9ce12e413194@app.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--_=_swift_1725906915_1e15da2c3454fe16dd04729754182b2f_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2024-09-09T19:38:56.000+02:00, void <void@f-m.fm> wrote:

>=C2=A0On=
=C2=A0Mon,=C2=A09=C2=A0Sep=C2=A02024,=C2=A0at=C2=A015:32,=C2=A0Cy=C2=A0Schu=
bert=C2=A0wrote:
>>=C2=A0=C2=A0Those=C2=A0of=C2=A0us=C2=A0who=C2=A0build=
=C2=A0from=C2=A0source=C2=A0and=C2=A0build=C2=A0ports,=C2=A0whether
>>=
=C2=A0=C2=A0manually=C2=A0or=C2=A0
>>=C2=A0=C2=A0
>>=C2=A0=C2=A0=C2=
=A0through=C2=A0our=C2=A0own=C2=A0poudriere,=C2=A0are=C2=A0the=C2=A0minorit=
y.=C2=A0Just=C2=A0visit=C2=A0the
>>=C2=A0=C2=A0FreeBSD=C2=A0forums.
>=
=C2=A0
>=C2=A0IIRC,=C2=A0the=C2=A0forums=C2=A0don't=C2=A0entertain=C2=
=A0issues=C2=A0raised=C2=A0by=C2=A0src=C2=A0builders,=C2=A0
>=C2=A0
>=
=C2=A0only=C2=A0-releng.=C2=A0This=C2=A0is=C2=A0from=C2=A0a=C2=A0while=
=C2=A0ago=C2=A0though,=C2=A0I=C2=A0might=C2=A0be=C2=A0wrong
>=C2=A0about=
=C2=A0that=C2=A0now,
>=C2=A0
>=C2=A0am=C2=A0happy=C2=A0to=C2=A0be=C2=
=A0corrected.
>=C2=A0
>>=C2=A0=C2=A0I=C2=A0attend=C2=A0OpenHack=C2=
=A0here.=C2=A0People=C2=A0who=C2=A0do=C2=A0use=C2=A0FreeBSD=C2=A0use
>>=
=C2=A0=C2=A0freebsd-update=C2=A0and=C2=A0
>>=C2=A0=C2=A0
>>=C2=A0=C2=
=A0=C2=A0binary=C2=A0packages.=C2=A0(I=C2=A0use=C2=A0freebsd-update=C2=
=A0and=C2=A0binary=C2=A0packages=C2=A0on
>>=C2=A0=C2=A0some=C2=A0VMs=
=C2=A0at=C2=A0
>>=C2=A0=C2=A0
>>=C2=A0=C2=A0=C2=A0$JOB,=C2=A0while=
=C2=A0maintaining=C2=A0my=C2=A0own=C2=A0network=C2=A0at=C2=A0home=C2=A0as=
=C2=A0any=C2=A0developer
>>=C2=A0=C2=A0does.)
>=C2=A0
>=C2=A0I=C2=
=A0use=C2=A0freebsd-update=C2=A0on=C2=A0some=C2=A0VMs=C2=A0too.=C2=A0It=
=C2=A0has=C2=A0its=C2=A0place.=C2=A0But=C2=A0always
>=C2=A0poudriere
>=
=C2=A0
>=C2=A0for=C2=A0ports,=C2=A0as=C2=A0most=C2=A0of=C2=A0the=C2=A0VMs=
=C2=A0are=C2=A0internet=C2=A0facing,=C2=A0and=C2=A0when=C2=A0a=C2=A0vuln
=
>=C2=A0happens
>=C2=A0
>=C2=A0and=C2=A0is=C2=A0patched=C2=A0it's=C2=
=A0the=C2=A0fastest=C2=A0way=C2=A0to=C2=A0fix=C2=A0the=C2=A0situation,=
=C2=A0rather
>=C2=A0than=C2=A0waiting
>=C2=A0
>=C2=A0on=C2=A0the=
=C2=A0pkg=C2=A0builders.
>=C2=A0
>>=C2=A0=C2=A0And=C2=A0that's=C2=A0a=
=C2=A0marketing=C2=A0feature=C2=A0of=C2=A0FreeBSD.=C2=A0Most=C2=A0users=
=C2=A0don't=C2=A0want
>>=C2=A0=C2=A0he=C2=A0hassle=C2=A0
>>=C2=A0=C2=
=A0
>>=C2=A0=C2=A0=C2=A0of=C2=A0building=C2=A0and=C2=A0installing=C2=
=A0an=C2=A0O/S.
>=C2=A0
>=C2=A0Have=C2=A0most=C2=A0users=C2=A0been=
=C2=A0asked?
>=C2=A0
>>=C2=A0=C2=A0Out=C2=A0in=C2=A0the=C2=A0real=C2=
=A0world=C2=A0people=C2=A0use=C2=A0binary=C2=A0updates=C2=A0and=C2=A0binary=

>>=C2=A0=C2=A0packages.=C2=A0We=C2=A0
>>=C2=A0=C2=A0
>>=C2=A0=C2=
=A0=C2=A0developers=C2=A0are=C2=A0an=C2=A0anomaly=C2=A0these=C2=A0days.
>=
=C2=A0
>=C2=A0I'd=C2=A0not=C2=A0consider=C2=A0myself=C2=A0a=C2=A0dev.=
=C2=A0That=C2=A0might=C2=A0be=C2=A0just=C2=A0me=C2=A0though.=C2=A0Is
>=
=C2=A0streamlining=C2=A0a
>=C2=A0
>=C2=A0kernel=C2=A0to=C2=A0have=C2=
=A0what=C2=A0you=C2=A0want=C2=A0and=C2=A0no=C2=A0more=C2=A0a=C2=A0'dev'=
=C2=A0activity?=C2=A0Manually
>=C2=A0patching?
>=C2=A0
>>=C2=A0=C2=
=A0Just=C2=A0because=C2=A0a=C2=A0few=C2=A0of=C2=A0us=C2=A0build=C2=A0from=
=C2=A0source=C2=A0doesn't=C2=A0mean=C2=A0the=C2=A0rest
>>=C2=A0=C2=A0of=
=C2=A0the=C2=A0
>>=C2=A0=C2=A0
>>=C2=A0=C2=A0=C2=A0world=C2=A0does.
>=
=C2=A0
>=C2=A0How=C2=A0would=C2=A0you=C2=A0know?=C2=A0Who=C2=A0has=C2=
=A0counted=C2=A0the=C2=A0numbers?=C2=A0I=C2=A0think=C2=A0maybe=C2=A0a
>=
=C2=A0poll=C2=A0on=C2=A0the
>=C2=A0
>=C2=A0main=C2=A0site=C2=A0might=
=C2=A0be=C2=A0enlightening.=C2=A0I=C2=A0mean,=C2=A0I=C2=A0agree=C2=A0src=
=C2=A0builders=C2=A0are
>=C2=A0probably=C2=A0in=C2=A0
>=C2=A0
>=C2=
=A0a=C2=A0minority=C2=A0now,=C2=A0as=C2=A0freebsd-update=C2=A0is=C2=A0conve=
nient=C2=A0in=C2=A0standard=C2=A0cases,
>=C2=A0
>=C2=A0but=C2=A0it's=
=C2=A0possibly=C2=A0a=C2=A0larger=C2=A0number=C2=A0than=C2=A0you=C2=A0think=
,=C2=A0who=C2=A0build=C2=A0from
>=C2=A0src.
>=C2=A0
>=C2=A0We'll=
=C2=A0never=C2=A0really=C2=A0know=C2=A0without=C2=A0counting.
>=C2=A0
>=
=C2=A0I=C2=A0really=C2=A0hope=C2=A0that=C2=A0when=C2=A0pkgsrc=C2=A0becomes=
=C2=A0dominant,=C2=A0that=C2=A0we're=C2=A0still
>=C2=A0able=C2=A0to=C2=
=A0
>=C2=A0
>=C2=A0grab=C2=A0src=C2=A0in=C2=A0git=C2=A0and=C2=A0checkou=
t=C2=A0whats=C2=A0required,=C2=A0and=C2=A0build=C2=A0from=C2=A0that.
>=
=C2=A0
>=C2=A0It's=C2=A0so=C2=A0very=C2=A0versatile.
>=C2=A0
>=C2=
=A0--

I would imagine that for larger installs it's something inbetwee=
n
where you build your own "set" of packages and base with custom
setti=
ngs etc and then push the binaries.

I would also like to remind people=
 that at least for ports far from
all ports have runtime detection of SIM=
D instructions which can cause
quite a bit of a difference in performance=
 so setting CPUTYPE might
drastically improve performance. Canonical (Ubu=
ntu) are looking into
providing different sets of packages depending on b=
aseline so it's a
thing. https://www.phoronix.com/news/Ubuntu-x86-64-v3-I=
mages-Azure

I also build from source btw =3D)

Best regards,

=
Daniel


--_=_swift_1725906915_1e15da2c3454fe16dd04729754182b2f_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"font-family: 'Helvetica Neue', Helvetica, Arial, =
sans-serif; font-size: 14px">On 2024-09-09T19:38:56.000+02:00, void &lt;voi=
d@f-m.fm&gt; wrote:<br></div><div ><div><br></div></div><div style=3D"font-=
family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px"><b=
r></div><div class=3D"ik_mail_quote answerContentMessage"><blockquote class=
=3D"ws-ng-quote"><pre style=3D"white-space: normal;"><div>On Mon, 9 Sep 202=
4, at 15:32, Cy Schubert wrote:<br></div><blockquote class=3D"ws-ng-quote">=
<div>  Those of us who build from source and build ports, whether manually =
or <br></div><div> through our own poudriere, are the minority. Just visit =
the FreeBSD forums. <br></div></blockquote><div> <br></div><div>IIRC, the f=
orums don't entertain issues raised by src builders, <br></div><div>only -r=
eleng. This is from a while ago though, I might be wrong about that now,<br=
></div><div>am happy to be corrected.<br></div><div><br></div><blockquote c=
lass=3D"ws-ng-quote"><div>  I attend OpenHack here. People who do use FreeB=
SD use freebsd-update and <br></div><div> binary packages. (I use freebsd-u=
pdate and binary packages on some VMs at <br></div><div> $JOB, while mainta=
ining my own network at home as any developer does.)<br></div></blockquote>=
<div> <br></div><div>I use freebsd-update on some VMs too. It has its place=
. But always poudriere<br></div><div>for ports, as most of the VMs are inte=
rnet facing, and when a vuln happens<br></div><div>and is patched it's the =
fastest way to fix the situation, rather than waiting<br></div><div>on the =
pkg builders.<br></div><div><br></div><blockquote class=3D"ws-ng-quote"><di=
v>  And that's a marketing feature of FreeBSD. Most users don't want he has=
sle <br></div><div> of building and installing an O/S.<br></div></blockquot=
e><div> <br></div><div>Have most users been asked?<br></div><div><br></div>=
<blockquote class=3D"ws-ng-quote"><div>  Out in the real world people use b=
inary updates and binary packages. We <br></div><div> developers are an ano=
maly these days.<br></div></blockquote><div> <br></div><div>I'd not conside=
r myself a dev. That might be just me though. Is streamlining a<br></div><d=
iv>kernel to have what you want and no more a 'dev' activity? Manually patc=
hing?<br></div><div><br></div><blockquote class=3D"ws-ng-quote"><div>  Just=
 because a few of us build from source doesn't mean the rest of the <br></d=
iv><div> world does.<br></div></blockquote><div> <br></div><div>How would y=
ou know? Who has counted the numbers? I think maybe a poll on the<br></div>=
<div>main site might be enlightening. I mean, I agree src builders are prob=
ably in <br></div><div>a minority now, as freebsd-update is convenient in s=
tandard cases,<br></div><div>but it's possibly a larger number than you thi=
nk, who build from src.<br></div><div><br></div><div>We'll never really kno=
w without counting.<br></div><div><br></div><div>I really hope that when pk=
gsrc becomes dominant, that we're still able to <br></div><div>grab src in =
git and checkout whats required, and build from that.<br></div><div>It's so=
 very versatile.<br></div><div>--<br></div></pre></blockquote></div><div st=
yle=3D"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-si=
ze: 14px">I would imagine that for larger installs it's something inbetween=
 where you build your own "set" of packages and base with custom settings e=
tc and then push the binaries.<br></div><div style=3D"font-family: 'Helveti=
ca Neue', Helvetica, Arial, sans-serif; font-size: 14px">I would also like =
to remind people that at least for ports far from all ports have runtime de=
tection of SIMD instructions which can cause quite a bit of a difference in=
 performance so setting CPUTYPE might drastically improve performance. Cano=
nical (Ubuntu) are looking into providing different sets of packages depend=
ing on baseline so it's a thing. <a href=3D"https://www.phoronix.com/news/U=
buntu-x86-64-v3-Images-Azure" target=3D"_blank" rel=3D"noopener noreferrer"=
 data-ik=3D"ik-secure">https://www.phoronix.com/news/Ubuntu-x86-64-v3-Image=
s-Azure</a><br></div><div style=3D"font-family: 'Helvetica Neue', Helvetica=
, Arial, sans-serif; font-size: 14px"><br></div><div style=3D"font-family: =
'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px">I also bui=
ld from source btw =3D)<br></div><div style=3D"font-family: 'Helvetica Neue=
', Helvetica, Arial, sans-serif; font-size: 14px"><br></div><div style=3D"f=
ont-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px=
">Best regards,<br></div><div style=3D"font-family: 'Helvetica Neue', Helve=
tica, Arial, sans-serif; font-size: 14px">Daniel<br></div></body></html>


--_=_swift_1725906915_1e15da2c3454fe16dd04729754182b2f_=_--




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