Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2024 07:49:44 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, Warner Losh <imp@bsdimp.com>, freebsd-hackers@freebsd.org
Subject:   Re: It's not Rust, it's FreeBSD (and LLVM)
Message-ID:  <20240904074944.585d0016d115c80b840c15c2@bidouilliste.com>
In-Reply-To: <CAOtMX2jwu9bUDgM=jxtP5t794VUPjNx3GtrVgYqvGcSiZqHwVQ@mail.gmail.com>
References:  <202409031532.483FW0If007252@critter.freebsd.dk> <CANCZdfrhK1iTZL5uxciqK_FGb%2Bzha_NZ15LsY42f%2B_z3KbPmJw@mail.gmail.com> <CAOtMX2go95=RFjegzchgMTYNdZfatzGDVcavp8O6=bK9yks1bQ@mail.gmail.com> <202409031950.483JoBuh009465@critter.freebsd.dk> <CAOtMX2jwu9bUDgM=jxtP5t794VUPjNx3GtrVgYqvGcSiZqHwVQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

 Hi Alan,

On Tue, 3 Sep 2024 14:19:02 -0600
Alan Somers <asomers@freebsd.org> wrote:

> On Tue, Sep 3, 2024 at 1:50?PM Poul-Henning Kamp <phk@phk.freebsd.dk> wro=
te:
> >
> > --------
> > Alan Somers writes:
> >
> > > For example, libifconfig and the /dev/cam/ctl ioctls are both unstabl=
e.
> > > A port that uses one of those and is built for FreeBSD 14.0 won't
> > > necessarily work for 14.1.
> >
> > Isn't that also a problem today ?
> >
> > What difference does it make that src is distributed as a package ?
>=20
> Not "a package" but "many packages".  The pkgbase concept builds a
> separate package for almost every dir under lib, bin, sbin, usr.bin,
> and usr.sbin.

 Not really true, pkgbase creates a packages for each tools or set of
tools (when it make sense).

> So the problem will be that libifconfig and its
> consumers will be distributed separately, whereas they are currently
> distributed together.
> -Alan
>=20

 libifconfig is an internal lib so I'm not sure this is the best
example here (and it's internal lib because it's not stable and I don't
think that you can use it in a port right now unless the port
uses /usr/obj/ from the host or can build the lib from /usr/src, both
solution will create problems).
 But anyway, this isn't a problem to update multiple packages at the
same time, yes there will probably be a time during the update where
the lib is updated and the binary isn't yet (or the other way around)
but that's the same with any ports that depends on a lib present in
another ports.

 Also for sources there is only two packages, FreeBSD-src-sys (for the
kernel) and FreeBSD-src (for anything else).

 I'm not sure that I understand the problem you're trying to describe.

 Cheers,

--=20
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240904074944.585d0016d115c80b840c15c2>