public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] problems emerging jruby
@ 2008-07-04 21:38 Steven Jenkins
  2008-07-05  2:07 ` Alistair Bush
  0 siblings, 1 reply; 7+ messages in thread
From: Steven Jenkins @ 2008-07-04 21:38 UTC (permalink / raw
  To: gentoo-java

I'm new to the list and not that expert with java. I'm trying to emerge 
jruby; anybody recognize this problem?

>>> Emerging (1 of 1) dev-java/jruby-1.1.2 to /
  * jruby-src-1.1.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...
    [ ok ]
  * checking ebuild checksums ;-) ...
    [ ok ]
  * checking auxfile checksums ;-) ...
    [ ok ]
  * checking miscfile checksums ;-) ...
    [ ok ]
  * checking jruby-src-1.1.2.tar.gz ;-) ...
    [ ok ]
  * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking jruby-src-1.1.2.tar.gz to 
/var/tmp/portage/dev-java/jruby-1.1.2/work
Traceback (most recent call last):
   File "/usr/lib/javatoolkit/bin/jarjarclean", line 10, in ?
     import xml.etree.cElementTree as et
ImportError: No module named etree.cElementTree
  *
  * ERROR: dev-java/jruby-1.1.2 failed.
  * Call stack:
  *               ebuild.sh, line   49:  Called src_unpack
  *             environment, line 3969:  Called die
  * The specific snippet of code:
  *       /usr/$(get_libdir)/javatoolkit/bin/jarjarclean || die;
  *  The die message:
  *   (no error message)
  *
  * 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/dev-java/jruby-1.1.2/temp/build.log'.
  * The ebuild environment file is located at
'/var/tmp/portage/dev-java/jruby-1.1.2/temp/environment'.
  *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.06"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""

$ emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.3.1,
glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: 2.6.23-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
Timestamp of tree: Mon, 23 Jun 2008 23:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.3.5-r3, 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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.6.3, 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.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi afs alsa apache2 arts berkdb cairo caps cdr cli cracklib
crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode esd evo f77
fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6
isdnlog java jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap
mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl
png ppds pppd python qt3 qt3support qt4 quicktime readline reflection
ruby ruby18 sasl sdl session spell spl sse ssl svg tcpd tiff truetype
unicode usb vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest
authn_anon authn_dbd 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 dbd deflate dir disk_cache env
expires ext_filter file_cache filter headers ident imagemap include info
log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp
proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" USERLAND="GNU"
VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

Thanks in advance for any assistance.

Steve


-- 
gentoo-java@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-java] problems emerging jruby
  2008-07-04 21:38 [gentoo-java] problems emerging jruby Steven Jenkins
@ 2008-07-05  2:07 ` Alistair Bush
  2008-07-05  6:53   ` Fabian Groffen
  2008-07-05  9:51   ` Petteri Räty
  0 siblings, 2 replies; 7+ messages in thread
From: Alistair Bush @ 2008-07-05  2:07 UTC (permalink / raw
  To: gentoo-java, James Le Cuirot

Chewi,  what dependency are we missing?

dev-lang/python-2.5.2-r5 (/usr/lib64/python2.5/xml/etree)

Steven,  basically you are missing a python dependency.  Sadly I not 
sure yet how to get.

All I know is it belongs to dev-lang/python

dev-lang/python
     gentoo:                  (2.3.5-r2)R (2.3.5-r3)R (2.3.6)R 
(2.3.6-r3)R (2.3.6-r6)R {:2.3} 2.4.4-r5 2.4.4-r6 2.4.4-r13 {:2.4} 
2.5.2-r5 {:2.5}
     installed:               2.5.2-r5* {:2.5}
     Description:             Python is an interpreted, interactive, 
object-oriented programming language.
     Homepage:                http://www.python.org/
     Relevant USE flags:      (berkdb) (-bootstrap) (-build) (doc) 
(-elibc_uclibc) (-examples) (gdbm) (ipv6) (ncurses) (readline) (sqlite) 
(ssl) (threads) (-tk) (-ucs2) (-wininst)
     License:                 PSF-2.2
     Installed time:          Thu Jun 26 10:32:40 2008
     Source repository:       gentoo
     Installed using:         paludis-0.26.2


I believe that possibly upgrading to python:2.5 will fix this?


Steven Jenkins wrote:
> I'm new to the list and not that expert with java. I'm trying to emerge 
> jruby; anybody recognize this problem?
> 
>>>> Emerging (1 of 1) dev-java/jruby-1.1.2 to /
>  * jruby-src-1.1.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...
>    [ ok ]
>  * checking ebuild checksums ;-) ...
>    [ ok ]
>  * checking auxfile checksums ;-) ...
>    [ ok ]
>  * checking miscfile checksums ;-) ...
>    [ ok ]
>  * checking jruby-src-1.1.2.tar.gz ;-) ...
>    [ ok ]
>  * Using: sun-jdk-1.6
>>>> Unpacking source...
>>>> Unpacking jruby-src-1.1.2.tar.gz to 
> /var/tmp/portage/dev-java/jruby-1.1.2/work
> Traceback (most recent call last):
>   File "/usr/lib/javatoolkit/bin/jarjarclean", line 10, in ?
>     import xml.etree.cElementTree as et
> ImportError: No module named etree.cElementTree
>  *
>  * ERROR: dev-java/jruby-1.1.2 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_unpack
>  *             environment, line 3969:  Called die
>  * The specific snippet of code:
>  *       /usr/$(get_libdir)/javatoolkit/bin/jarjarclean || die;
>  *  The die message:
>  *   (no error message)
>  *
>  * 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/dev-java/jruby-1.1.2/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/dev-java/jruby-1.1.2/temp/environment'.
>  *
> !!! When you file a bug report, please include the following information:
> GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.06"
> JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
> 
> $ emerge --info
> Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.3.1,
> glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
> =================================================================
> System uname: 2.6.23-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
> Timestamp of tree: Mon, 23 Jun 2008 23:30:01 +0000
> distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
> [disabled]
> ccache version 2.4 [enabled]
> app-shells/bash:     3.2_p33
> dev-java/java-config: 1.3.7, 2.1.6
> dev-lang/python:     2.3.5-r3, 2.4.4-r13
> dev-python/pycrypto: 2.0.1-r6
> dev-util/ccache:     2.4-r7
> 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.6.3, 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.26
> virtual/os-headers:  2.6.23-r3
> ACCEPT_KEYWORDS="x86"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-mtune=pentium4 -O3 -pipe"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
> /usr/kde/3.4/shutdown /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
> /etc/gconf /etc/php/apache2-php5/ext-active/
> /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/
> /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
> CXXFLAGS="-mtune=pentium4 -O3 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict
> unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://distfiles.gentoo.org
> http://distro.ibiblio.org/pub/linux/distributions/gentoo"
> 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/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="X acl acpi afs alsa apache2 arts berkdb cairo caps cdr cli cracklib
> crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode esd evo f77
> fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6
> isdnlog java jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap
> mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl
> png ppds pppd python qt3 qt3support qt4 quicktime readline reflection
> ruby ruby18 sasl sdl session spell spl sse ssl svg tcpd tiff truetype
> unicode usb vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451
> als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest
> authn_anon authn_dbd 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 dbd deflate dir disk_cache env
> expires ext_filter file_cache filter headers ident imagemap include info
> log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp
> proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" USERLAND="GNU"
> VIDEO_CARDS="nv nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
> LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTAGE_RSYNC_EXTRA_OPTS
> 
> Thanks in advance for any assistance.
> 
> Steve
> 
> 
-- 
gentoo-java@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-java] problems emerging jruby
  2008-07-05  2:07 ` Alistair Bush
@ 2008-07-05  6:53   ` Fabian Groffen
  2008-07-05  7:18     ` Steven Jenkins
  2008-07-05  9:51   ` Petteri Räty
  1 sibling, 1 reply; 7+ messages in thread
From: Fabian Groffen @ 2008-07-05  6:53 UTC (permalink / raw
  To: gentoo-java

On 05-07-2008 14:07:56 +1200, Alistair Bush wrote:
> Chewi,  what dependency are we missing?
>
> dev-lang/python-2.5.2-r5 (/usr/lib64/python2.5/xml/etree)
>
> Steven,  basically you are missing a python dependency.  Sadly I not  
> sure yet how to get.

yeah, but:

>> $ emerge --info
>> Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.3.1,
>> glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
>> =================================================================
>> System uname: 2.6.23-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
>> Timestamp of tree: Mon, 23 Jun 2008 23:30:01 +0000
>> distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
>> [disabled]
>> ccache version 2.4 [enabled]
>> app-shells/bash:     3.2_p33
>> dev-java/java-config: 1.3.7, 2.1.6
>> dev-lang/python:     2.3.5-r3, 2.4.4-r13

^^^^

most probably it's not included in 2.3 and 2.4


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-java@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-java] problems emerging jruby
  2008-07-05  6:53   ` Fabian Groffen
@ 2008-07-05  7:18     ` Steven Jenkins
  2008-07-13 18:09       ` Steven Jenkins
  0 siblings, 1 reply; 7+ messages in thread
From: Steven Jenkins @ 2008-07-05  7:18 UTC (permalink / raw
  To: gentoo-java

Thanks for the pointers, Fabian and Alistair. I'll try emerging Python 
2.5 tomorrow.

Steve
-- 
gentoo-java@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-java] problems emerging jruby
  2008-07-05  2:07 ` Alistair Bush
  2008-07-05  6:53   ` Fabian Groffen
@ 2008-07-05  9:51   ` Petteri Räty
  2008-07-05  9:59     ` James Le Cuirot
  1 sibling, 1 reply; 7+ messages in thread
From: Petteri Räty @ 2008-07-05  9:51 UTC (permalink / raw
  To: Alistair Bush; +Cc: gentoo-java

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

Alistair Bush kirjoitti:
> Chewi,  what dependency are we missing?
> 

|| ( >=dev-lang/python-2.5 dev-python/celementtree )
we could even have a fallback for dev-python/elementtree as they provide 
the same API


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-java] problems emerging jruby
  2008-07-05  9:51   ` Petteri Räty
@ 2008-07-05  9:59     ` James Le Cuirot
  0 siblings, 0 replies; 7+ messages in thread
From: James Le Cuirot @ 2008-07-05  9:59 UTC (permalink / raw
  To: gentoo-java

On Sat, 05 Jul 2008 12:51:42 +0300
Petteri Räty <betelgeuse@gentoo.org> wrote:

> Alistair Bush kirjoitti:
> > Chewi,  what dependency are we missing?
> > 
> 
> || ( >=dev-lang/python-2.5 dev-python/celementtree )
> we could even have a fallback for dev-python/elementtree as they
> provide the same API
>

I was just about to post the same thing! It confused me a little at
first because I appeared to have celementtree even though I didn't have
the package installed. This wasn't entirely my fault, Betelgeuse used
celementtree in build-xml-rewrite before I used it in jarjarclean. ;)
--
gentoo-java@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-java] problems emerging jruby
  2008-07-05  7:18     ` Steven Jenkins
@ 2008-07-13 18:09       ` Steven Jenkins
  0 siblings, 0 replies; 7+ messages in thread
From: Steven Jenkins @ 2008-07-13 18:09 UTC (permalink / raw
  To: gentoo-java

Steven Jenkins wrote:
> Thanks for the pointers, Fabian and Alistair. I'll try emerging Python 
> 2.5 tomorrow.

I gave it a try, but ran into some problems that others have documented 
on Gentoo Bugzilla. I think I'll wait until 2.5 is no longer 
hard-masked. Thanks again.

Steve
-- 
gentoo-java@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-07-13 18:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04 21:38 [gentoo-java] problems emerging jruby Steven Jenkins
2008-07-05  2:07 ` Alistair Bush
2008-07-05  6:53   ` Fabian Groffen
2008-07-05  7:18     ` Steven Jenkins
2008-07-13 18:09       ` Steven Jenkins
2008-07-05  9:51   ` Petteri Räty
2008-07-05  9:59     ` James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox