Package Details: freerouting 1.9.0-2

Git Clone URL: https://aur.archlinux.org/freerouting.git (read-only, click to copy)
Package Base: freerouting
Description: Advanced PCB autorouter
Upstream URL: https://github.com/freerouting/freerouting
Keywords: autorouting pcb pcb-design routing
Licenses: GPL-3.0-only
Submitter: dviktor
Maintainer: mrrb (Misaka13514)
Last Packager: Misaka13514
Votes: 7
Popularity: 0.59
First Submitted: 2020-04-11 16:14 (UTC)
Last Updated: 2024-01-18 14:29 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Pinned Comments

mrrb commented on 2022-10-23 14:25 (UTC) (edited on 2023-11-01 09:42 (UTC) by mrrb)

NO LONGER NEEDED! Thanks, @Misaka13514 !


Don't forget to set active JDK to version 17 before running makepkg:

$ sudo archlinux-java set java-17-openjdk

Latest Comments

1 2 Next › Last »

mrrb commented on 2022-11-14 22:59 (UTC) (edited on 2022-11-14 22:59 (UTC) by mrrb)

@dreieck

It seems that you need to use java 17 to correctly build the package (maybe you are running java 19?). $ archlinux-java get && sudo archlinux-java set java-17-openjdk

About gradle, freerouting uses a gradle wrapper (gradlew) to reliably build it, thus, the correct version is automatically downloaded.

BTW, I have tested the system gradle version (v7.5.1), and It seems to work, but I think that it is better to use the version the package is designed for.

Regards!

dreieck commented on 2022-11-14 08:38 (UTC)

If the specific https://services.gradle.org/distributions/gradle-7.3-bin.zip is needed (and not thje gradle from Arch Linux can be used via the makedepends array):

Can you then download it via the source-array, please?

If this really is not possible, can you make sure everything needed to build the package is present when build() starts, i.e. use prepare()?

Regards!

dreieck commented on 2022-11-14 08:36 (UTC)

build() fails for me:

==> Starting build()...
Downloading https://services.gradle.org/distributions/gradle-7.3-bin.zip
...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%

Welcome to Gradle 7.3!

Here are the highlights of this release:
[...]

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* Where:
Settings file '/home/felics/.cache/yay/freerouting/src/freerouting-1.6.2/settings.gradle'

* What went wrong:
Could not compile settings file '/home/felics/.cache/yay/freerouting/src/freerouting-1.6.2/settings.gradle'.
> startup failed:
  General error during conversion: Unsupported class file major version 63

  java.lang.IllegalArgumentException: Unsupported class file major version 63
        at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:199)
        at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:180)
        at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:166)
        at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:287)
        at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:81)
[...]
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)
        at java.base/java.lang.Thread.run(Thread.java:1589)

  1 error


* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 1s
==> ERROR: A failure occurred in build().

Regards!

mrrb commented on 2022-10-23 14:25 (UTC) (edited on 2023-11-01 09:42 (UTC) by mrrb)

NO LONGER NEEDED! Thanks, @Misaka13514 !


Don't forget to set active JDK to version 17 before running makepkg:

$ sudo archlinux-java set java-17-openjdk

mrrb commented on 2022-10-23 14:22 (UTC)

Since version 1.6.0, freerouting needs Java >= 17

hatred commented on 2022-06-01 03:31 (UTC)

Is it possible to point JAVA dependency as java-runtime-openjdk>=11 instead of jre11-openjdk>=11? Same for build dependency but for jdk: java-environment-openjdk>=11

I have jre-openjdk/jdk-openjdk installed that exports version 18 that compatible with Freerouting, but system now requires two JAVA packages installed.

CSC commented on 2020-05-11 08:40 (UTC)

Thanks a lot. :-)

dviktor commented on 2020-05-11 08:08 (UTC)

@icewind should be working now

@CSC done

dviktor commented on 2020-05-11 08:07 (UTC)

Don't forget to set active JDK to 11 version before running makepkg:

$ sudo archlinux-java set java-11-openjdk