Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#22679 closed enhancement (invalid)

shared-mime-info FTPFS

Reported by: Bruce Dubbs Owned by: blfs-book
Priority: normal Milestone: 13.0
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

From blfs-support:

In shared-mime-info 2.4, the xmlto documentation rule was moved from meson.build to data/meson.build. The Meson logic that detects whether xmlto supports --skip-validation no longer works, so xmlto is invoked without the flag.

On a clean LFS/BLFS system, xmlto fails because it tries to validate against the DocBook 4.1.2 DTD, which is not installed. This causes the build to abort during the documentation step.

Manually adding '--skip-validation' to the xmlto command in data/meson.build fixes the issue.

This should either be restored in Meson’s detection logic or exposed as a Meson option so downstream builders can enable it without patching the build files manually.

Change History (7)

comment:1 by Bruce Dubbs, 8 months ago

Summary: shared-meme-info FTPFS → shared-mime-info FTPFS

comment:2 by pierre, 8 months ago

Looks like the OP has not run the commands in "Configuring DOCBOOK-4.5 XML DTD". I can build shared-mime-info with instructions in the book if those commands have been run. I suggest to close as "invalid".

comment:3 by Bruce Dubbs, 8 months ago

Resolution: → invalid
Status: new → closed

comment:4 by Xi Ruoyao, 8 months ago

Because people frequently missed the configuration section we already added that "various BLFS packages request DocBook XML DTD version 4.x before V4.5, so the following step must be done for those packages to be built successfully" line.

comment:5 by Bruce Dubbs, 8 months ago

I don't know what we can do about users not reading what we already have.

comment:6 by Xi Ruoyao, 8 months ago

Yes, I meant I'm a little frustrated about those incorrect bug reports.

comment:7 by Bruce Dubbs, 8 months ago

Milestone: 12.5 → 13.0

Milestone renamed

Note: See TracTickets for help on using tickets.