🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by haoran wang Wed, 11 Nov 2026 06:10
Bug#1153699: wabt: remove unused re2c build dependency
#4102
Author: 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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads