Article View: linux.debian.devel
Article #429Re: RFS: Bringing to Debian: A from-source bootstrap that reproduces upstream's seed
From: Simon Josefsson
Date: Wed, 11 Nov 2026 18:10
Date: Wed, 11 Nov 2026 18:10
49 lines
4669 bytes
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----- --=-=-=--
Technical Details
Message-ID:
<NYkVH-bgRa-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NYgp3-beka-9@gated-at.bofh.it> <NYhO9-bf2j-1@gated-at.bofh.it> <NYksF-bgvX-3@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!bofh.it!news.nic.it!robomod From: Simon Josefsson <simon@josefsson.org> Newsgroups: linux.debian.devel Subject: Re: RFS: Bringing to Debian: A from-source bootstrap that reproduces upstream's seed Date: Wed, 11 Nov 2026 19:10:01 +0100 Message-ID: <NYkVH-bgRa-7@gated-at.bofh.it> References: <NYgp3-beka-9@gated-at.bofh.it> <NYhO9-bf2j-1@gated-at.bofh.it> <NYksF-bgvX-3@gated-at.bofh.it> X-Mailbox-Line: From debian-devel-request@lists.debian.org Wed Nov 11 18:07:58 2026 Old-Return-Path: <simon@josefsson.org> X-Amavis-Spam-Status: No, score=-4.399 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GB_FAKE_RF=0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -4.6 Openpgp: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373151 List-ID: <debian-devel.lists.debian.org> List-URL: <https://lists.debian.org/debian-devel/> List-Archive: https://lists.debian.org/msgid-search/87ld6zfdhw.fsf@josefsson.org Approved: robomod@news.nic.it Lines: 49 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-devel@lists.debian.org X-Original-Date: Wed, 11 Nov 2026 19:07:39 +0100 X-Original-Message-ID: <87ld6zfdhw.fsf@josefsson.org> X-Original-References: <827eeca2-f7cf-4544-8eba-c1f59abb57b9@debian.org> <87ik23mp28.fsf@josefsson.org> <2cec644ce1d48234f0880d382c0d9362@proteamail.com>