 |
|
 |
|
Next: Old versions of installed libraries
|
| Author |
Message |
External

Since: Nov 14, 2007 Posts: 1
|
(Msg. 1) Posted: Wed Nov 14, 2007 3:26 pm
Post subject: sgml errors when compiling with doc flag Archived from groups: alt>os>linux>gentoo (more info?)
|
|
|
I have had issues with several packages when compiling with the doc
flag.
As far as I can tell, the error comes from not having some "entity
definition files" of the form 'iso-*.gml' setup (I'm not sure how to
set this up) or some such thing (http://www.dpawson.co.uk/docbook/
dsssl/dssslgeneral.html)
I have installed nearly all packages related to sgml, but this has not
fixed the problem.
One solution I have seen is to compile the packages that have errors
without the doc flag, which is certainly doable. If possible, I would
prefer not to do a bunch of package-specific flags.
One thing confuses me about this issue - if the doc flag works on the
developer's systems, what is the fundamental difference between their
setup and mine?
David
The errors follow:
....
Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-
utils.dsl#html
Working on: /var/tmp/portage/net-misc/iputils-20070202/work/iputils-
s20070202/doc/tmp.db2html/../iputils.db
Done.
make[1]: Leaving directory `/var/tmp/portage/net-misc/iputils-20070202/
work/iputils-s20070202/doc'
make -C doc man
make[1]: Entering directory `/var/tmp/portage/net-misc/
iputils-20070202/work/iputils-s20070202/doc'
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
6:19:E: "X00E1" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
7:19:E: "X00C1" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
8:18:E: "X00E2" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
9:18:E: "X00C2" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
10:19:E: "X00E0" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
11:19:E: "X00C0" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
12:18:E: "X00E5" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
13:18:E: "X00C5" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
14:19:E: "X00E3" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
15:19:E: "X00C3" is not a function name
....
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
6:17:E: "X00BD" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
7:19:E: "X00BD" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
8:19:E: "X00BC" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
9:19:E: "X00BE" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
10:19:E: "X215B" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
11:19:E: "X215C" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
12:19:E: "X215D" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
13:19:E: "X215E" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
14:17:E: "X00B9" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
15:17:E: "X00B2" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
16:17:E: "X00B3" is not a function name
....
nsgmls:I: maximum number of errors (200) reached; change with -E
option
mv: cannot stat `arping.8': No such file or directory
make[1]: *** [arping.8] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/iputils-20070202/
work/iputils-s20070202/doc'
make: *** [man] Error 2
.... |
|
| Back to top |
|
 |  |
External

Since: Aug 31, 2007 Posts: 22
|
(Msg. 2) Posted: Thu Nov 15, 2007 6:02 am
Post subject: Re: sgml errors when compiling with doc flag [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Maybe your overall upgrade procedure is not 100 % by the books resulting
in broken stuff?
This is what I normally do:
emerge --sync
regenworld
emerge -DutNav world
emerge -p --depclean
revdep-rebuild -pv
dispatch-conf
Then you could try again to install the package but normally needed
dependencies get pulled in automatically so I'm not sure if this will
help you out.
And you don't have to run those commands with the pretend option but
it's safer IMHO...
Wimmy
David Hilton wrote:
> I have had issues with several packages when compiling with the doc
> flag.
> As far as I can tell, the error comes from not having some "entity
> definition files" of the form 'iso-*.gml' setup (I'm not sure how to
> set this up) or some such thing (http://www.dpawson.co.uk/docbook/
> dsssl/dssslgeneral.html)
>
> I have installed nearly all packages related to sgml, but this has not
> fixed the problem.
>
> One solution I have seen is to compile the packages that have errors
> without the doc flag, which is certainly doable. If possible, I would
> prefer not to do a bunch of package-specific flags.
>
> One thing confuses me about this issue - if the doc flag works on the
> developer's systems, what is the fundamental difference between their
> setup and mine?
>
>
> David
>
> The errors follow:
> ....
> Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
> Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-
> utils.dsl#html
> Working on: /var/tmp/portage/net-misc/iputils-20070202/work/iputils-
> s20070202/doc/tmp.db2html/../iputils.db
> Done.
> make[1]: Leaving directory `/var/tmp/portage/net-misc/iputils-20070202/
> work/iputils-s20070202/doc'
> make -C doc man
> make[1]: Entering directory `/var/tmp/portage/net-misc/
> iputils-20070202/work/iputils-s20070202/doc'
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 6:19:E: "X00E1" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 7:19:E: "X00C1" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 8:18:E: "X00E2" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 9:18:E: "X00C2" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 10:19:E: "X00E0" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 11:19:E: "X00C0" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 12:18:E: "X00E5" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 13:18:E: "X00C5" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 14:19:E: "X00E3" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 15:19:E: "X00C3" is not a function name
> ....
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 6:17:E: "X00BD" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 7:19:E: "X00BD" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 8:19:E: "X00BC" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 9:19:E: "X00BE" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 10:19:E: "X215B" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 11:19:E: "X215C" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 12:19:E: "X215D" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 13:19:E: "X215E" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 14:17:E: "X00B9" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 15:17:E: "X00B2" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 16:17:E: "X00B3" is not a function name
> ....
> nsgmls:I: maximum number of errors (200) reached; change with -E
> option
> mv: cannot stat `arping.8': No such file or directory
> make[1]: *** [arping.8] Error 1
> make[1]: Leaving directory `/var/tmp/portage/net-misc/iputils-20070202/
> work/iputils-s20070202/doc'
> make: *** [man] Error 2
> ....
>
--
I'm sick of following my dreams!
I'll just ask where they're going and hook up with them later...
Mitch Hedberg |
|
| Back to top |
|
 |  |
External

Since: Nov 17, 2007 Posts: 1
|
(Msg. 3) Posted: Sat Nov 17, 2007 3:08 am
Post subject: Re: sgml errors when compiling with doc flag [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
My normal prodedure is to:
eix-sync
emerge -uDNa world
cfg-update -u
emerge --depclean and revdep-rebuild are both run weekly.
I have never before heard about regenworld.
I ran regenworld --help, and the fact that it directs you to back up
world file before using it, although probably just a disclaimer, makes
me wonder if it should be used generally, or just when problems occur.
The notes I found about regenworld were rather sparse on this topic;
the only reference I found referring to proper usage indicated that it
should be used to regenerate the world file as a troubleshooting step
(http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly).
Should regenworld be run when doing a normal system update?
At any rate, I'm pretty confident that some files are not on my box
that are present on the developers machine.
As a useful bit of info so that these rogue files can be found, here
follows a complete directory listing of my root partition:
No, I'm not going to do it.
However, I wonder about these 'iso-*.gml' files - I have searched on a
couple of systems, but found no matches. Where should these files be?
My apologies if I am not clear or coherent - I need to sleep.
And I forgot to send...
Enjoy your day.
David |
|
| Back to top |
|
 |  |
External

Since: Aug 31, 2007 Posts: 22
|
(Msg. 4) Posted: Mon Nov 19, 2007 7:47 am
Post subject: Re: sgml errors when compiling with doc flag [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
David Hilton wrote:
> My normal prodedure is to:
>
> eix-sync
Aha, I'm actually learning something now.
I did not even knew this command existed!
> emerge -uDNa world
> cfg-update -u
Never heared of cfg-update but I checked it you and it looks better then
dispatch-conf.
> emerge --depclean and revdep-rebuild are both run weekly.
> I have never before heard about regenworld.
Well you're not supposed to run them every time but one might.
> I ran regenworld --help, and the fact that it directs you to back up
> world file before using it, although probably just a disclaimer, makes
> me wonder if it should be used generally, or just when problems occur.
> The notes I found about regenworld were rather sparse on this topic;
> the only reference I found referring to proper usage indicated that it
> should be used to regenerate the world file as a troubleshooting step
> (http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly).
>
> Should regenworld be run when doing a normal system update?
Normally not but sometimes dependencies don't get added to the world
file automatically and because of this they get sometimes unmerged when
running emerge --depclean leaving others broken so if you see a lot of
stuff that will be removed it can be handy to run it first.
> At any rate, I'm pretty confident that some files are not on my box
> that are present on the developers machine.
> As a useful bit of info so that these rogue files can be found, here
> follows a complete directory listing of my root partition:
>
> No, I'm not going to do it.
That would be crazy indeed
>
> However, I wonder about these 'iso-*.gml' files - I have searched on a
> couple of systems, but found no matches. Where should these files be?
> My apologies if I am not clear or coherent - I need to sleep.
I have not found any myself...
Perhaps you must use docbook-xml-dtd instead of the docbook-xml-simple-dtd?
But I haven't got a clue since you already installed all docbook related
packages.
Wimmy
>
> And I forgot to send...
>
> Enjoy your day.
> David
--
I'm sick of following my dreams!
I'll just ask where they're going and hook up with them later...
Mitch Hedberg |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|