🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.devel
25 messages
25 total messages Started by Edmund Lodewijks Tue, 10 Nov 2026 20:00
RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#402
Author: Edmund Lodewijks
Date: Tue, 10 Nov 2026 20:00
288 lines
22069 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------riKDzQpAGq3CNqDyJhdDqGsC
Content-Type: multipart/mixed; boundary="------------C3K6O12607yeaCIsPrQeO0Bl";
 protected-headers="v1"; hp="clear"
Message-ID: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
Date: Tue, 10 Nov 2026 21:59:26 +0200
MIME-Version: 1.0
Content-Language: en-ZA, nl-NL
To: debian-devel@lists.debian.org
Cc: Jonathan Carter <jcc@debian.org>, ivancarvalho@google.com,
 dankamongmen@gmail.com
X-DKIM-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/a5/a5cbd6a5b55cce6261c28bdd024611cf.pem
From: Edmund Lodewijks <edmund@proteamail.com>
Subject: RFS: Bringing [zig] to Debian: A from-source bootstrap that
 reproduces upstream's seed

--------------C3K6O12607yeaCIsPrQeO0Bl
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

SGkgYWxsLA0KDQoNCkFwb2xvZ2llcyBmb3IgdGhlIGxlbmd0aHkgZW1haWwuIFRoaXMgaXMg
YmFzZWQgb24gYSBnb29kIHR3byB3ZWVrcyBvciBzbyANCm9mIHdvcmsgb24gbWFraW5nIFpp
ZyBwYWNrYWdlYWJsZSBmb3IgRGViaWFuLg0KDQoNClNob3J0IHZlcnNpb246IFppZydzIGJv
b3RzdHJhcCBibG9iIGNhbiBub3cgYmUgcHJvZHVjZWQgZnJvbSBzb3VyY2UsIGFuZCANCnRo
ZSByZXN1bHQgaXMgYml0LWZvci1iaXQgaW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Gq3CNqDyJhdDqGsC
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

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

wnsEABYIACMWIQTnqsIVl5ZcYlkQjW9HHyK94l3WZAUCavN3ngUDAAAAAAAKCRBHHyK94l3WZLN4
AQDjqo8G048fIJKyrblP/KgzBLS//SLMOWvovT9V9Hx3YwEAyBu8bdG1m3xedLXT4itVcdpAd5S7
IXzLTZ/lKWkdQAM=
=8uCx
-----END PGP SIGNATURE-----

--------------riKDzQpAGq3CNqDyJhdDqGsC--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#406
Author: nick black
Date: Tue, 10 Nov 2026 20:40
59 lines
5467 bytes
--vpKG5dKuhaWJEi8J
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Edmund Lodewijks left as an exercise for the reader:
> A first attempt: Nick Black's proposal in msg00153 (i.e.: bootstrap with =
the
> blob, then regenerate it) proves the blob is honest but does not remove it
> from what the source package needs. The first upload is the part that was
> unsolved, and which I am solving here.

so we did implement a good chunk of the work, though against zig 0.14.
in fact, it got uploaed to NEW, where it was (correctly) shot=20
down by ftpmasters due to missed vendored code (of which there=20
was a tremendous amount; i don't know if this has changed).

https://salsa.debian.org/debian/zig if you're unaware of it.

this is orthogonal to the problem you solved below, but might=20
help you on the backend. you mention debian/copyright is "barely=20
started"; we've got over 1100 lines of it. i'd definitely try to=20
leverage what you can from there, or perhaps integrate your work=20
into it (i can review salsa PRs)!

or maybe not, depending on how different 0.16 is.

> (b) A maintainer binary upload. I (or the sponsor) build(s) the binaries
> locally against the bootstrap compiler, and a sponsor uploads those rather
> than just signing a .dsc.

this is basically what russ albery proposed in msg00105, no?

--=20
nick black -=3D- https://nick-black.com
to make an apple pie from scratch,
you need first invent a universe.

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

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

iQIzBAABCgAdFiEEmi//dHmU4oe+xCLxX0NADCHL+swFAmrzftcACgkQX0NADCHL
+swGug/+N/399ds1jduJVBLOF0FobxWII41UlyDrxgK/xjejni5/tgEWds7EW3Sp
gr1mLo2h7/LdPy0fxTyRKfzKNOPqZLhXZV685eGk69DXxlfozLDErqiGYQK5sKnK
Ru+/YsaOrRoo2LWVbuzg0Gdji6dF5fSy2MObcofRgCnAfpP6r9COjPC8cyS1Obsy
FtB2QZ5Wri2RRtNHdOnn5REB4HpG0jLpv2ODsO/DhJnzDiylUhNdL1cvaCYd8qtY
LnqUIYzq02v7Ro+dxBjhQ7x4BvvbkWZqHDdzrMC6Ft8vPmOq67UYSfCXeY0SxNaL
lDm2yzbKtFYiug2plpHu7VOC8F4y6j+EcZ3UWQlXfK7UvfapYZo17tRYi7O0ke3k
T4rG5UlRtQaaKbUs6aoijYksxiek9IY6PjNiVf6MLoCTy4UUg63sclz/sVsuqOpr
zgLrVP3/sxk7PkV1bsNIQCjs4FojM7wCWJMAydfVorPQApZmXCZbkNOP87jWP8iM
FJUY+iu92KpOcJvIFSBedH+DpXY5HL5AeoAZxuA4nqWAjJ2Cd6sRyPECuA5f2DKn
X+yDCttazEr73Z8UakQVkebktlMCLLXtyfgb/ClU4fhnlP81sH85XY6M9eY7DWoP
rIn1xuIsi2uB3NQH5+4zSNo1v0L2NK7RKja/vXSJLvonzH9k6Sw=
=H+YE
-----END PGP SIGNATURE-----

--vpKG5dKuhaWJEi8J--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#407
Author: Andrey Rakhmatullin
Date: Tue, 10 Nov 2026 20:50
71 lines
4609 bytes
--oxe9zOE4N7EtPNW5
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 10, 2026 at 09:59:26PM +0200, Edmund Lodewijks wrote:
>(b) A maintainer binary upload. I (or the sponsor) build(s) the=20
>binaries locally against the bootstrap compiler, and a sponsor uploads=20
>those rather than just signing a .dsc.
>
>Between those options, I lean towards option (a). Against option (b),=20
>rust's README.source puts it quite nicely into words:
>
>  "[The traditional Debian way is that] a developer locally installs=20
>some upstream
>  bootstrapping binaries [and] builds a Debian package, using these=20
>binaries as
>  undeclared build dependencies. [...] The problem with this is,=20
>Debian does not
>  have any policy nor infrastructure that can try to reproduce what this
>  developer supposedly did."

(it's indeed a traditional way, and it's also indeed not ideal)

>2. Is an amd64-only first upload acceptable?

Even having leaf package on just one architecture for significant amount=20
of time is permissible, even more so if you are going to bootstrap=20
other architectures later.

>2. debian/copyright is not finished (barely started). The bundled=20
>mingw-w64, wasi-libc, BSD libc and aro trees still need auditing. I=20
>would appreciate guidance from anyone who has done this at scale=20
>(Rust, Go, npm?). There are ~30,000 files in the tarball, and from=20
>what I can see, there will be a variety of licenses. Perhaps there are=20
>tools available to extract this information? Thank you in advance!

Consider repacking to remove stuff you won't use (assuming not everything=
=20
there is needed on Debian).

>at any point. My chain takes around 1.5 to 2 hours on 8 cores, which=20
>may or may not be out of reach for a buildd.=20

This is much less than what do many packages take on amd64 buildds.


--=20
WBR, wRAR

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

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

iQIzBAABCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmrzgsoACgkQM2L3AxpJ
kuGuUw//ca6eTwgJtituNHn3hyDCXwhsMTW+hnx1qN6mYazjSC8GGgzHHI4K2lTH
SgX2SHLwY1T8ws/pO+33/0e6DU2Si4YuZAoQATnUToRK5cnco1TFxZmbsieKZ869
ee5/LVeeadEPyL4GU2P7akiptmw0LWnp1R3bdG4csLbub0S/7IkO9TJZ0X6TOvvT
ta+MArz5s0Xfs9/FDBGvMhJNVOp9j5VOkPCOWNWVBm6XfGPH2bsGKSMnW4ms9ri0
il/Cfh4y1+BtvpDlnTISKN1WupzoyxNtMMKfbM/kzrVNifPok2W8Ar1WIxwEn5mC
a6+qbIw1T3k3k5opmSWsoVSgzdtvRpraSKhRTmd0uoSC04RaLao/j+NdMcPt+Eno
M5ZingXPL8hYkXiFP6ZTRBNFCVN9cjE1AC+mYRtZVt+lV0XKvTGpAz4UIBKeMgGr
LRHPAgxUrELGhEcfddzLmHPDcA7jaHPv/XJk6dKkQzaK+9U9nYF/eGCeDN4TfSfT
I7mgx+HTImYTnArIfy815G7QaqV49kjB7GvyMz6uJKpaDBL+E7YDS50j9CqTNZuU
G0LIARV2l7lKupBvz+VQxIkzc9EaNkqs0/JjHlz3S+NLFuYoNdKch/yIflsuqSJF
+bNyZrCj+KTFUtz8blUEsWVBksJiX6BM03qH4vjcvspLUQPBWW8=
=XVRb
-----END PGP SIGNATURE-----

--oxe9zOE4N7EtPNW5--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#411
Author: Edmund Lodewijks
Date: Wed, 11 Nov 2026 08:10
145 lines
8215 bytes
Hi all,

Thank you all for the swift replies -- I am really very encouraged by 
this, and I was **not** aware of zig-team on Salsa! Is there a ML where 
you discuss all these things? I looked through debian-devel, and thought 
that there wasn't much Zig work going on at the moment. I am very glad 
that I was wrong, and happy to join the effort (and zig-team) if you'll 
have me!

With regards to the things that were mentioned:

I thought that the bootstrap was the real blocker, but it turns out that 
the vendored code was. That's were my effort should go next then.

@nick black
-----------

 > in fact, it got uploaed to NEW, where it was (correctly) shot down by 
ftpmasters due to missed vendored code (of which there was a tremendous 
amount; i don't know if this has changed).

If you still have it, could you please share the (gist of the) 
ftpmasters rejection? Might be useful!

I don't think the amount of vendored code has changed very much. There's 
some work to do, and some choices to be made.

 > you mention debian/copyright is "barely started"; we've got over 1100 
lines of it. i'd definitely try to leverage what you can from there

d/copyright: Yes, very happy to continue on your work. Unvendoring first 
would help a ton, so that's where I'd start. I'm sure ftpmasters or DFSG 
use tools for quickly checking for licensen vs d/copyright. Would be 
great to be able to use that.

 > this is basically what russ albery proposed in msg00105, no?

That's correct (I could/should have mentioned that). The difference is 
in the seed: Not the upstream seed, but a seed from source, which was 
verified to be equal to the one from upstream.

The zig repo on Salsa does exclude some vendored code, but not the 
upstream blob (it mentions that in the d/copyright file, saying it will 
therefore be non-free). So, we worked on different issues.

@Maytham Alsudany
-----------------

 > I have not been able to build zig0.14 [...] on my own machine, on 
debusine.debian.net, and on barriere.debian.org (the amd64 porterbox)

Thank you for trying to build this, and I am sorry about the many hours 
without success. Happy to have a look at build logs if you feel like 
running it again.

Some things from my notes on the build failures I encountered when going 
from 0.16 to 0.17.1 (different versions from the one you were trying to 
build):

  - Do not use upstream's cmake path. cmake is good for generating 
config.h and building zigcpp (libzigcpp.a) and nothing else; the 
compiler itself has to be built by an existing zig via `zig build`.
  - Pass -Dversion-string= and -DZIG_VERSION= explicitly. Both paths 
otherwise run `git describe`, which fails in a release tarball.
  - Have ZIG_GLOBAL_CACHE_DIR inside the build tree. A stale 
~/.cache/zig silently produces a miscompiled compiler that segfaults, 
with nothing in the    output pointing anywhere near the cache. That 
cost me most of a day... :(
  - -Dcpu=baseline, or the result varies per builder.
  - I looked quite a bit at Fedora's spec file for ideas as well.

@Andrey Rakhmatullin
--------------------

 > Even having leaf package on just one architecture for significant 
amount of time is permissible, even more so if you are going to 
bootstrap other architectures later.

Thank you, that settles my question 2!

And if we can build a zig-bootstrap source package on buildd, that's 
great to know as a possible option! Thanks :)

 > Consider repacking to remove stuff you won't use (assuming not 
everything there is needed on Debian).

Yes, I will look into this.

Other packaging efforts have removed all the cross-compilation files 
(musl, Darwin, mingw, the BSDs). From what I gather, those files never 
end up in the compiler; they are the sources Zig compiles on demand so 
that it can cross-compile on a system with no cross packages installed.

I think removing all of these for now would be the best way to get Zig 
into Debian (much like Jonathan Carter did). It would be a native-only 
Zig to begin with, and cross-compilation comes in at a later stage. That 
is also when the path forward would have to be chosen: gcc-style (a 
separate compiler package per target, target libc in its own package) or 
clang-style (one multi-target compiler, target libc left to the user to 
install).

I will do the stripping incrementally against a build that currently 
works, and see if any removals break anything. I expect that removing 
lib/include (clang's resource headers) and lib/libtsan might cause 
issues, since `zig cc` uses those. Perhaps the build issues that Maytham 
reported are related to that?

And, if this is the way to go, then the abilists I mentioned in my first 
email will also go (for now).

@Ivan, Jesse
-------------
Thank you both! I had not found jmrx/zig.

On guix and buildds:
You are right, and I think that option (c) isn't very viable currently, 
also because guix is currently still blocked.
None of it affects what I am proposing, where the chain runs once 
outside the archive, and only its output (seed / blob) is shipped.

On whether a main upload would get through:
Fair enough. I guess we will only find out when an attempt to upload is 
made, unless ftpmasters also comment on threads like these?

I do not think we are competing, though. Your Files-Excluded removes a 
lot of work from d/copyright, which is great! What I have is something 
else: The seed that lets stage1/zig1.wasm be excluded too, so the result 
can go to main instead of non-free, and ghostty to main instead of 
contrib. If ftpmaster reject the seed, your non-free package is still 
there and nothing is lost but my time. Could we just ask them?

Alright! Again, thank you all so much for your input and for your work 
on getting Zig into Debian!

Kind regards,

Edmund


P.S.: I hope I covered everything. If not, please ping me!


-- 
Edmund Lodewijks <edmund@proteamail.com>
TZ: UTC+2 / GMT+2
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#419
Author: Jonathan Dowland
Date: Wed, 11 Nov 2026 11:20
36 lines
3759 bytes
On Wed Nov 11, 2026 at 8:09 AM GMT, Edmund Lodewijks wrote:
> I thought that the bootstrap was the real blocker, but it turns out 
> that the vendored code was. That's were my effort should go next then.

By coincidence I was discussing Zig packaging (which I have nothing to 
do with) on Lobsters with one of the Zig maintainers. They wrote[1]:

> As for vendored dependencies, this is a complete list:
> 
>  * C language include files from Clang
>  * libc include files and implementation files for various targets
>  * libc++, libc++abi, libtsan, and libunwind from Clang

The whole (short) thread may be of interest. He went on to write

> 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.

[1] https://lobste.rs/c/kmr7ar

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄⠀⠀⠀⠀
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#420
Author: Edmund Lodewijks
Date: Wed, 11 Nov 2026 12:20
52 lines
5039 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------rYaumb52Fa0dsB9KqQ2Pwksa
Content-Type: multipart/mixed; boundary="------------SVLB0Aui1OgtmuGl4H9SaKui";
 protected-headers="v1"; hp="clear"
Message-ID: <c7b368d9-edc7-4195-a23a-5306b552e6d0@proteamail.com>
Date: Wed, 11 Nov 2026 14:18:06 +0200
MIME-Version: 1.0
Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that
 reproduces upstream's seed
To: Maytham Alsudany <maytham@debian.org>, debian-devel@lists.debian.org
Cc: nick black <dankamongmen@gmail.com>, Andrey Rakhmatullin
 <wrar@debian.org>, Jonathan Carter <jcc@debian.org>,
 Ivan Carvalho <ivancarvalho@google.com>, Jesse Rosenstock <jmr@google.com>
References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
 <12f6da1d-3e60-4e94-a0bc-19aa11a70eb7@proteamail.com>
 <3b5cb0191b2bbd77a27bf23d14507cb27b5ae042.camel@debian.org>
Content-Language: en-ZA, nl-NL
X-DKIM-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/39/39398e78808aa9f38d1d4157adbd9ea8.pem
From: Edmund Lodewijks <edmund@proteamail.com>
In-Reply-To: <3b5cb0191b2bbd77a27bf23d14507cb27b5ae042.camel@debian.org>

--------------SVLB0Aui1OgtmuGl4H9SaKui
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

T24gMjAyNi8xMS8xMSAxMDo0MiwgTWF5dGhhbSBBbHN1ZGFueSB3cm90ZToNCj4gSGF2ZSB5
b3UgY29uc2lkZXJlZCB1c2luZyBzbmFwc2hvdC5kZWJpYW4ub3JnIHRvIHByb2R1Y2UgYSBz
ZXQgb2YgRGViaWFuDQo+IHBhY2thZ2VzIHRoYXQgY2FuIGJlIGJ1aWx0IHNlcXVlbnRpYWxs
eSBmcm9tIGVhY2ggb3RoZXIgdXNpbmcgZGlmZmVyZW50DQo+IGFyY2hpdmUgc25hcHNob3Rz
LCB3aGljaCBjb250YWluIG9sZGVyIHZlcnNpb25zIG9mIExMVk0gZXRjPw0KDQpIaSBNYXl0
aGFtLA0KDQpObywgSSBoYWQgbmV2ZXIgaGVhcmQgb2YgdGhpcy4gSSB3aWxsIGRlZmluaXRl
bHkgd2FudCB0byBsb29rIGludG8gdGhpcyANCmlmIHRoZSBHdWl4IHNlZWQgaXMgbm90IGFj
Y2VwdGFibGUgdG8gZnRwbWFzdGVycyENCg0KVGhhbmtzIQ0KDQpLaW5kIHJlZ2FyZHMsDQoN
CiAgICAgRWRtdW5kDQoNCg0KLS0gDQpFZG11bmQgTG9kZXdpamtzIDxlZG11bmRAcHJvdGVh
bWFpbC5jb20+DQpUWjogVVRDKzIgLyBHTVQrMg0K

--------------SVLB0Aui1OgtmuGl4H9SaKui--

--------------rYaumb52Fa0dsB9KqQ2Pwksa
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

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

wnsEABYIACMWIQTnqsIVl5ZcYlkQjW9HHyK94l3WZAUCavRc/gUDAAAAAAAKCRBHHyK94l3WZHfU
AP0doNFtkSVOIyumBZodKO/neYI56FEJ/s6p1iKbbRyZVQD/QZFMPLQfqpUnV1ypbSeV8mvyBe6I
uh5leS5Bf3v4VQs=
=vTW1
-----END PGP SIGNATURE-----

--------------rYaumb52Fa0dsB9KqQ2Pwksa--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#421
Author: Edmund Lodewijks
Date: Wed, 11 Nov 2026 12:30
90 lines
7692 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------x78yFDG12pE5EtBjC9Olw0Zt
Content-Type: multipart/mixed; boundary="------------Ml24HstFoqwXB1yNtgeDfhOh";
 protected-headers="v1"; hp="clear"
Message-ID: <331f16fb-56eb-4624-b7f2-61ffde5ae6d0@proteamail.com>
Date: Wed, 11 Nov 2026 14:22:59 +0200
MIME-Version: 1.0
Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that
 reproduces upstream's seed
To: Jonathan Dowland <jmtd@debian.org>, debian-devel@lists.debian.org
Cc: 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>
References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
 <12f6da1d-3e60-4e94-a0bc-19aa11a70eb7@proteamail.com>
 <DMSC9JR9UEOM.DTD0LXOL32AN@debian.org>
Content-Language: en-ZA, nl-NL
X-DKIM-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/39/39398e78808aa9f38d1d4157adbd9ea8.pem
From: Edmund Lodewijks <edmund@proteamail.com>
In-Reply-To: <DMSC9JR9UEOM.DTD0LXOL32AN@debian.org>

--------------Ml24HstFoqwXB1yNtgeDfhOh
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

SGkgSm9uYXRoYW4sDQoNClRoYW5rcyBzbyBtdWNoIGZvci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hDQoNCktpbmQgcmVnYXJkcywNCg0KICAgICBFZG11bmQNCg0KDQotLSANCkVkbXVuZCBM
b2Rld2lqa3MgPGVkbXVuZEBwcm90ZWFtYWlsLmNvbT4NClRaOiBVVEMrMiAvIEdNVCsyDQo=


--------------Ml24HstFoqwXB1yNtgeDfhOh--

--------------x78yFDG12pE5EtBjC9Olw0Zt
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

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

wnsEABYIACMWIQTnqsIVl5ZcYlkQjW9HHyK94l3WZAUCavReIwUDAAAAAAAKCRBHHyK94l3WZNy5
AQDpRBtnrZH4us8h+1P0UzEO1mF7rYQURBdE1CT2TVIwQAEA7yei0/4n3QOnJflbpU1VUZwD0Ujd
p8H92MIRO3cS4QY=
=n69Y
-----END PGP SIGNATURE-----

--------------x78yFDG12pE5EtBjC9Olw0Zt--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#422
Author: Gioele Barabucci
Date: Wed, 11 Nov 2026 13:20
33 lines
3785 bytes
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).

Regards,

PS: thank you all for bringing Zig to Debian!

-- 
Gioele Barabucci
Re: RFS: Bringing to Debian: A from-source bootstrap that reproduces upstream's seed
#423
Author: 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
zrQWCSsG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Wf28z0ScK7DslD96wjMpIB
=Ahv8
-----END PGP SIGNATURE-----
--=-=-=--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#428
Author: Edmund Lodewijks
Date: Wed, 11 Nov 2026 17:40
23 lines
3317 bytes
Hi Simon,

Thank you very much for joining the Zig discussion, and for your advice / recommendation!

A bootstrap build profile sounds fine to me, and I am happy to include that.

I would like to ask you for a clarification if you don't mind. A profile build still has to start from something that is already in Debian, and we don't have that yet.

Zig's own from-C path is bootstrap.c, and it needs stage1/zig1.wasm. That file is a precompiled binary, so it cannot stay in the source package. Removing it is the whole point of the work others and I did in an attempt to get Zig into Debian.

So what should a profile build start from?

  (a) The seed I built outside the archive, shipped as an orig-stage0 tarball? This works today, but it is a binary. The profile would then test that the plumbing works, not that the starting point is source. My work did show, however, that the seed is identical to upstream's, so there's that.

  (b) What Ivan Carvalho suggests later in this thread (the work he has been doing for a separate bootstrap package in Debian): regenerate the wasm seed on the amd64 builders, then use it to build the other architectures. That keeps everything inside Debian, but it is no longer a single build.

Or, perhaps there is another option that I am not thinking of, that you think would work best?

Many thanks!

Kind regards,

    Edmund
Re: RFS: Bringing to Debian: A from-source bootstrap that reproduces upstream's seed
#429
Author: Simon Josefsson
Date: Wed, 11 Nov 2026 18:10
49 lines
4669 bytes
--=-=-=
Content-Type: text/plain

Edmund Lodewijks <edmund@proteamail.com> writes:

> Zig's own from-C path is bootstrap.c, and it needs stage1/zig1.wasm. That file is a precompiled binary, so it cannot stay in the source package. Removing it is the whole point of the work others and I did in an attempt to get Zig into Debian.
>
> So what should a profile build start from?
>
>   (a) The seed I built outside the archive, shipped as an orig-stage0 tarball? This works today, but it is a binary. The profile would then test that the plumbing works, not that the starting point is source. My work did show, however, that the seed is identical to upstream's, so there's that.
>
>   (b) What Ivan Carvalho suggests later in this thread (the work he has been doing for a separate bootstrap package in Debian): regenerate the wasm seed on the amd64 builders, then use it to build the other architectures. That keeps everything inside Debian, but it is no longer a single build.
>
> Or, perhaps there is another option that I am not thinking of, that you think would work best?

I believe (a) would be unacceptable but (b) sounds good -- and if
building the *.wasm seed on x86 is feasible, delivering it in an
architecture:all binary package seems fine, and even better than a
manually testable <bootstrap> build profile.

/Simon

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

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

iQODBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmr0rusbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS
zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8QwZCvX1fkJU5l8aNp2jmw7hrcOfGGsZTr
tCVTaW1vbiBKb3NlZnNzb24gPHNpbW9uQGpvc2Vmc3Nvbi5vcmc+iJYEExYIAD4C
GwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AWIQSx0r0Tdb7LeEz0+MTXPPY4xTwG
vgUCatfMtwUJD2HCAwAKCRDXPPY4xTwGvue9AP40ROc4bUzq1zxU43T76rWP+6jv
mKO/CaPer1S2fZMOtQEAuMKQ3X/qP75LtsbJG82TaaIkg2UM5Mw+pp0UOfPJ6Aq4
OARcks9qEgorBgEEAZdVAQUBAQdAMZUbpg1up2WOwPlQn3pPVaRMejyZnScmD7d5
TRzHehwDAQgHiH4EGBYIACYCGwwWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCatfL
twUJD2HATQAKCRDXPPY4xTwGvocHAP9g1zG1w10/lhb7ksrN9T8xnHTOZNibd27d
k+X+leRCkQD+OWllYuM1N1ZA/a5Qjyv7pnq+hrxeqSg+cnm4ArlDQwa4MwRcks+B
FgkrBgEEAdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZvKghioj1
BBgWCAAmAhsCFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmrXy7oFCQ9hwDYAgXYg
BBkWCAAdFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAlySz4EACgkQUXIrCP5HRaKn
TAEAoB+OWrHmYCK8Cjr1DgPUH7JnhPBmR2DbhR5jPRREEugA+gOMeWmL6GOpaPfK
YLcNhzw4ZnAlxSLY1wq1eANBpiQOCRDXPPY4xTwGvjf7AP9MpnBFLDHomavCkXzR
aJEaYqYigvHl7W7qWuswi2FgTQEAg7xKIF4THHLZj4f48rwFG7VW2ts8o/SaYpJM
ogWJlwYACgkQUXIrCP5HRaJIeAD9FxCPmEzeEF2g0qreOk4ehOmTlFvDzjeBREoq
sSO3P/UA9A3Qwk36f92WshtyHYvwIUKV6agLSc5cYisuN1nvFAE=
=y+Bl
-----END PGP SIGNATURE-----
--=-=-=--
Re: RFS: Bringing to Debian: A from-source bootstrap that reproduces upstream's seed
#430
Author: Simon Josefsson
Date: Wed, 11 Nov 2026 18:10
93 lines
6908 bytes
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ivan Carvalho <ivancarvalho@google.com> writes:

> Zig has a very robust setup bootstraping from a WASM seed. As
> long as the Zig compiler can target an architecture, I am confident
> adding support for it will be easy.
>
> My current idea for bootstrapping Zig in Debian is still to
> generate the WASM seed from x86-64 builders and then use
> such seed to build the compiler in aarch64, riscv-64, etc.
> The pattern will extend to newer architectures in the future.

Can that WASM seed be built and put into an architecture:all package?

/Simon

> On Wed, Nov 11, 2026 at 9:16=E2=80=AFAM Simon Josefsson <simon@josefsson.=
org> wrote:
>>
>> 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 Z=
ig
>> >>>> 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, y=
ou
>> >>>> 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-----

iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmr0ragbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS
zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8QwZCvX1fkJU5l8aNp2jmw7hrcOfGGsZTr
tCVTaW1vbiBKb3NlZnNzb24gPHNpbW9uQGpvc2Vmc3Nvbi5vcmc+iJYEExYIAD4C
GwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AWIQSx0r0Tdb7LeEz0+MTXPPY4xTwG
vgUCatfMtwUJD2HCAwAKCRDXPPY4xTwGvue9AP40ROc4bUzq1zxU43T76rWP+6jv
mKO/CaPer1S2fZMOtQEAuMKQ3X/qP75LtsbJG82TaaIkg2UM5Mw+pp0UOfPJ6Aq4
OARcks9qEgorBgEEAZdVAQUBAQdAMZUbpg1up2WOwPlQn3pPVaRMejyZnScmD7d5
TRzHehwDAQgHiH4EGBYIACYCGwwWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCatfL
twUJD2HATQAKCRDXPPY4xTwGvocHAP9g1zG1w10/lhb7ksrN9T8xnHTOZNibd27d
k+X+leRCkQD+OWllYuM1N1ZA/a5Qjyv7pnq+hrxeqSg+cnm4ArlDQwa4MwRcks+B
FgkrBgEEAdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZvKghioj1
BBgWCAAmAhsCFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmrXy7oFCQ9hwDYAgXYg
BBkWCAAdFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAlySz4EACgkQUXIrCP5HRaKn
TAEAoB+OWrHmYCK8Cjr1DgPUH7JnhPBmR2DbhR5jPRREEugA+gOMeWmL6GOpaPfK
YLcNhzw4ZnAlxSLY1wq1eANBpiQOCRDXPPY4xTwGvjf7AP9MpnBFLDHomavCkXzR
aJEaYqYigvHl7W7qWuswi2FgTQEAg7xKIF4THHLZj4f48rwFG7VW2ts8o/SaYpJM
ogWJlwYACgkQUXIrCP5HRaJRnQD/Vm8wFYlW8DcEwAamG/b+ZonbB+qgq79NFXnM
EOX9r0sA/jb9TliYskeO0Qor5TuukLbdOgXGDjVUjetEyuFGGZQP
=8p8J
-----END PGP SIGNATURE-----
--=-=-=--
Re: RFS: Bringing to Debian: A from-source bootstrap that reproduces upstream's seed
#435
Author: Gioele Barabucci
Date: Wed, 11 Nov 2026 19:20
52 lines
4810 bytes
On 11/11/26 15:15, Simon Josefsson wrote:
> 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.

Hi Simon,

a <bootstrap> build profile is a good idea, but my suggestion is 
orthogonal to it (so, no "instead").

First, having a zig-core package separate from a full-blown zig package 
would show respect for the wishes of upstream, that, correctly, expect 
something called "zig" to provide all the functionalities of "zig", 
including the cross-compilation ability it is well known for.

Second, if (_IF_) the full-blown zig binary package ends up considerably 
bigger than the zig-core package, or if it will need to pull in heavy 
dependencies, then it would be nice to keep the smaller zig-core package 
around after the bootstrap period for use as a build dependency inside 
Debian.

Regards,

-- 
Gioele Barabucci
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#457
Author: Edmund Lodewijks
Date: Fri, 13 Nov 2026 07:40
178 lines
10170 bytes
Hi Ivan,

On 2026/11/12 22:24, Ivan Carvalho wrote:
> Can you invite me to lobste.rs so I can post a reply? Invite
> ivancarvalho@gatech.edu; that's my personal email (although the work
> one would be fine).

Sorry, can't do (don't have the option).

> I will post a more detailed reply later, but of course we will ship a
> compiler that supports C++. The idea of not being able to compile
> Ghostty is absurd.

Unless, of course, the deps can be pulled from the archive, which is the 
whole idea behind devendoring.

Also, while Ghostty is cool, Zig is more than getting Ghostty into Debian.

> Unvendoring and shipping a minimal Zig doesn't mean the result will be
> botched. For libc++, we'd try to use libc++abi-dev, then try a
> separate package like zig-libc++, then vendor referencing a precedent.
> I need to check what Emscripten does today, they are a C++ compiler
> targeting WASM that we should study.

I guess I did not explain things clearly enough. Currently, Zig will not 
look at whatever system-C++ you have installed. The code path in Zig has 
not been written yet (it does work for command-line invocations, but not 
when using build.zig).

> Unvendoring doesn't mean stripping everything, it just means trying to
> reuse as much as possible from Debian itself to avoid duplicate work.

I'm not sure that I understand / that that sounds correct.

> No one wants to apply the same fix to thousands of packages, the
> Debian release and security teams want to fix  libc++abi-dev once and
> have it propagate everywhere.

Again, I must have not explained the issue correctly. See above.

@Maytham: Perhaps a Zig mailing list on Debian would be useful to keep 
these discussion open and public, and that they can be re-read and used 
again later. I think that much of what is written now will be lost for 
the future, which is a shame in terms of findings made. For now, I am 
Cc-ing debian-devel again.

Another reason: I was not aware of there being any current effort in 
trying to get Zig into Debian when I started looking into it a few weeks 
ago. It caused a bunch of double work.

Some coordination by a Debian DD (not sure if you want to be that, but I 
have been including you since I was told that you "own" the zig-team 
Salsa repo) of the attempt to get Zig into Debian would be very welcome, 
too.

Kind regards,

     Edmund




== Ivan replied to: ==

On 2026/11/12 22:05, Edmund Lodewijks wrote:
 > Hi Ivan,
 >
 > Thank you for your email, and for adding me to the zig repo!
 >
 > I apologise, I didn't have much time today to work on Zig-in-Debian (or
 > my emails) at all.
 >
 > On 2026/11/11 21:25, Ivan Carvalho wrote:
 >> If you send an MR to zig-wasm-bootstrap extending the chain I can
 >> review it. However, in my opinion, the most useful work you can do is:
 >
 > Okay.
 >
 >> 1. Try to shorten the number of hops from 0.16 -> 0.17. I haven't
 >> looked at your transitions, but small patches that save a hop save us
 >> build time. Saving a hop save us build time.
 >
 > I'll have a look, but not sure that can be done.
 >
 >> 2. Check if the bootstrap works in aarch64. Both 0.10 -> 0.16 and 0.16
 >> -> 0.17. Worst case use QEMU. I haven't had time to test it, but this
 >> is valuable data.
 >
 > Happy to do that!
 >
 >> Going forward, getting Zig into Debian means recognizing that most
 >> tasks will be boring. Everyone wants to upload the package, few want
 >> to solve the mundane tasks. Let Jesse unvendor things, he already
 >> started. Focus on translating your hops to work with the Magefiles. I
 >> will manage the repositories and secure upload sponsorship.
 >
 > Yep, very aware of the mundane efforts of getting this done. Happy to
 > put in my share, to help Zig into Debian.
 >
 > I did already do a bunch of unvendoring in the last week -- with a
 > script to test what works and what breaks when I remove stuff.
 >
 > Also, have a look at what AndrewK, Zig creator, writes on lobste.rs. I
 > think you and Jesse might find this interesting:
 >
 > https://lobste.rs/s/0ouxwf/libghostty_1_0#c_rzalas
 >
 > I have been testing a little on this unvendoring thing based on what
 > Andrew wrote. I can unvendor everything, but if I unvendor the C++
 > stuff, things break. Zig can't compile C++ anymore, and Zig doesn't have
 > the code yet to use the system's compiler even if it is installed (I
 > found a TODO comment in the Zig code about that).
 >
 > So, the zig-team will have to choose between two options, it seems to me:
 >
 > 1. Whether we unvendor everything, including C++. That means that zig
 > can't compile C++ on Debian until this is sorted upstream (and patched
 > in Debian). Ghostty has deps written in C++, so... Bye bye Ghostty? Not
 > necessarily, because we can just use those C++ deps from Debian straight
 > (provided the versions match..). For example, harfbuzz is a C++ dep, and
 > Zig would compile it for Ghostty with its C++ compiler. If we declare
 > harfbuzz as a dependency of Ghostty, zig might not find it necessary to
 > compile it from source (I have not tested this). Alternatively:
 >
 > 2. Whether we unvendor everything, except C++. This was my initial
 > unvendor build and resulted in:
 >
 > Removing lib/libc, lib/include and lib/libtsan, and keeping lib/libcxx,
 > lib/libcxxabi and lib/libunwind. That takes the source from 21,961 files
 > to 4,758, and it removes the licences that are the actual obstacle:
 > APSL-1.1, which is not DFSG-free, plus BSD-4-clause, ZPL-2.1 and a
 > header that has IETF RFC terms in it.
 >
 > It's a big win all the same. The licenses (checked via `licensecheck`)
 > look okay. By far the most files are Apache-2.0 with LLVM excepteion.
 > Then the rest are Apache-2.0 and/or Boost, Apache-2.0 and/or Unicode;
 > and 3 unknown (haven't looked further).
 >
 > On lobste.rs, @rcalixte pm'd me and shared two links of his, in which he
 > had worked around the fact that Zig can't currently use C++. I haven't
 > looked much into it, but considering what he patched, that would mean
 > that we would have to patch EVERY software written in Zig with C++ deps,
 > which seems to me to not weigh up against leaving C++ dirs with DFSG
 > okay licenses in Zig for now.
 >
 > Anyway, just wanted to share this. Please do share it with Jesse as well
 > if you like; I simply haven't found the time yet to reach out and say hi.
 >
 >> n.b.: I am not a zig-team admin, ask Mayham for membership.
 >> n.b 2:  have already talked with DDs who are willing to sponsor this
 >> package once things are suitable.
 >
 > I am sure DD's won't be an issue to find if we have a good proposal.
 > What we mostly need now is coordination and focus to get something into
 > NEW soon, so that it can be adjudicated, and that we have time to fix
 > things if it isn't accepted at once.
 >
 > Happy to hear your thought. I haven't reached out yet to DD Maytham yet
 > about joining Zig team, either. Will come in time. In fact, let me just
 > Cc him, if he's heading the Zig-team. Hello @Maytham!
 >
 > This email got much longer than intended... I just wanted to say thanks,
 > and let you know that I will find time again later.
 >
 > Kind regards,
 >
 >      Edmund
 >
 >
 > P.S.: After writing this, and considering that it's lights-out where I
 > live now, I decided to just Cc Maytham and Jesse. I hope you don't mind!
 > Hi! Sorry for the somewhat rocky introduction.. o/



-- 
Edmund Lodewijks <edmund@proteamail.com>
TZ: UTC+2 / GMT+2
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#460
Author: Edmund Lodewijks
Date: Fri, 13 Nov 2026 13:30
69 lines
6612 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------zYBI85sb705fSA4He1I2E2ZK
Content-Type: multipart/mixed; boundary="------------rFoUCT4sHBv5HNf2GDWOkKkU";
 protected-headers="v1"; hp="clear"
Message-ID: <a2dd11e7-d1f7-486b-b211-9f8775332f37@proteamail.com>
Date: Fri, 13 Nov 2026 15:20:43 +0200
MIME-Version: 1.0
Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that
 reproduces upstream's seed
To: Ivan Carvalho <ivancarvalho@google.com>
Cc: maytham@debian.org, jmr@google.com, debian-devel@lists.debian.org
References: <827eeca2-f7cf-4544-8eba-c1f59abb57b9@debian.org>
 <87ik23mp28.fsf@josefsson.org>
 <CAKyZ7_bfoODFpe35cGfPNRLqnHXfv1f3hVQ4pL3PRC9mGmn0rg@mail.gmail.com>
 <cb7cf7af9c54ed88accd0d2e1c8c486d@proteamail.com>
 <CAKyZ7_bzVbCrOztRJvvArzu2FKPU6YqDM=qpj9Sdm1Fn6RWwjg@mail.gmail.com>
 <e16dbc72-9505-426a-91f9-4d310cb72ae6@proteamail.com>
 <CAKyZ7_a=yi1A5Ud416kHzbP+KUdPc1GYm+-tYiChd6rha+x8Sg@mail.gmail.com>
 <e4e9f7cc-48f8-43d2-add6-b1c8751a4326@proteamail.com>
 <CAKyZ7_Yu56pZ2y8xVff4p1S8rEmUYToUmFk273KMhSWJzELZNQ@mail.gmail.com>
Content-Language: en-ZA, nl-NL
X-DKIM-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/ac/acdc081a1caaad5738bc16e9f737f661.pem
From: Edmund Lodewijks <edmund@proteamail.com>
In-Reply-To: <CAKyZ7_Yu56pZ2y8xVff4p1S8rEmUYToUmFk273KMhSWJzELZNQ@mail.gmail.com>

--------------rFoUCT4sHBv5HNf2GDWOkKkU
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

T24gMjAyNi8xMS8xMyAxNDozOSwgSXZhbiBDYXJ2YWxobyB3cm90ZToNCj4gWWVzLCBpZiB5
b3UgY2FuIGNyZWF0ZSBhIGRlYmlhbi16aWcgbWFpbGluZyBsaXN0IGFuZCBwZXJoYXBzIGEN
Cj4gZGViaWFuLXppZyBJUkMgY2hhdCB3aXRoIGEgTWF0cml4IG1pcnJvciB0aGF0IHdvdWxk
IGJlIGdyZWF0ISBMZXQncw0KPiBnZXQgb2ZmIGRlYmlhbi1kZXZlbCwgdGhpcyBpcyBhIGdl
bmVyYWwgbGlzdC4gV2UgY2FuI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bmdzIGdvLg0KDQpU
aGFua3MuDQoNCj4gbi5iLjogcHVpZGFAZGViaWFuLm9yZyBpbnZpdGVkIG1lIHRvIGxvYnN0
ZS5ycywgSSB3aWxsIGFuc3dlciBBbmRyZXcgS2VsbGV5DQoNCkFjay4NCg0KS2luZCByZWdh
cmRzLA0KDQogICAgIEVkbXVuZA0KDQoNCi0tIA0KRWRtdW5kIExvZGV3aWprcyA8ZWRtdW5k
QHByb3RlYW1haWwuY29tPg0KVFo6IFVUQysyIC8gR01UKzINCg==

--------------rFoUCT4sHBv5HNf2GDWOkKkU--

--------------zYBI85sb705fSA4He1I2E2ZK
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

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

wnsEABYIACMWIQTnqsIVl5ZcYlkQjW9HHyK94l3WZAUCavcOqwUDAAAAAAAKCRBHHyK94l3WZD2v
AQCONQcRrmdrrQFqSWBAP+ZDhZ8ME43fSk2s9o/zh2x06wEA9KTt3N0/3gIVJQ0fh7aBAaAg/Fyf
I+9QuXedO/fu9wc=
=ckI5
-----END PGP SIGNATURE-----

--------------zYBI85sb705fSA4He1I2E2ZK--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#464
Author: Edmund Lodewijks
Date: Sat, 14 Nov 2026 15:20
51 lines
5039 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------HKzO6bQ0MzqoVSNeW97pHl85
Content-Type: multipart/mixed; boundary="------------7bZ0xiLlSWi7FyTuQIxp8cgK";
 protected-headers="v1"; hp="clear"
Message-ID: <da28fb51-9530-4c0e-8125-45c9ca0eb9ef@proteamail.com>
Date: Sat, 14 Nov 2026 17:13:44 +0200
MIME-Version: 1.0
Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that
 reproduces upstream's seed
To: Maytham Alsudany <maytham@debian.org>, debian-devel@lists.debian.org
Cc: nick black <dankamongmen@gmail.com>, Andrey Rakhmatullin
 <wrar@debian.org>, Jonathan Carter <jcc@debian.org>,
 Ivan Carvalho <ivancarvalho@google.com>, Jesse Rosenstock <jmr@google.com>
References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
 <12f6da1d-3e60-4e94-a0bc-19aa11a70eb7@proteamail.com>
 <3b5cb0191b2bbd77a27bf23d14507cb27b5ae042.camel@debian.org>
Content-Language: en-ZA, nl-NL
X-DKIM-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/87/87e502a276c1cd6cc81305966105d20a.pem
From: Edmund Lodewijks <edmund@proteamail.com>
In-Reply-To: <3b5cb0191b2bbd77a27bf23d14507cb27b5ae042.camel@debian.org>

--------------7bZ0xiLlSWi7FyTuQIxp8cgK
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

T24gMjAyNi8xMS8xMSAxMDo0MiwgTWF5dGhhbSBBbHN1ZGFueSB3cm90ZToNCj4gSGF2ZSB5
b3UgY29uc2lkZXJlZCB1c2luZyBzbmFwc2hvdC5kZWJpYW4ub3JnIHRvIHByb2R1Y2UgYSBz
ZXQgb2YgRGViaWFuDQo+IHBhY2thZ2VzIHRoYXQgY2FuIGJlIGJ1aWx0IHNlcXVlbnRpYWxs
eSBmcm9tIGVhY2ggb3RoZXIgdXNpbmcgZGlmZmVyZW50DQo+IGFyY2hpdmUgc25hcHNob3Rz
LCB3aGljaCBjb250YWluIG9sZGVyIHZlcnNpb25zIG9mIExMVk0gZXRjPw0KDQpIaSBNYXl0
aGFtLA0KDQpJcyBzbmFwc2hvdC5kZWJpYW4ub3JnIGF2YWlsYWJsZSBpbiBidWlsZGQgYXMg
YSBzb3VyY2U/DQoNCktpbmQgcmVnYXJkcywNCg0KRWRtdW5kDQoNCg0KDQotLSANCkVkbXVu
ZCBMb2Rld2lqa3MgPGVkbXVuZEBwcm90ZWFtYWlsLmNvbT4NClRaOiBVVEMrMiAvIEdNVCsy
DQo=

--------------7bZ0xiLlSWi7FyTuQIxp8cgK--

--------------HKzO6bQ0MzqoVSNeW97pHl85
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

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

wnsEABYIACMWIQTnqsIVl5ZcYlkQjW9HHyK94l3WZAUCavh6qAUDAAAAAAAKCRBHHyK94l3WZNi3
AQDSNBoqNBer07NVRfaR7PMTrqsghNx+YhO7517LqgogEQEA3mTl2TlcPSHHvonjFyGi2VY8fLd4
Xo+J/9Gerr3gPg0=
=4jKW
-----END PGP SIGNATURE-----

--------------HKzO6bQ0MzqoVSNeW97pHl85--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#466
Author: Maytham Alsudany
Date: Sat, 14 Nov 2026 20:20
27 lines
2935 bytes
Hi Edmund,

14 Nov 2026 11:13:58 pm Edmund Lodewijks <edmund@proteamail.com>:

> On 2026/11/11 10:42, Maytham Alsudany wrote:
>> Have you considered using snapshot.debian.org to produce a set of 
>> Debian
>> packages that can be built sequentially from each other using 
>> different
>> archive snapshots, which contain older versions of LLVM etc?
>
> Hi Maytham,
>
> Is snapshot.debian.org available in buildd as a source?

No, only latest unstable and experimental. I meant building them outside 
od buildd for bootstrapping, maybe.

> Kind regards,
>
> Edmund
>
>
>
> --
> Edmund Lodewijks <edmund@proteamail.com>
> TZ: UTC+2 / GMT+2
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#467
Author: Bastien Roucaries
Date: Sat, 14 Nov 2026 20:30
371 lines
18290 bytes
--nextPartjI51Z_HmSPKrwrJaskipMA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Bastien Roucaries <rouca@debian.org>
To: debian-devel@lists.debian.org
Date: Sat, 14 Nov 2026 21:28:57 +0100
Message-ID: <lo_nAyrlTJuVeuyHeDHf-Q@debian.org>
In-Reply-To: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
MIME-Version: 1.0

Le mardi 10 novembre 2026, 20:59:26 heure normale d=E2=80=99Europe centrale=
 Edmund Lodewijks a =C3=A9crit :
> Hi all,
>=20
>=20
> Apologies for the lengthy email. This is based on a good two weeks or so=
=20
> of work on making Zig packageable for Debian.
>=20
>=20
> Short version: Zig's bootstrap blob can now be produced from source, and=
=20
> the result is bit-for-bit identical to the blob that upstream ships in=20
> the signed 0.17.1 release. I have a working `zig` source package built=20
> on that basis. Before I take it further I would like to check two things=
=20
> with the list, and find a sponsor.
>=20
> This follows on the January 2025 "getting ziggy with it" thread=20
> <https://lists.debian.org/debian-devel/2025/01/msg00098.html>, which=20
> ended without a bootstrap plan.
>=20
>=20
> ## The problem in short
>=20
> Zig is written in Zig, and therefore needs Zig to compile itself.=20
> Upstream breaks the build circularity by committing `stage1/zig1.wasm`=20
> to the source tree: `wasm2c` converts it to C, the system C compiler=20
> builds that, and the result builds the compiler. That artifact is a=20
> build product, not source in the sense of DFSG =C2=A72, so Debian cannot =
ship it.
>=20
> A first attempt: Nick Black's proposal in msg00153 (i.e.: bootstrap with=
=20
> the blob, then regenerate it) proves the blob is honest but does not=20
> remove it from what the source package needs. The first upload is the=20
> part that was unsolved, and which I am solving here.
>=20
> ## What is new
>=20
> GNU Guix solved the hard part (issue 74217, merged as=20
> 40b9f33066..42e32d52c3): A chain starting from the C++ compiler upstream=
=20
> used before the WebAssembly seed existed, walking forward through Zig's=20
> history and regenerating the seed at each step. At the time of writing=20
> this email, it reaches Zig 0.16.0.
>=20
> I extended that chain from 0.16.0 to 0.17.1 in nine further builds=20
> across six seed-regeneration boundaries. The seed regenerated at the=20
> last of those is identical to upstream's:
>=20
>    $ minisign -Vm zig-0.17.1.tar.xz \
>        -P RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U
>    Signature and comment signature verified
>=20
>    $ tar xf zig-0.17.1.tar.xz zig-0.17.1/stage1/zig1.wasm -O | sha256sum
>    77c02ad2496aab66fb408f831a49ee8f7ed6746326388c972735707881cac770
>=20
>    regenerated from source, never executing upstream's copy:
>    77c02ad2496aab66fb408f831a49ee8f7ed6746326388c972735707881cac770
>    3,246,758 bytes
>=20
> This is upstream's minisign signature rather than a git clone, so the=20
> claim does not rest on my checkout being authentic. The same seed ships=20
> in 0.17.0, since the last regeneration commit precedes both releases.
>=20
> For those who are interested: The chain, the hops, the hashes, the=20
> driver script, the logs... they are all documented and uploaded to Salsa:
>=20
>    https://salsa.debian.org/ejjl/zig-bootstrap

I am interest to have a full documentation for your system (on wiki.d.o)
I have a similar problem with gwt a java toolkit needed for building js

Particularly how to use guix to solve bootstrap problem

rouca
>=20
> ## One Zig package for the archive
>=20
> One source package:
>=20
>    https://salsa.debian.org/ejjl/zig
>=20
>    * `Files-Excluded: stage1/zig1.wasm` in debian/copyright, producing=20
> zig_0.17.1+dfsg.orig.tar.xz.
>    * `Build-Depends: zig`: each zig built by the previous zig in the=20
> archive, as gcc and rustc are.
>    * `debian/README.source` documents the bootstrap and how to reproduce=
=20
> the seed.
>    * The bootstrap chain itself is *not* uploaded. It lives on Salsa.
>=20
> What the +dfsg repack removes is stage1/zig1.wasm, which cannot be=20
> produced without an existing zig.
>=20
> I am deliberately keeping the four lib/libc/*/abilists symbol tables.=20
> These can be regenerated at any time from glibc's and the BSDs' own=20
> LGPL/BSD sources by an MIT tool. That tool is itself written in Zig;=20
> however, regenerating them needs a zig, but they are not needed to=20
> *build* zig, only to cross-compile to glibc and BSD targets. A zig built=
=20
> without them works, and can then regenerate them.
>=20
> So the claim I want to make is not that the archive contains no=20
> binaries. It is that it contains no binary whose source cannot be=20
> rebuilt, and nothing circular at all.
>=20
> The package builds in a clean unstable chroot, and lintian reports no=20
> errors or warnings beyond the expected unreleased-changes. What is left=20
> at info and pedantic level is in Open Issues below.
>=20
> There is, of course, the question of how to solve the packaging problem=20
> of the circular dependency on Zig for building Zig in Debian. I see two=20
> ways around it for the package as it stands, plus a third that may=20
> already have been proposed by Ivan (see Coordination below). I would be=20
> happy to hear your thoughts on which should be preferred.
>=20
> (a) Ship the seed in the source package, upload source-only. This is=20
> what the rust package does.
>      Based on what rust does, I would suggest we copy two out of their=20
> three options:
>=20
>       - no stage0/ present?  --> build with the distro's zig.
>       - stage0/ present?     --> bootstrap from that shipped seed.
>=20
>      Following Rust, the detection would be by file presence rather than=
=20
> by a build profile, so one debian/rules serves both cases and a normal=20
> build cannot accidentally take the bootstrap path. Rust has a third=20
> path, the pkg.rustc.dlstage0 build profile, which downloads a stage0=20
> during the build. That one won't work here: Debian buildds have no=20
> network access during a build.
>=20
>      For zig, that stage0 file would be=20
> zig_0.17.1+dfsg.orig-stage0.tar.xz, carrying bin/zig and lib/zig from=20
> the compiler my chain produced. dpkg-source unpacks a supplementary orig=
=20
> tarball named orig-stage0 into stage0/ in the build tree, and=20
> debian/rules would use that compiler instead of the system one. For that=
=20
> upload only, Build-Depends: zig is disabled ([!amd64]). The seed is used=
=20
> only to compile; it is never installed into a binary package. The next=20
> upload leaves the tarball out and restores Build-Depends: zig (this=20
> needs to be done manually, of course).
>=20
>      Worth imitating from Rust as well: rust's d/rules refuses to build=20
> if a stage0 is present while rustc is still listed as a Build-Depends=20
> for the architecture being built (or vice-versa). A bootstrap upload has=
=20
> two halves (ship the seed, *and* drop the build dependency), and we=20
> might as well have that protection in place.
>=20
>      Rather than only describe this, I have implemented it on a branch,=20
> so that it can be reviewed and tried:
>=20
>        https://salsa.debian.org/ejjl/zig/-/tree/debian/stage0
>=20
>      It differs from debian/latest in three files, and includes a script=
=20
> that builds the seed tarball reproducibly and refuses to package a seed=20
> carrying a WebAssembly artifact, a /gnu/store ELF interpreter or an=20
> embedded build path. The source package comes to about 50 MB rather than=
=20
> 24, for one upload cycle.
>=20
> (b) A maintainer binary upload. I (or the sponsor) build(s) the binaries=
=20
> locally against the bootstrap compiler, and a sponsor uploads those=20
> rather than just signing a .dsc.
>=20
> Between those options, I lean towards option (a). Against option (b),=20
> rust's README.source puts it quite nicely into words:
>=20
>    "[The traditional Debian way is that] a developer locally installs=20
> some upstream
>    bootstrapping binaries [and] builds a Debian package, using these=20
> binaries as
>    undeclared build dependencies. [...] The problem with this is, Debian=
=20
> does not
>    have any policy nor infrastructure that can try to reproduce what this
>    developer supposedly did."
>=20
> The objection to (a) is that for one upload cycle the source package=20
> would contain a compiled binary; rust's README concedes the mechanism=20
> "stretches the definition of source package". My answer is below, under=20
> question 1.
>=20
> After all this text: Two questions
>=20
> 1. Is a Guix-produced, hash-recorded seed an acceptable one-time=20
> bootstrap for the first upload?
>=20
>     I would argue it is stronger than the rustc precedent, which seeded=20
> from an upstream prebuilt binary with no verification at all. Guix's=20
> seed is free software built from source, its builder is in Debian main,=20
> and the seed it produces is now shown to match upstream's bit for bit.
>=20
>     Just for reference: Debian already accommodates this class of=20
> problem, in several different ways. ghc and rustc self-host from the=20
> archive, with rustc's pkg.rustc.dlstage0 profile falling back to=20
> downloading upstream's prebuilt stage0 unverified. sbcl bootstraps from=20
> clisp, an independent implementation. gcc self-hosts and its original=20
> seed predates DFSG. And ocaml 5.4.1-1 ships boot/ocamlc, a bytecode=20
> image, in its orig tarball in main, with no ocaml in Build-Depends.=20
> debian/rules executes it on every build.
>=20
>     I think that the solution here proposed for Zig is a good attempt at=
=20
> being DFSG compliant for such a situation: A seed derived entirely from=20
> source, and that seed shown to be identical to what upstream ships.
>=20
> 2. Is an amd64-only first upload acceptable?
>=20
>     Guix's chain is x86_64-linux only. Efraim Flashner reported in 74217=
=20
> that he could not get the early steps building on riscv64 or ppc64el.=20
> Other architectures need either that work done upstream or a=20
> cross-bootstrap. I just wanted to mention this upfront. I would be happy=
=20
> to figure out if and how more architectures can be added. For a first=20
> upload, I hope this will be enough, so that we can get this into Forky=20
> still, together with other Zig-software.
>=20
> ## Current Status and Open Issues
>=20
> 1. The seed I used for hop 00 came from `guix build zig@0.16.0` **with**=
=20
> substitutes. A `--no-substitutes` run is in progress as I write this; it=
=20
> rebuilds the entire toolchain from Guix's stage0-posix seed upward,=20
> including seven LLVM builds, so it will probably take days. I will=20
> report the result when they come in.
>=20
> 2. debian/copyright is not finished (barely started). The bundled=20
> mingw-w64, wasi-libc, BSD libc and aro trees still need auditing. I=20
> would appreciate guidance from anyone who has done this at scale (Rust,=20
> Go, npm?). There are ~30,000 files in the tarball, and from what I can=20
> see, there will be a variety of licenses. Perhaps there are tools=20
> available to extract this information? Thank you in advance!
>=20
> 3. Should the abilists tables (above) stay? Guix removes them; I have=20
> kept them, because removing them costs cross-compilation for no gain I=20
> can see, and the tables shipped in 0.17.1 are current -- glibc 2.0=20
> through 2.44, so both unstable's 2.43 and 2.44 are covered. Advice welcom=
e.
>=20
> 4. One file needs a second opinion.=20
> lib/libc/include/generic-freebsd/netlink/netlink.h carries=20
> SPDX-License-Identifier: BSD-2-Clause with FreeBSD copyright, and then a=
=20
> separate "Copyright (C) The Internet Society (2003)" notice for the=20
> material quoted from RFC 3549, including the no-derivatives clause that=20
> lintian's license-problem-non-free-RFC notices. I read that as a=20
> dual-licensed file and overrode the tag, which is what lintian's own=20
> description of the tag suggests for multi-licensed files. It is the only=
=20
> file in the tree carrying RFC terms. If that is not the correct=20
> approach, I can also remove that.
>=20
> ## Coordination
>=20
> There are overlapping ITPs and I do not want to cause any trouble here=20
> (which is why I haven't filed an ITP myself yet):
>=20
>    #995670   ITP: zig (Nick Black), stalled
>    #1092895  ITP: zig 0.13.0 (Nick Black, Jan 2025), stalled
>    #1150314  ITP: zig-wasm-bootstrap (Ivan Carvalho, Oct 2026):=20
> described as "a port of Guix's Zig bootstrap to Debian", which is close=20
> to what I have done
>    Jonathan Carter created debian/zig on Salsa in Sep 2024, which didn't=
=20
> see much action
>=20
> What would be the best way forward? Jonathan, Nick, Ivan: Happy to work=20
> together with you, and anyone else, on getting Zig into Debian! This is=20
> my attempt of trying to get Zig and other Zig programmes into Debian, in=
=20
> time for Forky, if possible.
>=20
> (c) Besides options (a) and (b), there is the option of adding a second=20
> source package to the archive: zig-bootstrap. That would run the chain I=
=20
> ran in the VM, producing a from-source seed that can compile Zig, with=20
> zig build-depending on it. That is the cleanest outcome of the three,=20
> since no compiled binary would enter the archive at any point. My chain=20
> takes around 1.5 to 2 hours on 8 cores, which may or may not be out of=20
> reach for a buildd. I think this may also be what Ivan's ITP is about,=20
> though arrived at in a slightly different way. Whatever works for Debian!
>=20
> ## What I am asking for
>=20
> Views on the two questions above, and on (a) versus (b) versus (c). If=20
> (a) is acceptable, then this is an ordinary source-only sponsorship=20
> request rather than anything unusual, which I hope makes it easier to=20
> help with.
>=20
> My own interest is, besides Zig, also ghostty, which needs zig >=3D=20
> 0.17.0; I have built it end-to-end with the blob-free compiler on my=20
> builder VM, and it builds and works. But this one is about Zig, which=20
> would unblock other Zig packages.
>=20
> Finally, if I should file an ITP for this, or not?
>=20
> ## A final note
>=20
> I have also written to the Guix people who work on Zig there, and have=20
> had favourable replies, though nobody has yet walked through the steps I=
=20
> took. I will report back here either way.
>=20
> Thank you very much for reading this, for your time and advice, and for=20
> any assistance.
>=20
> Kind regards,
>=20
> Edmund Lodewijks
>=20
>=20
> P.S.: Again, for good measure, the links:
>=20
>    https://salsa.debian.org/ejjl/zig/                         the package
>    https://salsa.debian.org/ejjl/zig/-/tree/debian/stage0     option=20
> (a), implemented
>    https://salsa.debian.org/ejjl/zig-bootstrap                the=20
> bootstrap chain
>=20
>=20
> --=20
> Edmund Lodewijks <edmund@proteamail.com>
> TZ: UTC+2 / GMT+2
>=20
>=20


--nextPartjI51Z_HmSPKrwrJaskipMA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

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

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmr4xIkACgkQADoaLapB
CF+IBhAAhNsgMskmRC+0vM/IaPgJH/muGfB/+BTAFbPuXh6wrfbRjEx5oV59l+y/
r7eau9DKSf73LpAYs7bHWAQJgNcOOeffhvrYyjMTydUT5G289GIpwPycgY8guQD5
R1GGrte7k7+1J9UYMMp4N1SRQbs/EzCYf1k+5BEh3in3/18L58DnL049KpH4EhUM
SAmDqb+gme8cH88UYnSiyuJ/Ul56LHTVBJM8kVCT3Gi28WdPDPqmQjenAJblESx+
kJHCshkod8PLjYXhXDFJlVjOA1nAGNEWQpcJoFmLzpME/SKFPLnjcHWKcweUFbf/
eN1l9tEtEhExTVdaURaaYEFGiiX1Z9HtvmvuYdZ/Q1LTxtqQcxD8WNoTtES1BaSo
/NuyeBDFmRMgiKZ22ETDQx7wlBBW2m+B7qvgOaZB33LmT7hJA3YHIvPAVlFWg16n
aon57LKTpcmjgfXtL5NABfO+bI8bMag7XW0T5iIL0VvImFxQkO4GBNeo1zDkPvsU
DsYx2dP1+iKSlhNlKSmVA9s2OPpaKJZ8rrIbaKw+UZ8SdLiCAAfrhZwksiH8QDzr
PtRzUsngrZ1JmyRJSLyxj47c/mXC3tVncKUDgLyediUS7fQRn4goAKCYyXc+9TwE
X5cjF7QIZx5njEXjFPNNBQS+wXlQuYlmD4hKWrHlFz2fpdW5qXI=
=aM5q
-----END PGP SIGNATURE-----

--nextPartjI51Z_HmSPKrwrJaskipMA--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#490
Author: Edmund Lodewijks
Date: Mon, 16 Nov 2026 20:30
93 lines
7882 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------9zkKQuCZhEt1fb0F1FVQXL90
Content-Type: multipart/mixed; boundary="------------XK2K8E5yys3gaxGypGC3pUVA";
 protected-headers="v1"; hp="clear"
Message-ID: <47a1d1b5-78ca-40ef-b5bc-1a64d09cbf4e@proteamail.com>
Date: Mon, 16 Nov 2026 22:23:17 +0200
MIME-Version: 1.0
Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that
 reproduces upstream's seed
X-DKIM-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/55/55daf6659055fd5195013b0294a78067.pem
From: Edmund Lodewijks <edmund@proteamail.com>
To: debian-devel@lists.debian.org
Cc: ivancarvalho@google.com, dankamongmen@gmail.com,
 nick black <dankamongmen@gmail.com>, Jesse Rosenstock <jmr@google.com>
References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>
Content-Language: en-ZA, nl-NL
In-Reply-To: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>

--------------XK2K8E5yys3gaxGypGC3pUVA
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

SGkgYWxsLA0KDQpBIHN0YXR1cyB1cGRhdGUgb24gZ2V0dGluZyBaaWcgaW50byBEZWJpYW4s
IHNpbmNlIHRoZXJlIGlzIHJlYWwgcHJvZ3Jlc3MgDQp0byByZXBvcnQuDQoNCk15IG93biBi
b290c3RyYXAgY2hhaW4gKHppZy1ib290c3RyYXBbMF0sIHRoZSBvcmlnLXN0YWdlMCB0YXJi
YWxsIGlkZWEpIA0KaXMgYXJjaGl2ZWQuIFNpbW9uIEpvc2Vmc3NvbiBpbmRpY2F0ZWQgaGVy
ZSBvbiB0aGUgZGViaWFuLWRldmVsIE1MIHRoYXQgDQpoZSB0aG91Z2h0IHRoYXQgYW4gb3Jp
Zy1zdGFnZTAgdGFyYmFsbCB3b3VsZCBub3QgYmUgYWNjZXB0YWJsZVsxXS4gDQpUaGVyZWZv
cmUsIEkgc3dpdGNoZWQgdG8gSXZhbidzIHBhY2thZ2UgY2FsbGVkIHppZy13YXNtLWJvb3Rz
dHJhcFsyXSwgDQp3aGljaCBTaW1vbiBpbmRpY2F0ZWQgc291bmRlZCBnb29kIFtpYmlkLiAx
XS4NCg0KSXZhbidzIHppZy13YXNtLWJvb3RzdHJhcCB3b3Jr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ANCmZ1cnRoZXINCg0KDQoNCi0tIA0KRWRtdW5kIExvZGV3aWprcyA8ZWRtdW5kQHByb3Rl
YW1haWwuY29tPg0KVFo6IFVUQysyIC8gR01UKzINCg==

--------------XK2K8E5yys3gaxGypGC3pUVA--

--------------9zkKQuCZhEt1fb0F1FVQXL90
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

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

wnsEABYIACMWIQTnqsIVl5ZcYlkQjW9HHyK94l3WZAUCavtmNQUDAAAAAAAKCRBHHyK94l3WZKwu
AQCqSa/yp8H9k7axtdSExF+rlqI7mQUnw51ksufbOtfeogD+JNLkEyDxFWa2yPZB6pbVvnddWRTQ
FBiwM3KErRcByws=
=d8zY
-----END PGP SIGNATURE-----

--------------9zkKQuCZhEt1fb0F1FVQXL90--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#498
Author: Gioele Barabucci
Date: Tue, 17 Nov 2026 09:10
13 lines
2177 bytes
On 11/16/26 21:23, Edmund Lodewijks wrote:
> I struggled a lot with reprotest (it can't handle domain, kernel, or 
> large time changes in sbuild),

Hi Edmund,

please ask in #debian-reproducible on OFTC. We are eager to help fix 
reproducibility-related issues.

Regards,

-- 
Gioele Barabucci
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#504
Author: Edmund Lodewijks
Date: Tue, 17 Nov 2026 20:00
152 lines
12806 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------KnxQAn0uldCWABw4N3VRb990
Content-Type: multipart/mixed; boundary="------------WAHGgJSE0f28X40Wtga1Rz01";
 protected-headers="v1"; hp="clear"
Message-ID: <da16a89f-b9c4-4801-936b-5350153a96a5@proteamail.com>
Date: Tue, 17 Nov 2026 21:55:26 +0200
MIME-Version: 1.0
Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that
 reproduces upstream's seed
To: Ivan Carvalho <ivancarvalho@google.com>
Cc: Maytham Alsudany <maytham@debian.org>,
 Debian Zig Compiler Team <team+zig-compiler@tracker.debian.org>,
 debian-devel@lists.debian.org
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>
Content-Language: en-ZA, nl-NL
X-DKIM-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/79/791d306e3d6976168b7a7ad70c957ae8.pem
From: Edmund Lodewijks <edmund@proteamail.com>
In-Reply-To: <CAKyZ7_aBWyxyrCbavJda8z-Zi+UR9j=kdcAa32i2p9itS65LXw@mail.gmail.com>

--------------WAHGgJSE0f28X40Wtga1Rz01
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

SGkgSXZhbiwNCg0KT24gMjAyNi8xMS8xNyAyMTowMywgSXZhbiBDYXJ2YWxobyB3cm90ZToN
Cj4+IE1heXRoYW0gd2FudHMgdmVyc2lvbiBudW1iZXJzLCB3aGljaCBJIGFncmVlIHdpdGgu
IEl2YW4gc3VnZ2VzdHMgYWxzbw0KPj4gcmVuYW1pbmcgdGhlIHBhY2thZ2UgdG8gemlnLWNv
cmUsIGJlY2F1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Bub3RpY2VzLCB3aGljaCBpcyB0aW1lIA0KY29uc3VtaW5nLCBhbmQgYSBi
aXQgbWluZC1udW1iaW5nLiBJdCdzIG5vdCB0aGF0IGl0IGNhbid0IGJlIGRvbmUuIFNvLCAN
CnRoYXQgaXMgd2h5IEkgcHJvcG9zZSB0aGF0IHRoYXQgcGFja2FnZSBjb21lcyBhIGJpdCBs
YXRlciwgd2hlbiB0aGUgDQp0ZWRpb3VzIHdvcmsgaGFzIGJlZW4gZG9uZS4gQW0gSSBtaXNz
aW5nIGFueXRoaW5nPw0KDQogPiAuLi4gTW92ZSB0aGUgZGlzY3Vzc2lvbiB0byBTYWxzYSBz
byB3ZSBjYW4gaGF2ZSBhDQogPiBjb21tdW5pdHkgcmVjb3JkIG9mIGRlY2lzaW9ucy4NCg0K
V2UncmUgd2FpdGluZyBmb3IgdGhhdCBtYWlsaW5nIGxpc3QuIEluIHRoZSBtZWFuIHRpbWUs
IEkgZG9uJ3QgDQp1bmRlcnN0YW5kIHdoeSB5b3Ugd2FudCB0byBiZSBvZmYgdGhlIGRlYmlh
bi1kZXZlbCBsaXN0IHNvIGJhZGx5LiBJIA0KdGhpbmsgdGhhdCBpcyBleGFjdGx5IHRoZSBw
bGFjZSBmb3IgdGhpcywgYXMgbG9uZyBhcyB0aGVyZSBpc24ndCBhIA0KemlnLWxhbmcgbGlz
dC4gV2UgaGFkIHNvbWUgdmVyeSB1c2VmdWwgaW5wdXQgYW5kIGZlZWRiYWNrIGZyb20gb3Ro
ZXJzIA0KdGhlcmUsIHRvbyENCg0KS2luZCByZWdhcmRzLA0KDQogICAgIEVkbXVuZA0KDQoN
Ci0tIA0KRWRtdW5kIExvZGV3aWprcyA8ZWRtdW5kQHByb3RlYW1haWwuY29tPg0KVFo6IFVU
QysyIC8gR01UKzINCg==

--------------WAHGgJSE0f28X40Wtga1Rz01--

--------------KnxQAn0uldCWABw4N3VRb990
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

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

wnsEABYIACMWIQTnqsIVl5ZcYlkQjW9HHyK94l3WZAUCavyxLgUDAAAAAAAKCRBHHyK94l3WZGRV
AP9rhAJBBZOQzViJ/eNEdPLq+P1VCpzNeeuwPcXIkTY2ggD/Uo5roDouA9ii48+KIK/bWZEDLptC
GlwkA+7sHstpzgE=
=oWXU
-----END PGP SIGNATURE-----

--------------KnxQAn0uldCWABw4N3VRb990--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#505
Author: Russ Allbery
Date: Tue, 17 Nov 2026 20:20
25 lines
3629 bytes
Edmund Lodewijks <edmund@proteamail.com> writes:
> 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?

>> 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.

> There is no precedence that I could find in the archive for doing this
> kind of renaming, but I am happy to be corrected. I did but a cursory
> search.

perl-core and python3-minimal. The separate perl and python3 metapackages
ensure that all expected functionality is installed, and the -core and
-minimal packages are available for dependencies for bootstrapping and
minimal system purposes.

I have no opinion on whether the missing functionality is sufficient to
warrant the separate naming.

-- 
Russ Allbery (rra@debian.org)              <https://www.eyrie.org/~eagle/>
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#506
Author: 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--
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#507
Author: Edmund Lodewijks
Date: Wed, 18 Nov 2026 07:50
16 lines
3560 bytes
On 2026/11/17 22:41, Maytham Alsudany wrote:
> zig-0.17-minimal / -core / other name does make a lot of sense though,
> considering these missing features.

Okay, perfect. Will go with -core as suggested. This is also what 
ansible(-core) does, I see.

> 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.
Exactly that :)


-- 
Edmund Lodewijks <edmund@proteamail.com>
TZ: UTC+2 / GMT+2
Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
#508
Author: Gard Spreemann
Date: Wed, 18 Nov 2026 09:20
37 lines
4077 bytes
--=-=-=
Content-Type: text/plain

Edmund Lodewijks <edmund@proteamail.com> writes:

> Sure, people writing Zig would want the latest version.

I don't know. People used to say this about Rust, too (rustup or
bust). I write a decent amount of Rust, and my default is to stick with
the compiler, toolchain and library as shipped with Debian. (Caveat: I
don't know Zig. But the statement above sounds very familiar).


 Best,
 Gard

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

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

iQJGBAEBCgAwFiEEz8XvhRCFHnNVtV6AnRFYKv1UjPoFAmr9a6YSHGdzcHJAbm9u
ZW1wdHkub3JnAAoJEJ0RWCr9VIz6/FMP/jZTDf3J+/eKJC+oIouLDwVtECrA4nA+
qIiWlK39doTSW5OcCas9M59hHZQJeKxEIKW+nuoJn9Lq8yel8CPxAa5+5af00c9F
jxx/AY+eax8tnGaqx5m+VTDn8rfNTjUL6Oo0UOEeB+zStyWRdPjThBmT4WsMIeHl
4JWf/5nKb/bbxq+0GUbb0Zs4lDdYOlN3wDKqRZnTVdRswpwIVzChQ+6x89tsDx4t
wuTLNdyyov+jFsFNsGr/OoCxwOvTpIHhlVCC/1He8KOi1Ac87LcWaxA1IOV3XUdU
arHJNPSNFjKS3qsgeoe/kQjJzXMiangIoDlC+saJn0fn15eThqR9ld3ysvsDxwIP
S4RPGYyrUNanT7DfPu0p1WhNBecB/5QCWpV/ojxgQ8fu0/JQ7h2GbIls0yFCSmeo
7UNISJQSPC+obMeGrtcpZ4mlOTpIxl3D2vxotvZEBXfvE+FxItouQpK320MDVeU3
sDuaf1GK/K85sGwW+i7LpkIQBNY7bcJlCAhfwPPbdr9iu2i2zyA9ytRFc02BCC1w
M0Vs0WnNsKVZVheEYoLF/UuuDpDNj9JbbN9tWe0oTl97ER34xHNKbWVUWZwUIiVR
iqQmMXhIQIs5Q5e3TdizZ7lbynhzktMNEZ2dCNXtu3XrijDCFHHppiYgl9ZmIxEV
xxAPaP4lsNLt
=SOIC
-----END PGP SIGNATURE-----
--=-=-=--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads