Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 828520

Summary: app-text/xmlto-0.0.28-r7: "No way to convert HTML to text found." w/ www-client/elinks when building x11-misc/xdg-utils
Product: Gentoo Linux Reporter: Petr Zima <zima>
Component: Current packagesAssignee: Sam James <sam>
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

Description Petr Zima 2021-12-07 17:18:09 UTC
The build of xdg-utils fails due to a recent change in xmlto ebuild:

commit 74c0148d970b95d767cd36bc0b8010a062906478
Author: Sam James <>
Date:   Wed Nov 10 04:58:36 2021 +0000

    app-text/xmlto: don't hardcode paths to utilities
    Causes issues with say --root.

The relevant portion of xmlto-0.0.28-dont-hardcode-paths.patch:

+LINKS_PATH=$(command -v links)

The command does not check for elinks which can be used as an alternative to links, I suggest something like

+LINKS_PATH=$(command -v elinks || command -v links)

in order to fix the issue.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-07 17:23:17 UTC
Comment 2 Larry the Git Cow gentoo-dev 2021-12-07 23:59:01 UTC
The bug has been closed via the following commit(s):

commit 4c75b53ddf86096a8e6a09e440db0acc32426786
Author:     Sam James <>
AuthorDate: 2021-12-07 23:58:45 +0000
Commit:     Sam James <>
CommitDate: 2021-12-07 23:58:45 +0000

    app-text/xmlto: allow elinks too
    Signed-off-by: Sam James <>

 app-text/xmlto/files/xmlto-0.0.28-dont-hardcode-paths.patch       | 4 +++-
 app-text/xmlto/{xmlto-0.0.28-r7.ebuild => xmlto-0.0.28-r8.ebuild} | 0
 2 files changed, 3 insertions(+), 1 deletion(-)