🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4102

Bug#1153699: wabt: remove unused re2c build dependency

#4102
From: haoran wang
Date: Wed, 11 Nov 2026 06:10
85 lines
5595 bytes
--Apple-Mail=_31DB6464-1A92-4538-B156-25C8BA8AB91F
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

Package: src:wabt
Version: 1.0.42+dfsg+~cs1.0.39-2
Severity: minor
Tags: patch

Dear Debian JavaScript Maintainers,

Please consider removing re2c from wabt's Build-Depends. CMake compiles
src/wast-lexer.cc directly, and the source package contains no re2c
inputs, tool detection, or generation rules. The checked-in keyword table
is regenerated with gperf via the upstream update-gperf target.

In a controlled rebuild of the version above, re2c was removed from the
build environment and was not pulled back in by another dependency.
The native and Emscripten builds both completed, the results of all
137 tests matched the baseline, and the installed package payloads
were byte-for-byte identical.

The attached patch drops the re2c entry from debian/control.
The accompanying build-comparison.txt summarizes the baseline and the
rebuild without re2c.

Thanks,
Haoran Wang

--Apple-Mail=_31DB6464-1A92-4538-B156-25C8BA8AB91F
Content-Disposition: attachment;
	filename=remove-re2c.patch
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="remove-re2c.patch"
Content-Transfer-Encoding: 7bit

--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,6 @@
  , ninja-build
  , python3
  , python3-ply
- , re2c
 Standards-Version: 4.7.4
 Homepage: https://github.com/WebAssembly/wabt
 Vcs-Git: https://salsa.debian.org/debian/wabt.git

--Apple-Mail=_31DB6464-1A92-4538-B156-25C8BA8AB91F
Content-Disposition: attachment;
	filename=build-comparison.txt
Content-Type: text/plain;
	x-unix-mode=0644;
	name="build-comparison.txt"
Content-Transfer-Encoding: 7bit

wabt: build comparison after removing re2c

Source version: 1.0.42+dfsg+~cs1.0.39-2
Build architecture: amd64
Experiment: 92cfb6068dd4dca9, baseline vs. ablation-1

Check                       Baseline              Without re2c
re2c package                Installed             Absent, not pulled back in
Native CMake build          Completed             Completed
Emscripten/Ninja build      Completed             Completed
Named tests                 137                   137, results matched
Build log lines             3560                  3560
Build semantic summary      569 lines             569 lines
Installed package payloads  Reference             Byte-for-byte identical

Both runs compiled the same C++ lexer sources. The differences in the
compared compilation commands were Ninja step numbering and execution
order. The build logs were compared semantically.

The source package contains no re2c inputs, tool detection, or generation
rules. CMake compiles src/wast-lexer.cc directly. The checked-in keyword
table is maintained with gperf through the upstream update-gperf target.

These results are from the archived single-dependency removal experiment
for the version and build paths listed above.

--Apple-Mail=_31DB6464-1A92-4538-B156-25C8BA8AB91F--
Technical Details
Message-ID: <NY9GV-baBE-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: haoran wang <w1851687@gmail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153699: wabt: remove unused re2c build dependency
Date: Wed, 11 Nov 2026 07:10:01 +0100
Message-ID: <NY9GV-baBE-1@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 11 06:01:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.297
Reply-To: haoran wang <w1851687@gmail.com>, 1153699@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-javascript-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1153699
X-Debian-Pr-Package: src:wabt
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: wabt
X-Gm-Message-State: APuU4Z/62I0ozSUKjIYsJgHXos3paXAYDm8Ywplt754Pizu2cIFlI4S5
	tAlRa4KnC6+LVopZUesHRZo9UtaeZ+xQMn6cQoy8Svs7amwFy/P5OKG/O40tk/V0
X-Gm-Gg: AYBFou13seLnejRoEnmAMWdkSwjZA2vRBiiRtVknaBy9/pMbP8vQW94vZxIRjeSB4Cf
	53X7bPrzxfMIdmeRPhqroARjoT5wSHTFjk0GUDEb2tXIPTxIrL74c9WGbYLUUcNJeuz8Fk5Fx/Y
	Cx7Uidm06YQD5Y6gE85Wb8yxKMk+1ylP2j1FXv/7dWAUKUkbOOUVM0BBpQb5x34BsvOa0m6Atme
	XEsZlYZes1aJdZ6q5h3/qXfMkrDUP69t8uleHMympgLZy4cdInzizETL3Dz+R7U8NcTBA/8PKbQ
	3rnlbK9kcTAiVwB7ufwsXJG/cdBvErN1jY+LedttcLPWiMsNpRq6JvHN2/Wlca17+0B/WtSvzsy
	8wUxqMOCw+Qi2wD5oaKTzGVRHAw5cNOYRiU3JKq6RPbQz5XUshyhd44v+MBjq9q3iutPXFWWlkP
	cJ4eZzl0n4EdJGGyb0b8/PZnPjRODfMcmnj6OTv/pebrSir9HH5KHt60IluU8cZcY+Zad3q15R8
	x3HNhFOLtXTs94vQt0elHmx8ClE1jLQWIbbxzayV6LQV/MNR4JgW/Xvq9SWSVjbhYw2ag/QJyit
	Io97YWizzRVMDNrMcJZRdoQnSA88qhAdmCuoohP3EnN/
X-Received: by 2002:a05:7300:d18f:b0:366:703c:5ef8 with SMTP id 5a478bee46e88-376850cefb9mr1825468eec.7.1794376728331;
        Tue, 10 Nov 2026 21:58:48 -0800 (PST)
Content-Type: multipart/mixed;
	boundary="Apple-Mail=_31DB6464-1A92-4538-B156-25C8BA8AB91F"
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3864.400.21\))
X-Mailer: Apple Mail (2.3864.400.21)
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001970
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 85
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 11 Nov 2026 13:58:32 +0800
X-Original-Message-ID: <545E2DEE-418B-42E2-94A3-CDAE23F704DB@gmail.com>