Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371405 - dev-java/icedtea-6.1.10.2 fails with Linux 3.0.0-rc2
Summary: dev-java/icedtea-6.1.10.2 fails with Linux 3.0.0-rc2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 391917 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-13 11:13 UTC by Richard
Modified: 2011-11-27 22:25 UTC (History)
4 users (show)

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


Attachments
Potential Patch (linux_version.patch,501 bytes, patch)
2011-06-13 14:43 UTC, Andrew John Hughes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2011-06-13 11:13:49 UTC
The build system does not know about Linux 3.0.0-rc2.

Reproducible: Always

Steps to Reproduce:
1. Switch to Linux 3.0.0-rc2
2. Emerge dev-java/icedtea-6.1.10.2
3. Watch it fail.
Actual Results:  
>&2 echo "*** This OS is not supported:" `uname -a`; exit 1;
*** This OS is not supported: Linux t520 3.0.0-rc2 #2 SMP PREEMPT Sun Jun 12 03:57:43 EDT 2011 x86_64 Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz GenuineIntel GNU/Linux
make[6]: *** [check_os_version] Error 1
make[6]: Leaving directory `/var/tmp/portage/dev-java/icedtea-6.1.10.2/work/icedtea6-1.10.2/openjdk.build/hotspot/outputdir'
make[5]: *** [linux_amd64_compiler2/debug] Error 2
make[5]: Leaving directory `/var/tmp/portage/dev-java/icedtea-6.1.10.2/work/icedtea6-1.10.2/openjdk.build/hotspot/outputdir'
make[4]: *** [generic_build2] Error 2
make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea-6.1.10.2/work/icedtea6-1.10.2/openjdk/hotspot/make'
make[3]: *** [product] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea-6.1.10.2/work/icedtea6-1.10.2/openjdk/hotspot/make'
make[2]: *** [hotspot-build] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea-6.1.10.2/work/icedtea6-1.10.2/openjdk'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea-6.1.10.2/work/icedtea6-1.10.2/openjdk'
make: *** [stamps/icedtea.stamp] Error 2
emake failed
 * ERROR: dev-java/icedtea-6.1.10.2 failed (compile phase):
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 4347:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-java/icedtea-6.1.10.2',
 * the complete build log and the output of 'emerge -pqv =dev-java/icedtea-6.1.10.2'.
!!! 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/icedtea-6.1.10.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-6.1.10.2/temp/environment'.
 * S: '/var/tmp/portage/dev-java/icedtea-6.1.10.2/work/icedtea6-1.10.2'


Portage 2.1.10.2 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 3.0.0-rc2 x86_64)
=================================================================
System uname: Linux-3.0.0-rc2-x86_64-Intel-R-_Core-TM-_i7-2820QM_CPU_@_2.30GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 13 Jun 2011 02:45:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo vmware local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-O2 -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -pipe"
GENTOO_MIRRORS="http://mirror.lug.udel.edu/pub/gentoo/ http://gentoo.osuosl.org/ ftp://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j9"
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="/var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran gdbm gdu gif gnutls gpm iconv ipv6 java jpeg kde kipi lcms ldap libnotify lzma mad mmap mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vaapi vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib zsh-completion" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrew John Hughes 2011-06-13 14:43:43 UTC
Created attachment 276919 [details, diff]
Potential Patch

Can you try applying this in the work/icedtea6-1.10.2 directory and then continuing the build using ebuild?  I'll add it to the overlay version of 1.10.2.
Comment 2 Andrew John Hughes 2011-06-13 14:55:39 UTC
Patch also now applied to 6.1.10.2 in the java overlay.
Comment 3 Mike Lothian 2011-06-13 19:43:19 UTC
I have a feeling this patch will have issues as soon as we start working on kernel 3.1 (which will be the next release after 3.0)

I'm trying with 3% to see if that still works
Comment 4 Mike Lothian 2011-06-13 20:44:36 UTC
Yes that worked
Comment 5 Andrew John Hughes 2011-06-20 10:30:19 UTC
Cool.  I'll apply it upstream as just "3%".
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-07-17 19:19:56 UTC
Patch applied also in main tree, thanks.
Comment 7 Andrew John Hughes 2011-07-22 00:20:48 UTC
Fix in 1.10.3 (http://blog.fuseyism.com/index.php/2011/07/21/icedtea6-1103-released/) which is now supported in java-overlay.
Comment 8 Serkan Kaba (RETIRED) gentoo-dev 2011-11-26 06:59:24 UTC
*** Bug 391917 has been marked as a duplicate of this bug. ***
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-11-26 20:19:44 UTC
Why isn't this in the main tree? There are 3.x kernels in stable.
Comment 10 Richard 2011-11-26 20:22:50 UTC
(In reply to comment #9)
> Why isn't this in the main tree? There are 3.x kernels in stable.

It is in the main tree, but none of the ebuilds are marked as stable.
Comment 11 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-11-26 21:24:28 UTC
(In reply to comment #9)
> Why isn't this in the main tree? There are 3.x kernels in stable.

Your bug is about icedtea6-1.6.1, that is ancient. Did you not get the package + slot move to dev-java/icedtea:6 where current version is 6.1.10.4-r1 and has no problem with linux-3?
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-11-27 22:25:25 UTC
Ah, ok, I've traced it. I have a virtual/jdk-1.6.0-r2 that was in the java overlay before, and that revision got removed from the java overlay, but my box never downgraded. That specific revision references the old name, not the new name.