Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 541644

Summary: sci-libs/opencascade[java] - ERROR: Couldn't find a VM dep
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: [OLD] LibraryAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED FIXED    
Severity: normal CC: blackhack, dirk, fatzer2, gentoo, gustav.schaffter, jouni.kosonen, msulli1355, randy-andy-, richard.kenney, rossi.f, ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Juergen Rose 2015-02-28 14:06:27 UTC
Created attachment 397662 [details]
build.log

'emerge opencascade' fails with:

>>> Emerging (1 of 3) sci-libs/opencascade-6.8.0::gentoo
 * opencascade-6.8.0.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                           [ ok ]
 * Checking for at least 256 MiB RAM ...                                                                                [ ok ]
 * Checking for at least 3584 MiB disk space at "/var/tmp/portage/sci-libs/opencascade-6.8.0/temp" ...                  [ ok ]
!!! ERROR: Couldn't find a VM dep
 * Unable to determine VM for building from dependencies:
NV_DEPEND: app-admin/eselect-opencascade
        dev-lang/tcl
        dev-lang/tk
        dev-tcltk/itcl
        dev-tcltk/itk
        dev-tcltk/tix
        media-libs/ftgl
        virtual/glu
        virtual/opengl
        x11-libs/libXmu
        freeimage? ( media-libs/freeimage )
        gl2ps? ( x11-libs/gl2ps )
        java? ( virtual/jdk:= )
        tbb? ( dev-cpp/tbb ) !<sys-devel/gettext-0.18.1.1-r3
        || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15  )
        >=sys-devel/autoconf-2.69
        >=sys-devel/libtool-2.4 java? ( >=dev-java/java-config-2.1.9-r1  )
 * ERROR: sci-libs/opencascade-6.8.0::gentoo failed (setup phase):
 *   Failed to determine VM for building.
...
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="/usr/libexec/ccp4/bin:" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""





root@gepard:/root(77)# emerge --info '=sci-libs/opencascade-6.8.0::gentoo'
Portage 2.2.17 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.2, glibc-2.20-r2, 3.19.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.19.0-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.2
KiB Mem:     8023440 total,   2441036 free
KiB Swap:   12582908 total,  12504672 free
Timestamp of repository gentoo: Sat, 28 Feb 2015 09:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
distcc[16078] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Feb 28 2015 11:22:32 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.2::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage_gepard
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    masters: gentoo
    priority: 0

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 1

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 2

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 3

ago
    location: /var/lib/layman/ago
    masters: gentoo
    priority: 4

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 5

local
    location: /usr/local/portage
    masters: gentoo
    priority: 6

g-cpan
    location: /var/lib/cpan
    masters: gentoo
    priority: 7

g-octave
    location: /var/lib/g-octave
    masters: gentoo
    priority: 8

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -mpreferred-stack-boundary=6"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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"
CXXFLAGS="-march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -mpreferred-stack-boundary=6"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -mpreferred-stack-boundary=6"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/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="/var/tmp"
USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 ao apache2 apng applet archive armadillo arpack asf aspell atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli cmake colord cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx fuse g3dvl garmin gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnome-online-accounts gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jabber jadetex java java6 jbig jit john jpeg jpeg2k kate kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack laptop latex lcms ldap lensfun libffi libkms libnotify libsamplerate libsecret lirc live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap socialweb sockets sound soup sox speex spell sql sqlite sse sse2 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tcl tcpd tex tex4ht texmacs theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l vaapi vala valgrind vdpau video virt-network virtualbox visio vorbis vpx vtk wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" DRACUT_MODULES="caps lvm syslog" DVB_CARDS="usb-wt220u" 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="keyboard mouse evdev synaptics void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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, USE_PYTHON



root@gepard:/root(78)# emerge -pqv '=sci-libs/opencascade-6.8.0::gentoo'
[ebuild  NS   ] sci-libs/opencascade-6.8.0 [6.7.1] USE="doc examples java qt4 tbb -debug -freeimage -gl2ps"
Comment 1 Jouni Kosonen 2015-02-28 21:31:41 UTC
Same here. This seems to be related by this change:
-        java? ( >=virtual/jdk-0 )
+        java? ( virtual/jdk:= )

as the older versions now give the same error after that change.

Using
        java? ( >=virtual/jdk-0:= )
seems to work, but I'm less that crystal clear how the slot dependencies work with depend-java-query.
Comment 2 Casey Bralla 2015-03-01 16:39:43 UTC
Same problem here.

GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""

#java-config --list-available-vms 
The following VMs are available for generation-2: 
*) IcedTea JDK 7.2.5.3 [icedtea-bin-7] 

I verified that IcedTea is active. 
#java-config -f 
icedtea-bin-7
Comment 3 Juergen Rose 2015-03-07 10:25:58 UTC
Any news?
Comment 4 Juergen Rose 2015-04-01 09:30:51 UTC
(In reply to Juergen Rose from comment #3)
> Any news?

Since yesterday there is a new opencascade-6.8.0.ebuild in the portage tree, but 'emerge opencascade' fails with the same error.
Comment 5 Juergen Rose 2015-04-19 10:42:24 UTC
opencascade-6.8.0 still fails to emerge with the same error.  The patch of Comment 1 works.

It would be very nice, if someone could add the patch to default portage tree.
Comment 6 Fat-Zer 2015-04-27 12:21:29 UTC
The reason it fails is that /usr/bin/depend-java-query (part of dev-java/java-config) can't handle the string "virtual/jdk:=".

e.g. /usr/bin/depend-java-query --get-vm "virtual/jdk:="

I see two ways to resolve it:
The first one is to use ">=virtual/jdk-0:=" instead of the current variant.
The second one is to patch the java-config to make it recognize more versions.

IMO the first one can be done immidiately and as a long-term enhancement the second one can be done a bit later. I filled in a different bug about the second resolution: Bug 547898.
Comment 7 James Le Cuirot gentoo-dev 2015-04-27 12:45:38 UTC
The change that was made doesn't make sense, see my comment in bug #547898. I haven't got time right now to find out exactly how this package uses Java but I suspect it strays from the norm. When building any Java software under Gentoo, you're supposed to set the minimum -source and -target flags to ensure that the software will run on more than just the VM you built it with. Java VMs are highly backwards compatible and there's no need to have a restriction like :=.
Comment 8 Dmitry L 2015-05-07 00:17:27 UTC
Yes! https://bugs.gentoo.org/show_bug.cgi?id=541644#c1 "Comment 1" its work.
im use gentoo at home, and 2 days (nights ;-) trying install opencascade use "java" flag for freecad.

step 1 - install full version java-vm (icedtea-7 - upon 8core -very very long time)
step 2 set correct java-conf-path (see java gentoo,etc)
step 3 correct file /usr/portage/sci-libs/opencascade/opencascade-6.8.0.ebuild

       : correct string  " java? ( >=virtual/jdk-0:= )"

step 4 ebuild /usr/portage/sci-libs/opencascade/opencascade-6.8.0.ebuild manifest
step 5 install eselect-opencascade
step 6 eselect opencascade set (you version) - generate /etc/env.d/51opencascade

step 7 - chek changes - emerge opencascade.

if you succed - you can create self-local portage (layman,etc.) for protect changes "emerge --sync"
Comment 9 Jouni Kosonen 2015-05-09 15:29:35 UTC
(In reply to James Le Cuirot from comment #7)
> When building any Java software under
> Gentoo, you're supposed to set the minimum -source and -target flags to
> ensure that the software will run on more than just the VM you built it
> with. Java VMs are highly backwards compatible and there's no need to have a
> restriction like :=.

The dependency is not for a JRE, it's for the location of Java native development headers (jni.h, jni_md.h) from a JDK needed to build a JNI proxy library written in c++.

Since the test is for a JNI >= 1.2, I don't know if the library really needs to be rebuilt when the system vm is changed to a different slot. I'm not even sure if the library gets built at all when not compiling for an Android environment (see http://dev.opencascade.org/doc/overview/html/samples_java_android_occt.html )

If the proxy library is the only user of the JNI headers and it isn't even built, the whole USE flag and virtual/jvm dependency could just as well be dropped and "--without-java-include" hard-wired into the configuration.
Comment 10 Fat-Zer 2015-06-02 10:31:37 UTC
May be someone will just fix the wrong dependence to get working ebuild rather than arguing whether to drop it or if it should be rebuilded with java or not?

Sorry for my perseverance and impatience...
Comment 11 Juergen Rose 2015-06-21 11:03:19 UTC
It still fails:

root@orca:/root(26)# java-config -L
The following VMs are available for generation-2:
1)      IcedTea JDK 6.1.13.7 [icedtea-6]
*)      IcedTea JDK 7.2.5.5 [icedtea-7]
root@orca:/root(27)# emerge --update --newuse --deep --with-bdeps=y --backtrack=30 @world
Calculating dependencies... done!
[ebuild  NS    ] sci-libs/opencascade-6.8.0 [6.7.1] USE="doc examples java qt4 tbb -debug -freeimage -gl2ps" 
...
>>> Emerging (1 of 1) sci-libs/opencascade-6.8.0::gentoo
 * opencascade-6.8.0.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                         [ ok ]
 * Checking for at least 256 MiB RAM ...                                                                              [ ok ]
 * Checking for at least 3584 MiB disk space at "/var/tmp/portage/sci-libs/opencascade-6.8.0/temp" ...                [ ok ]
!!! ERROR: Couldn't find a VM dep
 * Unable to determine VM for building from dependencies:
NV_DEPEND: app-eselect/eselect-opencascade
        dev-lang/tcl:0=
        dev-lang/tk:0=
        dev-tcltk/itcl
        dev-tcltk/itk
        dev-tcltk/tix
        media-libs/ftgl
        virtual/glu
        virtual/opengl
        x11-libs/libXmu
        freeimage? ( media-libs/freeimage )
        gl2ps? ( x11-libs/gl2ps )
        java? ( virtual/jdk:= )
        tbb? ( dev-cpp/tbb ) !<sys-devel/gettext-0.18.1.1-r3
        || ( >=sys-devel/automake-1.14.1:1.14 >=sys-devel/automake-1.15:1.15  )
        >=sys-devel/autoconf-2.69
        >=sys-devel/libtool-2.4 java? ( >=dev-java/java-config-2.2.0  )
 * ERROR: sci-libs/opencascade-6.8.0::gentoo failed (setup phase):
 *   Failed to determine VM for building.
Comment 12 Michael Weber (RETIRED) gentoo-dev 2015-07-22 20:01:51 UTC
*** Bug 555644 has been marked as a duplicate of this bug. ***
Comment 13 Randy Andy 2015-07-23 15:04:11 UTC
Same here with the newest version from Today tree syncing:

 * Package:    sci-libs/opencascade-6.9.0
 * Repository: gentoo
 * Maintainer: xmw@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc java kernel_linux qt4 tbb userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Checking for at least 256 MiB RAM ...
 [ ok ]
 * Checking for at least 3584 MiB disk space at "/var/tmp/portage/sci-libs/opencascade-6.9.0/temp" ...
 [ ok ]
!!! ERROR: Couldn't find a VM dep
 * Unable to determine VM for building from dependencies:
NV_DEPEND: app-eselect/eselect-opencascade
        dev-lang/tcl:0=
        dev-lang/tk:0=
        dev-tcltk/itcl
        dev-tcltk/itk
        dev-tcltk/tix
        media-libs/ftgl
        virtual/glu
        virtual/opengl
        x11-libs/libXmu
        freeimage? ( media-libs/freeimage )
        gl2ps? ( x11-libs/gl2ps )
        java? ( virtual/jdk:= )
        tbb? ( dev-cpp/tbb ) !<sys-devel/gettext-0.18.1.1-r3
        || ( >=sys-devel/automake-1.15:1.15  )
        >=sys-devel/autoconf-2.69
        >=sys-devel/libtool-2.4 java? ( >=dev-java/java-config-2.2.0  )
 * ERROR: sci-libs/opencascade-6.9.0::gentoo failed (setup phase):
 *   Failed to determine VM for building.
 * 
 * Call stack:
 *                  ebuild.sh, line   93:  Called pkg_setup
 *   opencascade-6.9.0.ebuild, line   43:  Called java-pkg-opt-2_pkg_setup
 *      java-pkg-opt-2.eclass, line   48:  Called java-pkg_init
 *        java-utils-2.eclass, line 2138:  Called java-pkg_switch-vm
 *        java-utils-2.eclass, line 2608:  Called die
 * The specific snippet of code:
 *                                      die "Failed to determine VM for building."
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/opencascade-6.9.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/opencascade-6.9.0::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =opencascade-6.9.0
 * The complete build log is located at '/var/tmp/portage/sci-libs/opencascade-6.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/opencascade-6.9.0/temp/die.env'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0'
/var/tmp/portage/sci-libs/opencascade-6.9.0/temp/build.log lines 1-50/50 (END)
Comment 14 Juergen Rose 2015-07-23 15:31:29 UTC
opencascade-6.9.0 can be emerged with the patch of Comment 1. But I did not understand the discussion of Comment 6-9. Is it legitim to use this patch or not?
Comment 15 Fat-Zer 2015-07-23 19:25:44 UTC
(In reply to Juergen Rose from comment #14)
> opencascade-6.9.0 can be emerged with the patch of Comment 1. But I did not
> understand the discussion of Comment 6-9. Is it legitim to use this patch or
> not?

I've proposed to patch java-config rather than applying the patch to the ebuild. And it was declined. As I understood James agreed that the line in the ebuild which triggers the bug is wrong and the patch from comment #1 or #6 will make the ebuild work, but it's still arguable what should really must be in place of that line.

So "the patch is ok but may be better".
Comment 16 Michael Weber (RETIRED) gentoo-dev 2015-08-23 11:16:00 UTC
commit 410d3a68e98a87f63e117175a506fd292134f865
Author: Michael Weber <xmw@gentoo.org>
Date:   Sun Aug 23 13:15:09 2015 +0200

    sci-libs/opencascade: Fix USE=java dep to >=virtual/jdk-0:= (thanks to all contributors on bug 541644).
    
    Package-Manager: portage-2.2.20.1

sci-libs/opencascade/opencascade-6.7.1.ebuild
sci-libs/opencascade/opencascade-6.8.0.ebuild
sci-libs/opencascade/opencascade-6.9.0.ebuild