🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #423

Re: RFS: Bringing to Debian: A from-source bootstrap that reproduces upstream's seed

#423
From: Simon Josefsson
Date: Wed, 11 Nov 2026 14:50
69 lines
5877 bytes
--=-=-=
Content-Type: text/plain

Gioele Barabucci <gioele@debian.org> writes:

> On 11/11/26 13:22, Edmund Lodewijks wrote:
>> On 2026/11/11 13:18, Jonathan Dowland wrote:
>>>> Let me ask this question though: what is the purpose of packaging Zig
>>>> into Debian? In my opinion, upstream developers prefer to obtain Zig
>>>> directly from upstream. I think the purpose of packaging Zig into
>>>> Debian is not for Zig users but so that Zig can be used as a
>>>> development package to build other Debian packages. In this case, you
>>>> don't need any cross-compilation support or any of these vendored
>>>> dependencies. They can be completely omitted from the package. This
>>>> hamstrings Zig as a compiler tool, so it would be appreciated if it
>>>> were made clear to Zig users that this package is not for them. But I
>>>> think that is a path worth exploring for Debian, if the goal is to
>>>> build other packages.
>> For the first upload, however, I think a stripped down version would
>> be a great start. And then we could always add the cross-compiling
>> parts later again.
>
> Or have two packages: zig-{core,minimal,basic} and zig.
>
> (At the beginning these could be two separate source packages, then
> they could be merged into a single source package from which two
> binary packages can be built.)
>
> In this way Debian packages can Build-Depend on the smaller package
> and users can install the full-blown package (when it will become
> available).

Please consider a <bootstrap> build profile instead, so that we will be
able to re-bootstrap zig for new platforms in the future.  Then we can
continously test that zig still is possible to bootstrap using current
packages, into something that builds the real zig.  Maybe upstream
doesn't handle this today, but modelling like this could result in
upstream prioritizing this ability.  Which is important for new
architectures in the future.

/Simon

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmr0eJ8bFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS
zrQWCSsGAQQB2kcPAQEHQ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wjMpIB
=Ahv8
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <NYhO9-bf2j-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NY0aB-b4Wx-9@gated-at.bofh.it> <NYbz3-bbCI-5@gated-at.bofh.it> <NYewV-bdgr-5@gated-at.bofh.it> <NYfCF-bdRw-7@gated-at.bofh.it> <NYgp3-beka-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Simon Josefsson <simon@josefsson.org>
Newsgroups: linux.debian.devel
Subject: Re: RFS: Bringing to Debian: A from-source bootstrap that  reproduces upstream's seed
Date: Wed, 11 Nov 2026 15:50:01 +0100
Message-ID: <NYhO9-bf2j-1@gated-at.bofh.it>
References: <NY0aB-b4Wx-9@gated-at.bofh.it> <NYbz3-bbCI-5@gated-at.bofh.it> <NYewV-bdgr-5@gated-at.bofh.it> <NYfCF-bdRw-7@gated-at.bofh.it> <NYgp3-beka-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-devel-request@lists.debian.org  Wed Nov 11 14:41:10 2026
Old-Return-Path: <simon@josefsson.org>
X-Amavis-Spam-Status: No, score=-4.399 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, GB_FAKE_RF=0.001, RCVD_IN_DNSWL_MED=-2.3]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate:hard: -4.6
X-Greylist: delayed 1492 seconds by postgrey-1.37 at bendel; Wed, 11 Nov 2026 14:41:00 UTC
Openpgp: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE;
 url=https://josefsson.org/key-20190320.txt
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373142
List-ID: <debian-devel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-devel/>
List-Archive: https://lists.debian.org/msgid-search/87ik23mp28.fsf@josefsson.org
Approved: robomod@news.nic.it
Lines: 69
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Edmund Lodewijks <edmund@proteamail.com>,  Jonathan Dowland
 <jmtd@debian.org>,  debian-devel@lists.debian.org,  nick black
 <dankamongmen@gmail.com>,  Maytham Alsudany <maytham@debian.org>,  Andrey
 Rakhmatullin <wrar@debian.org>,  Jonathan Carter <jcc@debian.org>,  Ivan
 Carvalho <ivancarvalho@google.com>,  Jesse Rosenstock <jmr@google.com>
X-Original-Date: Wed, 11 Nov 2026 15:15:59 +0100
X-Original-Message-ID: <87ik23mp28.fsf@josefsson.org>
X-Original-References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
	<12f6da1d-3e60-4e94-a0bc-19aa11a70eb7@proteamail.com>
	<DMSC9JR9UEOM.DTD0LXOL32AN@debian.org>
	<331f16fb-56eb-4624-b7f2-61ffde5ae6d0@proteamail.com>
	<827eeca2-f7cf-4544-8eba-c1f59abb57b9@debian.org>