Article View: linux.debian.devel
Article #422Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed
From: Gioele Barabucci
Date: Wed, 11 Nov 2026 13:20
Date: Wed, 11 Nov 2026 13:20
33 lines
3785 bytes
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
Technical Details
Message-ID:
<NYgp3-beka-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodReferences:
<NY0aB-b4Wx-9@gated-at.bofh.it> <NYbz3-bbCI-5@gated-at.bofh.it> <NYewV-bdgr-5@gated-at.bofh.it> <NYfCF-bdRw-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Gioele Barabucci <gioele@debian.org> Newsgroups: linux.debian.devel Subject: Re: RFS: Bringing [zig] to Debian: A from-source bootstrap that reproduces upstream's seed Date: Wed, 11 Nov 2026 14:20:01 +0100 Message-ID: <NYgp3-beka-9@gated-at.bofh.it> References: <NY0aB-b4Wx-9@gated-at.bofh.it> <NYbz3-bbCI-5@gated-at.bofh.it> <NYewV-bdgr-5@gated-at.bofh.it> <NYfCF-bdRw-7@gated-at.bofh.it> X-Original-To: Edmund Lodewijks <edmund@proteamail.com>, Jonathan Dowland <jmtd@debian.org>, debian-devel@lists.debian.org X-Mailbox-Line: From debian-devel-request@lists.debian.org Wed Nov 11 13:11:03 2026 Old-Return-Path: <gioele@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 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Debian-User: gioele X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373141 List-ID: <debian-devel.lists.debian.org> List-URL: <https://lists.debian.org/debian-devel/> List-Archive: https://lists.debian.org/msgid-search/827eeca2-f7cf-4544-8eba-c1f59abb57b9@debian.org Approved: robomod@news.nic.it Lines: 33 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-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> X-Original-Date: Wed, 11 Nov 2026 14:10:49 +0100 X-Original-Message-ID: <827eeca2-f7cf-4544-8eba-c1f59abb57b9@debian.org> X-Original-References: <898cd302-bf9e-4466-a604-62871bf3a8c5@proteamail.com> <12f6da1d-3e60-4e94-a0bc-19aa11a70eb7@proteamail.com> <DMSC9JR9UEOM.DTD0LXOL32AN@debian.org> <331f16fb-56eb-4624-b7f2-61ffde5ae6d0@proteamail.com>