Article View: muc.lists.freebsd.hackers
Article #39Re: RFC: Some packages take hours to install.
From: 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
Technical Details
Message-ID:
<f8f7d68e-18f5-4c67-98ba-ecc181966602@app.fastmail.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:
<> <13B6E4A1-B2B2-4E86-87BA-1DFF3398B0C1@gmail.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: "Abdelkader Boudih" <seuros@FreeBSD.org>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: RFC: Some packages take hours to install.
Date: Sun, 18 Oct 2026 17:06:57 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <f8f7d68e-18f5-4c67-98ba-ecc181966602@app.fastmail.com>
References: <> <13B6E4A1-B2B2-4E86-87BA-1DFF3398B0C1@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=5f8def5ee00821cca2b57db92c124f689bb96a2d
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
logging-data="27339"; 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=1792343238;
h=from:from: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;
bh=UKWzVn3wqNkUyg8MZNX6xd0xhGipschoD+3bpJxTcK8=;
b=YXdBParUxYQiHhb0Jrms+eYsMpeQn78zUzZl66Ch94bWxTV7HvHidKPUMAeaY07QdJD7hu
qHN7b3uKPuQprrpAto2uyOi/WaI7BQZ2DaaSK1tR86dNn/HII+RKuI7X1FxxI/ueb7ZaTG
lCk7aUo6xjWWPPD4dPHqKbef4uEpWXqxd003Qgy7Pcur8O7XqlIYqQ8yNCMnNH/3P4tIzN
A0WECEkR3v3AFJL9jB1+HilMPDalcZXYsxjDu87n9C/mDh7FLXhfEEneqYjAneSpM2d3g0
+o2+CXiGZwZ2EGiFKPYtHN1EFPyR9CYaj2TbwTKnHZdp8t+RkgnrNr6278Bjtw==
X-ME-Sender: <xms:xfzUaml7W0T8t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xfzUavz0nFyjEZP9W4m5yhmVP58T2fNf8aAwO8bSt42IhhaVr_Qg-w>
<xmx:xfzUauIyoD3SfPvXckKddQjIufVaEFbNCW0wNF-vMeBusOA8keDqQhcL>
Feedback-ID: i323e4aa8:Fastmail
Precedence: list
X-ThreadId: A-6djdeRqXEV
In-Reply-To: <13B6E4A1-B2B2-4E86-87BA-1DFF3398B0C1@gmail.com>
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes