From nobody Wed Sep 04 05:49:44 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WzBS63BVyz5V9m9 for ; Wed, 04 Sep 2024 05:51:02 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WzBS56ZY2z42Lx; Wed, 4 Sep 2024 05:51:01 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1725429054; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AF9A1dDtowhIYI2gV5ehasftrIbQCcu+jFRpO57yWPk=; b=EzPj250WpR4QpMWA+oWCbG7+Tuy58XiVF0IMZtoyHaxk0Pqo0UBAD5Kbt70+i0sNrNJop8 cDFB33fRLULvEOhKGO/UWSnDSmzH29KbtcS75q1y47AFOMs9Ir7o7emt6B/fnpejUAQVSa 0n3erGD81NpzExRNdpNHshrH6xTodgo= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 4251bd8d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 4 Sep 2024 05:50:54 +0000 (UTC) Date: Wed, 4 Sep 2024 07:49:44 +0200 From: Emmanuel Vadot To: Alan Somers Cc: Poul-Henning Kamp , Warner Losh , freebsd-hackers@freebsd.org Subject: Re: It's not Rust, it's FreeBSD (and LLVM) Message-Id: <20240904074944.585d0016d115c80b840c15c2@bidouilliste.com> In-Reply-To: References: <202409031532.483FW0If007252@critter.freebsd.dk> <202409031950.483JoBuh009465@critter.freebsd.dk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4WzBS56ZY2z42Lx Hi Alan, On Tue, 3 Sep 2024 14:19:02 -0600 Alan Somers wrote: > On Tue, Sep 3, 2024 at 1:50?PM Poul-Henning Kamp 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