Article View: muc.lists.freebsd.hackers
Article #37Re: RFC: Some packages take hours to install.
From: Jordan Hubbard
Date: Sun, 18 Oct 2026 16:33
Date: Sun, 18 Oct 2026 16:33
149 lines
13697 bytes
13697 bytes
--Apple-Mail=_BA56D604-B18F-46FD-8489-0CA1767415C7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
> On Oct 10, 2026, at 12:58, Abdelkader Boudih <seuros@FreeBSD.org> =
wrote:
>=20
> I think part of our package and dependency model comes from an era =
where software moved much slower. We could have a week without an =
upstream update and nobody really cared. But we are in a new era now, =
where packages can be updated in the morning and again in the afternoon. =
Someone finds a bug, reports it upstream, an agent helps prepare a fix, =
and a new release can be out the same day.
That=E2=80=99s one way of looking at it, but I think a slightly better =
framing is =E2=80=9Cwhat are you trying to accomplish with packages?=E2=80=
=9D
If the answer (today) is =E2=80=9Cto keep the user up to date!=E2=80=9D =
then it already isn=E2=80=99t packages for all the reasons you outlined =
- by the time a full package run completes, it=E2=80=99s already stale =
by definition. The only way to stay up to date with genuinely =
per-commit granularity is git pull + rebuild.
Packages, however, still have a place if you change the framing: A set =
of package {name, version, architecture} tuples, saved as a static DAG, =
is a pin set. You ship the pins to any user who wants a known good / =
known tested / known mission version of FreeBSD that is fully =
reproducible and can be fully reasoned about. This doesn=E2=80=99t mean =
that pin set doesn=E2=80=99t have bugs - it just means that it=E2=80=99s =
a very specific, known quantity. If fixing a bug requires sliding one =
or more pins, the child of the original pin set becomes a new pin set.
SEMVER still applies, it just applies to a pin set. You don=E2=80=99t =
even have to ship the packages any more if you don=E2=80=99t want to, =
you just ship the pin sets and pins can be on { repo, hash } tuples too, =
if packages are not available, in which case the installer would =
(ideally) just build from those sources at installation time. Arch =
already does this for every case it can=E2=80=99t find a pre-build =
binary, and it=E2=80=99s pretty transparent to the user.
TL;DR: There are only two durable first-class objects in this New World =
Order:
1. The specifications used to build or describe the source code.
2. A pin set which describes the source code, or generated artifacts =
from the source code, at a very specific moment in time, including the =
transitive closure over all of the dependencies, such that you can =
=E2=80=9Cfreeze=E2=80=9D the high speed motion of the code.
Obligatory references:=20
1. https://github.com/jordanhubbard/literate-ai.git
The specs to source to binary to package SDLC manager I use for all =
projects, including Daemonarchy 1.1.2 - it treats pin sets as first =
class objects because everything must be reproducible in a literate-ai =
world.
2. https://github.com/jordanhubbard/daemonarchy.git
WIP for FreeBSD installer (through Daemonarchy) as pin set consumer. =
Once you have the pins, you just pull all of the cached artifacts off =
GitHub. I haven=E2=80=99t added the ability to do source builds of =
=E2=80=9Cmissing packages=E2=80=9D yet (after following the DAG to =
install the appropriate tool chains + sources) but that=E2=80=99s =
maybe=E2=80=A6 2 hours of work?
- Jordan=
--Apple-Mail=_BA56D604-B18F-46FD-8489-0CA1767415C7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" =
content=3D"text/html; charset=3Dutf-8"></head><body =
style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><br =
id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote =
type=3D"cite"><div>On Oct 10, 2026, at 12:58, Abdelkader Boudih =
<seuros@FreeBSD.org> wrote:</div><div><div><div =
class=3D"align-start" style=3D"text-align:start;"><br></div><div =
class=3D"align-start" style=3D"text-align:start;">I think part of our =
package and dependency model comes from an era where software moved much =
slower. We could have a week without an upstream update and nobody =
really cared. But we are in a new era now, where packages can be updated =
in the morning and again in the afternoon. Someone finds a bug, reports =
it upstream, an agent helps prepare a fix, and a new release can be out =
the same day.</div></div></div></blockquote><br></div><div>That=E2=80=99s =
one way of looking at it, but I think a slightly better framing is =
=E2=80=9Cwhat are you trying to accomplish with =
packages?=E2=80=9D</div><div><br></div><div>If the answer (today) is =
=E2=80=9Cto keep the user up to date!=E2=80=9D then it already isn=E2=80=99=
t packages for all the reasons you outlined - by the time a full package =
run completes, it=E2=80=99s already stale by definition. The only =
way to stay up to date with genuinely per-commit granularity is git pull =
+ rebuild.</div><div><br></div><div>Packages, however, still have a =
place if you change the framing: A set of package {name, version, =
architecture} tuples, saved as a static DAG, is a pin set. You =
ship the pins to any user who wants a known good / known tested / known =
mission version of FreeBSD that is fully reproducible and can be fully =
reasoned about. This doesn=E2=80=99t mean that pin set doesn=E2=80=99=
t have bugs - it just means that it=E2=80=99s a very specific, known =
quantity. If fixing a bug requires sliding one or more pins, the =
child of the original pin set becomes a new pin =
set.</div><div><br></div><div>SEMVER still applies, it just applies to a =
pin set. You don=E2=80=99t even have to ship the packages any =
more if you don=E2=80=99t want to, you just ship the pin sets and pins =
can be on { repo, hash } tuples too, if packages are not available, in =
which case the installer would (ideally) just build from those sources =
at installation time. Arch already does this for every case it =
can=E2=80=99t find a pre-build binary, and it=E2=80=99s pretty =
transparent to the user.</div><div><br></div><div>TL;DR: There are =
only two durable first-class objects in this New World =
Order:</div><div><br></div><div>1. The specifications used to build or =
describe the source code.</div><div><br></div><div>2. A pin set which =
describes the source code, or generated artifacts from the source code, =
at a very specific moment in time, including the transitive closure over =
all of the dependencies, such that you can =E2=80=9Cfreeze=E2=80=9D the =
high speed motion of the code.</div><div><br></div><div>Obligatory =
references: </div><div><br></div><div>1. <a =
href=3D"https://github.com/jordanhubbard/literate-ai.git">https://github.c=
om/jordanhubbard/literate-ai.git</a></div><div><br></div><div>The specs =
to source to binary to package SDLC manager I use for all projects, =
including Daemonarchy 1.1.2 - it treats pin sets as first class objects =
because everything must be reproducible in a literate-ai =
world.</div><div><br></div><div>2. <a =
href=3D"https://github.com/jordanhubbard/daemonarchy.git">https://github.c=
om/jordanhubbard/daemonarchy.git</a></div><div><br></div><div>WIP for =
FreeBSD installer (through Daemonarchy) as pin set consumer. Once =
you have the pins, you just pull all of the cached artifacts off GitHub. =
I haven=E2=80=99t added the ability to do source builds of =
=E2=80=9Cmissing packages=E2=80=9D yet (after following the DAG to =
install the appropriate tool chains + sources) but that=E2=80=99s =
maybe=E2=80=A6 2 hours of work?</div><div><br></div><div>- =
Jordan</div></body></html>=
--Apple-Mail=_BA56D604-B18F-46FD-8489-0CA1767415C7--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<13B6E4A1-B2B2-4E86-87BA-1DFF3398B0C1@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<3cc7aa5b-5f4b-46e7-8326-3af3f491a730@app.fastmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Jordan Hubbard <jordan.hubbard@gmail.com>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: RFC: Some packages take hours to install.
Date: Sun, 18 Oct 2026 09:33:58 -0700
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <13B6E4A1-B2B2-4E86-87BA-1DFF3398B0C1@gmail.com>
References: <3cc7aa5b-5f4b-46e7-8326-3af3f491a730@app.fastmail.com>
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3864.700.51.1.3\))
Content-Type: multipart/alternative;
boundary="Apple-Mail=_BA56D604-B18F-46FD-8489-0CA1767415C7"
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
logging-data="3712"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1792341259; h=from:from:sender:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:cc:mime-version:mime-version:
content-type:content-type:in-reply-to:in-reply-to:
references:references:list-id:list-help:list-owner:list-unsubscribe:
list-subscribe:list-post; bh=CvmWlQpf0B7w+xqUxzfX4JxZHXXwZF9WVLalREiuXSE=;
b=eDBWneK+O3+uyg2sf1ZUnl3P5HK7Nny8tkUTMPIOxK87ajXAQjlK/JQHC2Ax0xvWe+neu5
sy5Ot4H9k2DrZrWEFy07NAl1JbSEbkg2wsX9fVyEQ7G8Lypm32tDGESfD94bv9+14sy+JR
WaTVzwVxomR7YEFuZy+RC7kkX0HHZxGghWsVMzZYrJlWpxJC8zuXqlWDn4PUsxnuq7EjQ8
dMSJG/2nNvsj0ufpf0avDD6OjsJmFfoILw6rLreuRs8zss/Jwl+n3TrgX2AUvxK5TUJD+t
/4BlFjWsfK06BHQlqaTYMlEP4J6xJfdmXVyHa1lAM7oDN4wHPDB7o3ltnQ8ChA==
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
dkim=pass header.d=gmail.com header.s=20251104 header.b=Nq5s1fGP;
spf=pass (mx1.freebsd.org: domain of jordan.hubbard@gmail.com designates 2607:f8b0:4864:20::132d as permitted sender) smtp.mailfrom=jordan.hubbard@gmail.com;
dmarc=pass (policy=none) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792341253; x=1792946053; darn=freebsd.org;
h=references:to:cc:in-reply-to:date:subject:mime-version:content-type
:message-id:from:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=CvmWlQpf0B7w+xqUxzfX4JxZHXXwZF9WVLalREiuXSE=;
b=Nq5s1fGPKcENVMXyq17qhp4m61ZeuboQre7gN5BnawRCMnrpF9wil3tcoksRj7HCgF
VNBOTBJSDxUal1ecZjAJMSB6ca4vHjJUlPSCzOwxDROoYKIgEHs7fWv/6tIIMde95n1M
to9Jo+qb1uqBZrrKFN6lpB0KZPeeJvwluOb1liaphsg0XDEQSCoyPvh8xq8HuAN/MkjM
2KMpM2Kc5uIiYW/sg+83oy0mNFUhnzhOm7Y4VJ13NTe5j1V3ikfLWrYhHKbA0/VrlZA/
95PeyJAuPuVom8LGU5Nr8pcW4zw59Dqg8laC+W8GK2Fsz/2ladpD/RHf8yfc7t9/uuIz
/j1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792341253; x=1792946053;
h=references:to:cc:in-reply-to:date:subject:mime-version:content-type
:message-id:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=CvmWlQpf0B7w+xqUxzfX4JxZHXXwZF9WVLalREiuXSE=;
b=CIAnjeltMbm2/wN+29UBFnscAnfvBhzukNJJwiX9qPEILtvptu0p1maSwR7XkfkRdt
KBFWm30tStyTjih64iEUm/J+C/2J9Zu6/tvroU44NMUzPcIRSl4fhu45ZII58Wj7vSVC
FcnGOxISPx90xeUtvWDlQYEfPNw673dZYVGH50iGWQwc3v0JjT1j2cKhUwPFcYyG75lM
zGJ3GJXPuH6xwSgG0syERIOkejBELUBypUvM41S7gmvREs1E49b37nK2x3TvaA+wPgvH
3FGE0wpSgdhIBiyqaxjCoDodMmnvxz9BVVydyAM9UwzSIRxmRn4NAB22ARXUffJcfuR9
FlHw==
X-Gm-Message-State: AFq9FYI4VG+BYqOoSIhPspRlJtA7wLkU6jTkL00fuE5rPgSq/rWSAiLz
TPyYcJMUYrVh2xlglq+EIQKbV/6FCcPN6ukG/4YXaorc25I/nUclP7JV
X-Gm-Gg: AYBFou1VYT9tn84hCiRTe961vj6jCPJAjp+9TfsP3fxqZI69emD97a15N4dx/RHcB57
iviEP8v7JLErla3PouFMQbXafvjgRw3TpiRY/LWr8PJ9fWreopyT4IgczSizWGLjzAb635ks9K8
7n6oCR8WU+hT0zZUoj0Q+QQxprWesea9bgIRp1oZZ09zjbd6EvHf51a1fNaONvp8nFT20BDqc0j
7ntjvZFNvzEtuKXiho9MMlZBylJqLzSCso9cCLQMfd6AalkFc4IYWwtF5ILm7LumBOxKyDHIBto
ryKyBu0lr8vn0wXhYCZt8z/NsfSLvzI+Sse2o3l0I7oc0rIcXO0R3zLgF1JiiTXnHzHzli0X4b0
zoGQr2z6b/eWR7bZS/uIf9lKkQ+J3sxDM4O37g+9CEG2vLvpo35cieKkPav+83hq3akD67XvSai
wAiZKda8hC7rJwES2fAxUkRKaQ4VTNfr5vVdYsDMfsn7hGpIJeTGS6qB0tT6UVkGY3AKAyREayL
KdjxlZbNhx6besYm+9KyphK
Precedence: list
In-Reply-To: <3cc7aa5b-5f4b-46e7-8326-3af3f491a730@app.fastmail.com>
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.50 / 15.00];
DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
MV_CASE(0.50)[];
R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56:c];
R_DKIM_ALLOW(-0.20)[gmail.com:s=20251104];
MIME_GOOD(-0.10)[multipart/alternative,text/plain];
RCVD_VIA_SMTP_AUTH(0.00)[];
RCPT_COUNT_TWO(0.00)[2];
ARC_NA(0.00)[];
MIME_TRACE(0.00)[0:+,1:+,2:~];
DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
FREEMAIL_FROM(0.00)[gmail.com];
TO_DN_SOME(0.00)[];
MID_RHS_MATCH_FROM(0.00)[];
MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
ALIAS_RESOLVED(0.00)[];
FROM_EQ_ENVFROM(0.00)[];
FREEMAIL_ENVFROM(0.00)[gmail.com];
FROM_HAS_DN(0.00)[];
RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::132d:from];
RCVD_COUNT_TWO(0.00)[2];
PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
TO_MATCH_ENVRCPT_SOME(0.00)[];
RCVD_TLS_LAST(0.00)[];
DKIM_TRACE(0.00)[gmail.com:+]
X-Rspamd-Queue-Id: 4j74541jZVz4LDK
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes