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...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
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: ---


Attachments

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:

---x---
commit 74c0148d970b95d767cd36bc0b8010a062906478
Author: Sam James <sam@gentoo.org>
Date:   Wed Nov 10 04:58:36 2021 +0000

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

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

---x---
-LINKS_PATH=@LINKS@
...
+LINKS_PATH=$(command -v links)
---x---

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
Thanks.
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c75b53ddf86096a8e6a09e440db0acc32426786

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

    app-text/xmlto: allow elinks too
    
    Closes: https://bugs.gentoo.org/828520
    Signed-off-by: Sam James <sam@gentoo.org>

 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(-)