Package Details: sheepit-client-git v7.23039.0r731.3f54c82-1

Git Clone URL: https://aur.archlinux.org/sheepit-client-git.git (read-only, click to copy)
Package Base: sheepit-client-git
Description: Client for the free and distributed render farm
Upstream URL: https://www.sheepit-renderfarm.com/
Licenses: GPL
Conflicts: sheepit-client
Provides: sheepit-client
Submitter: GeoffreyFrogeye
Maintainer: GeoffreyFrogeye (jturnerusa)
Last Packager: GeoffreyFrogeye
Votes: 7
Popularity: 0.000000
First Submitted: 2016-05-29 17:27 (UTC)
Last Updated: 2023-03-18 17:35 (UTC)

Dependencies (11)

Required by (0)

Sources (7)

Latest Comments

GeoffreyFrogeye commented on 2023-03-18 17:41 (UTC)

gradle7 was put on the AUR a few days ago, but this did not fix the issue. This pushed me to look a bit deeper, and found a setting to remove from build.gradle which allows to build on (AFAICS) any recent enough gradle / java version. I suppose applying a patch here is not be the best way to fix it (hence this explicative comment, if someone has a better idea I'll take it), but this package should build again!

GeoffreyFrogeye commented on 2023-02-13 22:48 (UTC)

@wyrmku I'm not sure about your exact issue (JDK not installed for the used JRE version? this is something I could make the PKGBUILD more clever about).

However, I get the same issue after upgrading to gradle 8, released a few hours ago. It doesn't seem the project is compatible with it (or the option to use javac doesn't work under Arch). I have a workaround but it's too dirty even for AUR IMHO:

--- PKGBUILD
+++ PKGBUILD
@@ -8,8 +8,8 @@
 arch=('i686' 'x86_64')
 url="https://www.sheepit-renderfarm.com/"
 license=('GPL')
-depends=('java-runtime' 'freetype2' 'glew' 'libxrender' 'libxfixes' 'libxi' 'libxxf86vm')
-makedepends=('git' 'gradle')
+depends=('java-runtime=11' 'freetype2' 'glew' 'libxrender' 'libxfixes' 'libxi' 'libxxf86vm')
+makedepends=('git' 'java-environment=11' 'gradle')
 optdepends=('cuda: CUDA GPU rendering (not in service mode)' 'blender: Create 3D scenes to render')
 provides=("${pkgname%-git}")
 conflicts=("${pkgname%-git}")
@@ -35,7 +35,7 @@

 build() {
         cd "${srcdir}/${pkgname%-git}"
-        gradle shadowJar
+        ./gradlew shadowJar
 }

 package() {

If a gradle7 package shows up on AUR I'll make use of it and update the package.

wyrmku commented on 2023-01-30 12:13 (UTC)

I'm getting the following build error: ==> Starting build()...

Task :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':compileJava'.

    Error while evaluating property 'javaVersion' of task ':compileJava'. The configured executable does not exist (/var/myimps/buildenvs/paru/sheepit-client-git/src/sheepit-client/javac)

  • 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 2s 1 actionable task: 1 executed ==> ERROR: A failure occurred in build(). Aborting...

jturnerusa commented on 2021-12-09 19:16 (UTC)

@zjeffer

Thanks for notifying me of the issue. I should be able to fix it by the end of the day or tomorrow at the latest.

zjeffer commented on 2021-12-05 18:12 (UTC) (edited on 2021-12-05 18:17 (UTC) by zjeffer)

I'm getting the following build error:

==> Starting build()...
Picked up _JAVA_OPTIONS: -Djava.util.prefs.userRoot=/home/zjeffer/.config/java

> Task :compileJava
Picked up _JAVA_OPTIONS: -Djava.util.prefs.userRoot=/home/zjeffer/.config/java
warning: [options] system modules path not set in conjunction with -source 11
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning

BUILD SUCCESSFUL in 5s
3 actionable tasks: 3 executed
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'sheepit-client/build/libs/sheepit-client.jar': No such file or directory

It seems that the package() function is trying to use sheepit-client.jar but the actual file is called sheepit-client-all.jar for some reason.

EDIT: I managed to install it manually by changing the following line in the package() function:

install -Dm644 "${pkgname%-git}/build/libs/${pkgname%-git}.jar" "${pkgdir}/usr/share/java/${pkgname%-git}/${pkgname%-git}.jar" to: install -Dm644 "${pkgname%-git}/build/libs/${pkgname%-git}-all.jar" "${pkgdir}/usr/share/java/${pkgname%-git}/${pkgname%-git}.jar"

GeoffreyFrogeye commented on 2020-01-02 10:42 (UTC)

That's weird, I made sure to use the template for -git PKGBUILDs to prevent this kind of issue. Anyway it's fixed for now, thanks for reporting!

re-l commented on 2020-01-02 10:21 (UTC)

Hey, thanks for the package, but just wanted to let you know that it fails to install with an error: "pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace. ==> ERROR: pkgver() generated an invalid version: 5.1678.3038-1-g2a8f324r381.2a8f324". I adjusted the pkgver() and now it works.