Bug#1137329: RFS: zig/0.15.2-1 [ITP] -- general-purpose programming language and toolchain
Andrew Kelley <[email protected]> Wed, 10 Jun 2026 12:53:10 -0700
| Newsgroups | gmane.linux.debian.devel.mentors |
|---|---|
| Message-ID | <98378d8a-217f-45f5-9a41-313057c5c5c9__13504.4860815228$1781121693$gmane$org@ziglang.org> |
> | This package is in non-free because it contains: > | . > | 1. stage1/zig1.wasm - a precompiled WebAssembly binary used to bootstrap > | the compiler. While the source code that produced it is MIT-licensed and > | included in this tree, the binary itself is not the "preferred form of > | modification" per DFSG §2. > > Is there a package in Debian (main) that can be used to produce this > .wasm file from the available source code? If there is, you simply > have to make sure that this is always done at build time and the > problem would be solved. The Guix folks have accomplished this: https://lists.gnu.org/archive/html/guix-devel/2024-11/msg00271.html As Motiejus Jakštys mentions, I suggest for a motivated third-party to implement a Zig interpreter in C or Lua that can break this chain. While that would certainly be ideal, nobody has built it yet 🤷. > > | 2. lib/std/compress/testdata/rfc8478.txt and rfc1951.txt - verbatim copies > | of IETF RFCs, copyrighted by the IETF Trust under BCP 78, which prohibits > | modification outside the IETF Standards Process (DFSG §3). > > A poor Debian decision regarding the RFCs but this kind of problem is > usually solved by repacking the tarball without them and adding a > +dfsg suffix. No need, I have removed those files upstream: https://codeberg.org/ziglang/zig/issues/35709 Please let me know if there is anything further I can do upstream to assist. Andrew