Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256775 - www-client/epiphany-2.22.3 misses dependency on libxml2 python use flag
Summary: www-client/epiphany-2.22.3 misses dependency on libxml2 python use flag
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 11:56 UTC by Johan Verrept
Modified: 2009-02-03 20:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
move to EAPI2 and add dependy on libxml2 python useflag. (epiphany.patch,738 bytes, patch)
2009-01-29 11:57 UTC, Johan Verrept
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Verrept 2009-01-29 11:56:49 UTC
If libxml2 is installed without the python use flag, and epiphany has python use flag enabled, build crashes:

`/var/tmp/portage/www-client/epiphany-2.22.3-r1/work/epiphany-2.22.3/help'
if ! test -d nl/; then mkdir nl/; fi
if [ -f "C/epiphany.xml" ]; then d="../"; else
d="/var/tmp/portage/www-client/epiphany-2.22.3-r1/work/epiphany-2.22.3/help/";
fi; \
        (cd nl/ && \
          `which xml2po` -e -p \
            "${d}nl/nl.po" \
            "${d}C/epiphany.xml" > epiphany.xml.tmp && \
            cp epiphany.xml.tmp epiphany.xml && rm -f epiphany.xml.tmp)
xsltproc -o epiphany-C.omf --stringparam db2omf.basename epiphany
--stringparam db2omf.format 'docbook' --stringparam db2omf.dtd
"-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C
--stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir
"/usr/share/gnome/help" --stringparam db2omf.omf_in
"/var/tmp/portage/www-client/epiphany-2.22.3-r1/work/epiphany-2.22.3/help/epiphany.omf.in"
`/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/epiphany.xml || {
rm -f "epiphany-C.omf"; exit 1; }   
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 35, in <module>
    import libxml2
ImportError: No module named libxml2
make[2]: *** [nl/epiphany.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/www-client/epiphany-2.22.3-r1/work/epiphany-2.22.3/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/www-client/epiphany-2.22.3-r1/work/epiphany-2.22.3'
make: *** [all] Error 2


Reproducible: Always




This is probably true for most of the epiphany versions. Detected and fixed on 2.22.3
Comment 1 Johan Verrept 2009-01-29 11:57:51 UTC
Created attachment 180087 [details, diff]
move to EAPI2 and add dependy on libxml2 python useflag.
Comment 2 Johan Verrept 2009-01-29 11:58:58 UTC
Probably also related to http://bugs.gentoo.org/show_bug.cgi?id=242280
Comment 3 Johan Verrept 2009-01-29 12:07:43 UTC
Oops. been too quick. seems like now the ebuild stops with:

>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-27670.log"

open_wr:   /usr/lib64/xulrunner/components/xpti.dat.tmp
open_wr:   /usr/lib64/xulrunner/components/xpti.dat.tmp
open_wr:   /usr/lib64/xulrunner/components/compreg.dat.tmp
open_wr:   /usr/lib64/xulrunner/components/compreg.dat.tmp
--------------------------------------------------------------------------------

>>> Failed to emerge www-client/epiphany-2.22.3-r1, Log file:

Whatever that may be.
Comment 4 Johan Verrept 2009-01-29 12:08:54 UTC
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-glibc2.2.5
Timestamp of tree: Wed, 28 Jan 2009 19:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amarok amd64 apache2 asf avahi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdio cdparanoia cdr cli cracklib crypt curl dbus dga dri dvd dvdr fam firefox flac fortran g77 gd gdbm gif glib gnome gnutls gpm gstreamer gtk gtk2 hal iconv imap ipod ipv6 isdnlog jpeg kerberos ldap lesstif lirc lm_sensors mad mdnsresponder-compat midi mmap mmx mmxext mozilla mp3 mpeg mudflap multilib musicbrainz mysql ncurses nforce2 nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre perl php pmu png pppd python qt3support qt4 quicktime radio readline reflection sdl session spl sse sse2 ssl subversion svg symlink sysfs tcpd threads truetype truetype-fonts type1-fonts unicode v4l2 vcd vorbis wma wxwindows x264 xine xorg xrandr xulrunner xv xvid xvif xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 5 Johan Verrept 2009-01-29 13:24:02 UTC
Ok. A bit more research: from what I can see this happens during configure: "checking whether we can compile and run XPCOM programs".

The configure itself happily ignores this error and continues (only matter that the program runs, not if it succeeds). If I'd have to guess, I'd say XPCOM creates the tmp files during initialisation.

Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-29 23:09:48 UTC
you probably have a broken python 2.4 to 2.5 upgrade. Try rebuilding gnome-doc-utils.

about the sandbox violations, you shouldn't see them since the ebuild already list those out. Could you tell us what is the header of your ebuild 
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-02 22:45:21 UTC
please get back to us.
Comment 8 Johan Verrept 2009-02-03 17:56:31 UTC
Sorry for the delay, it was on another machine.

# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.22.3-r1.ebuild,v 1.8 2009/01/10 00:30:29 josejx Exp $

But the error happens after I applied my patch, so maybe that causes the problem?

PS: should I have reopened this bug?
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2009-02-03 20:08:16 UTC
(In reply to comment #8)
> But the error happens after I applied my patch, so maybe that causes the
> problem?
> 
> PS: should I have reopened this bug?

Please reopen it if your patch isn't the cause of the failure.

Thanks