Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679626 - x11-misc/xdg-utils-1.1.3-r1 - xmlto: Try either installing text web browser(lynx/w3m/links) or use option --with-fop
Summary: x11-misc/xdg-utils-1.1.3-r1 - xmlto: Try either installing text web browser(l...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
: 732586 733986 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-06 18:51 UTC by bugs77
Modified: 2020-10-03 16:16 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge--info.txt,5.55 KB, text/plain)
2019-03-06 18:51 UTC, bugs77
Details
build.log (build.log,7.99 KB, text/plain)
2019-03-06 18:54 UTC, bugs77
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugs77 2019-03-06 18:51:08 UTC
Created attachment 568012 [details]
emerge --info

emerge x11-misc/xdg-utils fails with "No way to convert HTML to text found".
Comment 1 bugs77 2019-03-06 18:54:07 UTC
Created attachment 568014 [details]
build.log
Comment 2 bugs77 2019-03-07 13:56:44 UTC
www-client/lynx is installed.
Raised severity to major because this bug breaks net-print/cups (hard depends on x11-misc/xdg-utils).
Comment 3 Mike Gilbert gentoo-dev 2019-03-07 16:04:21 UTC
What does this output?

grep LYNX_PATH /usr/bin/xmlto

Does the resulting path exist on your system?
Comment 4 bugs77 2019-03-08 13:57:43 UTC
grep LYNX_PATH /usr/bin/xmlto
LYNX_PATH=/usr/bin/lynx
export LYNX_PATH

/usr/bin/lynx exists.
Typed on the command line, a working lynx browser instance starts as expected.
Comment 5 Mike Gilbert gentoo-dev 2019-03-08 14:14:39 UTC
I am unable to reproduce the problem. I have the following packages installed.

www-client/lynx-2.8.9_p1
app-text/xmlto-0.0.28-r1
x11-misc/xdg-utils-1.1.3-r1
Comment 6 bugs77 2019-03-09 10:54:25 UTC
I had these packages installed:

www-client/lynx-2.8.9_pre16
app-text/xmlto-0.0.28-r1

After upgrading to www-client/lynx-2.8.9_p1 and re-emerging app-text/xmlto-0.0.28-r1, x11-misc/xdg-utils-1.1.3-r1 now builds fine.

Thank you for your help.
Comment 7 jannis 2020-07-22 04:18:24 UTC
The issue is that app-text/xmlto-0.0.28-r2 correctly depends on a web browser. However, app-text/xmlto-0.0.28-r1 doesn't and xdg-utils does not depend on >=app-text/xmlto-0.0.28-r2. So if you have -r1 installed (and no web browser) you will see that error. Updating xmlto manually before solves the problem.

Solution: Make xdg-utils depend on >=app-text/xmlto-0.0.28-r2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-07-22 06:35:16 UTC
*** Bug 732586 has been marked as a duplicate of this bug. ***
Comment 9 Andreas Sturmlechner gentoo-dev 2020-07-26 19:02:19 UTC
*** Bug 733986 has been marked as a duplicate of this bug. ***
Comment 10 Phil Stracchino (Unix Ronin) 2020-07-26 19:08:41 UTC
(In reply to jannis from comment #7)
> The issue is that app-text/xmlto-0.0.28-r2 correctly depends on a web
> browser. However, app-text/xmlto-0.0.28-r1 doesn't and xdg-utils does not
> depend on >=app-text/xmlto-0.0.28-r2. So if you have -r1 installed (and no
> web browser) you will see that error. Updating xmlto manually before solves
> the problem.
> 
> Solution: Make xdg-utils depend on >=app-text/xmlto-0.0.28-r2

Counter-example:  I still experienced this problem with app-text/xmlto-0.0.28-r3.
Comment 11 jannis 2020-07-28 12:50:13 UTC
(In reply to Phil Stracchino (Unix Ronin) from comment #10)
> (In reply to jannis from comment #7)
> Counter-example:  I still experienced this problem with
> app-text/xmlto-0.0.28-r3.

Interesting. Do you have any command-line webbrowser (links, lynx, w3m) installed?
Comment 12 Phil Stracchino (Unix Ronin) 2020-07-28 15:58:21 UTC
(In reply to jannis from comment #11)
> (In reply to Phil Stracchino (Unix Ronin) from comment #10)
> > (In reply to jannis from comment #7)
> > Counter-example:  I still experienced this problem with
> > app-text/xmlto-0.0.28-r3.
> 
> Interesting. Do you have any command-line webbrowser (links, lynx, w3m)
> installed?

When I hit the problem, I had www-client/w3mmee installed.  That did not suffice.  (I'd recently replaced w3m with w3mmee to get better support for multiple character encodings.)  After re-merging www-client/w3m, x11-misc/xdg-utils merged correctly.
Comment 13 Alireza 2020-10-03 16:16:40 UTC
I have the same problem and www-client/w3m is installed.