If you use openjdk 11 the service will not start. Disable ShenandoahGC in the wrapper config to fix this.
Search Criteria
Package Details: freenet 0.7.5.1494-1
Package Actions
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: | 181 |
Popularity: | 0.72 |
First Submitted: | 2009-04-17 16:46 (UTC) |
Last Updated: | 2022-06-25 08:53 (UTC) |
Dependencies (7)
- java-runtime (java-gcj-compat, jre10, jdk6, jdk12-openj9-bin, zulu-12-bin, jre6, jre12, server-jre, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, jre7, jre14, zulu-14-bin, amazon-corretto-15, jdk11-openjdk-dcevm-conflicts-fixed, zulu-embedded-jdk8, sapmachine-jdk-bin, jdk15-adoptopenjdk, amazon-corretto-16, jdk8-graalvm-bin, jdk16-graalvm-bin, jre8-openjdk-shenandoah, zulu-16-bin, jdk11-graalvm-ee-bin, jdk16-adoptopenjdk, jdk11-openj9-bin, zulu-jdk-fx-bin, jdk11-microsoft-openjdk, jdk16-microsoft-openjdk, zulu-embedded-jdk, jre-openj9, jdk11-msopenjdk-bin, jdk18-beta-temurin, zulu-13-bin, jdk8-arm, jre17-jetbrains, jre-jetbrains, amazon-corretto-17, amazon-corretto-18, amazon-corretto-8, amazon-corretto-11, zulu-8-bin, zulu-11-bin, zulu-17-bin, zulu-18-bin, zulu-15-bin, liberica-jdk-11-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, jdk11-graalvm-bin, jdk17-graalvm-bin, jre11-jetbrains-imfix, jdk-arm, jdk-temurin, jdk11-temurin, jdk17-temurin, jre8-adoptopenjdk, java-openjdk-bin, jre8, jdk8, java-openjdk-loom-ea-bin, jdk8-dragonwell-bin, jdk11-dragonwell-bin, jdk17-dragonwell-bin, jdk8-openj9-bin, jdk-openj9-bin, zulu-jre-fx-bin, hmcl-zulu-bin, jdk7-j9-bin, jdk7r1-j9-bin, jdk8-j9-bin, jdk11-j9-bin, jdk-microsoft-openjdk, jdk-jetbrains, jre11-jbr-xdg, jre-jbr-xdg, liberica-jdk-8-full-bin, liberica-jdk-11-full-bin, liberica-jdk-17-full-bin, liberica-jdk-full-bin, liberica-jre-11-full-bin, jre-lts, jre, jre11, jdk18-openj9-bin, jdk-android-studio, jre12-openjdk, jre15-openjdk, jre16-openjdk, jre13-openjdk, jre14-openjdk, zulu-embedded-jdk11, jre-bcl, jdk-bcl, jre-openjdk-xdg, jre17-jetbrains-imfix, liberica-jre-8-full-bin, java-openjdk-ea-bin, jre-openjdk, jre11-openjdk, jre17-openjdk, jre8-openjdk)
- java-service-wrapper
- nss (nss-hg)
- ant (ant-git) (make)
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- java-environment (java-gcj-compat, zulu-10-bin, jdk6, jdk12-openj9-bin, zulu-12-bin, jdk12, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, zulu-14-bin, amazon-corretto-15, jdk11-openjdk-dcevm-conflicts-fixed, zulu-embedded-jdk8, sapmachine-jdk-bin, jdk15-adoptopenjdk, amazon-corretto-16, jdk8-graalvm-bin, jdk16-graalvm-bin, jdk8-openjdk-shenandoah, zulu-16-bin, jdk11-graalvm-ee-bin, jdk16-adoptopenjdk, jdk11-openj9-bin, jdk11-microsoft-openjdk, jdk16-microsoft-openjdk, zulu-embedded-jdk, jdk-openj9, jdk11-msopenjdk-bin, jdk18-beta-temurin, zulu-13-bin, jdk8-arm, jdk17-jetbrains, jre-jetbrains, amazon-corretto-17, amazon-corretto-18, amazon-corretto-8, amazon-corretto-11, zulu-8-bin, zulu-11-bin, zulu-17-bin, zulu-18-bin, zulu-15-bin, liberica-jdk-11-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, jdk11-graalvm-bin, jdk17-graalvm-bin, jdk11-jetbrains-imfix, jdk-arm, jdk-temurin, jdk11-temurin, jdk17-temurin, jdk8-adoptopenjdk, java-openjdk-bin, jdk8, java-openjdk-loom-ea-bin, jdk8-dragonwell-bin, jdk11-dragonwell-bin, jdk17-dragonwell-bin, jdk8-openj9-bin, jdk-openj9-bin, jdk7-j9-bin, jdk7r1-j9-bin, jdk8-j9-bin, jdk11-j9-bin, jdk-microsoft-openjdk, jdk-jetbrains, jdk11-jbr-xdg, jdk-jbr-xdg, liberica-jdk-8-full-bin, liberica-jdk-11-full-bin, liberica-jdk-17-full-bin, liberica-jdk-full-bin, liberica-jre-11-full-bin, jdk-lts, jdk, jdk11, jdk18-openj9-bin, jdk-android-studio, jdk12-openjdk, jdk15-openjdk, jdk16-openjdk, jdk13-openjdk, jdk14-openjdk, zulu-embedded-jdk11, jdk-bcl, jdk-openjdk-xdg, jdk17-jetbrains-imfix, liberica-jre-8-full-bin, java-openjdk-ea-bin, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk8-openjdk) (make)
- zip (zip-natspec) (make)
Required by (0)
Sources (8)
Latest Comments
r381581 commented on 2022-02-06 14:13 (UTC)
skydrome commented on 2022-01-20 22:16 (UTC) (edited on 2022-01-20 22:24 (UTC) by skydrome)
https://freenetproject.org/freenet-build-1492-released-video-diagnostics-pitch-black-plugins.html
Changes to the package:
- Building with jdk17 now works along with WebOfTrust plugin, jdk11 is now the minimum in order to keep the pkgbuild and build script simple
- Be sure to use the updated wrapper.config and java-service-wrapper package
1 unit test fails (GzipCompressorTest) with jdk17, if that is of any concern to you, stick with jdk11
e3a4 commented on 2021-09-19 20:13 (UTC)
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
skydrome commented on 2021-06-15 18:49 (UTC)
https://freenetproject.org/freenet-build-1491-released-platform-support.html
Changes to the package:
- As before, make sure to build with jdk15 or earlier or plugins wont work
dluciv commented on 2021-05-17 16:45 (UTC)
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.
general commented on 2021-04-23 14:22 (UTC)
curl: (6) Could not resolve host: software77.net
everything else resolves/downloads just fine on this machine software77.net might be down permanently
skydrome commented on 2021-04-12 03:04 (UTC) (edited on 2021-04-12 03:05 (UTC) by skydrome)
https://freenetproject.org/freenet-build-1490-released.html
Changes to the package:
- Gradle 7.0
- Even though the ability to build with jdk16 is available, it breaks some plugins and could be other issues with the main router.
skydrome commented on 2020-10-15 06:19 (UTC) (edited on 2021-01-09 09:47 (UTC) by skydrome)
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 -
Refawn commented on 2020-08-22 14:51 (UTC)
Tried building using Pamac in Manjaro and I get this:
Building freenet...
==> Making package: freenet 0.7.5.1486-1 (sáb 22 ago 2020 11:26:22)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating fred git repo...
Fetching origin
-> Updating plugin-KeyUtils git repo...
Fetching origin
-> Updating plugin-UPnP git repo...
Fetching origin
-> Updating plugin-Library git repo...
Fetching origin
-> Updating plugin-WebOfTrust git repo...
Fetching origin
-> Updating seedrefs git repo...
Fetching origin
-> Found IpToCountry.dat
-> Found run.sh
-> Found wrapper.config
-> Found freenet.ini
-> Found freenet.service
-> Found freenet.tmpfiles
-> Found 0001-keyutils-fix-constructor-call.patch
==> Validating source files with sha256sums...
fred ... Skipped
plugin-KeyUtils ... Skipped
plugin-UPnP ... Skipped
plugin-Library ... Skipped
plugin-WebOfTrust ... Skipped
seedrefs ... Skipped
IpToCountry.dat ... Skipped
run.sh ... Passed
wrapper.config ... Passed
freenet.ini ... Passed
freenet.service ... Passed
freenet.tmpfiles ... Passed
0001-keyutils-fix-constructor-call.patch ... Passed
==> Verifying source file signatures with gpg...
fred git repo ... FAILED (unknown public key B41A6047FD6C57F9)
==> ERROR: One or more PGP signatures could not be verified!
Failed to build freenet
I guess I could modify the build files to match the key but I'm not sure.
skydrome commented on 2020-08-11 04:44 (UTC) (edited on 2021-04-12 03:02 (UTC) by skydrome)
artivision commented on 2020-03-13 20:24 (UTC)
Good day, build failed with an exception 13/Mar.
skydrome commented on 2020-02-16 18:10 (UTC)
fixed, sry
AlPiotrowicz commented on 2020-02-16 11:15 (UTC) (edited on 2020-02-16 11:17 (UTC) by AlPiotrowicz)
I get :
[junit] Running plugins.Library.io.FreenetURITest [junit] Testsuite: plugins.Library.io.FreenetURITest [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0,022 sec [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0,022 sec [junit] [junit] Testcase: initializationError took 0,002 sec [junit] Caused an ERROR [junit] org/hamcrest/SelfDescribing [junit] java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing [junit] at java.base/java.lang.ClassLoader.defineClass1(Native Method) [junit] at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) [junit] at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151) [junit] at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:821) [junit] at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:719) [junit] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:642) [junit] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:600) [junit] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) [junit] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) [junit] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [junit] at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) [junit] at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) [junit] Caused by: java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing [junit] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602) [junit] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) [junit] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) [junit]
BUILD FAILED /tmp/makepkg/freenet/src/plugin-Library/build.xml:190: Test plugins.Library.io.FreenetURITest failed
skydrome commented on 2020-02-15 20:21 (UTC) (edited on 2020-02-19 21:17 (UTC) by skydrome)
https://freenetproject.org/freenet-build-1485-released.html
Changes to the package:
- Git verifies the signed tag now, you will have to import the freenet developers key from https://freenetproject.org/assets/keyring.gpg ** or gpg --recv-keys FD6C57F9
- Includes the Library plugin
- /opt/freenet folder permissions updated, youll likely see warnings about it when updating. Systemd will change them on its own. Install the package twice and you shouldnt see the warnings again if it changed them correctly.
- freenet.ini.pacnew can be ignored unless you want a fresh install, only updated for new installations ** New installs will have opennet disabled until you manually enable it
- wrapper.config.pacnew should be updated if youve made local changes to yours
- freenet doesnt overwrite our newest geoip db anymore
skydrome commented on 2019-04-01 04:37 (UTC)
HiJack88 commented on 2019-03-17 19:57 (UTC)
@skydrome: Thanks for fixing it. It works now :) I appreciate your help!
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
jihem commented on 2018-12-28 14:16 (UTC)
klore: I was able to fix this bug by downgrading the package gradle to 4.10.2.
I think the maintainer should replace the dependency gradle with gradle4.
klore commented on 2018-12-24 15:08 (UTC)
hi, i can't compile 2018-12-24
FAILURE: Build failed with an exception.
-
Where: Build file '/tmp/yaourt-tmp-user/aur-freenet/src/fred/build.gradle' line: 16
-
What went wrong: A problem occurred evaluating root project 'fred'.
Failed to apply plugin [id 'witness'] Could not find method leftShift() for arguments [org.whispersystems.witness.WitnessPlugin$_apply_closure4@23766c12] on task ':calculateChecksums' of type org.gradle.api.DefaultTask.
-
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 20s
skydrome commented on 2018-10-11 04:27 (UTC)
I was using a custom version of apache-ant and didnt see they change updated their package. Thanks, its good now.
tydynrain commented on 2018-10-11 03:01 (UTC) (edited on 2018-10-11 03:11 (UTC) by tydynrain)
I just tried to build the latest version (0.7.5.1481-2), and it went successfully until it stopped with this, using my aursync repo:
/home/tydynrain/.cache/aursync/freenet/PKGBUILD: line 79: /etc/profile.d/apache-ant.sh: No such file or directory
skydrome commented on 2018-07-27 20:45 (UTC)
nope cant hurt, in fact i had to do that for the i2p package also. If this happens with other java apps you are probably better off just setting this in your bashrc
alkis05 commented on 2018-07-27 17:51 (UTC) (edited on 2018-07-27 17:58 (UTC) by alkis05)
For those having the same problem as I did, here is a tip: If are having encoding errors while building WebOfTrust plugin like the one bellow
[javac] /tmp/yaourt-tmp-alkis/aur-freenet/src/plugin-WebOfTrust/test/plugins/WebOfTrust/WoTTest.java:1177: error: unmappable character (0xB2) for encoding US-ASCII [javac] final int trustCount = (identityCount*identityCount) / 5; // A complete graph would be identityCount?? trust values. [javac] ^ [javac] 10 errors [javac] 1 warning BUILD FAILED /tmp/yaourt-tmp-alkis/aur-freenet/src/plugin-WebOfTrust/build.xml:225: Compile failed; see the compiler error output for details.
The encoding of your java might be different from the file (as you can see, mine was US-ASCII instead of UTF8) So if you are having this problem, add the following line in the PKGBUILD in the prepare() function: export JAVA_TOOLS_OPTIONS=-Dfile.encoding=UTF8
Now it compiled without errors. Perhaps it is worth looking into adding it to the package, skydrome. I guess it can't hurt anyway.
skydrome commented on 2018-07-21 04:38 (UTC)
thanks for notifying me, fixed
haximilian commented on 2018-07-21 02:07 (UTC) (edited on 2018-07-21 02:12 (UTC) by haximilian)
Hi! Please add "p7zip" as a build dependency. It provides the "7z" command, which is needed to run the PKGBUILD.
skydrome commented on 2018-07-10 19:20 (UTC)
Updated to version 1481 which now uses the gradle buildsystem and simplifies the pkgbuild
KitamuraRin commented on 2018-06-09 02:37 (UTC)
https://github.com/skydrome/db4o-7.4-java/raw/master/db4o-7.4-java.zip https://github.com/skydrome/db4o-7.4-java/raw/master/seednodes.fref These two links are broken, at least from my home connection. Is there any other ways to get these two files?
phaseburn commented on 2018-04-23 00:43 (UTC)
@sipaktli - I had the same error, and switching to openjdk8 via "sudo archlinux-java set java-8-openjdk" worked for me to build the package (make sure that openjdk8 packages are installed, first).
commented on 2018-04-21 05:35 (UTC)
==> Building Contrib Modules... Buildfile: /tmp/makepkg/freenet/src/contrib/freenet-ext/build.xml
init:
build: [copy] Copying 1 file to /tmp/makepkg/freenet/src/contrib/freenet-ext/build/freenet/node [echo] Updated build version to v50 in build/freenet/node/ExtVersion.java [javac] /tmp/makepkg/freenet/src/contrib/freenet-ext/build.xml:77: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 1 source file to /tmp/makepkg/freenet/src/contrib/freenet-ext/build [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.
BUILD FAILED /tmp/makepkg/freenet/src/contrib/freenet-ext/build.xml:77: Compile failed; see the compiler error output for details.
Total time: 0 seconds ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build freenet.
tydynrain commented on 2018-03-02 02:48 (UTC) (edited on 2018-03-02 02:50 (UTC) by tydynrain)
If I enable the systemd service, freenet is very rarely running once my computer is fully booted, though it starts and runs fine if I manually start it. If I add Requires=network-online.target, After=network-online.target, and Restart=on-failure, then it starts successfully at boot, and is still running once my computer is up and running.
This is what I have in my freenet.service file:
[Unit]
Description=An encrypted network without censorship and monitoring.
Requires=network-online.target
After=network-online.target
[Service]
Type=forking
User=freenet
ExecStart=/opt/freenet/run.sh start --quiet
ExecStop=/opt/freenet/run.sh stop --quiet
Restart=on-failure
WorkingDirectory=/opt/freenet
[Install]
WantedBy=multi-user.target
I hope this helps anyone who might be having the same issue.
bm456 commented on 2017-12-22 23:17 (UTC)
hi
i've troubles with freenet (sometimes)
if my internet hangs up (and i need reboot) freenet FAILS and i need restart it via systemctl
kubrick commented on 2017-10-30 10:25 (UTC)
skydrome commented on 2017-05-27 00:05 (UTC)
Daklon commented on 2017-05-07 18:50 (UTC)
skydrome commented on 2017-04-28 19:28 (UTC)
MrTimscampi commented on 2017-04-28 08:29 (UTC)
klore commented on 2017-04-21 12:56 (UTC)
3ED_0 commented on 2017-04-20 12:56 (UTC)
klore commented on 2017-04-12 18:59 (UTC)
skydrome commented on 2017-02-24 16:00 (UTC)
fausterjames commented on 2017-02-21 00:52 (UTC)
skydrome commented on 2016-08-07 04:59 (UTC)
MissingNoIOI commented on 2016-07-09 11:45 (UTC)
whynothugo commented on 2016-05-28 15:44 (UTC)
henkm commented on 2016-05-25 01:47 (UTC)
D101101 commented on 2016-05-04 09:21 (UTC)
Thynix commented on 2016-04-24 15:18 (UTC)
MrTimscampi commented on 2016-04-24 10:35 (UTC)
X-san commented on 2016-03-26 05:33 (UTC)
skydrome commented on 2016-03-26 04:47 (UTC)
X-san commented on 2016-03-25 22:47 (UTC)
Matheus commented on 2016-03-23 18:01 (UTC)
skydrome commented on 2016-02-17 22:28 (UTC)
tuxayo commented on 2016-02-13 17:40 (UTC)
skydrome commented on 2016-02-04 06:49 (UTC)
tuxayo commented on 2016-02-03 15:03 (UTC)
TZ86 commented on 2016-02-03 07:25 (UTC)
TZ86 commented on 2016-02-03 06:38 (UTC)
skydrome commented on 2016-01-08 08:30 (UTC)
tuxayo commented on 2016-01-07 22:35 (UTC) (edited on 2016-01-07 22:35 (UTC) by tuxayo)
felixonmars commented on 2015-09-25 06:37 (UTC)
hexchain commented on 2015-09-25 06:28 (UTC)
skydrome commented on 2015-09-25 04:36 (UTC)
Thynix commented on 2015-09-25 03:05 (UTC)
hexchain commented on 2015-09-25 02:53 (UTC)
skydrome commented on 2015-09-20 01:55 (UTC)
skydrome commented on 2015-08-15 13:17 (UTC)
ptr commented on 2015-08-13 02:26 (UTC)
JohnRobson commented on 2015-08-12 22:11 (UTC)
skydrome commented on 2015-08-12 20:09 (UTC)
skydrome commented on 2015-08-12 15:15 (UTC)
ptr commented on 2015-08-12 15:07 (UTC)
skydrome commented on 2015-08-12 14:54 (UTC)
ptr commented on 2015-08-12 14:39 (UTC)
skydrome commented on 2015-08-12 13:35 (UTC)
ptr commented on 2015-08-12 05:41 (UTC)
ptr commented on 2015-08-12 04:30 (UTC)
Thynix commented on 2015-08-12 00:45 (UTC)
Thynix commented on 2015-07-17 01:32 (UTC)
Thynix commented on 2015-07-10 23:48 (UTC)
Thynix commented on 2015-06-18 03:13 (UTC)
aricart commented on 2015-05-26 03:40 (UTC)
Orpheus commented on 2015-05-06 08:01 (UTC)
esbeye commented on 2015-05-06 04:36 (UTC)
skydrome commented on 2015-05-05 19:55 (UTC)
lava commented on 2015-04-30 15:00 (UTC)
Thynix commented on 2015-03-29 03:34 (UTC)
commented on 2015-03-06 08:40 (UTC)
[deleted]
skydrome commented on 2015-02-17 01:57 (UTC)
skydrome commented on 2015-02-17 01:00 (UTC)
whynothugo commented on 2015-01-11 03:57 (UTC)
skydrome commented on 2014-12-21 03:39 (UTC)
commented on 2014-12-20 06:01 (UTC)
[deleted]
commented on 2014-12-20 05:23 (UTC)
[deleted]
commented on 2014-12-20 05:23 (UTC)
[deleted]
skydrome commented on 2014-12-16 01:16 (UTC)
sknd commented on 2014-12-15 11:12 (UTC)
skydrome commented on 2014-12-15 05:13 (UTC)
sknd commented on 2014-12-14 19:27 (UTC)
skydrome commented on 2014-12-07 17:24 (UTC)
ironborn commented on 2014-12-07 13:27 (UTC)
skydrome commented on 2014-12-07 01:42 (UTC)
Thynix commented on 2014-12-07 00:43 (UTC)
Thynix commented on 2014-12-07 00:39 (UTC)
skydrome commented on 2014-12-07 00:36 (UTC)
commented on 2014-12-06 19:28 (UTC)
[deleted]
skydrome commented on 2014-12-04 14:53 (UTC)
Almin commented on 2014-12-04 09:00 (UTC)
felixonmars commented on 2014-12-04 02:17 (UTC)
skydrome commented on 2014-12-03 22:30 (UTC)
Thynix commented on 2014-12-03 03:50 (UTC)
skydrome commented on 2014-12-02 16:02 (UTC)
skydrome commented on 2014-10-28 00:53 (UTC)
Thynix commented on 2014-10-28 00:02 (UTC)
alexander commented on 2014-10-27 17:49 (UTC)
skydrome commented on 2014-10-27 00:17 (UTC)
commented on 2014-10-18 09:12 (UTC)
[deleted]
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 -