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>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=753020
Whiteboard:
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:

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