-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustbook fails to compile on Fedora 42 with all dependencies met #141012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
My branch here doesn't pass tidy checks (so, shouldn't be taken seriously, unless git identifiers suddenly become accepted), but should work as a POC for this fix. |
AFAICT, this is not actionable for the bootstrap team. Either we'd have to:
cc @ehuss |
Looks like @cuviper has asked for a new release: google/mdbook-i18n-helpers#267 (comment). |
I don't know what clang has to do with this. The https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters Oniguruma did fix this in 6.9.10, but In the meantime, if you have (edit: I updated to the correct fix commit) |
I ran into this today. Another work around that does not requiring installing export CFLAGS='-std=gnu17' |
Uh oh!
There was an error while loading. Please reload this page.
Summary
One dependency for building oniguruma related items are anything to do with libclang. This is currently insufficient for Fedora 42 x86 systems.C23, used by default in systems like fedora 42, currently breaks rustbook builds. (see more here) This ends up being problematic as a dependency of rustbook is mdbook-i18n-helpers, which does not compile well with this current setup.Any previous version of
mdbook-i18n-helpers
, e.g. 3.6, 3.5, etc, does not compile, however, the latest activity on the head of their main branch does. Anything beyond this is speculative and should be discussed further below.Command used
Also mimicked by compiling strictly
rustbook
.Expected behaviour
Documentation generation.
Actual behaviour
Unable to compile onigumura.
Bootstrap configuration (bootstrap.toml)
Operating system
Fedora 42
HEAD
414482f
Build Log
My own build log is attached as a file ;)
build.log
The text was updated successfully, but these errors were encountered: