cant compile jinput reddit / freebsd ---------------------------------------------------------------------- [deleted] · 2022-04-15 19:23 I am trying to compile jinput as its a dependency of lwjgl but it throws an error \[INFO\] JInput - applet .................................... SUCCESS \[ 0.008 s\] \[INFO\] JInput - Uber jar .................................. SUCCESS \[ 0.197 s\] \[INFO\] JInput - examples .................................. FAILURE \[ 0.204 s\] \[INFO\] JInput - tests ..................................... SKIPPED \[INFO\] ------------------------------------------------------------- ----------- \[INFO\] BUILD FAILURE \[INFO\] ------------------------------------------------------------- ----------- \[INFO\] Total time: 1.419 s \[INFO\] Finished at: 2022-04-15T15:19:53-04: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\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[3,28\] cannot find symbol \[ERROR\] symbol: class Component \[ERROR\] location: package net.java.games.input \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[4,28\] cannot find symbol \[ERROR\] symbol: class Controller \[ERROR\] location: package net.java.games.input \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[5,28\] cannot find symbol \[ERROR\] symbol: class ControllerEnvironment \[ERROR\] location: package net.java.games.input \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[6,28\] cannot find symbol \[ERROR\] symbol: class Event \[ERROR\] location: package net.java.games.input \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[7,28\] cannot find symbol \[ERROR\] symbol: class EventQueue \[ERROR\] location: package net.java.games.input \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadFirstMouse.java:\[3,28\] cannot find symbol \[ERROR\] symbol: class Component \[ERROR\] location: package net.java.games.input \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadFirstMouse.java:\[4,28\] cannot find symbol \[ERROR\] symbol: class Controller \[ERROR\] location: package net.java.games.input \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadFirstMouse.java:\[5,28\] cannot find symbol \[ERROR\] symbol: class ControllerEnvironment \[ERROR\] location: package net.java.games.input \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[21,25\] cannot find symbol \[ERROR\] symbol: class Controller \[ERROR\] location: class net.java.games.input.example.ReadAllEvents \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[21,52\] cannot find symbol \[ERROR\] symbol: variable ControllerEnvironment \[ERROR\] location: class net.java.games.input.example.ReadAllEvents \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[33,33\] cannot find symbol \[ERROR\] symbol: class EventQueue \[ERROR\] location: class net.java.games.input.example.ReadAllEvents \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[36,33\] cannot find symbol \[ERROR\] symbol: class Event \[ERROR\] location: class net.java.games.input.example.ReadAllEvents \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[36,51\] cannot find symbol \[ERROR\] symbol: class Event \[ERROR\] location: class net.java.games.input.example.ReadAllEvents \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadAllEvents.java:\[55,41\] cannot find symbol \[ERROR\] symbol: class Component \[ERROR\] location: class net.java.games.input.example.ReadAllEvents \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadFirstMouse.java:\[19,17\] cannot find symbol \[ERROR\] symbol: class Controller \[ERROR\] location: class net.java.games.input.example.ReadFirstMouse \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadFirstMouse.java:\[19,44\] cannot find symbol \[ERROR\] symbol: variable ControllerEnvironment \[ERROR\] location: class net.java.games.input.example.ReadFirstMouse \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadFirstMouse.java:\[26,17\] cannot find symbol \[ERROR\] symbol: class Controller \[ERROR\] location: class net.java.games.input.example.ReadFirstMouse \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadFirstMouse.java:\[28,67\] package Controller does not exist \[ERROR\] /usr/ports/games/jinput/work/jinput-bf22dd975bbba31f01895332 255b63df376894e6/examples/src/main/java/net/java/games/input/example/R eadFirstMouse.java:\[46,25\] cannot find symbol \[ERROR\] symbol: class Component \[ERROR\] location: class net.java.games.input.example.ReadFirstMouse \[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](http://cwiki.apache.org/confluence/display/MAVE N/MojoFailureException) \[ERROR\] \[ERROR\] After correcting the problems, you can resume the build with the command \[ERROR\] mvn -rf :examples \*\*\* Error code 1 ​ i dont know how to fix it and i cant find anything online, help would be appreciated. I am on FreeBSD 13.1-RC2 amd64. I am only using the release candidate version because my wifi card isn't supported on 13.0 release. (iwlwifi) ---------------------------------------------------------------------- rykolepl · 2022-04-15 22:39 It fails while building examples, so I'd try to build it without examples ---------------------------------------------------------------------- [deleted] · 2022-04-15 22:56 How would I do that? I'm quite new to freebsd and ports so sorry if this is a dumb question ---------------------------------------------------------------------- scratchifoo · 2022-04-15 23:11 In the port directory run `make config` and deselect examples from there if its listed. save and run make install again. Hope this helps ---------------------------------------------------------------------- grahamperrin · 2022-04-15 23:30 > make config There are no options to configure; ---------------------------------------------------------------------- grahamperrin · 2022-04-15 23:35 No package for `FreeBSD:13:amd64` at The most recent build failure: The maintainer is aware of faiures: ---------------------------------------------------------------------- scratchifoo · 2022-04-16 01:40 then i'm not sure what to suggest...i've never played with lwjgl ---------------------------------------------------------------------- FranzGames · 2022-04-17 03:51 I would try to compile it outside of the ports environment. I.e. install the jdk and maven and then clone the repo for the project and see if you can build it that way in FreeBSD. Definitely it is acting strange. Because it looks like it compiled the core api but then the jar file is not being used to compile the examples. Weird.