Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107888 - dev-util/mercurial-0.7 fails installing because of xsl error
Summary: dev-util/mercurial-0.7 fails installing because of xsl error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 06:14 UTC by Evgeny Stambulchik
Modified: 2006-03-24 22:33 UTC (History)
2 users (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 Evgeny Stambulchik 2005-10-02 06:14:31 UTC
...
copying hgmerge -> build/scripts-2.3
changing mode of build/scripts-2.3/hg from 644 to 755
warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /local/tmp/portage/mercurial-0.7/temp/xmlto-xsl.HH0BkH
line 4 element import
xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

!!! ERROR: dev-util/mercurial-0.7 failed.

wget fetchs the url just fine (but I use proxy which's defined via $http_proxy).

Reproducible: Always
Steps to Reproduce:
Comment 1 Tim Freeman 2005-11-29 21:52:19 UTC
I fixed this by editing the ebuild:

/usr/portage/dev-util/mercurial/mercurial-0.7.ebuild

replace: 

xmlto man ${x%txt}xml || die

with: 

xmlto -x /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl man
${x%txt}xml || die



Then run:

ebuild /usr/portage/dev-util/mercurial/mercurial-0.7.ebuild digest

Then: 

emerge mercurial


Comment 2 Aron Griffis (RETIRED) gentoo-dev 2006-02-24 08:45:35 UTC
This works fine for me without ebuild modifications on multiple installations.  Maybe somebody from the text-markup team could comment on what is happening?
Comment 3 Evgeny Stambulchik 2006-03-01 00:30:12 UTC
Hello,
After upgrading app-text/docbook-xsl-stylesheets to version
1.68.1-r1 the problem disappeared.
Comment 4 Fernando Canizo 2006-03-10 09:18:30 UTC
I have that version too and i can't install xmlto either. Tried Tim's fix but didn't worked. I have more than 5 term pages of errors so i don't know if worth to paste here. All errors refer to some 'xml compile' stuff.

Should i upload the errors?
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2006-03-24 22:33:14 UTC
(In reply to comment #4)
> I have that version too and i can't install xmlto either.

If you're having trouble installing xmlto, report it in a different bug, this one was about mercurial... and now it's resolved.