Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622502 - sci-geosciences/josm-99999 (rev 12426): error: package com.sun.javafx.application does not exist
Summary: sci-geosciences/josm-99999 (rev 12426): error: package com.sun.javafx.applica...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-06-23 08:19 UTC by Jean-Claude Repetto
Modified: 2022-05-10 19:48 UTC (History)
3 users (show)

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


Attachments
Patch for josm-99999.ebuild (josm-99999-noJavaFX.patch,312 bytes, patch)
2017-12-27 14:07 UTC, Jean-Claude Repetto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Repetto 2017-06-23 08:19:22 UTC
compile:
    [javac] Compiling 377 source files to /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/build
    [javac] Note: /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/oauth/signpost/AbstractOAuthProvider.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 54 source files to /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/build
    [javac] Compiling 1508 source files to /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/build
    [javac] /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:15: error: package com.sun.javafx.application does not exist
    [javac] import com.sun.javafx.application.PlatformImpl;
    [javac]                                  ^
    [javac] /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:17: error: package javafx.scene.media does not exist
    [javac] import javafx.scene.media.Media;
    [javac]                          ^
    [javac] /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:18: error: package javafx.scene.media does not exist
    [javac] import javafx.scene.media.MediaException;
    [javac]                          ^
    [javac] /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:19: error: package javafx.scene.media does not exist
    [javac] import javafx.scene.media.MediaPlayer;
    [javac]                          ^
    [javac] /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:20: error: package javafx.scene.media.MediaPlayer does not exist
    [javac] import javafx.scene.media.MediaPlayer.Status;
    [javac]                                      ^
    [javac] /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:21: error: package javafx.util does not exist
    [javac] import javafx.util.Duration;
    [javac]                   ^
    [javac] /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java:37: error: cannot find symbol
    [javac]     private MediaPlayer mediaPlayer;
    [javac]             ^
    [javac]   symbol:   class MediaPlayer
    [javac]   location: class JavaFxMediaPlayer
    [javac] 7 errors



# emerge --info '=sci-geosciences/josm-99999::gentoo'
Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.9.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_v2_@_3.70GHz-with-gentoo-2.3
KiB Mem:     2048624 total,    222724 free
KiB Swap:     953340 total,    906208 free
Timestamp of repository gentoo: Fri, 23 Jun 2017 07:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
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="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl addns ads aio alsa amd64 berkdb branding bzip2 cairo cli client cracklib crypt cups cxx dri epub exif fam ffmpeg flac fortran gd gdbm geos gif gtk gtk3 iconv iprint javafx jpeg mmx modules mp3 mp4 mpeg mpeg2 mplayer mtp multilib ncurses nls nptl ogg openmp pam pcre pdf png postgis pulseaudio python qt4 readline savedconfig seccomp session sse sse2 ssl svg tcpd tiff udev unicode virtualbox winbind x264 x265 xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jean-Claude Repetto 2017-06-23 08:20:44 UTC
GENTOO_VM=icedtea-bin-8  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.4.0"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac"
Comment 2 Jonas Stein gentoo-dev 2017-06-23 20:05:53 UTC
is dev-java/netbeans-javafx installed on your system?
Comment 3 Jean-Claude Repetto 2017-07-07 08:05:47 UTC
Update: I have found that josm-9999 (rev 12453) compilation works with oracle-jdk-bin-1.8, but fails with icedtea-bin-8.

netbeans-javafx is not installed on my system.
Comment 4 . 2017-10-30 16:23:29 UTC
In my repository I patch the sources in order to remove this dependency altogether, because the only component using javafx is the embedded audio player, which almost nobody uses.
Comment 5 Jean-Claude Repetto 2017-12-27 14:07:47 UTC
Created attachment 511740 [details, diff]
Patch for josm-99999.ebuild

This patch disables JavaFX to allow the JOSM compilation to succeed.
Comment 6 Henning Schild 2021-08-04 17:49:14 UTC
Note that "sci-geosciences/josm-bin" was recently added as a new package. Switching to it might just solve this one for some people, while others might not like -bin. Give it a try and maybe rant on -bin.
Comment 7 Larry the Git Cow gentoo-dev 2021-12-13 16:36:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e482ee2190800320d2c7495c74c5d648e95dcd6c

commit e482ee2190800320d2c7495c74c5d648e95dcd6c
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-12-13 16:32:26 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-12-13 16:32:26 +0000

    sci-geosciences/josm: treeclean
    
    Closes: https://bugs.gentoo.org/819129
    Closes: https://bugs.gentoo.org/669218
    Closes: https://bugs.gentoo.org/717274
    Closes: https://bugs.gentoo.org/622502
    Closes: https://bugs.gentoo.org/810712
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                  |  6 ---
 sci-geosciences/josm/Manifest          |  1 -
 sci-geosciences/josm/josm-10966.ebuild | 68 ----------------------------------
 sci-geosciences/josm/josm-99999.ebuild | 50 -------------------------
 sci-geosciences/josm/metadata.xml      |  8 ----
 5 files changed, 133 deletions(-)