🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #407

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

#407
From: 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--
Technical Details
Message-ID: <NY0WZ-b5pn-25@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Andrey Rakhmatullin <wrar@debian.org>
Newsgroups: linux.debian.devel
Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that  reproduces upstream's seed
Date: Tue, 10 Nov 2026 21:50:01 +0100
Message-ID: <NY0WZ-b5pn-25@gated-at.bofh.it>
References: <NY0aB-b4Wx-9@gated-at.bofh.it>
X-Original-To: debian-devel@lists.debian.org
X-Mailbox-Line: From debian-devel-request@lists.debian.org  Tue Nov 10 20:47:28 2026
Old-Return-Path: <wrar@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
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="oxe9zOE4N7EtPNW5"
Content-Disposition: inline
X-Debian-User: wrar
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373121
List-ID: <debian-devel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-devel/>
List-Archive: https://lists.debian.org/msgid-search/avOCyoVdfJfAfSGd@belkar.wrar.name
Approved: robomod@news.nic.it
Lines: 71
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 11 Nov 2026 01:47:11 +0500
X-Original-Message-ID: <avOCyoVdfJfAfSGd@belkar.wrar.name>
X-Original-References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com>