fn2006 / PollyMC

DRM-free Prism Launcher fork with support for custom auth servers.
GNU General Public License v3.0
875 stars 53 forks source link

Arch Linux PKGBUILD misconfigured dependency #149

Open onurmercury opened 9 months ago

onurmercury commented 9 months ago

Operating System

Linux

Version of PollyMC

Latest stable

Version of Qt

Qt 6.6.2

Description of bug

PollyMC fails to build when it uses JDK 21.

error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
make[2]: *** [libraries/launcher/CMakeFiles/NewLaunch.dir/build.make:94: libraries/launcher/CMakeFiles/NewLaunch.dir/java_compiled_NewLaunch] Error 2
make[1]: *** [CMakeFiles/Makefile2:1460: libraries/launcher/CMakeFiles/NewLaunch.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

PKGBUILD should require (previous stable) JDK17 like upstream instead of the latest one until upstream decides to bump the value of -source flag. link

Steps to reproduce

git clone https://aur.archlinux.org/pollymc.git
cd pollymc
makepkg -s

Suspected cause

No response

This issue is unique