Package Details: hyphanet 0.7.5.1506-2

Git Clone URL: https://aur.archlinux.org/hyphanet.git (read-only, click to copy)
Package Base: hyphanet
Description: A peer-to-peer network for censorship-resistant and privacy-respecting publishing and communication, a.k.a The Original Freenet since 1999. This is NOT Locutus.
Upstream URL: https://www.hyphanet.org/
Licenses: GPL-2.0-or-later
Submitter: jasongodev
Maintainer: jasongodev
Last Packager: jasongodev
Votes: 184
Popularity: 0.44
First Submitted: 2025-11-28 05:29 (UTC)
Last Updated: 2026-03-24 15:08 (UTC)

Dependencies (4)

Required by (1)

Sources (10)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 19 Next › Last »

skydrome commented on 2019-03-12 08:19 (UTC)

fixed it for using git-fetch without a gitconfig

HiJack88 commented on 2019-03-09 04:22 (UTC)

Hi all,

looks like i°m keep getting a new build error:

==> Starting prepare()... remote: Enumerating objects: 7, done. remote: Counting objects: 100% (7/7), done. remote: Compressing objects: 100% (4/4), done. remote: Total 7 (delta 3), reused 7 (delta 3), pack-reused 0 Unpacking objects: 100% (7/7), done. From https://github.com/skydrome/fred * branch gradle-4.10.3 -> FETCH_HEAD

*** Please tell me who you are.

Run

git config --global user.email "you@example.com" git config --global user.name "Your Name"

to set your account's default identity. Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'robin@Hood.(none)') ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build . ==> Restart building freenet ? [y/N] ==> -------------------------------- ==>

Does that mean i need to provide login data in order to download sources?

skydrome commented on 2019-03-06 20:30 (UTC)

fixed building with java10+ until its fixed upstream next release

tleydxdy commented on 2019-03-04 02:31 (UTC)

The version is inconsistent with the PKGBUILD

HiJack88 commented on 2019-03-03 20:11 (UTC)

Hi all,

unfortunatey i keep getting a build error.

snipp:

==> Starting build()... ==> Building Freenet...

FAILURE: Build failed with an exception.

  • What went wrong: Could not determine java version from '11.0.2'.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org ==> ERROR: A failure occurred in build(). Aborting...


I'm using Antergos Linux with KDE Plasma v5 with all lates updates. My computer is a Lenovo ThinkPad T510 with 8 GB RAM and 512 GB SSD by Samsung.

All further dependencies (java-service-wrapper, java-hamcrest, junit) are already installed.

Can you tell me what i'm doing wrong?

Regards

Thynix commented on 2019-01-20 10:18 (UTC) (edited on 2019-01-20 10:23 (UTC) by Thynix)

I've applied your patch, 14mRh4X0r. Thanks!

I was hoping to figure out a way to use the pre-built jar, as it's a reproducible build, but the build also downloads the dependency jars the package uses, so that'd be a bigger task.

I feel I should also mention what security settings are in place for the wrapper. As set by fred/gradle/wrapper/wrapper.properties the distribution is downloaded over HTTPS and distributionSha256Sum is set so if the checksum is wrong it'll fail the build. The official checksum list is https://gradle.org/release-checksums/, and the build uses 4.2.1 as of this writing.

Thynix commented on 2019-01-20 09:54 (UTC)

The reason the build fails with Gradle 5 is that Witness - the Gradle plugin the build uses to verify dependencies after fetching them - uses a deprecated function that was finally removed in Gradle 5.

14mRh4X0r commented on 2019-01-07 15:34 (UTC)

Using the gradle wrapper in the repo makes sure the build always works. However, this does download the specified gradle version from gradle.org.

diff --git a/PKGBUILD b/PKGBUILD
index 27b71ba..ee78f0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ license=('GPL2')
 arch=('i686' 'x86_64')
 install='freenet.install'
 depends=('java-runtime>=8' 'gmp' 'java-service-wrapper')
-makedepends=('java-environment>=8' 'apache-ant' 'gradle' 'git' 'java-hamcrest' 'zip')
+makedepends=('java-environment>=8' 'apache-ant' 'git' 'java-hamcrest' 'zip')
 checkdepends=('junit')
 backup=('opt/freenet/wrapper.config'
         'opt/freenet/conf/freenet.ini')
@@ -70,7 +70,7 @@ build() {
     export GRADLE_OPTS="-Dfile.encoding=UTF-8"

     msg "Building Freenet..."
-    gradle copyRuntimeLibs
+    ./gradlew copyRuntimeLibs

     build_plugins
 }
@@ -97,7 +97,7 @@ check() {

     # these tests use alot of memory and can cause OOM's
     rm -f test/freenet/client/async/{*Storage,ClientRequestSelector}Test.java
-    gradle test
+    ./gradlew test
 }

 package() {

tydynrain commented on 2019-01-01 21:04 (UTC)

I got the same build error as klore when trying to build 1483. jihem's suggestion of downgrading to gradle 4.10.2 fixed the issue for me as well.

klore commented on 2018-12-30 19:18 (UTC)

jihem: Downgrading gradle working, thank you