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

Bug 232321

Summary: net-libs/xulrunner-1.9.0.1 fails to compile
Product: Gentoo Linux Reporter: Pavel Volkov <ao>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tobias.pal
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pavel Volkov 2008-07-19 12:22:03 UTC
Cannot update xulrunner to version 1.9.0.1

Reproducible: Always

Steps to Reproduce:
emerge -1 xulrunner
Actual Results:  
>>> Emerging (1 of 3) net-libs/xulrunner-1.9.0.1 to /
 * xulrunner-1.9.0.1-patches-0.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                            [ ok ]
 * xulrunner-1.9.0.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                              [ ok ]
 * checking xulrunner-1.9.0.1.tar.bz2 ;-) ...                                                                                       [ ok ]
 * checking xulrunner-1.9.0.1-patches-0.1.tar.bz2 ;-) ...                                                                           [ ok ]
Traceback (most recent call last):
  File "/usr/bin/depend-java-query", line 8, in <module>
    from java_config_2 import __version__
ImportError: No module named java_config_2
 * Unable to determine VM for building from dependencies:
NV_DEPEND: java? ( >=virtual/jdk-1.4 )
        java? ( >=virtual/jre-1.4 )
        >=sys-devel/binutils-2.16.1
        >=dev-libs/nss-3.12
        >=dev-libs/nspr-4.7.1
        >=app-text/hunspell-1.1.9
        >=media-libs/lcms-1.17
        dev-util/pkgconfig  x11-libs/libXrender
        x11-libs/libXt
        x11-libs/libXmu
        >=sys-libs/zlib-1.1.4
        dev-util/pkgconfig x11-libs/libXrender
        x11-libs/libXt
        x11-libs/libXmu
        >=media-libs/jpeg-6b
        dev-libs/expat
        app-arch/zip
        app-arch/unzip
        >=www-client/mozilla-launcher-1.58
        >=x11-libs/gtk+-2.8.6
        >=dev-libs/glib-2.8.2
        >=x11-libs/pango-1.10.1
        >=dev-libs/libIDL-0.8.0
        gnome? ( >=gnome-base/gnome-vfs-2.16.3
                >=gnome-base/libgnomeui-2.16.1
                >=gnome-base/gconf-2.16.0
                >=gnome-base/libgnome-2.16.0 )
        dbus? ( >=dev-libs/dbus-glib-0.72 )
        startup-notification? ( >=x11-libs/startup-notification-0.8 )
        !<x11-base/xorg-x11-6.7.0-r2
        >=x11-libs/cairo-1.6.0 java? ( >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7 ) =sys-devel/automake-1.10*
        =sys-devel/autoconf-2.1*
        sys-devel/libtool
VNEED:
 *
 * ERROR: net-libs/xulrunner-1.9.0.1 failed.
 * Call stack:
 *                  ebuild.sh, line   49:  Called pkg_setup
 *   xulrunner-1.9.0.1.ebuild, line   53:  Called java-pkg-opt-2_pkg_setup
 *      java-pkg-opt-2.eclass, line   44:  Called java-pkg_init
 *        java-utils-2.eclass, line 2087:  Called java-pkg_switch-vm
 *        java-utils-2.eclass, line 2513:  Called die
 * The specific snippet of code:
 *                              die "Failed to determine VM for building."
 *  The die message:
 *   Failed to determine VM for building.
 *
 * 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/net-libs/xulrunner-1.9.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.0.1/temp/die.env'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info



Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6melf x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6melf x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Sat, 19 Jul 2008 11:15:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
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 /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB ru ja"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/local/myover/rusxmms/myoverlay /usr/local/myover/canon-drivers/canon-overlay /usr/local/myover/pcsx2/pcsx"
SYNC="rsync://mirror.yandex.ru/gentoo-portage/"
USE="3dnow X aac acl acpi alsa amd64 ao arts berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr chasen cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif glitz gpm gstreamer hal iconv idn immqt-bc ipv6 isdnlog jabber java jpeg kde kerberos ldap libnotify mad matroska midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oscar oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rcc readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis x264 xml xorg xv 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB ru ja" USERLAND="GNU" VIDEO_CARDS="vesa vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-19 13:04:34 UTC
My bet is you missed to run python-updater after updating Python as the post install information asked you to!?
Comment 2 Pavel Volkov 2008-07-19 20:19:28 UTC
(In reply to comment #1)
> My bet is you missed to run python-updater after updating Python as the post
> install information asked you to!?

Yes, that's right. Thanks.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-20 14:21:20 UTC
Not a bug then.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-20 14:22:37 UTC
local problem and dupe.

*** This bug has been marked as a duplicate of bug 232257 ***
Comment 5 Paul Tobias 2008-07-22 12:08:15 UTC
I had the same problem and running python-update didnt help for me. But running:

emerge -1 dev-java/java-config-2.1.6

did help. I also recommend re-emerge every package which have files under /usr/lib/python2.4. The following command lists those packages:

equery belongs /usr/lib/python2.4