Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267058 - docbook-xsl-stylesheets triggers bug in emerge
Summary: docbook-xsl-stylesheets triggers bug in emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-22 08:44 UTC by Alan Grimes
Modified: 2009-08-22 12:14 UTC (History)
1 user (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 Alan Grimes 2009-04-22 08:44:23 UTC
A recent design flaw in emerge causes it to trash an entire --emptytree world rebuild half-way through due to one package that doesn't build. =( 

The failing package is app-text/docbook-xsl-stylesheets-1.74.0 with: 

Writing /tmp/smoketest-output/jhelpidx.xml                                                                                                                                                                                                                                  
error : Unknown node type 0                                                                                                                                                                                                                                                 
error : Unknown node type 177366080                                                                                                                                                                                                                                         
html/math.xsl:5: element stylesheet: error : Reference to namespace 'mml' not in scope                                                                                                                                                                                      
error : Unknown node type 0                                                                                                                                                                                                                                                 
error : Unknown node type 167781440                                                                                                                                                                                                                                         
html/math.xsl:5: element stylesheet: error : Reference to namespace 'mml' not in scope  
 *                                                                                                                                                                                                                                                                          
 * ERROR: app-text/docbook-xsl-stylesheets-1.74.0 failed.                                                                                                                                                                                                                   
 * Call stack:                                                                                                                                                                                                                                                              
 *               ebuild.sh, line   48:  Called src_compile                                                                                                                                                                                                                  
 *             environment, line  110:  Called _eapi0_src_compile                                                                                                                                                                                                           
 *               ebuild.sh, line  591:  Called _eapi2_src_compile                                                                                                                                                                                                           
 *               ebuild.sh, line  625:  Called die                                                                                                                                                                                                                          
 * The specific snippet of code:                                                                                                                                                                                                                                            
 *              emake || die "emake failed"                                                                                                                                                                                                                                 
 *  The die message:                                                                                                                                                                                                                                                        
 *   emake failed                                                                                                                                                                                                                                                           
 *                                                                                                                                                                                                                                                                          
 * If you need support, post the topmost build error, and the call stack if relevant.                                                                                                                                                                                       
 * A complete build log is located at '/var/tmp/portage/app-text/docbook-xsl-stylesheets-1.74.0/temp/build.log'.                                                                                                                                                            
 * The ebuild environment file is located at '/var/tmp/portage/app-text/docbook-xsl-stylesheets-1.74.0/temp/environment'.                                                                                                                                                   
 *                      

This is a nothing little package that most other packages will simply ignore. 

This is a MAJOR bug because it prevents me from clearing out the last six months of errors on my system... Linux was installed only six years ago on this computer (still several months away from tying my DOS record...) Periodic use of --emptytree world is critical to maintaining a reasonably functional linux installation. 

Reproducible: Always



Expected Results:  
either said package builds, or a way to simply --skipfirst --resume the emerge and have emerge attempt to build ***EVERY*** package in the list regardless of all considerations of dependancies or anything whatsoever.
Comment 1 Rafał Mużyło 2009-04-23 15:22:34 UTC
It seems that at the same time this bug is both valid and invalid.
All of this seems to come from the fact, that 1.73.3 tarball
did not have a toplevel Makefile.
Even src_install suggests that's it is not used.
However, in 1.74.0 a toplevel Makefile was created
and it seems it's breaking things.
To the maintainer: is there a chance that
"src_compile() { : ; }" is the proper solution ?
Also, app-text/docbook-xsl-stylesheets-1.74.3 was released,
but the Makefile in the tarball is simply broken (but that's
already covered by bug 261554).

To the reporter: 
regardless of the above, you still may have a problem,
"element stylesheet: error : Reference to namespace 'mml' not
in scope" may be a symptom of a different problem
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-22 12:14:16 UTC
--keep-going is there for that; but we're going to stable a newer versions, so.