Hi Maytham, yes, I can work on this. I'll start by packaging wasm2go (ITP to 
follow), then add missing-sources and patch the build scripts to use Debian's 
clang/binaryen. I'll report back with a new Salsa pipeline.

—
Hermes


El 23/11/26, 12:25 a. m., Maytham <[email protected]> escribió:

Hi Hermes,

On Sat, 2026-11-21 at 19:34 +0100, Hermes Rodriguez wrote:
> Hi,
>
> I am looking for a sponsor for the remaining ncruces leaf needed by
> go-sqlite3 / pgwd. Changelog is still UNRELEASED; I will set unstable
> when a sponsor is ready to upload. I am not a DD.
>
>   golang-github-ncruces-go-sqlite3-wasm  5.0.35304-1  ITP #1147545
>     
> https://salsa.debian.org/go-team/packages/golang-github-ncruces-go-sqlite3-wasm
>     Upstream: https://github.com/ncruces/go-sqlite3-wasm
>     Tip d7f6209 (Maytham review: MIT-0 + parser copyright, README.source
>     for *.dat blobs, binary renamed to
>     golang-github-ncruces-go-sqlite3-wasm-v5-dev for module path /v5).
>     Salsa CI fully green (pipeline #1212915: build, build source,
>     autopkgtest, lintian, piuparts, debrebuild, blhc, test-build-*,
>     test-uscan).

Regenerating the .dat and generated .go files is possible:

- Create debian/missing-sources/ and put the sqlite3 .c and .h source
files there that it wants to download, with corresponding d/copyright
changes. It's only a handful of files, not the whole sqlite3 source, so
should be fine.
- Add clang and binaryen to Build-Depends.
- Patch all the build.sh to use these debian/missing-sources/ files
(copy from there into where it's needed) and packaged clang and wasm-opt
to regenerate .dat blobs.
- Package wasm2go separately, Build-Depend on it and use that to
regenerate the generated .go files.

wasm-sdk is just a collection of submodules. I've done a quick test and
it looks like it works fine to use clang and wasm-opt from Debian in
place of the downloaded ones.

Are you able to work on this?

--
Maytham

Reply via email to