Article View: muc.lists.freebsd.hackers
Article #18RFC: Some packages take hours to install.
From: Abdelkader Boudih
Date: Sat, 10 Oct 2026 19:58
Date: Sat, 10 Oct 2026 19:58
92 lines
9782 bytes
9782 bytes
--33e68a1c45dc83ab82855e4e3d80d14c5150293c Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi, We need to talk about dependencies. 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. I maintain a few libraries myself, and some days I release two or three versions in the same day when i work on them. This becomes especially painful with languages and their ecosystems. Ruby, Rust, Python and many of their tools exist in Ports, but when I actually need to use them for development, I regularly end up bypassing pkg. I use mise https://mise.jdx.dev, it brings precompiled version of my toolset in minutes, for example, because the versions available through pkg can already be outdated, and sometimes they contain bugs, unstable features that have already been fixed/stable upstream. So we end up in a situation where FreeBSD has a package manager, but for development I install another tool to install the actual languages and versions I need. Yesterday i was with Adrian@ and we needed rust 1.99 , we have 1.98.1 in port only for now. I don't think the answer is "bring more committers and update the ports faster." There will always be a delay between an upstream release, someone updating the port, the package builders running, and packages reaching the mirrors. I personally stopped doing backward compatibility with software i publish, because it just extra maintenance for me and users can either pin old versions or just update in 1 afternoon. My responsibility is to give them a update path in the changelog. I don't have a complete solution yet to this problem, this is why i want to open a discussion. My suggestion is to have an alternative resolver, for example if it find that i have something manually installed to use it instead of using port. Btw today i saw someone complaining that Rust is being compiled from scratch while trying to install something else. With a beeffy machine, that takes minutes, but with an old one... hours. Anyway, let see other ideas. Abdelkader --33e68a1c45dc83ab82855e4e3d80d14c5150293c Content-Type: text/html Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><title></title></head><body><div class=3D"ali= gn-start" style=3D"text-align:start;">Hi,</div><div class=3D"align-start= " style=3D"text-align:start;"><br></div><div class=3D"align-start" style= =3D"text-align:start;">We need to talk about dependencies.</div><div cla= ss=3D"align-start" style=3D"text-align:start;"><br></div><div class=3D"a= lign-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. Bu= t 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 class=3D"align-start" style=3D"text-align:start;"><br></div><di= v class=3D"align-start" style=3D"text-align:start;">I maintain a few lib= raries myself, and some days I release two or three versions in the same= day when i work on them.</div><div class=3D"align-start" style=3D"text-= align:start;">This becomes especially painful with languages and their e= cosystems. Ruby, Rust, Python and many of their tools exist in Ports, bu= t when I actually need to use them for development, I regularly end up b= ypassing pkg. I use mise <a href=3D"https://mise.jdx.dev/">htt= ps://mise.jdx.dev</a>, it brings precompiled version of my toolset= in minutes, for example, because the versions available through pkg can= already be outdated, and sometimes they contain bugs, unstable features= that have already been fixed/stable upstream.</div><div class=3D"align-= start" style=3D"text-align:start;"><br></div><div class=3D"align-start" = style=3D"text-align:start;">So we end up in a situation where FreeBSD ha= s a package manager, but for development I install another tool to insta= ll the actual languages and versions I need. </div><div class=3D"align-s= tart" style=3D"text-align:start;">Yesterday i was with Adrian@ and we ne= eded rust 1.99 , we have 1.98.1 in port only for now.</div><div class=3D= "align-start" style=3D"text-align:start;">I don't think the answer is "b= ring more committers and update the ports faster."</div><div class=3D"al= ign-start" style=3D"text-align:start;">There will always be a delay betw= een an upstream release, someone updating the port, the package builders= running, and packages reaching the mirrors.<br></div><div class=3D"alig= n-start" style=3D"text-align:start;"><br></div><div class=3D"align-start= " style=3D"text-align:start;">I personally stopped doing backward compat= ibility with software i publish, because it just extra maintenance for m= e and users can either pin old versions or just update in 1 afternoon. M= y responsibility is to give them a update path in the changelog.<br></di= v><div class=3D"align-start" style=3D"text-align:start;"><br></div><div = class=3D"align-start" style=3D"text-align:start;">I don't have a complet= e solution yet to this problem, this is why i want to open a discussion.= </div><div class=3D"align-start" style=3D"text-align:start;">My su= ggestion is to have an alternative resolver, for example if it find that= i have something manually installed to use it instead of using port.</d= iv><div class=3D"align-start" style=3D"text-align:start;"><br></div><div= class=3D"align-start" style=3D"text-align:start;">Btw today i saw someo= ne complaining that Rust is being compiled from scratch while trying to = install something else. With a beeffy machine, that takes minutes, but w= ith an old one... hours.</div><div class=3D"align-start" style=3D"text-a= lign:start;"><br></div><div class=3D"align-start" style=3D"text-align:st= art;">Anyway, let see other ideas.<br></div><div class=3D"align-start" s= tyle=3D"text-align:start;"><br></div><div class=3D"align-start" style=3D= "text-align:start;">Abdelkader</div></body></html> --33e68a1c45dc83ab82855e4e3d80d14c5150293c-- -- 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:
<3cc7aa5b-5f4b-46e7-8326-3af3f491a730@app.fastmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.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-mailShow 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!3.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: "Abdelkader Boudih" <seuros@FreeBSD.org>
Newsgroups: muc.lists.freebsd.hackers
Subject: RFC: Some packages take hours to install.
Date: Sat, 10 Oct 2026 19:58:13 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <3cc7aa5b-5f4b-46e7-8326-3af3f491a730@app.fastmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=33e68a1c45dc83ab82855e4e3d80d14c5150293c
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
logging-data="97582"; mail-complaints-to="news-admin@muc.de"
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1791662314;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type;
bh=QC9hkcbFNBbaQbkYSf3MGNScJaPRgKtoPtO5NrGtjdI=;
b=Fst0GVL+6QCw2G18uslma6uCXLuW0mfzTCi5OELxT9OOLh3aEmqEUa/NCX+HTAL0uZHHmj
4guyBUMgf6Lt8SuRf7NDCGj68LGKq+6GduofYTHVcacywOPJSXv/OEUNk521xkDNo4m+go
cO3IBhB6X18SLntvlhKHRbQynMlRAJF7Wt7jFRQCJ4f4YmRQdAmRCWuDWgTxw3XOp76ngt
GmoS8U4iXfSXBsYlyOTeNfw1XwitUll9pF/Rz6obX+6v0izPlqUg/bjXn+mxz0uwkdo8oq
VgMg68QEgSnvI9zqsGHX6jXT4IC/o+OdKdEu6sV62LD8pN+gZSYBm+AXGhUkVQ==
X-ME-Sender: <xms:6ZjKaueCp168gy9wGHbanF1zbQYDOY-wAdjkBAMYSSA97bidQTTrJQ>
<xme:6ZjKajAacacToQrbXsssAyE3d0N0A2e7alIH0CqmYWmbH8u9O-YGm0fAQry5UFb1p
4pBPErOWHLBITgH4u6ouPF0W1GUlqfF-HSuWQV-v79678HBj9M9luY>
X-ME-Proxy-Cause: dmFkZTFjzy1abacxvDqm+TlO085FBSJMSJZ3lXdUcT7s3XEvyTH+DK8TAng7n7pU+XeF98
58VpRP9c0QNKrCR5nh1LbbEWVsCvO6qnjz4IiDnEz5/wxAZl7IDxf+0UY1kFMIOSQpJ1UT
sWuzYLgsAvmEbvSYzVRQcOASPHQ12TDgNatpNL0RJpxAGkKhO1/JgkvFsDqCNvqyaRMYJV
fPm3i+4GliBXeByF4m6mEiGBfoY0nn+SBq9Bt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