Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56817 - gstreamer-0.8.3-r1 failes to install
Summary: gstreamer-0.8.3-r1 failes to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 59480 61073 67757 77059 (view as bug list)
Depends on:
Blocks: 59768
  Show dependency tree
 
Reported: 2004-07-12 12:10 UTC by Paul Stear
Modified: 2005-01-29 14:00 UTC (History)
9 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 Paul Stear 2004-07-12 12:10:22 UTC
gstreamer-0.8.3-r1 failes to install with the following error:
Working on: 
/var/tmp/portage/gstreamer-0.8.3-r1/work/gstreamer-0.8.3/docs/faq/build/faq.xml
This is TeX, Version 3.14159 (Web2C 7.4.5)
(Fatal format file error; I'm stymied)
make[3]: *** [faq.ps] Error 9
make[3]: *** Waiting for unfinished jobs....
Done.
Copying .css files: base.css
make[3]: *** Waiting for unfinished jobs....
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
`/var/tmp/portage/gstreamer-0.8.3-r1/work/gstreamer-0.8.3/docs/faq'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/gstreamer-0.8.3-r1/work/gstreamer-0.8.3/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/gstreamer-0.8.3-r1/work/gstreamer-0.8.3'
make: *** [all] Error 2

!!! ERROR: media-libs/gstreamer-0.8.3-r1 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! compile failed

This seems to suggest that the faq is a TeX version. 
I have now installed it by using -doc in the use flag

Thanks
Paul
Comment 1 foser (RETIRED) gentoo-dev 2004-07-13 02:13:57 UTC
what tex version do you have installed ?
Comment 2 Paul Stear 2004-07-13 03:05:05 UTC
This appears to be my version, hope it helps
TeX (Web2C 7.4.5) 3.14159
kpathsea version 3.4.5
Paul
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-07-13 08:58:35 UTC
Same error here; using tetex 2.0.2-r3
Comment 4 Vlad Berditchevskiy 2004-07-16 03:42:25 UTC
IMHO it's not a TeX problem, it has something to do with Docbook DTDs. The important messages are above:

jade:/usr/share/sgml/docbook/yelp/docbook/dtd/ent/iso-lat1.ent:9:18:E: "X00C2" is not a function name
jade:/usr/share/sgml/docbook/yelp/docbook/dtd/ent/iso-lat1.ent:10:19:E: "X00E0" is not a function name
jade:/usr/share/sgml/docbook/yelp/docbook/dtd/ent/iso-lat1.ent:11:19:E: "X00C0" is not a function name
jade:/usr/share/sgml/docbook/yelp/docbook/dtd/ent/iso-lat1.ent:12:18:E: "X00E5" is not a function name

[... lots of them...]

BTW, I had similar problems with other packages too.
Comment 5 Vlad Berditchevskiy 2004-07-16 03:50:59 UTC
There seems to be something wrong with Docbook in the Gentoo world. Sometimes CATALOG files get broken. Some users have this problem, others don't. IIRC, last time I could fix this problem by reinstalling all Docbook related packages.
Comment 6 Olivier Crete (RETIRED) gentoo-dev 2004-07-16 21:16:36 UTC
getting this here too.. seems like a docbook bug.. the source of the problem is not clear to me either.. 
Comment 7 Joerg Schaible 2004-07-31 14:48:33 UTC
emerged all docbook-* packages, but gtreamer still fails with this problem
Comment 8 Michael Mauch 2004-07-31 19:53:37 UTC
Same problem here. The messages before TeX sees the problem (probably an empty file):

*** Generating HTML output ***
cd build && docbook2ps -o .. faq.xml
Using catalogs: /usr/share/sgml/dtd/sgmltools/catalog, /usr/share/sgml/guide/catalog, /usr/share/sgml/docbook/sgml-dtd-3.0/catalog, /usr/share/sgml/docbook/sgml-dtd-3.1/catalog, /usr/share/sgml/docbook/sgml-dtd-4.0/catalog, /usr/share/sgml/docbook/sgml-dtd-4.1/catalog, /usr/share/sgml/docbook/sgml-dtd-4.2/catalog, /usr/share/sgml/docbook/dsssl-stylesheets-1.77/catalog, /usr/share/sgml/xml-iso-entities-8879.1986/catalog, /usr/share/sgml/sgml-iso-entities-8879.1986/catalog, /usr/share/sgml/openjade-1.3.2/dsssl/catalog, /usr/share/sgml/openjade-1.3.2/catalog, /usr/share/sgml/opensp-1.5/OpenSP/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print
Working on: /var/tmp/portage/gstreamer-0.8.3-r1/work/gstreamer-0.8.3/docs/faq/build/faq.xml
Using catalogs: /usr/share/sgml/dtd/sgmltools/catalog, /usr/share/sgml/guide/catalog, /usr/share/sgml/docbook/sgml-dtd-3.0/catalog, /usr/share/sgml/docbook/sgml-dtd-3.1/catalog, /usr/share/sgml/docbook/sgml-dtd-4.0/catalog, /usr/share/sgml/docbook/sgml-dtd-4.1/catalog, /usr/share/sgml/docbook/sgml-dtd-4.2/catalog, /usr/share/sgml/docbook/dsssl-stylesheets-1.77/catalog, /usr/share/sgml/xml-iso-entities-8879.1986/catalog, /usr/share/sgml/sgml-iso-entities-8879.1986/catalog, /usr/share/sgml/openjade-1.3.2/dsssl/catalog, /usr/share/sgml/openjade-1.3.2/catalog, /usr/share/sgml/opensp-1.5/OpenSP/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#html
Working on: /var/tmp/portage/gstreamer-0.8.3-r1/work/gstreamer-0.8.3/docs/faq/build/faq.xml
jade:/usr/share/sgml/guide/ent/iso-lat1.ent:6:19:E: "X00E1" is not a function name
jade:/usr/share/sgml/guide/ent/iso-lat1.ent:7:19:E: "X00C1" is not a function name

This continues for all entities in /usr/share/sgml/guide/ent/iso-lat1.ent. This iso-lat1.ent is the same as all the other iso-lat1.ent files on the system, e.g. /usr/share/sgml/docbook/xml-dtd-4.2/ent/iso-lat1.ent.

Perhaps a docbook guru can spot that we have some incompatible catalog files or something?

"LC_ALL=C emerge -av gnome" didn't help, so I'm trying "USE=-doc emerge gstreamer" now.



Comment 9 Michael Mauch 2004-07-31 20:02:07 UTC
"USE=-doc emerge gstreamer" worked around the problem, so I can go on upgrading Gnome.
Comment 10 Mike Gardiner (RETIRED) gentoo-dev 2004-08-01 03:55:17 UTC
Can you try updating to docbook-xml-dtd-4.3 and the newest xsl-stylesheets and see if the problem persists?
Comment 11 Joerg Schaible 2004-08-01 12:58:27 UTC
After an upgrade to docbook-xml-dtd-4.3 and docbook-xsl-stylesheets-1.65.1 the build passes!
Comment 12 flo 2004-08-02 02:43:50 UTC
i have three gentoo installations:
two with tetex,
one without

gstreamer compiles fine if tetex is not installed
compared to the other two computers where it is and
i have to USE=-doc emerge gstreamer there.

so i guess tetex is the guilty part.

-- flo
Comment 13 foser (RETIRED) gentoo-dev 2004-08-17 16:41:41 UTC
seems to be a docbook problem, i have no problems building with tetex (although it doesn't seem to result in more docs, it probably doesn't install them)

obz : can you check those exact doc deps (comment #11) & if they shouldn't already be implied by other deps (gtk-doc and such) ?
Comment 14 Mike Gardiner (RETIRED) gentoo-dev 2004-08-18 09:52:39 UTC
xml-dtd and xsl-stylesheets have been updated to use the new build-docbook-catalog script now, which is the fix. the dtd's are slotted, so all 3 versions needed to be fixed.

That fixed it for comment 11, and should for the others.

Please test and close?
Comment 15 Mike Gardiner (RETIRED) gentoo-dev 2004-08-20 21:19:21 UTC
*** Bug 61073 has been marked as a duplicate of this bug. ***
Comment 16 Mike Gardiner (RETIRED) gentoo-dev 2004-08-21 06:42:21 UTC
This has been fixed by the docbook updates, thanks everyone.
Comment 17 Lindsay Haisley 2004-08-21 17:29:41 UTC
Sorry to be dense on this.  I've re-emerged docbook-xml-dtd, docbook-xsl-stylesheets and build-docbook-catalog, but I still get the same error when trying to build gstreamer.  I added ~x86 to ACCEPT_KEYWORDS and did an update -s to look for newer version and found none.  What am I missing here?  What do you mean by "the dtd's are slotted"?  Is there something else I need to do that I'm missing?
Comment 18 Mike Gardiner (RETIRED) gentoo-dev 2004-08-21 21:55:42 UTC
Try this,

emerge =docbook-xml-dtd-4.1.2* =docbook-xml-dtd-4.2* =docbook-xml-dtd-4.3*

This'll install the new versions of all of the xml-dtds. Seeing as they're slotted, it's possible to have multiple versions of the same package all installed at once.

Let us know how it goes.
Comment 19 Lindsay Haisley 2004-08-22 07:41:25 UTC
No luck.  I get the same error.  Perhaps this bug shouldn't be marked 'resolved' yet.

I'm going to try completely uninstalling and reinstalling all the docbook-* packages and see if that helps.
Comment 20 Lindsay Haisley 2004-08-22 08:18:10 UTC
OK, here's the beef.  Uninstalling all docbook related packages and reinstalling just the docbook xml stuff seems to have solved the problem.  I then installed a number of sgml related packages and the problem reappeared.  I'll try to nail it down further.
Comment 21 Lindsay Haisley 2004-08-22 09:17:40 UTC
I can't seem to reproduce this, although I'd be happy to post my history file of the break->fix->break process (now fixed) if anyone wants to look into it further.  
Comment 22 Joe McCann (RETIRED) gentoo-dev 2004-09-14 14:49:12 UTC
*** Bug 59480 has been marked as a duplicate of this bug. ***
Comment 23 foser (RETIRED) gentoo-dev 2004-09-15 03:14:36 UTC
*** Bug 64000 has been marked as a duplicate of this bug. ***
Comment 24 Joe McCann (RETIRED) gentoo-dev 2004-10-16 04:08:46 UTC
*** Bug 67757 has been marked as a duplicate of this bug. ***
Comment 25 Joerg Schaible 2004-10-16 05:41:29 UTC
It doesn't help just to mark any new bugs regarding gstreamer doc building as duplicate to this resolved bug. Neither gstreamer 0.8.5 nor gstreamer 0.8.7 can be build again! Unmasking jadetex-3.13 did the trick this time.
Comment 26 Dmitri G. Brengauz 2004-11-12 20:37:07 UTC
Same exact error with gstreamer-0.8.7 now as with the previous version, 0.8.3-r1 my workarond last time was to 'USE="-doc" emerge gstreamer' and it seems to have worked this time as well, but that is hardly a fix, eh?  Maybe bug should not be labled "resolved," eh?
Comment 27 Fred Sullivan 2004-12-08 11:15:08 UTC
I believe that I actually understand what causes this problem.  TeX format files are dumped out by Tex, and must match up with particular TeX binaries.  jadetex uses the \dump feature of TeX to dump a working TeX binary when it's built, which it then uses rather than invoking the installed TeX binary.  Therefore -- if you build jadetex and then upgrade tetex, you now have new TeX format files that are incompatible with the old TeX binary that jadetex dumped.  You must replace that TeX binary (which is part of the jadetex package and not part of TeX).  An easy way to do this is to simply unmerge jadetex and then reemerge it (the same version will work).  jadetex will dump a new TeX binary and everything will be ok.  Oof!
Comment 28 Mike Gardiner (RETIRED) gentoo-dev 2004-12-08 17:29:03 UTC
Usata, is this last comment correct?
Comment 29 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-08 20:32:00 UTC
Correct. If you update tetex, you need to recompile jadetex.
Otherwise you will get this sort of errors described in original bug report.
Comment 30 Eric Shattow 2005-01-29 12:52:22 UTC
*** Bug 77059 has been marked as a duplicate of this bug. ***
Comment 31 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-29 13:12:52 UTC
So what about this bug? The issue with the invalid function names persists.
Comment 32 Lindsay Haisley 2005-01-29 13:31:55 UTC
Builds OK for me now.  I'm running gstreamer-0.8.7, jadetex-3.12, tetex-2.0.2-r5.
Comment 33 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-29 14:00:43 UTC
Yes, it builds. But there's still the "invalid function name" output.