Skip to content

rustbook fails to compile on Fedora 42 with all dependencies met #141012

Closed
@Borgerr

Description

@Borgerr

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

./x doc

Also mimicked by compiling strictly rustbook.

Expected behaviour

Documentation generation.

Actual behaviour

Unable to compile onigumura.

Bootstrap configuration (bootstrap.toml)

# See bootstrap.example.toml for documentation of available options
#
profile = "library"  # Includes one of the default files in src/bootstrap/defaults
change-id = 140732

Operating system

Fedora 42

HEAD

414482f

Build Log

My own build log is attached as a file ;)

build.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-external-bugCategory: issue that is caused by bugs in software beyond our controlT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions