Tried with OpenJDK 8 and 11. Part of log: [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[3,28] cannot find symbol symbol: class Component location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[4,28] cannot find symbol symbol: class Controller location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[5,28] cannot find symbol symbol: class ControllerEnvironment location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[3,28] cannot find symbol symbol: class Component location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[4,28] cannot find symbol symbol: class Controller location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[5,28] cannot find symbol symbol: class ControllerEnvironment location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[6,28] cannot find symbol symbol: class Event location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[7,28] cannot find symbol symbol: class EventQueue location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[19,17] cannot find symbol symbol: class Controller location: class net.java.games.input.example.ReadFirstMouse [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[19,44] cannot find symbol symbol: variable ControllerEnvironment location: class net.java.games.input.example.ReadFirstMouse [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[26,17] cannot find symbol symbol: class Controller location: class net.java.games.input.example.ReadFirstMouse [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[28,67] package Controller does not exist [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[46,25] cannot find symbol symbol: class Component location: class net.java.games.input.example.ReadFirstMouse [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[21,25] cannot find symbol symbol: class Controller location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[21,52] cannot find symbol symbol: variable ControllerEnvironment location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[33,33] cannot find symbol symbol: class EventQueue location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[36,33] cannot find symbol symbol: class Event location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[36,51] cannot find symbol symbol: class Event location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[55,41] cannot find symbol symbol: class Component location: class net.java.games.input.example.ReadAllEvents [INFO] 19 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for JInput 2.0.10-SNAPSHOT: [INFO] [INFO] JInput ............................................. SUCCESS [ 0.003 s] [INFO] JInput - core API .................................. SUCCESS [ 4.626 s] [INFO] JInput - plugins ................................... SUCCESS [ 0.002 s] [INFO] JInput - AWT Plugin ................................ SUCCESS [ 0.412 s] [INFO] JInput - Linux Plugin .............................. SUCCESS [ 1.101 s] [INFO] JInput - Windows Plugin ............................ SUCCESS [ 0.873 s] [INFO] JInput - OSX Plugin ................................ SUCCESS [ 0.918 s] [INFO] JInput - Wintab Plugin ............................. SUCCESS [ 0.341 s] [INFO] JInput - applet .................................... SUCCESS [ 0.249 s] [INFO] JInput - Uber jar .................................. SUCCESS [ 0.908 s] [INFO] JInput - examples .................................. FAILURE [ 0.143 s] [INFO] JInput - tests ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.137 s [INFO] Finished at: 2022-06-18T18:11:05+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project examples: Compilation failure: Compilation failure: [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[3,28] cannot find symbol [ERROR] symbol: class Component [ERROR] location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[4,28] cannot find symbol [ERROR] symbol: class Controller [ERROR] location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[5,28] cannot find symbol [ERROR] symbol: class ControllerEnvironment [ERROR] location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[3,28] cannot find symbol [ERROR] symbol: class Component [ERROR] location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[4,28] cannot find symbol [ERROR] symbol: class Controller [ERROR] location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[5,28] cannot find symbol [ERROR] symbol: class ControllerEnvironment [ERROR] location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[6,28] cannot find symbol [ERROR] symbol: class Event [ERROR] location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[7,28] cannot find symbol [ERROR] symbol: class EventQueue [ERROR] location: package net.java.games.input [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[19,17] cannot find symbol [ERROR] symbol: class Controller [ERROR] location: class net.java.games.input.example.ReadFirstMouse [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[19,44] cannot find symbol [ERROR] symbol: variable ControllerEnvironment [ERROR] location: class net.java.games.input.example.ReadFirstMouse [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[26,17] cannot find symbol [ERROR] symbol: class Controller [ERROR] location: class net.java.games.input.example.ReadFirstMouse [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[28,67] package Controller does not exist [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadFirstMouse.java:[46,25] cannot find symbol [ERROR] symbol: class Component [ERROR] location: class net.java.games.input.example.ReadFirstMouse [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[21,25] cannot find symbol [ERROR] symbol: class Controller [ERROR] location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[21,52] cannot find symbol [ERROR] symbol: variable ControllerEnvironment [ERROR] location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[33,33] cannot find symbol [ERROR] symbol: class EventQueue [ERROR] location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[36,33] cannot find symbol [ERROR] symbol: class Event [ERROR] location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[36,51] cannot find symbol [ERROR] symbol: class Event [ERROR] location: class net.java.games.input.example.ReadAllEvents [ERROR] /tmp/work/usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332255b63df376894e6/examples/src/main/java/net/java/games/input/example/ReadAllEvents.java:[55,41] cannot find symbol [ERROR] symbol: class Component [ERROR] location: class net.java.games.input.example.ReadAllEvents [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :examples *** Error code 1
Created attachment 235294 [details] Patch to remove examples from the module list to bypass the bug. The following patch solves the compilation issue, although this may just be a hack and there may be something bigger wrong with jinput, however seeing as nobody else has mad any progress this works well enough I believe. I'd also be willing to take over as maintainer, as voidanix@420blaze.it seems inactive.
Committed, Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ee4d8d1d3e9d19b9b99d78dbee3f09ebccf2444 commit 4ee4d8d1d3e9d19b9b99d78dbee3f09ebccf2444 Author: VVD <vvd@unislabs.com> AuthorDate: 2022-07-19 05:51:39 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-07-20 12:05:55 +0000 games/jinput: Fix build Fix build by removing examples from the module list. VDD takes over maintainership. PR: 264752 Reported by: vvd@unislabs.com Approved by: voidanix@420blaze.it (maintainer, timeout > 2 weeks) games/jinput/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
(In reply to Fernando Apesteguía from comment #2) Author of the patch is mia-rain[@]tuta.io, not me.
(In reply to VVD from comment #4) Sorry for that. I sent a follow-up email. Thanks for the heads up.