Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515850 - dev-java/icedtea-bin-7.2.4.7: QA Notice: Symbolic link points to file which does not exist (Needs new QA variable)
Summary: dev-java/icedtea-bin-7.2.4.7: QA Notice: Symbolic link points to file which d...
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:
: 581056 583790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-30 10:54 UTC by Ilya Gordeev
Modified: 2017-05-23 15:03 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Gordeev 2014-06-30 10:54:32 UTC
QA: preinst
QA Notice: Symbolic link /opt/icedtea-bin-7.2.4.7/bin/itweb-settings points to /usr/lib64/icedtea7-web/bin/itweb-settings which does not exist.
QA Notice: Symbolic link /opt/icedtea-bin-7.2.4.7/jre/bin/itweb-settings points to /usr/lib64/icedtea7-web/bin/itweb-settings which does not exist.

Reproducible: Always
Comment 1 Witold Piłat 2014-07-02 12:34:43 UTC
icedtea-bin-6.1.13.3-r3:

 * QA Notice: Symbolic link /opt/icedtea-bin-6.1.13.3/bin/itweb-settings points to /usr/lib64/icedtea6-web/bin/itweb-settings which does not exist.
 * QA Notice: Symbolic link /opt/icedtea-bin-6.1.13.3/bin/javaws points to /usr/lib64/icedtea6-web/bin/javaws which does not exist.
 * QA Notice: Symbolic link /opt/icedtea-bin-6.1.13.3/jre/bin/itweb-settings points to /usr/lib64/icedtea6-web/bin/itweb-settings which does not exist.
 * QA Notice: Symbolic link /opt/icedtea-bin-6.1.13.3/jre/bin/javaws points to /usr/lib64/icedtea6-web/bin/javaws which does not exist.

Also:

/var/tmp/portage/dev-java/icedtea-bin-6.1.13.3-r3/temp/environment: line 2119: version_is_at_least: command not found

Apparently inherit versionator is missing.
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2014-07-06 15:37:36 UTC
Added the missing 'inherit versionator' to icedtea-bin-6.1.13.3-r3.

As for the symlinks, they need to be created from the icedtea package so all variants are able to use the same plugin and webstart installation. If we can't create those symlinks as we do there'd be a dep cycle between icedtea-{,-bin} and icedtea-web.

Doesn't look like there is an appropriate QA varaible to supress this warning.

@QA: Please get an appropriate QA variable implemented or close this bug as cantfix.
Comment 3 jospezial 2016-01-08 16:47:10 UTC
>>> Messages generated by process 1894 on 2016-01-07 22:06:22 CET for package dev-java/icedtea-7.2.6.3-r4:

QA: preinst
QA Notice: Symbolic link /usr/lib64/icedtea7/bin/itweb-settings points to /usr/libexec/icedtea-web/itweb-settings which does not exist.
QA Notice: Symbolic link /usr/lib64/icedtea7/jre/bin/itweb-settings points to /usr/libexec/icedtea-web/itweb-settings which does not ex
ist.
QA: other
QA Notice: Package triggers severe warnings which indicate that it
           may exhibit random runtime failures.
../../../src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c:553:19: warning: the comparison will always evaluate as 'false' for the address of 'futimesat' will never be NULL [-Waddress]
Please do not file a Gentoo bug and instead report the above QA
issues directly to the upstream developers of this software.
Homepage: http://icedtea.classpath.org
Comment 4 James Le Cuirot gentoo-dev 2016-01-08 16:49:59 UTC
Don't worry, those symlinks will be killed off when icedtea-web-1.5.1-r1 is removed from the tree. I'm afraid we can't do that quite yet though.
Comment 5 tbartdev 2016-03-22 23:33:02 UTC
Not sure whether this is related, but it seems to be (if not please tell me and I'll open a separate ticket for it):

dev-java/icedtea-bin-7.2.6.4 and
dev-java/icedtea-web-1.5.1-r1

together do not produce a working javaws.

icedtea-bin uses a wrong symlink (very similar to the one that's also described in the first post):

tbart@blackknight ~ $ javaws
/usr/lib/jvm//icedtea-bin-7/bin/javaws: line 98: /usr/lib64/icedtea7/jre/bin/java: No such file or directory
tbart@blackknight ~ $ eselect java-nsplugin list
Available 32-bit Java browser plugins
Available 64-bit Java browser plugins
  [1]   icedtea-web@icedtea-bin-7  current
tbart@blackknight ~ $ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-7  system-vm

tbart@blackknight ~ $ ll /usr/lib/jvm
total 140K
4,0K drwxr-xr-x   2 root root 4,0K Mär 20 13:20 .
136K drwxr-xr-x 164 root root 132K Mär 22 14:57 ..
   0 lrwxrwxrwx   1 root root   24 Mär 20 12:30 icedtea-bin-7 -> /opt/icedtea-bin-7.2.6.4
tbart@blackknight ~ $ grep JAVA /usr/lib/jvm/icedtea-bin-7/bin/javaws 
JAVA=/usr/lib64/icedtea7/jre/bin/java

I think something like
/etc/java-config-2/current-system-vm/jre/bin/java
would be a more flexible/correct approach for this variable, but I might be wrong. Adding this however makes it work for me.
Comment 6 James Le Cuirot gentoo-dev 2016-03-22 23:53:59 UTC
(In reply to tbartdev from comment #5)
> dev-java/icedtea-bin-7.2.6.4 and
> dev-java/icedtea-web-1.5.1-r1
> 
> together do not produce a working javaws.
> 
> icedtea-bin uses a wrong symlink (very similar to the one that's also
> described in the first post):

It's hard to say for sure but this sounds more like bug #538144. It looks like you switched from icedtea to icedtea-bin and icedtea-web is still hardcoded to the former. Remerge icedtea-web and you'll probably find it works. This is fixed in icedtea-web-1.6.1 but you shouldn't attempt to use this on a stable system. The things blocking us from removing icedtea-web-1.5.1 have almost gone now so this should all get flushed through soon.
Comment 7 James Le Cuirot gentoo-dev 2016-04-24 13:45:56 UTC
*** Bug 581056 has been marked as a duplicate of this bug. ***
Comment 8 Pacho Ramos gentoo-dev 2016-05-23 14:24:27 UTC
*** Bug 583790 has been marked as a duplicate of this bug. ***
Comment 9 James Le Cuirot gentoo-dev 2016-05-23 15:16:15 UTC
To the person who just filed a duplicate and anybody else, this will now get fixed as each JDK/JRE gets bumped. No point revbumping for such a harmless issue.
Comment 10 James Le Cuirot gentoo-dev 2017-05-23 15:03:50 UTC
This should no longer be an issue.