Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136181 - app-office/dia-0.95.1: missing dependency dev-python/pyxml and compile error
Summary: app-office/dia-0.95.1: missing dependency dev-python/pyxml and compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-09 05:31 UTC by Robert A.
Modified: 2006-09-27 08:53 UTC (History)
0 users

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 Robert A. 2006-06-09 05:31:28 UTC
dia-0.95.1 does not compile (useflags: -debug -gnome +png +python +zlib) without pyxml installed:
<snip>
Merging translations into Gane_and_Sarson.sheet.
CREATED Gane_and_Sarson.sheet
CREATED ChemEng.sheet
(cd . && ./checktrans UML.sheet ER.sheet sybase.sheet FS.sheet network.sheet Flowchart.sheet Circuit.sheet Contact.sheet GRAFCET.sheet chronogram.sheet SADT.sheet Pneumatic.sheet Electric.sheet civil.sheet jigsaw.sheet MSE.sheet SDL.sheet Logic.sheet EML.sheet Misc.sheet Assorted.sheet ciscocomputer.sheet ciscohub.sheet ciscomisc.sheet cisconetwork.sheet ciscotelephony.sheet Cybernetics.sheet IsometricMap.sheet Istar.sheet Jackson.sheet KAOS.sheet ChemEng.sheet AADL.sheet Gane_and_Sarson.sheet)
Traceback (most recent call last):
  File "./checktrans.py", line 24, in ?
    from xml.sax import saxexts
ImportError: cannot import name saxexts
*** Sheet translation report: ***
(Absence of a language code means 0% translation for that language)
(Help for translations (and/or much more) is of course welcome !)
E: checktrans failed to run. Please check that python and python-xml are installed
E: on your system. On some systems, python-xml is called PyXML. If in doubt,
E: have a look at http://pyxml.sourceforge.net
make[3]: Leaving directory `/tmp/portage/dia-0.95.1/work/dia-0.95-1/sheets'
make[2]: Leaving directory `/tmp/portage/dia-0.95.1/work/dia-0.95-1/sheets'
Making all in doc
make[2]: Entering directory `/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc'
Making all in en
make[3]: Entering directory `/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc/en'
xsltproc --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl dia.dbk >dia.1
if test ""; then \
  for file in ; do \
    scrollkeeper-preinstall /usr/share/help/dia/en/dia.xml ./$file $file.out; \
  done; \
fi;
touch omf_timestamp
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
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 `/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc/en'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/dia-0.95.1/work/dia-0.95-1'
make: *** [all] Error 2

!!! ERROR: app-office/dia-0.95.1 failed.
!!! Function gnome2_src_compile, Line 62, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
<snap>


after installing pyxml only this error is left:
<snip>
xsltproc --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl dia.dbk >dia.1
if test ""; then \
  for file in ; do \
    scrollkeeper-preinstall /usr/share/help/dia/en/dia.xml ./$file $file.out; \
  done; \
fi;
touch omf_timestamp
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
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 `/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc/en'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/dia-0.95.1/work/dia-0.95-1'
make: *** [all] Error 2

!!! ERROR: app-office/dia-0.95.1 failed.
!!! Function gnome2_src_compile, Line 62, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
<snap>



emerge info:
Portage 2.0.54-r2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-ra i686)
=================================================================
System uname: 2.6.16-ra i686 Intel(R) Pentium(R) III CPU family      1266MHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg collision-protect distlocks sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac adns alsa arts audiofile bash-completion berkdb bonobo bzip2 cdb cdr crypt cups curl dlloader dvd encode esd ethereal exif expat fam ffmpeg flac foomaticdb gd gdbm geoip gif glut gmp gnutls gphoto2 gpm gstreamer gtk gtkhtml guile hal hardened howl idn imagemagick imlib ithreads java jpeg junit kde lcms libwww mad mmx mng motif mp3 ncurses ogg oggvorbis pam pcre perl pic png ppds python qt quicktime readline samba sdl slang speex sse ssl svga tcltk tcpd tetex threads tiff truetype udev usb userlocales vorbis win32codecs wmf x86 xine xml xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Robert A. 2006-06-29 05:57:55 UTC
re-merging some docbook stuff did the trick..
Comment 2 ruetama 2006-08-14 00:45:04 UTC
(In reply to comment #1)
> re-merging some docbook stuff did the trick..
> 

Specifically upgrading to dev-libs/libxslt-1.1.17  did the trick for me
Comment 3 Robert A. 2006-09-27 08:53:52 UTC
fixed (solution see above comments)