Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828520 - 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
Summary: app-text/xmlto-0.0.28-r7: "No way to convert HTML to text found." w/ www-clie...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
Keywords: PATCH
Depends on:
Reported: 2021-12-07 17:18 UTC by Petr Zima
Modified: 2022-09-03 02:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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(-)