For me only work after I set jdk version to 17
sudo archlinux-java set java-17-openjdk
Git Clone URL: | https://aur.archlinux.org/freenet.git (read-only, click to copy) |
---|---|
Package Base: | freenet |
Description: | A peer-to-peer platform for censorship-resistant communication and publishing |
Upstream URL: | https://freenetproject.org |
Keywords: | anonymous censorship encrypted freenet network |
Licenses: | GPL2 |
Submitter: | Xemertix |
Maintainer: | Thynix (skydrome) |
Last Packager: | skydrome |
Votes: | 180 |
Popularity: | 0.000304 |
First Submitted: | 2009-04-17 16:46 (UTC) |
Last Updated: | 2023-03-05 00:21 (UTC) |
For me only work after I set jdk version to 17
sudo archlinux-java set java-17-openjdk
https://freenetproject.org/freenet-build-1495-new-user-experience-and-performance.html
Changes to the package:
Likely a bad download on your end, I just ran builds on 2 computers and on 2 ci servers that all passed verification.
I get similar gradle dependency verification issues to those reported by @e3a4:
A problem occurred configuring root project 'fred'.
> Dependency verification failed for configuration ':classpath'
3 artifacts failed verification:
- org.eclipse.jgit-parent-6.0.0.202111291000-r.pom (org.eclipse.jgit:org.eclipse.jgit-parent:6.0.0.202111291000-r) from repository Gradle Central Plugin Repository
- oss-parent-5.pom (org.sonatype.oss:oss-parent:5) from repository Gradle Central Plugin Repository
- slf4j-parent-1.7.30.pom (org.slf4j:slf4j-parent:1.7.30) from repository Gradle Central Plugin Repository
This can indicate that a dependency has been compromised. Please carefully verify the signatures and checksums.
The error report file that was generated said:
org.eclipse.jgit:org.eclipse.jgit-parent:6.0.0.202111291000-r
org.eclipse.jgit-parent-6.0.0.202111291000-r.pom
All public keys have been ignored
Expected a sha256 checksum of 2a535810cd8686811a693d1abb8b101911356df46585dc690f44cd346c77bf05 but was 92a1ccb05b4b51d657e56133958a07efc60bc991022142365bf23afe770216bc
org.sonatype.oss:oss-parent:5
oss-parent-5.pom (.asc)
Artifact was signed with key 2bcbdd0f23ea1cafcc11d4860374cf2e8dd1bdfd but signature didn't match
org.slf4j:slf4j-parent:1.7.30
slf4j-parent-1.7.30.pom (.asc)
Artifact was signed with key 475f3b8e59e6e63aa78067482c7b12f2a511e325 but signature didn't match
I don't know how to verify these dependencies manually. I had no luck trying to edit the verification-metadata.xml file, since it simply got overwritten with the next build attempt. I also don't know where or when to run gradle --write-verification-metadata pgp,sha256 help
, as recommended.
Instead, I worked around it by disabling dependency verification altogether. It's not ideal, of course, but it worked.
In PKGBUILD, change line 68 to: ./gradlew --no-build-cache --no-daemon --dependency-verification=off copyRuntimeLibs
If you use openjdk 11 the service will not start. Disable ShenandoahGC in the wrapper config to fix this.
https://freenetproject.org/freenet-build-1492-released-video-diagnostics-pitch-black-plugins.html
Changes to the package:
1 unit test fails (GzipCompressorTest) with jdk17, if that is of any concern to you, stick with jdk11
Build fails with the following message
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'fred'.
> Dependency verification failed for configuration ':classpath'
2 artifacts failed verification:
- JavaEWAH-1.1.12.jar (com.googlecode.javaewah:JavaEWAH:1.1.12) from repository Gradle Central Plugin Repository
- JavaEWAH-1.1.12.pom (com.googlecode.javaewah:JavaEWAH:1.1.12) from repository Gradle Central Plugin Repository
If the artifacts are trustworthy, you will need to update the gradle/verification-metadata.xml file by following the instructions at https://docs.gradle.org/7.1/userguide/dependency_verification.html#sec:troubleshooting-verification
Open this report for more details: file:///home/me/.cache/yay/freenet/src/fred/build/reports/dependency-verification/at-1632082316444/dependency-verification-report.html
* 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 31s
==> ERROR: A failure occurred in build().
Aborting...
error making: freenet
https://freenetproject.org/freenet-build-1491-released-platform-support.html
Changes to the package:
As for software77.net, FreeNet works with IpToCountry.dat copied from previous versions (to sources) and builds by modifying a PKGBUILD. Or you can use this one https://web.archive.org/web/20200226213039if_/http://software77.net/geo-ip/?DL=4 in PKGBUILD URL.
This file looks like it is a piece of very old crap https://github.com/kaseya/IpToCountry which is not maintained anymore.
curl: (6) Could not resolve host: software77.net
everything else resolves/downloads just fine on this machine software77.net might be down permanently
Pinned Comments
amanvg commented on 2020-10-13 08:32 (UTC)
if you are having issues with the key, run this command:
curl -sS https://freenetproject.org/assets/keyring.gpg | gpg --import -