Thread View: muc.lists.freebsd.hackers
12 messages
12 total messages
Started by Abdelkader Boudih
Sat, 10 Oct 2026 19:58
RFC: Some packages take hours to install.
Author: 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
Re: RFC: Some packages take hours to install.
Author: Gleb Popov
Date: Sat, 10 Oct 2026 20:14
Date: Sat, 10 Oct 2026 20:14
13 lines
5758 bytes
5758 bytes
On Sat, Oct 10, 2026 at 10:58 PM Abdelkader Boudih <seuros@freebsd.org> wrote: > > 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. At the framework level, BUILD_DEPENDS= rustc:lang/rust already works that way. I don't quite get what the problem is. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: 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
Re: RFC: Some packages take hours to install.
Author: Abdelkader Boudih
Date: Sun, 18 Oct 2026 17:06
Date: Sun, 18 Oct 2026 17:06
115 lines
9927 bytes
9927 bytes
--5f8def5ee00821cca2b57db92c124f689bb96a2d Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Gleb, Jordan, Gleb, thank you for pinpointing BUILD_DEPENDS. Also sorry for not answe= ring early, i had a draft and never submitted it. I think my example wasnt clear enough. Let me show an example I have Python 3.15 installed through mise, and I want to install Meson. = I run `pkg install meson`, and pkg wants to install python312 because th= ats the dependency recorded in the package metadata. Now i have 2+ vers= ions of python installed. So i have to install meson from source or use mise again. BUILD_DEPENDS works when building a port, but I=E2=80=99m talking about = installing binary packages with pkg. What Im questioning is why pkg cannot recognize an external dependency p= rovider. If Meson requires Python >=3D 3.10, and I already have a compa= tible Python installed through mise, why cant pkg use it ?=20 If Meson breaks with python 3.20, then we publish 'Python >=3D 3.10 <3.2= 0' =20 I didnt really feel this friction on my workstation. With 32 cores, ever= ything gets compiled or downloaded in 10 minutes max. But when I use a C= eleron or a dual-core computer, everything becomes painfully slow. Arch Linux provides precompiled binaries for many packages, including re= cent versions. But pacman doesn=E2=80=99t solve the disk space problem e= ither. Precompiled Rust and Ruby toolchains still take up space, no matt= er of how quickly they are installed. Thats the discussion I wanted to start. I also don't want to break PKG assumed workflow , we could just have a E= NV variable like PKG_MODE=3DEDGE/NIGHTLY and warnings if the new mode is= used. The MODE won't download new version , if you have Python 3.12 or 3.13 in= stalled via mise or from source, it will use it. Abdelkader --5f8def5ee00821cca2b57db92c124f689bb96a2d Content-Type: text/html; charset=utf-8 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 Gleb, Jordan,</div><div class=3D= "align-start" style=3D"text-align:start;"><br></div><div class=3D"align-= start" style=3D"text-align:start;">Gleb, thank you for pinpointing BUILD= _DEPENDS. Also sorry for not answering early, i had a draft and ne= ver submitted it.<br></div><div class=3D"align-start" style=3D"text-alig= n:start;"><br></div><div class=3D"align-start" style=3D"text-align:start= ;">I think my example wasnt clear enough. Let me show an example</= 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 have Python 3.15 i= nstalled through mise, and I want to install Meson. I run <cod= e style=3D"border-top-width:1px;border-right-width:1px;border-bottom-wid= th:1px;border-left-width:1px;border-top-style:solid;border-right-style:s= olid;border-bottom-style:solid;border-left-style:solid;border-top-color:= #ccc;border-right-color:#ccc;border-bottom-color:#ccc;border-left-color:= #ccc;border-image-source:none;border-image-slice:100%;border-image-width= :1;border-image-outset:0;border-image-repeat:stretch;border-top-left-rad= ius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;borde= r-bottom-left-radius:3px;background-image:none;background-position-x:0%;= background-position-y:0%;background-size:auto;background-repeat:repeat;b= ackground-attachment:scroll;background-origin:padding-box;background-cli= p:border-box;background-color:#f6f6f6;font-family:menlo, consolas, monos= pace;font-size:90%;padding-top:1px;padding-right:3px;padding-bottom:1px;= padding-left:3px;">pkg install meson</code>, and pkg wants to install py= thon312 because thats the dependency recorded in the package metadata. &= nbsp;Now i have 2+ versions of python installed.</div><div class=3D= "align-start" style=3D"text-align:start;"><br></div><div class=3D"align-= start" style=3D"text-align:start;">So i have to install meson from sourc= e or use mise again.</div><div class=3D"align-start" style=3D"text= -align:start;"><br></div><div class=3D"align-start" style=3D"text-align:= start;">BUILD_DEPENDS works when building a port, but I=E2=80=99m talkin= g about installing binary packages with pkg.</div><div class=3D"align-st= art" style=3D"text-align:start;"><br></div><div class=3D"align-start" st= yle=3D"text-align:start;">What Im questioning is why pkg cannot recogniz= e an external dependency provider. If Meson requires Python >=3D= 3.10, and I already have a compatible Python installed through mise, wh= y cant pkg use it ? </div><div class=3D"align-start" style=3D"text-= align:start;">If Meson breaks with python 3.20, then we publish 'Python = >=3D 3.10 <3.20' </div><div class=3D"align-start" style=3D"t= ext-align:start;"><br></div><div class=3D"align-start" style=3D"text-ali= gn:start;">I didnt really feel this friction on my workstation. With 32 = cores, everything gets compiled or downloaded in 10 minutes max. But whe= n I use a Celeron or a dual-core computer, everything becomes painfully = slow.</div><div class=3D"align-start" style=3D"text-align:start;"><br></= div><div class=3D"align-start" style=3D"text-align:start;">Arch Linux pr= ovides precompiled binaries for many packages, including recent versions= . But pacman doesn=E2=80=99t solve the disk space problem either. Precom= piled Rust and Ruby toolchains still take up space, no matter of how qui= ckly they are installed.</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;">Thats the discussion I wanted to start.</div><div class=3D"align-s= tart" style=3D"text-align:start;"><br></div><div class=3D"align-start" s= tyle=3D"text-align:start;">I also don't want to break PKG assumed workfl= ow , we could just have a ENV variable like PKG_MODE=3DEDGE/NIGHTLY and = warnings if the new mode is used.</div><div class=3D"align-start" style=3D= "text-align:start;">The MODE won't download new version , if you have Py= thon 3.12 or 3.13 installed via mise or from source, it will use it.</di= v><div class=3D"align-start" style=3D"text-align:start;"><br></div><div = class=3D"align-start" style=3D"text-align:start;">Abdelkader<br></div></= body></html> --5f8def5ee00821cca2b57db92c124f689bb96a2d-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: jordanhubbard
Date: Sun, 18 Oct 2026 21:21
Date: Sun, 18 Oct 2026 21:21
245 lines
19127 bytes
19127 bytes
--_000_MW4PR03MB642859B1E0902BEDB2DAF313A8992MW4PR03MB6428namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
I think my example wasnt clear enough. Let me show an example
I have Python 3.15 installed through mise, and I want to install Meson. I r=
un pkg install meson, and pkg wants to install python312 because thats the =
dependency recorded in the package metadata. Now i have 2+ versions of pyt=
hon installed.
So i have to install meson from source or use mise again.
BUILD_DEPENDS works when building a port, but I=92m talking about installin=
g binary packages with pkg.
What Im questioning is why pkg cannot recognize an external dependency prov=
ider. If Meson requires Python >=3D 3.10, and I already have a compatible =
Python installed through mise, why cant pkg use it ?
If Meson breaks with python 3.20, then we publish 'Python >=3D 3.10 <3.20'
Ah, you=92re basically talking about the =93brew vs macports=94 scenario ci=
rca 2006 or so, and this is more religion than science so bear with me for =
a bit here - I promise it=92s apropos:
Macports: We believed that every dependency must have known and specific p=
rovenance and that we should be able to support N version of any dependency=
with multiple DAGs for any M:N combination of deps in the same =93depot=94=
under /opt/local ($PREFIX) + hidden sub-path for all but one version of M.=
This is because there are obvious naming conflicts with M versions (onl=
y one =93python=94 can be visible to the CLI for example) so we also had =
=93active=94 vs =93inactive=94 as a port state; user would simply =93activa=
te=94 a port to get it visible to the default $PATH (similar to RHEL=92s /e=
tc/alternatives). All of this was very important to us because we were al=
l Apple employees who we didn=92t trust our own employer not to break thing=
s under us, so we made it a hill to die on.
Brew: In the brew project, they had a very different philosophy: =93If you=
can find it, you can use it=94 - they relied freely on things installed by=
macOS and if Apple broke one of their dependency chains by sliding one of =
their base components out from under them or doing an incompatible breaking=
update, well, things broke and they (brew) would just release a new versio=
n which somehow coped with this. Brew=92s users liked that they didn=92t h=
ave to install a separate copy of every goddamned thing whether Apple provi=
ded it or not, especially the X11 packages (which later became an Xquartz v=
olunteer-driven project and unbundled). These dependencies are quite large=
, so being able to converge on single values of M were more important to br=
ew than M:N.
I would say without question that brew won the package management war.
I think FreeBSD is basically more akin to MacPorts right now - it wants eve=
rything to go through ports, and pkgs are just pre-build ports caches that =
the user can download easily. Ports and pkgs have converged on one INDEX a=
nd, of course, you can chase the DAG from either make(1) or pkg(1) - if you=
use make(1) then the fake-pkg step runs to pretend that you went through p=
kgs first even though you did not.
This means FreeBSD has some internal harmonization to do before =93everythi=
ng is a pkg=94 (no, really really a pkg) and, before it goes there, it need=
s to decide just what pkgs are trying to accomplish. =93A convenient way o=
f installing binaries=94 is how we started, of course, but I think Agentic =
Speed for software changes have thrown all of that for a loop so it=92s pro=
bably worth a re-think before putting work into harmonization that may just=
be skating to where the puck was 10 years ago.
*
Jordan
--_000_MW4PR03MB642859B1E0902BEDB2DAF313A8992MW4PR03MB6428namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body>
<div style=3D"direction: ltr; font-family: Aptos, Arial, Helvetica, sans-se=
rif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id=3D"ms-outlook-mobile-body-separator-line" dir=3D"ltr">
<div style=3D"margin-left: 40px; font-family: Aptos, Arial, Helvetica, sans=
-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I think my example wasnt clear enough. Let me show an example</div>
</div>
<div id=3D"mail-editor-reference-message-container">
<div id=3D"mail-editor-reference-message-body">
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; margi=
n-left: 40px;">
<br>
</div>
<div class=3D"align-start" style=3D"text-align: left; margin-left: 40px;">I=
have Python 3.15 installed through mise, and I want to install Meson. =
;I run
<span style=3D"font-family: menlo, consolas, monospace; background-color: r=
gb(246, 246, 246);">
<code style=3D"font-family: menlo, consolas, monospace;">pkg install meson<=
/code></span>, and pkg wants to install python312 because thats the depende=
ncy recorded in the package metadata. Now i have 2+ versions of pytho=
n installed.</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; margi=
n-left: 40px;">
<br>
</div>
<div class=3D"align-start" style=3D"text-align: left; margin-left: 40px;">S=
o i have to install meson from source or use mise again.</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; margi=
n-left: 40px;">
<br>
</div>
<div class=3D"align-start" style=3D"text-align: left; margin-left: 40px;">B=
UILD_DEPENDS works when building a port, but I=92m talking about installing=
binary packages with pkg.</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; margi=
n-left: 40px;">
<br>
</div>
<div class=3D"align-start" style=3D"text-align: left; margin-left: 40px;">W=
hat Im questioning is why pkg cannot recognize an external dependency provi=
der. If Meson requires Python >=3D 3.10, and I already have a comp=
atible Python installed through mise, why cant
pkg use it ? </div>
<div class=3D"align-start" style=3D"text-align: left; margin-left: 40px;">I=
f Meson breaks with python 3.20, then we publish 'Python >=3D 3.10 <3=
.20' </div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left;"><br>
</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
Ah, you=92re basically talking about the =93brew vs macports=94 scenario ci=
rca 2006 or so, and this is more religion than science so bear with me for =
a bit here - I promise it=92s apropos:</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
<br>
</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
Macports: We believed that every dependency must have known and speci=
fic provenance and that we should be able to support N version of any depen=
dency with multiple DAGs for any M:N combination of deps in the same =93dep=
ot=94 under /opt/local ($PREFIX) + hidden
sub-path for all but one version of M. This is because there =
are obvious naming conflicts with M versions (only one =93python=94 can be =
visible to the CLI for example) so we also had =93active=94 vs =93inactive=
=94 as a port state; user would simply =93activate=94 a port
to get it visible to the default $PATH (similar to RHEL=92s /etc/alternati=
ves). All of this was very important to us because we were all Apple=
employees who we didn=92t trust our own employer not to break things under=
us, so we made it a hill to die on.</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
<br>
</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
Brew: In the brew project, they had a very different philosophy: =93I=
f you can find it, you can use it=94 - they relied freely on things install=
ed by macOS and if Apple broke one of their dependency chains by sliding on=
e of their base components out from under
them or doing an incompatible breaking update, well, things broke and they=
(brew) would just release a new version which somehow coped with this. &nb=
sp;Brew=92s users liked that they didn=92t have to install a separate copy =
of every goddamned thing whether Apple provided
it or not, especially the X11 packages (which later became an Xquartz volu=
nteer-driven project and unbundled). These dependencies are quite lar=
ge, so being able to converge on single values of M were more important to =
brew than M:N.</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
<br>
</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
I would say without question that brew won the package management war.</div=
>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
<br>
</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
I think FreeBSD is basically more akin to MacPorts right now - it wants eve=
rything to go through ports, and pkgs are just pre-build ports caches that =
the user can download easily. Ports and pkgs have converged on one IN=
DEX and, of course, you can chase the
DAG from either make(1) or pkg(1) - if you use make(1) then the fake-pkg s=
tep runs to pretend that you went through pkgs first even though you did no=
t.</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
<br>
</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
This means FreeBSD has some internal harmonization to do before =93everythi=
ng is a pkg=94 (no, really really a pkg) and, before it goes there, it need=
s to decide just what pkgs are trying to accomplish. =93A convenient =
way of installing binaries=94 is how we started,
of course, but I think Agentic Speed for software changes have thrown all =
of that for a loop so it=92s probably worth a re-think before putting work =
into harmonization that may just be skating to where the puck was 10 years =
ago.</div>
<div class=3D"align-start" style=3D"direction: ltr; text-align: left; font-=
family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
0, 0);">
<br>
</div>
<ul data-editing-info=3D"{"applyListStyleFromLevel":false,"u=
norderedStyleType":2}" style=3D"direction: ltr; text-align: left; marg=
in-top: 0px; margin-bottom: 0px; flex-direction: column; display: flex;">
<li style=3D"font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 1=
2pt; color: rgb(0, 0, 0); direction: ltr; align-self: start; margin-top: 0p=
x; margin-bottom: 0px; list-style-type: "- ";">
<div class=3D"align-start" role=3D"presentation" style=3D"direction: ltr; t=
ext-align: left;">
Jordan</div>
</li></ul>
</div>
</div>
</body>
</html>
--_000_MW4PR03MB642859B1E0902BEDB2DAF313A8992MW4PR03MB6428namp_--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: Abdelkader Boudih
Date: Sun, 18 Oct 2026 23:23
Date: Sun, 18 Oct 2026 23:23
73 lines
7368 bytes
7368 bytes
--2f9403d1f1df24b91caa262430c8eeabf967c4d4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Yes, but I raised this because I built upkg (https://github.com/seuros/u= pkg). upkg isnt meant to take pkg's place. In fact, it just proxies to the nat= ive package manager. I built it because I got tired of remembering 100 d= ifferent syntaxes across operating systems. So for basic operations, its= a drop-in replacement for pkg, apt, dnf, pacman, etc. (I just drop the = u in FreeBSD in use pkg) but in linux, i don't know if i need to write a= pt, pacman, ... (depend on the distro) But on macOS, it replaces Homebrew entirely. I think Homebrew gained pop= ularity mostly because of web development, not because it was technicall= y better than MacPorts. And that=E2=80=99s also why I raised this discussion. I want to see this= problem fixed in pkg itself, not build yet another package manager to w= ork around it. As I said in my original email, the days of slow-moving software are com= ing to an end. I think we should be open to revisiting some of the assum= ptions behind our dependency resolver. Maybe we could introduce an exper= imental, opt-in resolver in FreeBSD 16, gather feedback, and evaluate wh= ether it makes sense to adopt it in FreeBSD 17. Just for reference, since i send this email 8 days ago, some softwares g= ot over 30 minor/patch releases Abdelkader --2f9403d1f1df24b91caa262430c8eeabf967c4d4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><title></title></head><body><div class=3D"ali= gn-start" style=3D"text-align:start;">Yes, but I raised this because I b= uilt upkg (<a href=3D"https://github.com/seuros/upkg">https://github.com= /seuros/upkg</a>).</div><div class=3D"align-start" style=3D"text-align:s= tart;"><br></div><div class=3D"align-start" style=3D"text-align:start;">= upkg isnt meant to take pkg's place. In fact, it just proxies to the nat= ive package manager. I built it because I got tired of remembering 100 d= ifferent syntaxes across operating systems. So for basic operations, its= a drop-in replacement for pkg, apt, dnf, pacman, etc. (I just drop the = u in FreeBSD in use pkg) but in linux, i don't know if i need to write a= pt, pacman, ... (depend on the distro)</div><div class=3D"align-start" s= tyle=3D"text-align:start;"><br></div><div class=3D"align-start" style=3D= "text-align:start;">But on macOS, it replaces Homebrew entirely. I think= Homebrew gained popularity mostly because of web development, not becau= se it was technically better than MacPorts.</div><div class=3D"align-sta= rt" style=3D"text-align:start;"><br></div><div class=3D"align-start" sty= le=3D"text-align:start;">And that=E2=80=99s also why I raised this discu= ssion. I want to see this problem fixed in pkg itself, not build yet ano= ther package manager to work around it.</div><div class=3D"align-start" = style=3D"text-align:start;"><br></div><div class=3D"align-start" style=3D= "text-align:start;">As I said in my original email, the days of slow-mov= ing software are coming to an end. I think we should be open to revisiti= ng some of the assumptions behind our dependency resolver. Maybe we coul= d introduce an experimental, opt-in resolver in FreeBSD 16, gather feedb= ack, and evaluate whether it makes sense to adopt it in FreeBSD 17.</div= ><div class=3D"align-start" style=3D"text-align:start;"><br></div><div c= lass=3D"align-start" style=3D"text-align:start;">Just for reference, sin= ce i send this email 8 days ago, some softwares got over 30 minor/patch = releases</div><div class=3D"align-start" style=3D"text-align:start;"><br= ></div><div class=3D"align-start" style=3D"text-align:start;">Abdelkader= </div></body></html> --2f9403d1f1df24b91caa262430c8eeabf967c4d4-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: Jordan Hubbard
Date: Mon, 19 Oct 2026 01:24
Date: Mon, 19 Oct 2026 01:24
110 lines
12068 bytes
12068 bytes
--Apple-Mail=_DF2B019F-85EC-405B-98EC-EF77ECB83406 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 18, 2026, at 16:23, Abdelkader Boudih <seuros@FreeBSD.org> = wrote: >=20 > But on macOS, it replaces Homebrew entirely. I think Homebrew gained = popularity mostly because of web development, not because it was = technically better than MacPorts. >=20 > And that=E2=80=99s also why I raised this discussion. I want to see = this problem fixed in pkg itself, not build yet another package manager = to work around it. Well, at this point I really see only two practical options: 1. Adopt another mainstream package manager. Whether you like brew or = hate brew, for example, it=E2=80=99s done a great of going = cross-platform. I now use it for both macOS and Linux, and if someone = added FreeBSD support to brew and the project took it upstream, I=E2=80=99= d be happy to use brew and the standard system of casks and taps. = Before I wrote pkg back in the 90=E2=80=99s, I also looked at RPM but, = at the time, it didn=E2=80=99t do everything we wanted and Debian = didn=E2=80=99t exist yet. If I were to start over today, I=E2=80=99d = just grab something off the shelf and port it. 2. Propose the changes you want to pkg and submit PRs. It=E2=80=99s = still not clear from this thread just what it is you=E2=80=99d change = about pkg, but rather than talk about it in the abstract, maybe submit = some PRs? You could even poke your changes into a complete installer = harness and create an ISO, as I did with Daemonarchy, just to show the = entire workflow. What I definitely wouldn=E2=80=99t do is create another package = management system. There are already too many <https://xkcd.com/927/>. = :) - Jordan --Apple-Mail=_DF2B019F-85EC-405B-98EC-EF77ECB83406 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 18, 2026, at 16:23, Abdelkader Boudih = <seuros@FreeBSD.org> wrote:</div><br = class=3D"Apple-interchange-newline"><div><meta charset=3D"UTF-8"><div = class=3D"align-start" style=3D"caret-color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: 2; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;">But on macOS, it replaces Homebrew entirely. I = think Homebrew gained popularity mostly because of web development, not = because it was technically better than MacPorts.</div><div = class=3D"align-start" style=3D"caret-color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: 2; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;"><br></div><div class=3D"align-start" = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;">And that=E2=80=99s= also why I raised this discussion. I want to see this problem fixed in = pkg itself, not build yet another package manager to work around = it.</div></div></blockquote></div><br><div>Well, at this point I really = see only two practical options:</div><div><br></div><div>1. Adopt = another mainstream package manager. Whether you like brew or hate = brew, for example, it=E2=80=99s done a great of going cross-platform. = I now use it for both macOS and Linux, and if someone added = FreeBSD support to brew and the project took it upstream, I=E2=80=99d be = happy to use brew and the standard system of casks and taps. = Before I wrote pkg back in the 90=E2=80=99s, I also looked at RPM = but, at the time, it didn=E2=80=99t do everything we wanted and Debian = didn=E2=80=99t exist yet. If I were to start over today, I=E2=80=99d= just grab something off the shelf and port = it.</div><div><br></div><div>2. Propose the changes you want to pkg and = submit PRs. It=E2=80=99s still not clear from this thread just = what it is you=E2=80=99d <i>change</i> about pkg, but rather than = talk about it in the abstract, maybe submit some PRs? You could = even poke your changes into a complete installer harness and create an = ISO, as I did with Daemonarchy, just to show the entire = workflow.</div><div><br></div><div>What I definitely wouldn=E2=80=99t do = is create another package management system. There are = already <a href=3D"https://xkcd.com/927/">too many</a>. = :)</div><div><br></div><div>- = Jordan</div><div><br></div><div><br></div><div><br></div></body></html>= --Apple-Mail=_DF2B019F-85EC-405B-98EC-EF77ECB83406-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: Warner Losh
Date: Mon, 19 Oct 2026 01:59
Date: Mon, 19 Oct 2026 01:59
117 lines
11712 bytes
11712 bytes
--000000000000e7a83c065e27dcb8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Oct 18, 2026, 7:25=E2=80=AFPM Jordan Hubbard <jordanhubbard@mac.com= > wrote: > > > On Oct 18, 2026, at 16:23, Abdelkader Boudih <seuros@FreeBSD.org> wrote: > > But on macOS, it replaces Homebrew entirely. I think Homebrew gained > popularity mostly because of web development, not because it was > technically better than MacPorts. > > And that=E2=80=99s also why I raised this discussion. I want to see this = problem > fixed in pkg itself, not build yet another package manager to work around > it. > > > Well, at this point I really see only two practical options: > > 1. Adopt another mainstream package manager. Whether you like brew or > hate brew, for example, it=E2=80=99s done a great of going cross-platform= . I now > use it for both macOS and Linux, and if someone added FreeBSD support to > brew and the project took it upstream, I=E2=80=99d be happy to use brew a= nd the > standard system of casks and taps. Before I wrote pkg back in the 90=E2= =80=99s, I > also looked at RPM but, at the time, it didn=E2=80=99t do everything we w= anted and > Debian didn=E2=80=99t exist yet. If I were to start over today, I=E2=80= =99d just grab > something off the shelf and port it. > > 2. Propose the changes you want to pkg and submit PRs. It=E2=80=99s stil= l not > clear from this thread just what it is you=E2=80=99d *change* about pkg, = but > rather than talk about it in the abstract, maybe submit some PRs? You > could even poke your changes into a complete installer harness and create > an ISO, as I did with Daemonarchy, just to show the entire workflow. > 3. better incremental build support so we can turn the crank faster. What I definitely wouldn=E2=80=99t do is create another package management = system. > There are already too many <https://xkcd.com/927/>. :) > > - Jordan > > > > --000000000000e7a83c065e27dcb8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote gmail_quote_contai= ner"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Oct 18, 2026, 7:25=E2=80= =AFPM Jordan Hubbard <<a href=3D"mailto:jordanhubbard@mac.com">jordanhub= bard@mac.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div st= yle=3D"line-break:after-white-space"><br id=3D"m_4747032515700309825lineBre= akAtBeginningOfMessage"><div><br><blockquote type=3D"cite"><div>On Oct 18, = 2026, at 16:23, Abdelkader Boudih <seuros@FreeBSD.org> wrote:</div><b= r><div><div style=3D"font-family:Helvetica;font-size:14px;font-style:normal= ;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:= start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0= px;text-decoration:none">But on macOS, it replaces Homebrew entirely. I thi= nk Homebrew gained popularity mostly because of web development, not becaus= e it was technically better than MacPorts.</div><div style=3D"font-family:H= elvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-wei= ght:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transfo= rm:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div= ><div style=3D"font-family:Helvetica;font-size:14px;font-style:normal;font-= variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;= text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;tex= t-decoration:none">And that=E2=80=99s also why I raised this discussion. I = want to see this problem fixed in pkg itself, not build yet another package= manager to work around it.</div></div></blockquote></div><br><div>Well, at= this point I really see only two practical options:</div><div><br></div><d= iv>1. Adopt another mainstream package manager. =C2=A0 Whether you like bre= w or hate brew, for example, it=E2=80=99s done a great of going cross-platf= orm.=C2=A0 I now use it for both macOS and Linux, and if someone added Free= BSD support to brew and the project took it upstream, I=E2=80=99d be happy = to use brew and the standard system of casks and taps.=C2=A0 Before I wrote= pkg back in the 90=E2=80=99s, I also looked at RPM but, at the time, it di= dn=E2=80=99t do everything we wanted and Debian didn=E2=80=99t exist yet.= =C2=A0 If I were to start over today, I=E2=80=99d just grab something off t= he shelf and port it.</div><div><br></div><div>2. Propose the changes you w= ant to pkg and submit PRs.=C2=A0 It=E2=80=99s still not clear from this thr= ead just what it is you=E2=80=99d <i>change</i>=C2=A0about pkg, but rather = than talk about it in the abstract, maybe submit some PRs?=C2=A0 You could = even poke your changes into a complete installer harness and create an ISO,= as I did with Daemonarchy, just to show the entire workflow.</div></div></= blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">3.=C2= =A0 better incremental build support so we can turn the crank faster.</div>= <div dir=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_quote gma= il_quote_container"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0= .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"line-break= :after-white-space"><div>What I definitely wouldn=E2=80=99t do is create an= other package management system.=C2=A0 There are already=C2=A0<a href=3D"ht= tps://xkcd.com/927/" target=3D"_blank" rel=3D"noreferrer">too many</a>. :)<= /div><div><br></div><div>- Jordan</div><div><br></div><div><br></div><div><= br></div></div></blockquote></div></div></div> --000000000000e7a83c065e27dcb8-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: jordanhubbard
Date: Mon, 19 Oct 2026 02:30
Date: Mon, 19 Oct 2026 02:30
100 lines
11378 bytes
11378 bytes
--_000_MW4PR03MB6428B42714BE9FC1C94EE7B4A8982MW4PR03MB6428namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
3. better incremental build support so we can turn the crank faster.
I=92m a huge fan of incremental builds - I use bazel + bezel caching server=
s aggressively in $dayjob for just this reason - but just so I=92m clear on=
what you=92re talking about: Do you mean incremental src builds? Increme=
ntal ports (poudriere) builds? Both?
I built a pkg cache into Daemonarchy so that I could author and test the IS=
Os faster since I was turning around a lot of ISOs - it uses quite a bit of=
extra disk space on the builders but it also provides the pkg cache for bo=
th turning ISOs and for the installer in the ISO by providijg an HTTP cache=
for running scripted Daemonarchy installs to test E2E before running, but =
that=92s fairly late in the development cycle. It sounds like you=92re tal=
king about something a lot earlier?
It would be easy to machine-convert both src and ports to bazel but for dev=
elopers used to make(1) that=92s probably a bridge too far.
*
Jordan
--_000_MW4PR03MB6428B42714BE9FC1C94EE7B4A8982MW4PR03MB6428namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body>
<div style=3D"direction: ltr; font-family: Aptos, Arial, Helvetica, sans-se=
rif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id=3D"ms-outlook-mobile-body-separator-line" dir=3D"ltr">
<div style=3D"direction: ltr; margin-left: 40px; font-family: Aptos, Arial,=
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
3. better incremental build support so we can turn the crank faster.<=
/div>
<div style=3D"direction: ltr; margin-left: 40px; font-family: Aptos, Arial,=
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; margin-left: 0px; font-family: Aptos, Arial, =
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I=92m a huge fan of incremental builds - I use bazel + bezel caching server=
s aggressively in $dayjob for just this reason - but just so I=92m clear on=
what you=92re talking about: Do you mean incremental src builds? &nb=
sp;Incremental ports (poudriere) builds? Both?</div>
<div style=3D"direction: ltr; margin-left: 0px; font-family: Aptos, Arial, =
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; margin-left: 0px; font-family: Aptos, Arial, =
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I built a pkg cache into Daemonarchy so that I could author and test the IS=
Os faster since I was turning around a lot of ISOs - it uses quite a bit of=
extra disk space on the builders but it also provides the pkg cache for bo=
th turning ISOs and for the installer
in the ISO by providijg an HTTP cache for running scripted Daemonarchy ins=
talls to test E2E before running, but that=92s fairly late in the developme=
nt cycle. It sounds like you=92re talking about something a lot earli=
er?</div>
<div style=3D"direction: ltr; margin-left: 0px; font-family: Aptos, Arial, =
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; margin-left: 0px; font-family: Aptos, Arial, =
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It would be easy to machine-convert both src and ports to bazel but for dev=
elopers used to make(1) that=92s probably a bridge too far.</div>
<div style=3D"direction: ltr; margin-left: 0px; font-family: Aptos, Arial, =
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<ul data-editing-info=3D"{"applyListStyleFromLevel":false,"u=
norderedStyleType":2}" style=3D"direction: ltr; margin-top: 0px; margi=
n-bottom: 0px;">
<li style=3D"font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 1=
2pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0=
px; margin-left: 0px; list-style-type: "- ";">
<div role=3D"presentation" style=3D"direction: ltr;">Jordan </div>
</li></ul>
</div>
</body>
</html>
--_000_MW4PR03MB6428B42714BE9FC1C94EE7B4A8982MW4PR03MB6428namp_--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: Gleb Popov
Date: Tue, 20 Oct 2026 07:05
Date: Tue, 20 Oct 2026 07:05
61 lines
8300 bytes
8300 bytes
On Sun, Oct 18, 2026 at 8:07 PM Abdelkader Boudih <seuros@freebsd.org> wrote: > > Hi Gleb, Jordan, > > Gleb, thank you for pinpointing BUILD_DEPENDS. Also sorry for not answering early, i had a draft and never submitted it. > > I think my example wasnt clear enough. Let me show an example > > I have Python 3.15 installed through mise, and I want to install Meson. I run pkg install meson, and pkg wants to install python312 because thats the dependency recorded in the package metadata. Now i have 2+ versions of python installed. > > So i have to install meson from source or use mise again. > > BUILD_DEPENDS works when building a port, but I’m talking about installing binary packages with pkg. > > What Im questioning is why pkg cannot recognize an external dependency provider. If Meson requires Python >= 3.10, and I already have a compatible Python installed through mise, why cant pkg use it ? > If Meson breaks with python 3.20, then we publish 'Python >= 3.10 <3.20' If we're talking about pkg, then it indeed supports only "plain" dependencies at the moment. By "plain" I mean a dependency is encoded in a form of "libfoo-1.2.3.pkg". These kind of deps can obviously only be fulfilled by the libfoo-1.2.3.pkg. There is workings under way to also support "requires" type of deps, which look like, for example, "exe:rustc". These kind of deps can be fulfilled by any package that has "exe:rustc" provides line. This will allow us to relax many types of dependencies (LIB_DEPENDS in ports, for instance) and will make some packages interchangeable. Now speaking of Python, AFAIK you can't generally install a python package for 312, then update Python to 3.13 and expect everything to work. This is not our fault, but this is how Python works. We did our best here - we allow multiple Python packages to be co-installed and we have machinery in Ports to switch the "main" Python version. Unfortunately, we can't build all python ports for all supported Python versions as it gives us a combinatorial explosion. This is as much as the system package management can provide, so I think you should seek a different solution. I recently bumped into the same issue with CentOS 10, which provides much older packages via system package manager. I resorted to a Python virtual environment and used pip to install newest CMake and other python deps right into my $HOME/prefix. I believe this is a way to go when you bump into the system package management limitations. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: Gleb Popov
Date: Thu, 22 Oct 2026 14:00
Date: Thu, 22 Oct 2026 14:00
19 lines
6126 bytes
6126 bytes
On Mon, Oct 19, 2026 at 2:23 AM Abdelkader Boudih <seuros@freebsd.org> wrote: > > Yes, but I raised this because I built upkg (https://github.com/seuros/upkg). > > upkg isnt meant to take pkg's place. In fact, it just proxies to the native package manager. I built it because I got tired of remembering 100 different syntaxes across operating systems. So for basic operations, its a drop-in replacement for pkg, apt, dnf, pacman, etc. (I just drop the u in FreeBSD in use pkg) but in linux, i don't know if i need to write apt, pacman, ... (depend on the distro) You're probably inventing pkgcli from PackageKit, BTW. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: RFC: Some packages take hours to install.
Author: Abdelkader Boudih
Date: Thu, 22 Oct 2026 14:35
Date: Thu, 22 Oct 2026 14:35
45 lines
5685 bytes
5685 bytes
--a439cc0e1edaa626942f5f4efbd82d7e81a51559 Content-Type: text/plain Content-Transfer-Encoding: 7bit Not at all , upkg is much older than pkgcli. I build it because when started to donate the recycled FreeBSD computers around the country , the volunteers that will onboard people were pacman, apt, dnf or windows users... Having upkg int their envs, and to build muscle memory on pkg syntax helped a lot. This is why it doesn't proxy anything complex. It replace MacOS brew totally . I use it as a learning ground for how package managers work.. (this thread is a result). Also in CI , i use https://github.com/seuros/setup-upkg , which allows me to test software across all the matrix of OS without having to ever remember the correct syntax of pacman. On Thu, 22 Oct 2026, at 14:00, Gleb Popov wrote: > You're probably inventing pkgcli from PackageKit, BTW. --a439cc0e1edaa626942f5f4efbd82d7e81a51559 Content-Type: text/html Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><title></title></head><body><div>Not at all ,= upkg is much older than pkgcli.</div><div><br></div><div>I build it bec= ause when started to donate the recycled FreeBSD computers around the co= untry , the volunteers that will onboard people were pacman, apt, dnf or= windows users...<br></div><div><br></div><div>Having upkg int their env= s, and to build muscle memory on pkg syntax helped a lot.</div><div>This= is why it doesn't proxy anything complex.</div><div><br></div><div>It r= eplace MacOS brew totally .</div><div><br></div><div>I use it as a learn= ing ground for how package managers work.. (this thread is a result).</d= iv><div><br></div><div>Also in CI , i use <a href=3D"https://github= .com/seuros/setup-upkg">https://github.com/seuros/setup-upkg</a> , = which allows me to test software across all the matrix of OS without hav= ing to ever remember the correct syntax of pacman. <br></div><div><= br></div><div>On Thu, 22 Oct 2026, at 14:00, Gleb Popov wrote:</div><blo= ckquote type=3D"cite" id=3D"qt" style=3D""><div>You're probably inventin= g pkgcli from PackageKit, BTW.<br></div></blockquote></body></html> --a439cc0e1edaa626942f5f4efbd82d7e81a51559-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads