Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-java/icedtea6-1.6.2-r1 fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Wed Dec 16, 2009 3:38 pm    Post subject: dev-java/icedtea6-1.6.2-r1 fails to build Reply with quote

Code:
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src/vm/jit/i386 -I../../../src/vm/jit/i386/linux -I../../../src -I/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/openjdk/jdk/src/solaris/javavm/export -I/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/openjdk/jdk/src/share/javavm/export -I/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/openjdk/jdk/src/solaris/hpi/export -I/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/openjdk/jdk/src/share/hpi/export -m32 -D__I386__ -D__LINUX__ -std=c99 -pedantic -Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT sun_misc_Unsafe.lo -MD -MP -MF .deps/sun_misc_Unsafe.Tpo -c sun_misc_Unsafe.c  -fPIC -DPIC -o .libs/sun_misc_Unsafe.o                                                                                                     
In file included from ../../../src/threads/atomic.hpp:39,                                                                                   
                 from sun_misc_Unsafe.c:31:                                                                                                 
../../../src/vm/jit/i386/md-atomic.hpp:69:2: warning: #warning is a GCC extension                                                           
../../../src/vm/jit/i386/md-atomic.hpp:69:2: warning: #warning Should we use cmpxchg8b or a generic version?                                 
sun_misc_Unsafe.c:850: error: conflicting types for ‘Java_sun_misc_Unsafe_copyMemory’                                                       
../../../src/native/include/sun_misc_Unsafe.h:322: error: previous declaration of ‘Java_sun_misc_Unsafe_copyMemory’ was here                 
make[5]: *** [sun_misc_Unsafe.lo] Error 1                                                                                                   
make[5]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/cacao/cacao-0.99.4/src/native/vm'               
make[4]: *** [install-recursive] Error 1                                                                                                     
make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/cacao/cacao-0.99.4/src/native/vm'               
make[3]: *** [install-recursive] Error 1                                                                                                     
make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/cacao/cacao-0.99.4/src/native'                   
make[2]: *** [install-recursive] Error 1                                                                                                     
make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/cacao/cacao-0.99.4/src'                         
make[1]: *** [install-recursive] Error 1                                                                                                     
make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/cacao/cacao-0.99.4'                             
make: *** [stamps/cacao.stamp] Error 2                                                                                                       
 * ERROR: dev-java/icedtea6-1.6.2-r1 failed:                                                                                                 
 *   make failed                                                                                                                             
 *                                                                                                                                           
 * Call stack:                                                                                                                               
 *     ebuild.sh, line  55:  Called src_compile                                                                                             
 *   environment, line 4918:  Called die                                                                                                     
 * The specific snippet of code:                                                                                                             
 *       emake -j 1 || die "make failed"                                                                                                     
 *                                                                                                                                           
 * If you need support, post the output of 'emerge --info =dev-java/icedtea6-1.6.2-r1',                                                     
 * the complete build log and the output of 'emerge -pqv =dev-java/icedtea6-1.6.2-r1'.                                                       
 * This ebuild is from an overlay named 'java-overlay': '/usr/local/portage/layman/java-overlay/'                                           
!!! When you file a bug report, please include the following information:                                                                   
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME=""                                                                                           
JAVACFLAGS="" COMPILER=""                                                                                                                   
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2'


Code:
# emerge --info =dev-java/icedtea6-1.6.2-r1
Portage 2.2_rc58 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-zen9 i686)
=================================================================                                     
                        System Settings                                                               
=================================================================                                     
System uname: Linux-2.6.31-zen9-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-1.12.13     
Timestamp of tree: Sat, 12 Dec 2009 11:00:01 +0000                                                   
ccache version 2.4 [enabled]                                                                         
app-shells/bash:     4.0_p35                                                                         
dev-java/java-config: 2.1.9-r1                                                                       
dev-lang/python:     2.6.4, 3.1.1-r1                                                                 
dev-util/ccache:     2.4-r7                                                                           
dev-util/cmake:      2.6.4-r3                                                                         
sys-apps/baselayout: 1.12.13                                                                         
sys-apps/sandbox:    2.2                                                                             
sys-devel/autoconf:  2.13, 2.63-r1                                                                   
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                     
sys-devel/binutils:  2.18-r3                                                                         
sys-devel/gcc-config: 1.4.1                                                                           
sys-devel/libtool:   2.2.6b                                                                           
virtual/os-headers:  2.6.27-r2                                                                       
ACCEPT_KEYWORDS="x86"                                                                                 
ACCEPT_LICENSE="* -@EULA"                                                                             
CBUILD="i686-pc-linux-gnu"                                                                           
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"                                             
CHOST="i686-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/games /usr/local/portage/layman/kde-testing /usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/zen-sources /usr/local/portage/layman/pro-audio /usr/local/portage/layman/pd-overlay /usr/local/portage/ilmoppe"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amr avi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dga dri dts dv dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer hal iconv ipv6 jpeg jpeg2k juju kde kdehiddenvisibility lame lcms ldap libnotify libsamplerate mad matroska midi mikmod mmx modules mp3 mp4 mpeg mtp mudflap ncurses network nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl plasma png ppds pppd python qt qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb v4l2 vorbis webkit win32codecs x264 x86 xcomposite xml xmlpatterns xorg xulrunner xv xvid 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 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics wacom keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


If you need something else, let me know.
Back to top
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 998
Location: Bangalore, India

PostPosted: Thu Dec 17, 2009 9:07 am    Post subject: Reply with quote

It also fails for me but at the startiing
Code:
checking for unistd.h... yes                                                                                                                   
checking whether to use the zero-assembler port... no                                                                                         
checking whether to use the Shark JIT... no                                                                                                   
checking whether to retrieve the source code from Mercurial... no                                                                             
checking which Mercurial revision to use... tip                                                                                               
checking cups/cups.h usability... yes                                                                                                         
checking cups/cups.h presence... yes                                                                                                           
checking for cups/cups.h... yes                                                                                                               
checking cups/ppd.h usability... yes                                                                                                           
checking cups/ppd.h presence... yes                                                                                                           
checking for cups/ppd.h... yes                                                                                                                 
checking X11/X.h usability... yes                                                                                                             
checking X11/X.h presence... yes                                                                                                               
checking for X11/X.h... yes                                                                                                                   
checking for main in -ljpeg... yes                                                                                                             
checking for main in -lgif... yes                                                                                                             
checking for main in -lz... yes                                                                                                               
checking for x86_64-pc-linux-gnu-pkg-config... no                                                                                             
checking for pkg-config... /usr/bin/pkg-config                                                                                                 
checking pkg-config is at least version 0.9.0... yes                                                                                           
checking for XPROTO... yes                                                                                                                     
checking for XT... yes                                                                                                                         
checking for XP... yes                                                                                                                         
checking for X11... yes                                                                                                                       
checking for XINERAMA... yes                                                                                                                   
checking for XRENDER... yes                                                                                                                   
checking for LIBPNG... yes                                                                                                                     
checking for XTST... yes                                                                                                                       
checking for FREETYPE2... yes                                                                                                                 
checking for ALSA... yes                                                                                                                       
checking for LIBPULSE... yes                                                                                                                   
checking for XULRUNNER... configure: error: Package requirements (      nspr mozilla-js mozilla-plugin libxul-unstable >= 1.9) were not met:   

No package 'libxul-unstable' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.                     

Alternatively, you may set the environment variables XULRUNNER_CFLAGS
and XULRUNNER_LIBS to avoid the need to call pkg-config.             
See the pkg-config man page for more details.                       


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2/config.log
 * ERROR: dev-java/icedtea6-1.6.2-r1 failed:                                 
 *   econf failed                                                             
 *                                                                           
 * Call stack:                                                               
 *     ebuild.sh, line   55:  Called src_configure                           
 *   environment, line 5008:  Called econf '--with-openjdk=/usr/lib/icedtea6' '--with-parallel-jobs=8' '--disable-cacao' '--with-openjdk-src-zip=/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/distdir/openjdk-6-src-b16-24_apr_2009.tar.gz' '--with-hotspot-src-zip=/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/distdir/09f7962b8b44.tar.gz' '--with-cacao-src-zip=/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/distdir/cacao-0.99.4.tar.gz' '--with-java=/usr/lib/jvm/icedtea6/bin/java' '--with-javac=/usr/lib/jvm/icedtea6/bin/javac' '--with-javah=/usr/lib/jvm/icedtea6/bin/javah' '--with-pkgversion=Gentoo' '--with-abs-install-dir=/usr/lib64/icedtea6' '--enable-optimizations' '--disable-docs' '--enable-plugin' '--with-rhino=/usr/share/rhino-1.6/lib/js.jar' '--disable-zero' '--enable-pulse-java' '--enable-xrender' '--disable-systemtap' '--enable-nio2'
 *     ebuild.sh, line  545:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of 'emerge --info =dev-java/icedtea6-1.6.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-java/icedtea6-1.6.2-r1'.
 * This ebuild is from a repository named 'java-overlay'
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-java/icedtea6-1.6.2-r1/work/icedtea6-1.6.2'

Seeing the error i think i should mention i have firefox 3.6 beta5
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Thu Dec 17, 2009 3:35 pm    Post subject: Reply with quote

shaumux wrote:
Seeing the error i think i should mention i have firefox 3.6 beta5


I think you may have xulrunner-bin, which version is 1.8.1.19, at least in official Portage. You'd try net-libs/xulrunner which latest stable version is 1.9.1.4. It's quite a lot of code to build (last time I built it it took me 1:15 hours) but it'll probably solve your issue that seems to be dependency-related.
Back to top
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 998
Location: Bangalore, India

PostPosted: Thu Dec 17, 2009 5:11 pm    Post subject: Reply with quote

theRealMorpheu5 wrote:
shaumux wrote:
Seeing the error i think i should mention i have firefox 3.6 beta5


I think you may have xulrunner-bin, which version is 1.8.1.19, at least in official Portage. You'd try net-libs/xulrunner which latest stable version is 1.9.1.4. It's quite a lot of code to build (last time I built it it took me 1:15 hours) but it'll probably solve your issue that seems to be dependency-related.
Firefox 3.6-beta5 won't run with that version of xulrunner.
I'm running xulrunner-1.9.2-beta5
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Thu Dec 17, 2009 5:53 pm    Post subject: Reply with quote

I see. Did you try to re-emerge it? I know it doesn't sound too scientific, but sometimes it works for me :)

(btw, anyone on my issue?)
Back to top
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 998
Location: Bangalore, India

PostPosted: Thu Dec 17, 2009 5:58 pm    Post subject: Reply with quote

theRealMorpheu5 wrote:
I see. Did you try to re-emerge it? I know it doesn't sound too scientific, but sometimes it works for me :)

(btw, anyone on my issue?)
Recompile what, i have been trying this for a long time and xulrunner-1.9.2-beta5 came out only a few days ago.

What is your current VM?
Have you tried building it with Sun-java?
Your config is almost same as mine except that i'm running x64
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Fri Dec 18, 2009 11:48 am    Post subject: Reply with quote

My current vm is icedtea6-bin, which is also pulled in by icedtea6 as a dependency (since it's pulled in as a dep I trust in it being able to compile itself...)

I switched to icedtea6 in the first place because I didn't want to add the license exception needed by sun-jre-bin (at least this is what seems to have happened one day when I upgraded this package which I don't remember and it pulled in icedtea6-bin due to license restriction on sun-jre-bin). I should add that I don't do any java development (hence the jre) and I'm quite sure the package I was upgrading didn't need any java compiler -- don't ask me how I am so sure, I know I was but I don't really remember which package it was, it's been a long time ago.

Anyway, I'm perfectly fine with having icedtea6 (and frankly I don't really care if I do have any java compiler installed) but since I use some quite resources-hog applications (like Eclipse and some scientific tools) I'd rather have a possibly better optimized re/vm than a generic build (given that it wasn't possible with Sun's, I never worried about it, but now it's different).
Back to top
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 998
Location: Bangalore, India

PostPosted: Fri Dec 18, 2009 1:42 pm    Post subject: Reply with quote

I also had problems with icedtea6 building itself intially when i installed it in the first place.
I think it was 1.4 or 1.5.
I got through by installing Sun's and then building icedtea6 and then removing sun's.
You can try that to see if that works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum