Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271047

Summary: emerge app-office/dia-0.97 fails if machine not net connected
Product: Gentoo Linux Reporter: Robin Gilks <g8ecj>
Component: Current packagesAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robin Gilks 2009-05-24 11:52:59 UTC
emerge app-office/dia-0.97 fails if machine not 'net connected due to trying to download http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl to build documentation. 

It still fails when 'net connected because xsltproc says it can't parse it. The file is reachable using a browser or wget and I'm not using a proxy.

Reproducible: Always

Steps to Reproduce:
1.emerge app-office/dia-0.97
2.
3.

Actual Results:  
make[3]: Entering directory `/var/tmp/portage/app-office/dia-0.97/work/dia-0.97/doc/en'
xsltproc --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl dia.dbk >dia.1
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[3]: *** [dia.1] Error 4
make[3]: Leaving directory `/var/tmp/portage/app-office/dia-0.97/work/dia-0.97/doc/en'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/dia-0.97/work/dia-0.97/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/dia-0.97/work/dia-0.97'
make: *** [all] Error 2


Expected Results:  
Installs updated version of dia (even without live access to the net to get files during the compilation phase)

Tried re-emerging dev-libs/libxslt-1.1.24-r1 but still fails.

Looking through config.log in /var/tmp work directory I noticed...
configure:28861: WARNING: unrecognized options: --disable-gtk-doc

Running x86 stable. Fault originally occured due to normal monthly update, trying to move up from app-office/dia-0.96.1-r1
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-24 22:38:29 UTC
do you have app-text/docbook-xsl-stylesheets installed ?
Comment 2 Robin Gilks 2009-05-24 23:31:18 UTC
Emerging app-text/docbook-xsl-stylesheets fixed it - so its a missing dependency...

This is an old install (2004.0) with lots of cruft so I'm not really surprised!!

Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-14 22:44:02 UTC
fixed in 0.97-r1. The code for skipping man pages generation was inverted. Thanks for reporting.