Skip to contentSkip to conversation

Fixing the Buildroot 'bat' package

Buildroot Thomas Petazzoni via buildroot 1 participant 2 messages Aug 29, 2025 – Sep 2, 2025

lore
Share & tools
lore
#0 lore raw

Hello David,

You are listed as the maintainer of the 'bat' package in Buildroot. It turns out that this package no longer builds with GCC 15.x, and you probably are receiving on a regular basis e-mails telling you that there are build failures.

See:

https://autobuild.buildroot.net/?reason=bat-%

Basically, when building bat, it uses the 'onig' crate in version 6.4.0, which itself contains the oniguruma regex library implemented in C. However, this version does not build with GCC 15. My understanding is that the onig crate has been updated to fix this issue, but bat has not been updated to use a recent enough version of onig that fixes the issue.

Could you have a look at solving this issue?

Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Thomas,

Le 29/08/2025 à 23:44, Thomas Petazzoni via buildroot a écrit :

Quoted 9 lines

Hello David,

You are listed as the maintainer of the 'bat' package in Buildroot. It turns out that this package no longer builds with GCC 15.x, and you probably are receiving on a regular basis e-mails telling you that there are build failures.

See:

Quoted 9 lines

https://autobuild.buildroot.net/?reason=bat-%

Basically, when building bat, it uses the 'onig' crate in version 6.4.0, which itself contains the oniguruma regex library implemented in C. However, this version does not build with GCC 15. My understanding is that the onig crate has been updated to fix this issue, but bat has not been updated to use a recent enough version of onig that fixes the issue.

This problem sounds familiar to me. Thanks for the report!

Quoted 1 line

Could you have a look at solving this issue?

I'll have a look at it and try to fix in the next few days.

Quoted 4 lines

Thanks a lot!

Thomas

Best regards,

Mehdi

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot