Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1604448

Summary: josm: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: josmAssignee: Jakub Jelen <jjelen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: cedric.olivier, fedora, jjelen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: josm-0-0.89.14066svn.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-12 14:40:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1602938    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Mohan Boddu 2018-07-19 22:45:21 UTC
josm failed to build from source in Fedora rawhide

https://koji.fedoraproject.org/koji/taskinfo?taskID=28192224


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix josm at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
josm will be orphaned. Before branching of Fedora 30,
josm will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Mohan Boddu 2018-07-19 22:45:28 UTC
Created attachment 1463228 [details]
build.log

Comment 2 Mohan Boddu 2018-07-19 22:45:31 UTC
Created attachment 1463229 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Mohan Boddu 2018-07-19 22:45:35 UTC
Created attachment 1463230 [details]
state.log

Comment 4 Christian Stadelmann 2018-08-01 14:18:26 UTC
Having a look at some of the error messages from build.log:

>     [javac] /builddir/build/BUILD/josm-0/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:16: error: package com.sun.javafx.application does not exist
> […]
>     [javac] /builddir/build/BUILD/josm-0/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:18: error: package javafx.scene.media does not exist
> […]
>     [javac] /builddir/build/BUILD/josm-0/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:19: error: package javafx.scene.media does not exist

These packages do exist, javac is just unable to find them.

One possible reason why it fails to find them is that OpenJFX libraries need to be loaded to the currently active Java installation. This is done by the java-1.8.0-openjdk-openjfx package, which is not installed according to the root.log.

Please try again with this package being installed at build time.

I've created a pull request: https://src.fedoraproject.org/rpms/josm/pull-request/2

Comment 5 Jan Kurik 2018-08-14 09:30:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 6 Jakub Jelen 2018-12-12 14:40:38 UTC
Not sure what has changed, but I was able to build josm today in rawhide. I will submit the updates for Fedora 29 soon.

Unfortunately because of broken upstream svn, I was not able to pull the latest version so for now, we will have 14066 and I will keep an eye on the other bug and try to update to more recent version once the svn/git is fixed.

  Fetching external item into 'josm-0/src/org/apache/commons/compress':
  svn: warning: W170013: Unable to connect to a repository at URL 'https://github.com/apache/commons-compress/trunk/src/main/java/org/apache/commons/compress'

Comment 7 Fedora Update System 2018-12-12 15:08:52 UTC
josm-0-0.89.14066svn.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e5aa58b040

Comment 8 Fedora Update System 2018-12-13 03:36:19 UTC
josm-0-0.89.14066svn.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e5aa58b040

Comment 9 Fedora Update System 2018-12-22 03:01:52 UTC
josm-0-0.89.14066svn.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.