Summary: | dev-java/icedtea6-1.3.1-r1 - icedtea6-1.3.1/openjdk/langtools/make/build.xml:566: Compile failed; | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gregory <gindox> |
Component: | New packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | butdiene, gnu_andrew, jdaluz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 247140 | ||
Attachments: |
patch to fix the bug
updated patch |
Description
Gregory
2008-11-03 18:18:51 UTC
Same here on AMD64 (using paludis). Portage 2.2_rc13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-glibc2.2.5 Timestamp of tree: Sat, 08 Nov 2008 15:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -ggdb" 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/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j8" 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/local/overlays/zugaina /usr/local/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/ikelos /usr/local/overlays/java-overlay /usr/local/overlays/berkano /usr/local/overlays/myoverlay" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 171198 [details, diff] patch to fix the bug Now that ant-core-1.7.1-r2 respects JAVA_HOME when ANT_RESPECT_JAVA_HOME is set, all that's needed is to depend on this ant-core version and export the variable, which is what the proposed patch does. It also exports ANT_TASKS=none (documented in [1]) so that ant does not load any extra tasks - just ant-core is used and in DEPEND. Normally this is done in the eclass when ant is called through the eant() function in pure ant-based ebuilds. In my tests it avoided some (non-fatal but potentially confusing to user) error messages when some installed extra tasks depend on virtuals that are satisfied only by a JDK other than the jdk used in bootstrap. [1] http://www.gentoo.org/proj/en/java/ant-guide.xml Thanks very much, the patch allows icedtea6 to build for me. One note, the second part of the patch ("bug #245428" onwards) is already in the icedtea6 1.6.1-r1 ebuild so it is not necessary. Just the updated dependency on the newer ant-core does the trick. Created attachment 171273 [details, diff] updated patch > One note, the second part of the patch ("bug #245428" onwards) is already in the icedtea6 1.6.1-r1 ebuild so it is not necessary. I don't see it there? [1] Where do you see it? Anyway I have updated the patch so it matches also the fixed version of ant-core-1.7.0-r3 from the overlay. Note that >=ant-core-1.7.0-r3 would also wrongly match unfixed versions of 1.7.1 so it has to be like this. [1] https://overlays.gentoo.org/svn/proj/java/java-overlay/dev-java/icedtea6/icedtea6-1.3.1-r1.ebuild (In reply to comment #4) > > One note, the second part of the patch ("bug #245428" onwards) is already in > the icedtea6 1.6.1-r1 ebuild so it is not necessary. > > I don't see it there? [1] Where do you see it? Sorry, my mistake. I was looking in the wrong version of the file. This bug can be closed. (In reply to comment #6) > This bug can be closed. > Thanks, closing as FIXED |