On Thu, Aug 27, 2026 at 04:39:07PM +0200, Salvatore Bonaccorso wrote:
> Source: xgrammar
> Version: 0.2.3-1
> Severity: serious
> Tags: ftbfs
> Justification: FTBFS
> X-Debbugs-Cc: [email protected], [email protected], 
> [email protected]
> User: [email protected]
> Usertags: arm64
> User: [email protected]
> Usertags: amd64
> 
> Hi
> 
> Looks xgrammar is FTBFS'ing on both amd64 and arm64:
> 
> https://buildd.debian.org/status/fetch.php?pkg=xgrammar&arch=amd64&ver=0.2.3-1&stamp=1787497190&raw=0
> https://buildd.debian.org/status/fetch.php?pkg=xgrammar&arch=arm64&ver=0.2.3-1&stamp=1787496101&raw=0

The problem seems to be (as usual?) that CMakeLists.txt adds -Werror.

The workaround is fortunately simple and appending -Wno-error to 
DEB_CXXFLAGS_MAINT_APPEND in debian/rules makes the package compile
again.

Regards,
Andreas Henriksson

Reply via email to