OS: Gentoo Linux
$ uname -vripm
6.12.16-gentoo-x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb 27 15:42:41 PST 2025 x86_64 AMD Ryzen 9 5950X 16-Core Processor AuthenticAMD
$ java -version
openjdk version "17.0.13" 2024-10-15
OpenJDK Runtime Environment Temurin-17.0.13+11 (build 17.0.13+11)
OpenJDK 64-Bit Server VM Temurin-17.0.13+11 (build 17.0.13+11, mixed mode, sharing)
Steps to reproduce:
$ cd /tmp
$ git clone git@github.com:xiewuzhiying/Some-Peripherals.git
$ cd Some-Peripherals/
$ bash ./gradlew
(lots of output omitted, relevant output below)
Architect Plugin: 3.4.146
Architectury Loom: 1.3.355
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':common'.
> Failed to get file hash of /AcceleratedRaycasting-0.0.1-dev.jar
The file AcceleratedRaycasting-0.0.1-dev.jar exists:
$ ls -lion /tmp/Some-Peripherals/AcceleratedRaycasting-0.0.1-dev.jar
20801 -rw-r--r-- 1 1000 39873 Mar 4 06:59 /tmp/Some-Peripherals/AcceleratedRaycasting-0.0.1-dev.jar
A clue might be the appearance of an absolute pathname in the error message /AcceleratedRaycasting-0.0.1-dev.jar
$ egrep AcceleratedRaycasting-0.0.1-dev.jar gradle.properties
accelerated_raycasting_path=/AcceleratedRaycasting-0.0.1-dev.jar
Replacing the path with ./AcceleratedRaycasting-0.0.1-dev.jar and the compile succeeds.
I'll post a PR to fix this soon.
OS: Gentoo Linux
Steps to reproduce:
The file
AcceleratedRaycasting-0.0.1-dev.jarexists:A clue might be the appearance of an absolute pathname in the error message
/AcceleratedRaycasting-0.0.1-dev.jarReplacing the path with
./AcceleratedRaycasting-0.0.1-dev.jarand the compile succeeds.I'll post a PR to fix this soon.