Le mer. 10 juin 2026 à 22:01, Andrew Kelley <[email protected]> a écrit :
> > | 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. > We have wasm tools in Debian, but the issue here is not about that. > > 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 🤷. > Interesting ! Unfortunately guix is currently in a bad state in Debian: https://bugs.debian.org/1112143 so we can't simply do "guix build [email protected]:zig1" in debian/rules However, the recipe is there https://codeberg.org/guix/guix/src/branch/master/gnu/packages/zig.scm and the patches are there https://codeberg.org/guix/guix/src/commit/master/gnu/packages/patches Although painful, it should be possible to convert all of that into a bash script. Especially in LLM land... > > > > | 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 > >

