Bug 986920 - Update JOSM to 6060
Summary: Update JOSM to 6060
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: josm
Version: 19
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Cédric OLIVIER
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-22 12:36 UTC by jibecfed
Modified: 2013-08-04 00:08 UTC (History)
3 users (show)

Fixed In Version: josm-0-0.45.6060svn.fc19
Clone Of:
Environment:
Last Closed: 2013-08-04 00:06:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description jibecfed 2013-07-22 12:36:52 UTC
Description of problem:
Since josm-5939, two new versions of JOSM are available (5990 and 6060), can you please build an update fedora repos ?

The last one :
 - 2013-07-09 (6060)
 - http://josm.openstreetmap.de/changeset/6060/josm

I can test for fedora 19.

Thanks

Comment 1 Fedora Update System 2013-07-23 20:30:58 UTC
josm-0-0.45.6060svn.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/josm-0-0.45.6060svn.fc18

Comment 2 Fedora Update System 2013-07-23 20:32:00 UTC
josm-0-0.45.6060svn.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/josm-0-0.45.6060svn.fc19

Comment 3 Fedora Update System 2013-07-25 00:41:05 UTC
Package josm-0-0.45.6060svn.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing josm-0-0.45.6060svn.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13547/josm-0-0.45.6060svn.fc18
then log in and leave karma (feedback).

Comment 4 jibecfed 2013-07-27 10:48:21 UTC
It doesn't work with fc19 :
Can't find java virtual machine, aborting.

[jb@localhost ~]$ whereis java
java: /usr/bin/java /usr/lib/java /etc/java /usr/share/java /usr/share/man/man1/java.1.gz
[jb@localhost ~]$ alternatives --config java

Il existe 2 programmes qui fournissent « java ».

  Sélection    Commande
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
   2           /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25-2.3.10.10.fc19.x86_64/jre/bin/java

[jb@localhost ~]$ ls -Rlah /usr/share/java-utils/
/usr/share/java-utils/:
total 80K
drwxr-xr-x. 1 root root  234 12 juil. 21:20 .
drwxr-xr-x. 1 root root 5,2K 12 juil. 21:20 ..
-rw-r--r--. 1 root root 1,6K 11 juil. 14:57 abs2rel.lua
-rwxr-xr-x. 1 root root  129 11 juil. 14:57 abs2rel.sh
-rw-r--r--. 1 root root 9,4K 11 juil. 15:00 java-functions
-rw-r--r--. 1 root root 9,4K 11 juil. 15:00 java-functions.orig
-rw-r--r--. 1 root root  12K  5 juin  16:00 maven_depmap.py
-rw-r--r--. 2 root root 8,5K 10 juil. 19:24 maven_depmap.pyc
-rw-r--r--. 2 root root 8,5K 10 juil. 19:24 maven_depmap.pyo
-rw-r--r--. 1 root root 8,7K  5 juin  16:00 pom_editor.sh
drwxr-xr-x. 1 root root   42 12 juil. 21:20 xml

/usr/share/java-utils/xml:
total 16K
drwxr-xr-x. 1 root root  42 12 juil. 21:20 .
drwxr-xr-x. 1 root root 234 12 juil. 21:20 ..
-rw-r--r--. 1 root root 13K 19 sept.  2006 maven2jpp-mapdeps.xsl

Comment 5 Michael S. 2013-07-28 08:01:53 UTC
It run fine here.

Can you try to run :

bash -x /usr/bin/josm

and paste the result, so we know where the detection fail ?

Comment 6 jibecfed 2013-07-28 08:22:06 UTC
The result of bash -x /usr/bin/josm

[jb@localhost ~]$ bash -x /usr/bin/josm 
+ _prefer_jre=1
+ '[' -f /usr/share/java-utils/java-functions ']'
+ . /usr/share/java-utils/java-functions
++ _JAVA_HOME=
++ '[' -f /etc/java/java.conf ']'
++ . /etc/java/java.conf
+++ JAVA_LIBDIR=/usr/share/java
+++ JNI_LIBDIR=/usr/lib/java
+++ JVM_ROOT=/usr/lib/jvm
+++ JAVACMD_OPTS=
++ '[' -f /home/jb/.java/java.conf ']'
++ '[' '!' -z '' -a -d '' ']'
+ MAIN_CLASS=JOSM
+ BASE_JARS='josm metadata-extractor ant signpost-core commons-codec svgsalamander gnu-getopt'
+ set_classpath josm metadata-extractor ant signpost-core commons-codec svgsalamander gnu-getopt
+ _set_java_home
+ '[' -z '' ']'
+ local _java_dirs=java
+ case "$_prefer_jre" in
+ _java_dirs='jre java'
+ for d in '$_java_dirs'
+ '[' -d /usr/lib/jvm/jre ']'
+ for d in '$_java_dirs'
+ '[' -d /usr/lib/jvm/java ']'
+ jars='josm metadata-extractor ant signpost-core commons-codec svgsalamander gnu-getopt'
+ '[' -n '' ']'
++ /usr/bin/build-classpath josm metadata-extractor ant signpost-core commons-codec svgsalamander gnu-getopt
+ LOCAL_CLASSPATH='Can'\''t find java virtual machine, aborting.'
+ CLASSPATH='Can'\''t find java virtual machine, aborting.:'
+ run
+ set_javacmd
+ '[' -x '' ']'
+ set_jvm
+ _set_java_home
+ '[' -z '' ']'
+ local _java_dirs=java
+ case "$_prefer_jre" in
+ _java_dirs='jre java'
+ for d in '$_java_dirs'
+ '[' -d /usr/lib/jvm/jre ']'
+ for d in '$_java_dirs'
+ '[' -d /usr/lib/jvm/java ']'
+ '[' -n '' ']'
+ case "$_prefer_jre" in
+ java=
+ '[' -z '' ']'
++ which java
++ :
+ java=
+ '[' -n '' ']'
+ echo 'Can'\''t find java virtual machine, aborting.'
Can't find java virtual machine, aborting.
+ exit 1

Comment 7 Michael S. 2013-07-28 08:49:44 UTC
Do you have this link :

$ ls -ld /usr/lib/jvm/jre
lrwxrwxrwx. 1 root root 21  5 juil. 11:16 /usr/lib/jvm/jre -> /etc/alternatives/jre

( if not, that's likely linked to https://bugzilla.redhat.com/show_bug.cgi?id=979128 )

Comment 8 jibecfed 2013-07-28 09:37:25 UTC
[jb@localhost ~]$ ls -ld /usr/lib/jvm/jre
lrwxrwxrwx. 1 root root 21 27 juil. 12:23 /usr/lib/jvm/jre -> /etc/alternatives/jre

Text is in red, so I assume it is broken :( Thanks for the information about that new bug.

Comment 9 jibecfed 2013-07-28 13:29:42 UTC
Work fine, I indeed had the bug #979128 that I solved with :
alternatives --config java
alternatives --config javac

Thanks

Comment 10 Fedora Update System 2013-08-04 00:06:22 UTC
josm-0-0.45.6060svn.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-08-04 00:08:18 UTC
josm-0-0.45.6060svn.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.