🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #506

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

#506
From: Maytham Alsudany
Date: Tue, 17 Nov 2026 20:50
115 lines
7324 bytes
--=-KChsjNtmuJeGddktIl6Q
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2026-11-17 at 21:55 +0200, Edmund Lodewijks wrote:
> Hi Ivan,
>=20
> On 2026/11/17 21:03, Ivan Carvalho wrote:
> > > Maytham wants version numbers, which I agree with. Ivan suggests also
> > > renaming the package to zig-core, because... I don't know the reason
> > > why?
> >=20
> > This was suggested in debian-devel because functionalities are being
> > stripped. Upstream is very worried about people running "apt install
> > zig" and having a suboptimal experience.
>=20
> There is no precedence that I could find in the archive for doing this=
=20
> kind of renaming, but I am happy to be corrected. I did but a cursory=20
> search.
>=20
> What is missing in terms of functionality, that I can see:
>   - cross-compilation
>   - static musl-linking (I intend to ITP the musl headers if Zig makes it
>     into the achive)
>   - glibc version pinning. This is because of missing abilists and
>     start.S. I think we can get this back in, it's free code after all.
>   - ThreadSanitiser (libsan). I haven't really looked into this yet.
>=20
> So yeah, Zig is not fulfilling its promises of building static libraries=
=20
> that run everywhere.

zig-0.17-minimal / -core / other name does make a lot of sense though,
considering these missing features.

You could put this under zig-0.17, but then you would be pressured to
make that have every feature working, and it does not make very
obviously clear to consumers that it is missing parts unless they read
the description.

[...]
> (2) At first, we ONLY upload the package 'zig-0.17', which installs=20
> zig-0.17 and zig-0.17-src.
>=20
> Now, when you install zig (apt install zig), you get an error, because=
=20
> that package does not exist. If someone really wants to install zig,=20
> they have to type apt install zig-0.17 (which meant they went looking=20
> for it to find it), and the Description will say clearly that there is=
=20
> no glibc in that version, and what that costs.
>=20
> At the same time, ghostty can be built against zig=3D0.17 (it requires=
=20
> 0.17 anyway). We will possibly end up with a couple of versions of Zig=
=20
> in the archive, as long as it's not backwards compatible?

Yes, we probably will.

[...]
> > > What do you think? Does this make sense?
> >=20
> > Please send an MR to https://salsa.debian.org/zig-team/book with your
> > package layout proposal. We need to show the community that we are
> > organized to be taken seriously.
>=20
> Will do. Funny reasoning, though.
>=20
> > I don't object to numbering the package, but while you highlighted
> > cases of package numbering remember that we are closer to
> > https://tracker.debian.org/pkg/nim and
> > https://tracker.debian.org/pkg/swiftlang of being a niche programming
> > language.
>=20
> I suggest that we follow mostly what Go does, except for that they don't=
=20
> follow DEP-14 as much, presumably because Go predates it ;-) We can=20
> start with a clean bill, and laying the best foundations prevents=20
> changes later. I'll lay something out in the Book tomorrow, I hope, but=
=20
> Golang + DEP-14 is where I took my inspiration.

Single zig git repo with branches for the different versions e.g.
debian/0.17, debian/0.17-minimal etc? If this is what you mean, then I
agree.

--
Maytham
>=20

--=-KChsjNtmuJeGddktIl6Q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

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

iQJHBAABCgAxFiEESl/RzRFQh8wD3DXB1ZeJcgbF8H8FAmr8vAETHG1heXRoYW1A
ZGViaWFuLm9yZwAKCRDVl4lyBsXwfySRD/wI3AV8VQtOzdu7K//VVRfULcz8cf74
U8b52l8cVbZX/w5QpxsI3K9Tr4YtlLCtnwRChVSCmJ9vmwc6/+NHETm68eB82xFj
EeK7zA0WPr4+UNtjtnH9Y+/NhgaSsZUPN1EQ4cSrzrX/v+ujFDt3slToGfKhlEES
RuTOgNzyVnk20LjlHMkp7+o/97iB40o8utWPTpIFOlByQVMK4h+IfQp6FF8J59b0
o5+QtlqEiV4Y4s87Ew3doK+R98LxJU4dggT+E1lJ0Gw9Qv0eHe0iye06kcjk9Hm2
grkNhk6AtZ8P3mAi2L377uodP1LkZ2WdujUH42o+noHMB7oSVtSWY6Kbj68uR/s8
Ms1g3fv3AVGUIGRYM9TkjplZ1wqaF0agVl9NTm/iuzluO68+l10Gpe0E9S+dcZx8
ZOQB5ZvY3IIdya1TU9aXdaw0fuIWKaxKQ0Jpi/2VTY2NqZrZMW+aZ7wtjIVEPHHx
qJRJV9mze0J+R/BSHKyKKfgtjZJ+GoW7viQHL73+abQ6QHau8bwo62uJeAo1AHjr
Xhn73oFAjI83RHzam8jWejZdFbaUUbjPbgXtNt/sm0KocdzgHPUJ8PGUgQ9P2Dt/
8T7dDrX2Ur0+q4h5yIvGIoLdzuNh+25PqifYJFM8KiFQO+idjpzsCQpHr9Pv9T8m
HRcRGKda/Dp4kA==
=oGDS
-----END PGP SIGNATURE-----

--=-KChsjNtmuJeGddktIl6Q--
Technical Details
Message-ID: <O0yhP-cwqV-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NY0aB-b4Wx-9@gated-at.bofh.it> <O0buV-cjLO-9@gated-at.bofh.it> <O0xvr-cvZH-9@gated-at.bofh.it> <O0xvr-cvZH-11@gated-at.bofh.it> <O0xvr-cvZH-13@gated-at.bofh.it> <O0xvr-cvZH-15@gated-at.bofh.it> <O0xvr-cvZH-17@gated-at.bofh.it> <O0xvr-cvZH-19@gated-at.bofh.it> <O0xvr-cvZH-21@gated-at.bofh.it> <O0xvr-cvZH-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Maytham Alsudany <maytham@debian.org>
Newsgroups: linux.debian.devel
Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that  reproduces upstream's seed
Date: Tue, 17 Nov 2026 21:50:01 +0100
Message-ID: <O0yhP-cwqV-3@gated-at.bofh.it>
References: <NY0aB-b4Wx-9@gated-at.bofh.it> <O0buV-cjLO-9@gated-at.bofh.it> <O0xvr-cvZH-9@gated-at.bofh.it> <O0xvr-cvZH-11@gated-at.bofh.it> <O0xvr-cvZH-13@gated-at.bofh.it> <O0xvr-cvZH-15@gated-at.bofh.it> <O0xvr-cvZH-17@gated-at.bofh.it> <O0xvr-cvZH-19@gated-at.bofh.it> <O0xvr-cvZH-21@gated-at.bofh.it> <O0xvr-cvZH-7@gated-at.bofh.it>
X-Original-To: Edmund Lodewijks <edmund@proteamail.com>, Ivan Carvalho
	 <ivancarvalho@google.com>
X-Mailbox-Line: From debian-devel-request@lists.debian.org  Tue Nov 17 20:42:02 2026
Old-Return-Path: <maytham@debian.org>
X-Amavis-Spam-Status: No, score=-4.401 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
Content-Type: multipart/signed; micalg="pgp-sha512";
	protocol="application/pgp-signature"; boundary="=-KChsjNtmuJeGddktIl6Q"
User-Agent: Evolution 3.62.1-3 
MIME-Version: 1.0
X-Debian-User: maytham
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373244
List-ID: <debian-devel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-devel/>
List-Archive: https://lists.debian.org/msgid-search/8d4753b27fbbd08c10877899bd296b87128bbe54.camel@debian.org
Approved: robomod@news.nic.it
Lines: 115
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Debian Zig Compiler Team <team+zig-compiler@tracker.debian.org>, 
	debian-devel@lists.debian.org
X-Original-Date: Wed, 18 Nov 2026 04:41:37 +0800
X-Original-Message-ID: <8d4753b27fbbd08c10877899bd296b87128bbe54.camel@debian.org>
X-Original-References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
	 <47a1d1b5-78ca-40ef-b5bc-1a64d09cbf4e@proteamail.com>
	 <CAKyZ7_YruoOiaY7Oa3eBhhzEQnywYh4t2fe4qu66zsLn4QP0Vg@mail.gmail.com>
	 <612cdaa8-6442-48b0-a626-0bf287217075@proteamail.com>
	 <c1b8cb7bac1bf4ee65327e61ea09ea1d784efe11.camel@debian.org>
	 <CAKyZ7_ZhLiLmuTsnRy8xVAN5Dw1G8aMT3zqEPfVer3=p5wXKow@mail.gmail.com>
	 <a42e007d5440f50cb0cdf612d65a2ae146216574.camel@debian.org>
	 <b7e010a4-d57f-423e-bf79-e618d372bf86@proteamail.com>
	 <CAKyZ7_aBWyxyrCbavJda8z-Zi+UR9j=kdcAa32i2p9itS65LXw@mail.gmail.com>
	 <da16a89f-b9c4-4801-936b-5350153a96a5@proteamail.com>