Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506674 - dev-java/concurrent-util-1.3.4-r1 fails to build with dev-java/oracle-jdk-bin:1.8
Summary: dev-java/concurrent-util-1.3.4-r1 fails to build with dev-java/oracle-jdk-bin...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 538644
Blocks:
  Show dependency tree
 
Reported: 2014-04-03 16:45 UTC by Viktor Yu. Kovalskii
Modified: 2015-04-14 20:38 UTC (History)
3 users (show)

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


Attachments
build.log of emerging dev-java/concurrent-util (build.log,3.37 KB, text/x-log)
2014-04-03 16:47 UTC, Viktor Yu. Kovalskii
Details
java8-compatibility.patch (java8-compatibility.patch,1.19 KB, patch)
2014-05-14 14:29 UTC, Constantine E. Kozlov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Yu. Kovalskii 2014-04-03 16:45:54 UTC
After upgrading and switching to dev-java/oracle-jdk-bin:1.8 emerging dev-java/concurrent-util-1.3.4-r1 is failed.

Reproducible: Always

Steps to Reproduce:
1. emerge -1av dev-java/oracle-jdk-bin:1.8
2. eselect java-vm set system oracle-jdk-bin-1.8
3. emerge -1av dev-java/concurrent-util



emerge --info dev-java/concurrent-util
Portage 2.2.10 (default/linux/x86/13.0, gcc-4.8.2, glibc-2.19, 3.13.7-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.13.7-gentoo-i686-Intel-R-_Core-TM-_Duo_CPU_T2350_@_1.86GHz-with-gentoo-2.2
KiB Mem:     3099180 total,   1382556 free
KiB Swap:    2104508 total,   1770536 free
Timestamp of tree: Sun, 30 Mar 2014 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo overlays-oschtan science rion flying
Installed sets: @lxde-full, @system, @toolchain
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-4.0.0.7-copyright dlj-1.1 AdobeFlash-11.x Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer -mtune=generic -mfxsr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer -mtune=generic -mfxsr"
CXXFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer -mtune=generic -mfxsr"
DISTDIR="/mnt/slag/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build --with-bdeps=y"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://linux.nsu.ru/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/mnt/slag/gentoo-tree/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/slag"
PORTDIR="/mnt/slag/gentoo-tree"
PORTDIR_OVERLAY="/mnt/slag/layman/oschtan /mnt/slag/layman/science /mnt/slag/layman/rion /mnt/slag/layman/flying"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="7zip X a52 aac aalib acl acpi additions alsa amr apng archive aspell audiofile autotools bash-completion bazaar bdf bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cdrdao cdrom chardet cjk cli consolekit cracklib curl cvs cxx dbus dia divx djvu docbook dri drm dts dvd dvdnav dvi emf enca encode equalizer exceptions exif expat extensions fbcondecor fbsplash ffmpeg fftw flac fontconfig fortran ftp fuse gallium gd gecko gif gimp git gles glib glitz gmp gnutls gpm graphviz gstreamer gtk gtk3 gtkstyle harfbuzz hddtemp http iconv icu idn imagemagick imlib jabber jbig jemalloc jpeg jpeg2k lame lasi lastfm latex lcms libass libffi libnotify libsamplerate libyaml lm_sensors lqr lxde lzma lzo mad matroska mercurial mime mms mmx mmxext mng modules mp2 mp3 mp4 mpeg mplayer musepack natspec ncurses nls nptl ogg openexr opengl openmp opus orc osmesa pam pango pcre pdf plotutils png policykit postscript pulseaudio qt3support rar raw readline rtc rtf science sdl session shared-dricore shared-glapi smp sndfile speex spell sqlite sse sse2 ssl startup-notification stats subversion svg symlink syslog system-sqlite szip t1lib tcpd theora threads tiff truetype twolame udev unicode usb utils v4l vba vorbis vpx wav wavpack webdav webdav-neon webgl webp wifi wma wmf wps wxwidgets x264 x264-svn-encoder x86 xattr xcb xcomposite xml xmp xorg xpm xps xscreensaver xv xvid zip zlib" ABI_X86="32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" 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 ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel i915" 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:  CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-java/concurrent-util-1.3.4-r1 was built with the following:
USE="-doc -source"
Comment 1 Viktor Yu. Kovalskii 2014-04-03 16:47:15 UTC
Created attachment 374172 [details]
build.log of emerging dev-java/concurrent-util
Comment 2 Constantine E. Kozlov 2014-05-14 14:29:01 UTC
Created attachment 376902 [details, diff]
java8-compatibility.patch

Fixes build against jdk-1.8.
Comment 3 Pacho Ramos gentoo-dev 2014-09-10 13:46:22 UTC
Would that change cause it to lose compatibility with older jdks?
Comment 4 Zac Medico gentoo-dev 2015-01-30 22:09:53 UTC
(In reply to Pacho Ramos from comment #3)
> Would that change cause it to lose compatibility with older jdks?

No, it just fixes a name collision with a new Map.remove(Object key, Object value) method added in Java 8:

http://docs.oracle.com/javase/8/docs/api/java/util/Map.html#remove-java.lang.Object-java.lang.Object-
Comment 5 Pacho Ramos gentoo-dev 2015-02-02 22:06:47 UTC
Maybe we could commit it as looks like java team doesn't have currently much time for the jdk7 stuff :/
Comment 6 Andrew John Hughes 2015-02-02 22:23:49 UTC
It would make more sense to drop the concurrent-util package and fix any dependents. These classes have been in the JDK itself since 1.5.
Comment 7 Miroslav Šulc gentoo-dev 2015-02-02 23:04:50 UTC
(In reply to Andrew John Hughes from comment #6)
> It would make more sense to drop the concurrent-util package and fix any
> dependents. These classes have been in the JDK itself since 1.5.

that makes more sense to me.

here is the list:

$ equery depends -a concurrent-util
 * These packages depend on concurrent-util:

dev-java/aspectwerkz-2.0_rc2-r3 (dev-java/concurrent-util:0)
dev-java/aspectwerkz-2.0 (dev-java/concurrent-util:0)

if dev-java/aspectwerkz-2.0-r1 gets stabilized and older versions removed, will be resolved

dev-java/colt-1.2.0-r1 (>=dev-java/concurrent-util-1.3.4)
dev-java/colt-1.2.0-r2 (>=dev-java/concurrent-util-1.3.4:0)

the latest in the tree still depends on concurrent-util, but download page is broken, probably dead, should be removed, but some packages depend on it, needs more investigation

dev-java/ehcache-1.1-r1 (dev-java/concurrent-util)
dev-java/ehcache-1.1-r2 (dev-java/concurrent-util:0)
dev-java/ehcache-1.2.4 (dev-java/concurrent-util)

only dev-java/hibernate-3.1.3-r3 depends on the affected slot 0 (latest upstream version of hibernate is 4+ so ours is way old and it seems nothing in the tree depends on hibernate, except hibernate-annotations but that is dead end), slot 1.2 has version 1.2.4-r2 that is stable and does not depend on concurrent-util - so if hibernate is either bumped or removed and 1.2.4 removed from the tree, will be resolved

dev-java/fec-1.0.4-r1 (dev-java/concurrent-util)

looks like this package might be dead, last updated 2011-09-17, i did not find any releases but sources are available at bitbucket, concurrent-util dependency probably dropped, freenet depends on it so i guess fec should be bumped to the latest sources if concurrent-util is really dropped

dev-java/jcs-1.2.7.9-r1 (dev-java/concurrent-util:0)
dev-java/jcs-1.3-r1 (dev-java/concurrent-util:0)

nothing depends on it, last released 2009-08-12, could be removed

dev-java/openjms-0.7.6.1-r8 (dev-java/concurrent-util:0)

looks dead to me, nothing depends on it so could be removed


comments? otherwise anybody can step up and help to move these things forward.
Comment 8 Miroslav Šulc gentoo-dev 2015-02-03 11:19:52 UTC
removed dev-java/ehcache-1.2.4 from the tree
Comment 9 Andrew John Hughes 2015-02-05 03:53:09 UTC
There's a fix for aspectwerkz that I made in the java overlay.
Comment 10 William L. Thomson Jr. 2015-03-21 17:40:31 UTC
This package is freaking ancient and does not need to exist. This has been in the JDK since 1.5.

http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html

This needs to be closed as wontfix. This package needs to be masked and removed ASAP.

RDEPEND=">=virtual/jre-1.2"
DEPEND=">=virtual/jdk-1.2"

Unreal cruft....
Comment 11 Patrice Clement gentoo-dev 2015-03-22 00:10:39 UTC
Reverse RDEPEND for dev-java/concurrent-util: dev-java/aspectwerkz-2.0 dev-java/aspectwerkz-2.0_rc2-r3 dev-java/colt-1.2.0-r1 dev-java/colt-1.2.0-r2 dev-java/ehcache-1.1-r1 dev-java/ehcache-1.1-r2 dev-java/fec-1.0.4-r1 dev-java/jcs-1.2.7.9-r1 dev-java/jcs-1.3-r1 dev-java/openjms-0.7.6.1-r8

We have to handle these reverse deps first, then we can kiss this package goodbye and punt it.
Comment 12 William L. Thomson Jr. 2015-03-23 16:37:59 UTC
Any packages that depend on this should be able to have that depend removed and the package compile fine as this is in the jdk as of 1.5.
Comment 13 William L. Thomson Jr. 2015-04-13 22:32:19 UTC
Should close as wont fix per bug 544038