Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fontconfig, libusb, and libgphoto2 fail with doc use flag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Guinpen
Guru
Guru


Joined: 08 Dec 2004
Posts: 393

PostPosted: Sat Sep 23, 2006 12:02 am    Post subject: fontconfig, libusb, and libgphoto2 fail with doc use flag Reply with quote

The packages fontconfig-2.4.1, all fail to emerge when the doc use flag is used. Here are the errors:
Code:
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1ro.dsl:4:0: entity was defined here
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1ru.dsl:2:69:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1ru.dsl:3:5:E: reference to entity "cyr1" for which no system identifier could be generated
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1ru.dsl:2:0: entity was defined here
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sl.dsl:2:66:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Latin 2//EN"
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sl.dsl:3:5:E: reference to entity "lat2" for which no system identifier could be generated
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sl.dsl:2:0: entity was defined here
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:2:66:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Latin 2//EN"
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:3:5:E: reference to entity "lat2" for which no system identifier could be generated
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:2:0: entity was defined here
make[2]: *** [fontconfig-user.txt] Error 8
make[2]: Leaving directory `/tmp/portage/fontconfig-2.4.1/work/fontconfig-2.4.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/fontconfig-2.4.1/work/fontconfig-2.4.1'
make: *** [all] Error 2

!!! ERROR: media-libs/fontconfig-2.4.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  fontconfig-2.4.1.ebuild, line 53:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


There are hundreds of these messages in this case; so many, that the first of them cannot be scrolled to in my terminal.
For libusb-0.1.12 the output is:
Code:
jade -t sgml -d ./website.dsl\#html ./manual.sgml
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:8:19:E: "X21B6" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:9:19:E: "X21B7" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:10:17:E: "X21D3" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:11:18:E: "X21CA" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:12:18:E: "X21C3" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:13:18:E: "X21C2" is not a function name

...

jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:117:18:E: "X0174" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:118:18:E: "X0177" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:119:18:E: "X0176" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:120:17:E: "X0178" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:121:19:E: "X017A" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:122:19:E: "X0179" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:123:19:E: "X017E" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:124:19:E: "X017D" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:125:17:E: "X017C" is not a function name
jade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:126:17:E: "X017B" is not a function name
make[2]: *** [html/index.html] Error 1
make[2]: Leaving directory `/tmp/portage/libusb-0.1.12/work/libusb-0.1.12/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/libusb-0.1.12/work/libusb-0.1.12'
make: *** [all] Error 2


Finally, libgphoto2-2.2.1-r1:
Code:
cd html && gtkdoc-mkhtml gphoto2-port .././gphoto2-port-api.sgml
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:8:19:E: "X21B6" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:9:19:E: "X21B7" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent:10:17:E: "X21D3" is not a function name

...

/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:119:18:E: "X0176" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:120:17:E: "X0178" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:121:19:E: "X017A" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:122:19:E: "X0179" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:123:19:E: "X017E" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:124:19:E: "X017D" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:125:17:E: "X017C" is not a function name
/usr/bin/openjade:/usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent:126:17:E: "X017B" is not a function name
make[4]: *** [html] Error 1
make[4]: Leaving directory `/tmp/portage/libgphoto2-2.2.1-r1/work/libgphoto2-2.2.1/libgphoto2_port/doc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/portage/libgphoto2-2.2.1-r1/work/libgphoto2-2.2.1/libgphoto2_port'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/portage/libgphoto2-2.2.1-r1/work/libgphoto2-2.2.1/libgphoto2_port'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/libgphoto2-2.2.1-r1/work/libgphoto2-2.2.1'
make: *** [all] Error 2


Obviously the problems are related. Unfortunately, re-emerging openjade-1.3.2 didn't work.

Any ideas?
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Sep 23, 2006 3:33 pm    Post subject: Reply with quote

Re: (dsssl) Error using docbook dsssl stylesheets: "X20AC" is not a function name says
Quote:
> jade:dtd/ent/iso-amsa.ent:8:19:E: "X21B6" is not a function name

This means that jade doesn't know that ↶ is a hex character reference.

Which means (almost certainly) that it hasn't seen the xml.dcl file that contains the SGML declaration for XML. (so it won't know about other XML features like <foo/>)

Unfortunately you can't (I think) make XML the default like you can with nsgmls as jade needs to read the dsssl sheet as sgml not xml.

easiest is just to put xml.dcl on the command line as in
Code:
jade -t tex -d mathmlx.dsl  xml.dcl  file.xml

you'll find xml.dcl in the jade distribution.
In your case it appears that "xml.dcl" should be added in the ebuild.

It looks as though it's something for the developers.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
ascendancy
n00b
n00b


Joined: 05 Sep 2007
Posts: 2

PostPosted: Thu Jan 17, 2008 11:15 am    Post subject: Reply with quote

I had the same problem and first removed the doc useflag.

Later on, i had to compile app-text/docbook-sgml-utils-0.6.14 - same error.
Then i came over this: https://bugs.gentoo.org/show_bug.cgi?id=143192

I re-emerged app-text/sgml-common and docbook-sgml-utils compiled.
I tried the same for libusb libgphoto and fontconfig and it works.
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 436
Location: Sydney, Australia

PostPosted: Mon Jan 21, 2008 12:17 pm    Post subject: Reply with quote

Hurrah! That fixed my problems with fontconfig, libusb and iputils, thanks!
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2367
Location: Kentucky

PostPosted: Thu Feb 21, 2008 12:57 am    Post subject: Reply with quote

Seems to have fixed mine too. :D

Isn't there some way to force emerge to make this happen so each admin doesn't have to discover it independently?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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