DFSG NEW Queue

DFSG, Licensing & New Packages Team

zig-wasm-bootstrap 0.17.1+dfsg-1

Package Information

Descriptionseed for bootstrapping the Zig compiler

Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

This package builds the Zig stage1 WebAssembly bootstrap seed (zig1.wasm) from the final C++ stage1 compiler (0.10.0-541) across 40+ self-hosted compiler transitions without using any prebuilt binary blobs.

This should not be confused with Zig's https://codeberg.org/ziglang/zig-bootstrap. This is a port of Guix's Zig bootstrap to Debian.

MaintainerDebian Zig Compiler Team <team+zig-compiler@tracker.debian.org>
Changed ByIvan Carvalho <ivancarvalho@google.com>
Sponsormaytham@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/zig-team/zig-wasm-bootstrap.git (browse)
Closes#1150314
Blocked Bugs#995670 (wishlist), #1092895 (wishlist)
Trackerhttps://tracker.debian.org/pkg/zig-wasm-bootstrap
Uploaded4 hours ago

New Package Report

.changes◂
DateTue, 17 Nov 2026 17:53:37 +0000
Sourcezig-wasm-bootstrap
Version0.17.1+dfsg-1
Changed-ByIvan Carvalho <ivancarvalho@google.com>
Architecturesource all
Distributionunstable
Changelog◂
zig-wasm-bootstrap (0.17.1+dfsg-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1150314)
   * Bootstrap the Zig stage1 WebAssembly compiler (zig1.wasm) for Zig 0.17.1
     from the final C++ stage1 seed (0.10.0-541) across 55 self-hosted
     compiler transitions against Debian LLVM 22 and LLD 22.
.dsc◂
Sectiondevel
Priorityoptional
Componentmain
Package-Listzig-wasm-bootstrap deb devel optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: zig
Upstream-Contact: Andrew Kelley <andrew@ziglang.org>
Source: https://codeberg.org/ziglang/zig

Files: *
Copyright:
 2015-2025 Andrew Kelley <andrew@ziglang.org>
 2015-2025 Zig contributors
License: MIT

Files: debian/*
Copyright:
 2026 Ivan Carvalho <ivancarvalho@google.com>
 2026 Edmund Lodewijks <edmund@proteamail.com>
 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
 2021 Sarah Morgensen <iskarian@mgsn.dev>
 2021 Calum Irwin <calumirwin1@gmail.com>
 2022-2024 Efraim Flashner <efraim@flashner.co.il>
 2023 Ekaitz Zarraga <ekaitz@elenq.tech>
 2023-2026 Hilton Chain <hako@ultrarare.space>
 2025 dan <i@dan.games>
License: GPL-3+
Comment:
 Packaging is based upon GNU Guix's gnu/packages/zig.scm bootstrap.

Files:
 debian/bootstrap-patches/01_0.10.0-610-cbe-undef-string-literal.patch
 debian/bootstrap-patches/02_subtf3-addf3.patch
 debian/bootstrap-patches/05_0.10.0-748-revert-call-usages.patch
 debian/bootstrap-patches/06_0.10.0-851-enum-layout.patch
 debian/bootstrap-patches/07_0.10.0-1073-atomic-compat.patch
 debian/bootstrap-patches/08_0.10.0-2571-start-c_char.patch
 debian/bootstrap-patches/09b_0.11.0-494-cbe-enumfields-uaf.patch
 debian/bootstrap-patches/10_0.11.0-761-errSetCast.patch
 debian/bootstrap-patches/11_0.11.0-3501-builtin-fn-alignment.patch
 debian/bootstrap-patches/12_0.11.0-3506-fieldParentPtr-3arg.patch
 debian/bootstrap-patches/13_0.13.0-1323-disableInstrumentation.patch
 debian/bootstrap-patches/14_0.13.0-2924-sema-panic.patch
 debian/bootstrap-patches/15_0.14.0-877-setFloat.patch
 debian/bootstrap-patches/15b_0.16.0-1490-soft-f80-align.patch
Copyright:
 2015-2025 Andrew Kelley <andrew@ziglang.org>
 2015-2025 Zig contributors
 2024 Matthew Lugg <mlugg@mlugg.co.uk>
License: MIT
Comment:
 Upstream Zig backports and reverts adapted for intermediate bootstrap transitions.

Files:
 debian/bootstrap-patches/03_0.10.0-722-TypeOf-hack.patch
 debian/bootstrap-patches/04_0.10.0-748-CallOptions.patch
Copyright:
 2022-2023 Motiejus Jakštys <motiejus@jakstys.lt>
 2021-2026 GNU Guix contributors
License: GPL-3
Comment:
 Bootstrap patches imported from GNU Guix package definitions.

Files:
 debian/bootstrap-patches/00_0.10.0-541-llvm22.patch
 debian/bootstrap-patches/09_0.11.0-149-revert-c4848694d2-llvm-without-libllvm.patch
 debian/bootstrap-patches/16_0.17.1-0-llvm22-nostrlen.patch
Copyright:
 2026 Ivan Carvalho <ivancarvalho@google.com>
License: MIT
Comment:
 Debian-specific original patches for modern toolchain compatibility and build fixes.

Files: deps/SoftFloat-3e/*
Copyright: 2011-2018 The Regents of the University of California
License: BSD-3-clause
Comment:
 Berkeley SoftFloat Release 3e, written by John R. Hauser.

Files:
 src/zig_llvm-ar.cpp
 sources*/src/zig_llvm-ar.cpp
Copyright: 2003-2024 University of Illinois at Urbana-Champaign and LLVM Project contributors
License: Apache-2.0 with LLVM exception

Files: src/stage1/parse_f128.c
Copyright:
 2005-2020 Rich Felker, et al.
 2015-2022 Andrew Kelley and Zig contributors
License: MIT
Comment:
 Adapted from musl libc (floatscan.c / shgetc.c).

Files:
 sources*/deps/aro/*
 sources*/lib/compiler/aro/*
Copyright: 2020-2025 Vexu and Aro contributors
License: MIT
Comment:
 Upstream: https://github.com/Vexu/arocc

Files:
 sources*/deps/aro/aro/char_info.zig
 sources*/lib/compiler/aro/aro/char_info.zig
 sources*/lib/compiler/aro/aro/char_info/identifier_tables.zig
Copyright:
 2020-2025 Vexu and Aro contributors
 2022 David Tolnay
 1991-2023 Unicode, Inc.
License: MIT and Unicode-DFS-2016
Comment:
 Derived from https://github.com/dtolnay/unicode-ident and Unicode Standard
 Annex #31.

Files:
 sources*/deps/aro/aro/record_layout.zig
 sources*/lib/compiler/aro/aro/record_layout.zig
Copyright:
 2020-2025 Vexu and Aro contributors
 2020 mahkoh
License: MIT
Comment:
 Adapted from https://github.com/mahkoh/repr-c.

Files:
 sources*/lib/compiler/resinator/*
 sources*/src/resinator/*
Copyright: 2021-2025 Ryan Liptak
License: MIT
Comment:
 Upstream: https://github.com/squeek502/resinator

Files:
 lib/compiler_rt/*
 sources*/lib/compiler_rt/*
Copyright:
 2015-2025 Andrew Kelley and Zig contributors
 2009-2024 University of Illinois at Urbana-Champaign and LLVM Project contributors
License: MIT and Apache-2.0 with LLVM exception and NCSA
Comment:
 Zig's compiler_rt builtins are ported from LLVM compiler-rt (dual-licensed
 under Apache-2.0 with LLVM-exception and NCSA/MIT).

Files:
 lib/compiler_rt/ceil.zig
 lib/compiler_rt/cos.zig
 lib/compiler_rt/exp.zig
 lib/compiler_rt/exp2.zig
 lib/compiler_rt/floor.zig
 lib/compiler_rt/fma.zig
 lib/compiler_rt/log.zig
 lib/compiler_rt/log10.zig
 lib/compiler_rt/log2.zig
 lib/compiler_rt/rem_pio2.zig
 lib/compiler_rt/rem_pio2_large.zig
 lib/compiler_rt/rem_pio2f.zig
 lib/compiler_rt/round.zig
 lib/compiler_rt/sin.zig
 lib/compiler_rt/sincos.zig
 lib/compiler_rt/tan.zig
 lib/compiler_rt/trig.zig
 lib/compiler_rt/trunc.zig
 sources*/lib/compiler_rt/ceil.zig
 sources*/lib/compiler_rt/cos.zig
 sources*/lib/compiler_rt/exp.zig
 sources*/lib/compiler_rt/exp2.zig
 sources*/lib/compiler_rt/floor.zig
 sources*/lib/compiler_rt/fma.zig
 sources*/lib/compiler_rt/log.zig
 sources*/lib/compiler_rt/log10.zig
 sources*/lib/compiler_rt/log2.zig
 sources*/lib/compiler_rt/rem_pio2.zig
 sources*/lib/compiler_rt/rem_pio2_large.zig
 sources*/lib/compiler_rt/rem_pio2f.zig
 sources*/lib/compiler_rt/round.zig
 sources*/lib/compiler_rt/sin.zig
 sources*/lib/compiler_rt/sincos.zig
 sources*/lib/compiler_rt/tan.zig
 sources*/lib/compiler_rt/trig.zig
 sources*/lib/compiler_rt/trunc.zig
Copyright:
 2015-2025 Andrew Kelley and Zig contributors
 2005-2020 Rich Felker, et al.
 1993 Sun Microsystems, Inc.
 2003-2011 David Schultz <das@FreeBSD.ORG>
 2005-2012 Bruce D. Evans and Steven G. Kargl
 2017-2018 Arm Limited
License: MIT and BSD-2-clause and SunPro
Comment:
 Ported from musl libc, which in turn derives math routines from fdlibm
 (Sun Microsystems), FreeBSD libm, and Arm Optimized Routines.

Files:
 lib/std/math/acos.zig
 lib/std/math/acosh.zig
 lib/std/math/asin.zig
 lib/std/math/asinh.zig
 lib/std/math/atan.zig
 lib/std/math/atan2.zig
 lib/std/math/atanh.zig
 lib/std/math/cbrt.zig
 lib/std/math/complex/*
 lib/std/math/copysign.zig
 lib/std/math/cosh.zig
 lib/std/math/expm1.zig
 lib/std/math/expo2.zig
 lib/std/math/frexp.zig
 lib/std/math/hypot.zig
 lib/std/math/ilogb.zig
 lib/std/math/ldexp.zig
 lib/std/math/log1p.zig
 lib/std/math/log2.zig
 lib/std/math/modf.zig
 lib/std/math/scalbn.zig
 lib/std/math/sinh.zig
 lib/std/math/sqrt.zig
 lib/std/math/tanh.zig
 sources*/lib/std/math/acos.zig
 sources*/lib/std/math/acosh.zig
 sources*/lib/std/math/asin.zig
 sources*/lib/std/math/asinh.zig
 sources*/lib/std/math/atan.zig
 sources*/lib/std/math/atan2.zig
 sources*/lib/std/math/atanh.zig
 sources*/lib/std/math/cbrt.zig
 sources*/lib/std/math/complex/*
 sources*/lib/std/math/copysign.zig
 sources*/lib/std/math/cosh.zig
 sources*/lib/std/math/expm1.zig
 sources*/lib/std/math/expo2.zig
 sources*/lib/std/math/frexp.zig
 sources*/lib/std/math/gamma.zig
 sources*/lib/std/math/hypot.zig
 sources*/lib/std/math/ilogb.zig
 sources*/lib/std/math/ldexp.zig
 sources*/lib/std/math/log1p.zig
 sources*/lib/std/math/log2.zig
 sources*/lib/std/math/modf.zig
 sources*/lib/std/math/scalbn.zig
 sources*/lib/std/math/sinh.zig
 sources*/lib/std/math/sqrt.zig
 sources*/lib/std/math/tanh.zig
Copyright:
 2015-2025 Andrew Kelley and Zig contributors
 2005-2020 Rich Felker, et al.
 1993 Sun Microsystems, Inc.
 2003-2011 David Schultz <das@FreeBSD.ORG>
 2004-2005 Stefan Farfeleder
 2005-2012 Bruce D. Evans and Steven G. Kargl
 2014-2015 Stephen L. Moshier
License: MIT and BSD-2-clause and SunPro
Comment:
 Ported from musl libc (which incorporates fdlibm, FreeBSD libm, and Cephes
 math routines).

Files:
 lib/std/math/log.zig
 lib/std/math/log10.zig
 lib/std/math/powi.zig
 sources*/lib/std/math/log.zig
 sources*/lib/std/math/log10.zig
 sources*/lib/std/math/powi.zig
Copyright:
 2015-2025 Andrew Kelley and Zig contributors
 2005-2020 Rich Felker, et al.
 2012-2020 The Rust Project Developers
License: MIT and Apache-2.0
Comment:
 Ported from musl libc and the Rust standard library (libcore).

Files:
 lib/std/fmt/parse_float/*
 sources*/lib/std/fmt/parse_float/*
Copyright:
 2021-2025 Andrew Kelley and Zig contributors
 2020-2021 Daniel Lemire and fast-float contributors
License: MIT
Comment:
 Ported from https://github.com/fastfloat/fast_float and
 https://github.com/aldanor/fast-float-rust.

Files:
 lib/std/compress/deflate*
 lib/std/fmt/parse_float/convert_hex.zig
 lib/std/math/pow.zig
 sources*/lib/std/compress/deflate*
 sources*/lib/std/compress/flate/*
 sources*/lib/std/crypto/ff.zig
 sources*/lib/std/fmt/parse_float/convert_hex.zig
 sources*/lib/std/math/pow.zig
Copyright:
 2015-2025 Andrew Kelley and Zig contributors
 2009-2022 The Go Authors
License: MIT and BSD-3-clause
Comment:
 Ported from the Go standard library.

Files:
 lib/std/hash/adler.zig
 sources*/lib/std/compress/flate/deflate.zig
 sources*/lib/std/hash/Adler32.zig
 sources*/lib/std/hash/adler.zig
Copyright:
 2015-2025 Andrew Kelley and Zig contributors
 1995-2022 Jean-loup Gailly and Mark Adler
License: MIT and Zlib
Comment:
 Derived from zlib.

Files:
 lib/std/crypto/chacha20.zig
 sources*/lib/std/crypto/chacha20.zig
 sources*/lib/std/math/nextafter.zig
Copyright:
 2015-2025 Andrew Kelley and Zig contributors
 2008 Daniel J. Bernstein
 mingw-w64 contributors
License: MIT and public-domain

Files:
 lib/std/sort.zig
 sources*/lib/std/sort.zig
 sources*/lib/std/sort/block.zig
Copyright:
 2015-2025 Andrew Kelley and Zig contributors
 2014-2020 BonzaiThePenguin
License: MIT and Unlicense
Comment:
 Block merge sort ported from WikiSort
 (https://github.com/BonzaiThePenguin/WikiSort).

Files: sources*/lib/std/tar/output.zig
Copyright:
 2022-2025 Andrew Kelley and Zig contributors
 2022 Matthew Knight
License: MIT
Comment:
 Ported from https://github.com/mattnite/tar.

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

License: Apache-2.0
 On Debian systems, the complete text of the Apache License, Version 2.0
 can be found in "/usr/share/common-licenses/Apache-2.0".

License: Apache-2.0 with LLVM exception
 On Debian systems, the complete text of the Apache License, Version 2.0
 can be found in "/usr/share/common-licenses/Apache-2.0".
 .
 ---- LLVM Exceptions to the Apache 2.0 License ----
 .
 As an exception, if, as a result of your compiling your source code, portions
 of this Software are embedded into an Object form of such source code, you
 may redistribute such embedded portions in such Object form without complying
 with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
 .
 In addition, if you combine or link compiled forms of this Software with
 software that is licensed under the GPLv2 ("Combined Software") and if a
 court of competent jurisdiction determines that the patent provision (Section
 3), the indemnity provision (Section 9) or other Section of the License
 conflicts with the conditions of the GPLv2, you may retroactively and
 prospectively choose to deem waived or otherwise exclude such Section(s) of
 the License, but only in their entirety and only with respect to the Combined
 Software.

License: NCSA
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal with
 the Software without restriction, including without limitation the rights to
 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 of the Software, and to permit persons to whom the Software is furnished to do
 so, subject to the following conditions:
 .
   * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the following disclaimers.
 .
   * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the following disclaimers in the
     documentation and/or other materials provided with the distribution.
 .
   * Neither the names of the LLVM Team, University of Illinois at
     Urbana-Champaign, nor the names of its contributors may be used to
     endorse or promote products derived from this Software without specific
     prior written permission.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
 SOFTWARE.

License: BSD-2-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 .
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 3. Neither the name of the University nor the names of its contributors
    may be used to endorse or promote products derived from this software
    without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.

License: SunPro
 Developed at SunPro, a Sun Microsystems, Inc. business.
 Permission to use, copy, modify, and distribute this
 software is freely granted, provided that this notice
 is preserved.

License: Unicode-DFS-2016
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of the Unicode data files and any associated documentation
 (the "Data Files") or Unicode software and any associated documentation
 (the "Software") to deal in the Data Files or Software
 without restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, and/or sell copies of
 the Data Files or Software, and to permit persons to whom the Data Files
 or Software are furnished to do so, provided that either
 (a) this copyright and permission notice appear with all copies
 of the Data Files or Software, or
 (b) this copyright and permission notice appear in associated
 Documentation.
 .
 THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
 ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT OF THIRD PARTY RIGHTS.
 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
 NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
 DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 PERFORMANCE OF THE DATA FILES OR SOFTWARE.
 .
 Except as contained in this notice, the name of a copyright holder
 shall not be used in advertising or otherwise to promote the sale,
 use or other dealings in these Data Files or Software without prior
 written authorization of the copyright holder.

License: Zlib
 This software is provided 'as-is', without any express or implied
 warranty.  In no event will the authors be held liable for any damages
 arising from the use of this software.
 .
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 .
 1. The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this software
    in a product, an acknowledgment in the product documentation would be
    appreciated but is not required.
 2. Altered source versions must be plainly marked as such, and must not be
    misrepresented as being the original software.
 3. This notice may not be removed or altered from any source distribution.

License: Unlicense
 This is free and unencumbered software released into the public domain.
 .
 Anyone is free to copy, modify, publish, use, compile, sell, or
 distribute this software, either in source code form or as a compiled
 binary, for any purpose, commercial or non-commercial, and by any
 means.
 .
 In jurisdictions that recognize copyright laws, the author or authors
 of this software dedicate any and all copyright interest in the
 software to the public domain. We make this dedication for the benefit
 of the public at large and to the detriment of our heirs and
 successors. We intend this dedication to be an overt act of
 relinquishment in perpetuity of all present and future rights to this
 software under copyright law.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.

License: public-domain
 These files have been placed in the public domain by their authors, or have
 copyright notices waiving all rights to the extent permitted by law.

License: GPL-3
 On Debian systems, the complete text of the GNU General Public License
 version 3 can be found in "/usr/share/common-licenses/GPL-3".

License: GPL-3+
 On Debian systems, the complete text of the GNU General Public License
 version 3 can be found in "/usr/share/common-licenses/GPL-3".

DFSG Assistant LLM REVIEW 0 blocker, 1 important, 1 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 3 hours ago.

Report◂

DFSG NEW review for zig-wasm-bootstrap version 0.17.1+dfsg-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 1 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 1 found

Licensing

DFSG-compliant: upstream is the Zig compiler (MIT) across 88 component trees, and everything vendored into it is MIT, BSD-2/3-clause, SunPro, Unicode, Zlib, Unlicense or Apache-2.0-with-LLVM-exception, all compatible; nothing non-free and no prebuilt blobs. debian/copyright is DEP-5 with the canonical Format URL, 37 holders, per-file stanzas and full texts (or /usr/share/common-licenses references) wherever needed, and every holder found in the tree is named. It is however not accurate for every file: two musl-ported compiler_rt files are not listed in the musl stanza and so are described by the compiler_rt stanza, whose licence set and holders do not apply to them (issue below).

Packaging

Good quality: debhelper-compat 14 with a clean dh $@ --buildsystem=none plus mage-driven build, <!nocheck> correctly put on the two test-only build dependencies, all Build-Depends resolvable in unstable, 19 build patches with DEP-3 headers applied to copies under .cache (the source tarballs stay pristine), a build-time test and an autopkgtest using the same script, Standards-Version 4.7.4 (Policy 4.7.4.1), and a sane initial changelog closing the ITP. One defect: the autopkgtest's GOARCH to Zig-target map omits arm and mips64le and tests/control has no Architecture restriction, so the test aborts on armel/armhf.

Issues

important licensing 1. debian/copyright matches sources*/lib/compiler_rt/sqrt.zig and floor_ceil.zig with the compiler_rt stanza, not the musl stanza ◂
  • Files: debian/copyright:160-247, sources-0-17-1-0/lib/compiler_rt/sqrt.zig:1, sources-0-17-1-0/lib/compiler_rt/floor_ceil.zig:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: Both files begin //! Ported from musl, which is MIT licensed. with musl's COPYRIGHT URL and the musl sqrt/ceil/floor sources. The musl stanza (License: MIT and BSD-2-clause and SunPro, 2005-2020 Rich Felker, et al., 1993 Sun Microsystems, Inc., 2003-2011 David Schultz) lists lib/compiler_rt/ceil.zig .. lib/compiler_rt/trunc.zig and their sources*/ forms but not sqrt.zig or floor_ceil.zig; those therefore fall to the earlier Files: lib/compiler_rt/* / sources*/lib/compiler_rt/* stanza with License: MIT and Apache-2.0 with LLVM exception and NCSA.
  • Problem: musl's sqrt/ceil/floor are Sun fdlibm/FreeBSD derivatives, so these two files carry the BSD-2-clause and SunPro terms and the musl/FreeBSD/Sun holders, not Apache-2.0-with-LLVM-exception or NCSA. lib/compiler_rt/sqrt.zig is present from 0.15.0-1447 and floor_ceil.zig from 0.15.0-2738 onwards, including the final 0.17.1 tree whose compiler_rt is linked into the shipped zig1.wasm, so the machine-readable description of these files is wrong. All the notices are present in other stanzas, so nothing is missing from the source package and the DFSG is not affected; the Files-to-licence mapping is what is inaccurate (DEP-5, copyright-format 6.7/6.9).
  • Fix: Add sources*/lib/compiler_rt/sqrt.zig and sources*/lib/compiler_rt/floor_ceil.zig (and, for completeness, lib/compiler_rt/* equivalents only where they exist) to the musl Files: list of the License: MIT and BSD-2-clause and SunPro stanza.
minor packaging 2. autopkgtest aborts on armel/armhf/mips64el because fib_test.go's GOARCH map has no entry for them and tests/control sets no Architecture restriction ◂
  • Files: debian/tests/fib_test.go:106-113, debian/tests/control
  • Basis: inferred from what was read, not seen directly
  • Evidence: targetArch := map[string]string{"amd64": "x86_64", "arm64": "aarch64", "386": "x86", "riscv64": "riscv64", "ppc64le": "powerpc64le", "s390x": "s390x", "loong64": "loongarch64", ...} followed by if targetArch == "" { t.Fatalf("unsupported GOARCH %q", runtime.GOARCH) }; debian/tests/control has only Tests, Depends and Restrictions: allow-stderr.
  • Problem: Go reports GOARCH arm on armel and armhf and mips64le on mips64el, where the test fails before running the wasm. Because the source package is arch:all and the test dependencies are installable on armhf, debci runs this test there and records a failure, which is the kind of autopkgtest regression that blocks migration.
  • Fix: Either restrict the test, e.g. Architecture: amd64 arm64 i386 riscv64 ppc64el s390x loong64 in debian/tests/control, or add the missing GOARCH values (arm, mips64le, ...) with the matching Zig target triples.
Verified ◂
  • Read debian/copyright in full (541 lines, DEP-5, canonical Format URL); all 19 debian/bootstrap-patches patches appear in a Files stanza, and every Licence short name used has a stand-alone paragraph with full text or a /usr/share/common-licenses reference.
  • The prescan's non-free-wording hit at debian/copyright:512 is the Unlicense's standard grant, for any purpose, commercial or non-commercial, and by any means; it permits commercial use and is DFSG-free. It is the licence of the WikiSort-derived block sort (sources*/lib/std/sort/block.zig), as stated in that stanza.
  • No built files anywhere: no .wasm/.a/.o/.so/.bc/.pdf or images in the tree; deps/SoftFloat-3e-prebuilt/ holds only platform.h, Zig's endianness shim that is compiled with the SoftFloat sources.
  • Sampled headers across the seed tree and the component trees: third-party code is musl ports (MIT/BSD-2/SunPro), LLVM compiler_rt and zig_llvm-ar (Apache-2.0 WITH LLVM-exception / NCSA), Go standard library (BSD-3), Aro, resinator and fast_float (MIT), WikiSort (Unlicense), zlib (Zlib), Bernstein public-domain code and Berkeley SoftFloat (BSD-3); each is named in debian/copyright. No GPL/LGPL/MPL/CC code in upstream sources.
  • deps/SoftFloat-3e/source/f64_add.c carries the BSD-3-clause notice reproduced in debian/copyright; src/zig_llvm-ar.cpp carries SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception exactly as stated.
  • GPL-3/GPL-3+ is claimed only for debian/*; patches 03 and 04 are Guix's and are applied only to intermediate build trees, while zig1.wasm is built from the MIT 0.17.1 sources.
  • The prescan's author check over 18 242 files (37 declared holders) found no unnamed holder, matching my sampling.
  • debian/control, rules, changelog, README.source, source/format, source/lintian-overrides, tests/control, the test script and fib_test.go, upstream/metadata and all of debian/magefiles (go.mod, magefile.go, constants.go, driver.go, manifest.go, util.go, recipe.star) read.
  • All Build-Depends resolve in unstable: golang-go 2:1.27~1 (go.mod needs 1.25), mage 1.17.1, golang-github-magefile-mage-dev 1.17.1, golang-github-tetratelabs-wazero-dev 1.12.0, libclang-rt-22-dev 1:22.1.8-4, golang-starlark-dev, golang-github-sourcegraph-conc-dev, golang-golang-x-mod-dev. wazero and clang-rt are used only from debian/tests, so <!nocheck> is correct and the build does not use them (clang's default rtlib is libgcc).
  • The build applies patches only to copies under .cache (workTree), leaving sources-*/ pristine; override_dh_auto_clean removes .cache and zig1.wasm.
  • Architecture: all / Multi-Arch: foreign is justified: the last step runs -target wasm32-wasi and the build configs contain no host triple.
  • Standards-Version 4.7.4 against Policy 4.7.4.1 is current enough (first two components match).
  • uscan found the packaged version as the newest upstream release (upstream 0.17.1, packaged 0.17.1+dfsg).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0, GPL-3).
Not confirmed ◂
  • No build or autopkgtest was run (read-only review); per the instructions I assume the package builds and its tests pass.
  • The prescan read only the first 4 MiB of 22 files larger than 4 MiB; I sampled the large Zig sources and read the manifest JSONs only by path, so those tails were not re-scanned for licence wording.
  • That debci executes this test on armhf/armel is inferred from there being no Architecture restriction in debian/tests/control; I could not run autopkgtest to confirm it.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Back to Dashboard | View all reviews for this package