Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262287 - net-libs/xulrunner-1.9.0.7 fails to build with Java-config die message
Summary: net-libs/xulrunner-1.9.0.7 fails to build with Java-config die message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-12 17:33 UTC by Andrew
Modified: 2009-03-14 16:34 UTC (History)
3 users (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 Andrew 2009-03-12 17:33:27 UTC
Setting up a new system and trying to emerge gnome-light. Emerge gets to xulrunner-1.9.0.7 and fails with the below output. 

!!! 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

>>> Failed to emerge net-libs/xulrunner-1.9.0.7, Log file:

>>>  '/var/tmp/portage/net-libs/xulrunner-1.9.0.7/temp/build.log'

 * Messages for package net-libs/xulrunner-1.9.0.7:

 * 
 * Can't run java-config --help
 * Have you upgraded python recently but haven't
 * run python-updater yet?
 * 
 * ERROR: net-libs/xulrunner-1.9.0.7 failed.
 * Call stack:
 *                  ebuild.sh, line   49:  Called pkg_setup
 *   xulrunner-1.9.0.7.ebuild, line   54:  Called java-pkg-opt-2_pkg_setup
 *      java-pkg-opt-2.eclass, line   45:  Called java-pkg_init
 *        java-utils-2.eclass, line 2101:  Called die
 * The specific snippet of code:
 *   		die "Can't run java-config --help"
 *  The die message:
 *   Can't run java-config --help


Reproducible: Always

Steps to Reproduce:
1. Attempt to emerge net-libs/xulrunner-1.9.0.7

Actual Results:  
ebuild fails to build

Expected Results:  
Package builds successfully

 # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-50-with-glibc2.2.5
Timestamp of tree: Thu, 12 Mar 2009 16:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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.namerica.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa amd64 avahi bash-completion berkdb branding bzip2 cddb cdparanoia cdr clamav cli cracklib crypt cups dbus dri dvd dvdread esd evo fbcon firefox flac foomaticdb fortran ftp gdbm gif gnome gpm gstreamer gtk gzip hal hddtemp iconv imap ipv6 isdnlog java java6 jpeg lame libcaca libnotify lm_sensors midi mmx mp3 mpeg mplayer msn mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pda pdf perl png pppd python rdesktop readline reflection rss samba session smp spell spl sse sse2 ssl sysfs syslog tcpd truetype unicode usb vnc vorbis wifi xine xml xorg xscreensaver 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Andrew 2009-03-12 17:37:02 UTC
Forgot to mention that i have run python-updater with no change in the build results. 
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-03-12 19:58:21 UTC
Please post the full build.log
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2009-03-12 22:00:20 UTC
(In reply to comment #2)
> Please post the full build.log
> 

Also what does java-config --help on the command line tell you.
Comment 4 Andrew 2009-03-14 16:34:36 UTC
Issue has been resolved. After RE-emerging java-config and then emerging javatoolkit, i was able to emerge xulrunner successfully. 

Thank you for your fast responses!! :)