Article View: muc.lists.freebsd.hackers
Article #43Re: RFC: Some packages take hours to install.
From: 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
Technical Details
Message-ID:
<CANCZdfrmVSZ2ov8XfV_uRhZWbdRhkXdbdziYBOgBzbQQ1ALWVg@mail.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:
<0729F8CA-354F-4580-A430-B5D4571B2AE0@mac.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: Warner Losh <imp@bsdimp.com>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: RFC: Some packages take hours to install.
Date: Sun, 18 Oct 2026 19:59:11 -0600
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CANCZdfrmVSZ2ov8XfV_uRhZWbdRhkXdbdziYBOgBzbQQ1ALWVg@mail.gmail.com>
References: <0729F8CA-354F-4580-A430-B5D4571B2AE0@mac.com> <>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="000000000000e7a83c065e27dcb8"
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
logging-data="32390"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1792375169; 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=Vh6hFKJ4xQeqgjn7edYq1R0bDco2vZUMY5bUKOfZvpw=;
b=KOhUBfHGLcK4CpVbNlYOXkOoLCheKPQDIIUyXUWWhlaFYU6HWWozZUiK6nCeaDs82DygIR
bxdoSUAn4EP9K4561D/7vsDCNmGVKkemwXj9x2LMcThgmQBul6AO7bG3HpAwgmEHCR8FEy
g/lXs1mk6fhR+1LM9MocqUJQte9WHSr7/fJ2QaHEfPfiG8XVNQGzIn94Ct4utrN/XZnJTD
XuHMNCuSauHS5fnM3Jszka/n+QvOrHr5D1DQzRl6vy6RQaEFoytDGO//FYDvrdFk62F7+A
W8WCSiBk6nT24Ieyd1KUMHvFFSEwxbd3POrEwrELQCvtKihlJ73L/Es+m0HwkA==
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
dkim=pass header.d=bsdimp-com.20251104.gappssmtp.com header.s=20251104 header.b=oxA8pgU6;
arc=pass ("google.com:s=arc-20260327:i=1");
spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::636) smtp.mailfrom=wlosh@bsdimp.com;
dmarc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=bsdimp-com.20251104.gappssmtp.com; s=20251104; t=1792375163; x=1792979963; darn=freebsd.org;
h=content-type:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=Vh6hFKJ4xQeqgjn7edYq1R0bDco2vZUMY5bUKOfZvpw=;
b=oxA8pgU6uERX02fecNiIlaGyEUIWyQUCrLG6NcVNQt8ZZkaimcGdjmcEgVcGN8iasR
Oz4SMwWcf8d0x8iXRN1jmEpUy7ueWDFH57+2XsCiTxarou6vws15uDR6x2/xIBZ8pRxp
jjTsMmZ7yiaSk1Gxsf+sPnaihCGR1Rnxbdvq7KaQMY8eSxRBA/IIV+KF2OE3GEpw7Dmh
YqgcFmMiiyPeBHCpFE0GAzUlLDpCfwaVTsLAEiDIzJiGRE+Ps+RWVv/eIuLeVH4VIWvD
ECyx0Kovn3nBZMgIDEwl4OSySudWuVjQpI8Ax+8I7SpM4E8rHKVDOctgoyxqvux/VoCx
b8cw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792375163; x=1792979963;
h=content-type:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=Vh6hFKJ4xQeqgjn7edYq1R0bDco2vZUMY5bUKOfZvpw=;
b=WZGX5gEO9T9pMJG3T4c0HqaZKdY0dwCQUUlW2Bze7NVOWRIIn7VGMrjWsYyjgNMECA
WwGxokmNLh+iL9GGQX3qJ4AhvF4Wl+IiDO8+0ADDZT/NrwucSDsPphMC8TuqI14rfUs4
BDKiGYve4O6dcG5aWHJmIRA0v5Xxjtdgr5p5D8iIWi6Md9KNAWbLujvbAIbh5pO0395O
Z8Sn3p7N2qBzwzdbqjp9L6TzdJrU8SIGe3+YcJv6WmFUBFrV6iildDw3nbZ7pnlY2SAm
xN5PkUffuR3qUnsNoV/NotluSLBpL0wRiFQxSx4YbAPLQaHa7N/8PZ8PJ5QImdti2eqK
Qbyw==
X-Forwarded-Encrypted: i=1; AKwUvBzfueuyLwNKT1kSN4pOZWbGsS99lryIX3XOTTYzrTKRTixoSQKvc0/NPD8WYvdrQEnYBpGzhd/vwUZ13WMegTU=@freebsd.org
X-Gm-Message-State: AFq9FYIUzadVYLj4X+hLvqEspH8UbDls6MFFr7vR/QNc+5BjQ9CEq8kN
BZcA7ErpPepCbQECxy166/7TYiNB+hJdPzveXiP+X5+IVu0CW40G20jtAARLpvR8eJ+b9LWMLQ4
cwzGlL/gm6weh+s7zSMKlDdPTOtYbisY+J+cIHzuNrg==
X-Gm-Gg: AYBFou2R9uwwrwrx+i+YzupPERGkKnJw9PnhM8Oj8Yvr+mvZtCJKJbkefRglS+JYkoT
ddkSA6dT9f4WwpZdhXzDvTXnD2vcvL7gTnvI6HeccTHEsLgYnI7NHClXgehT0H0jlBnL/PPlwTt
vMDHaYYoFqv8JutIazE7xaFI9iXapPXXyX5nWTm/yTXW7EH2i6Fh/m9dKXe4fCRGzv1kEZ5EOmR
MaqA1l/FXgwgOyxblTYsduUHF4WPAu5VkYAmpYM4zTSRQ8/JnZd31vNtYVUeuml8Yyfw3cFfypv
xH5QSRXZ3fPtGTlNlwLMEUV+bEds8IXP/W9Nr4ERpSoHw15PTshHp/dtAKarY2lNIgcWWOpTdAE
Jy0X8/na5uA==
Precedence: list
In-Reply-To: <0729F8CA-354F-4580-A430-B5D4571B2AE0@mac.com>
X-Gm-Features: AclHuK-AzJ1l3hdvqMiI-Z0kq7-hRKFQun-gi03G6vLoNM4jWxDx8U0A-_T-6z0
X-Spamd-Bar: -
X-Spamd-Result: default: False [-1.00 / 15.00];
ARC_ALLOW(-1.00)[google.com:s=arc-20260327:i=1];
FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com];
R_DKIM_ALLOW(-0.20)[bsdimp-com.20251104.gappssmtp.com:s=20251104];
MIME_GOOD(-0.10)[multipart/alternative,text/plain];
ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
R_SPF_NA(0.00)[no SPF record];
RCVD_COUNT_ONE(0.00)[1];
MISSING_XM_UA(0.00)[];
MIME_TRACE(0.00)[0:+,1:+,2:~];
RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::636:from];
FREEMAIL_TO(0.00)[mac.com];
RCVD_TLS_LAST(0.00)[];
MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com];
FROM_HAS_DN(0.00)[];
RCPT_COUNT_THREE(0.00)[4];
TO_MATCH_ENVRCPT_SOME(0.00)[];
TO_DN_ALL(0.00)[];
PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
DMARC_NA(0.00)[bsdimp.com];
DKIM_TRACE(0.00)[bsdimp-com.20251104.gappssmtp.com:+]
X-Rspamd-Queue-Id: 4j7Jd96Bxpz4dXQ
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes