You are not logged in.
Pages: 1
Topic closed
Hi, I am trying to install i2p from the aur, but Makepkg seems to fail to build the package java-service-wrapper. I don't see why it is not working.
This is what my terminal says:
$ yaourt -S i2p
==> Downloading i2p PKGBUILD from AUR...
x .SRCINFO
x .gitignore
x PKGBUILD
x i2p.install
x i2prouter.service
x i2prouter.sh
x router.config
x wrapper.config
skydrome commented on 2015-11-19 18:10
0.9.23 is signed by a different developer now.
gpg: key A94FB53E: "str4d (http://str4d.i2p) str4d@mail.i2p"
gpg --keyserver pgp.mit.edu --recv-keys 13B5EE58C09FB3E0
denspirit commented on 2015-11-22 15:51
Could you please drop executable permissions on PKGBUILD and other files? They aren't necessary.
CurtisLeeBolin commented on 2015-11-30 12:35
== Validating source files with sha256sums...
i2psource_0.9.23.tar.bz2 ... Passed
i2psource_0.9.23.tar.bz2.sig ... Skipped
i2prouter.service ... FAILED
i2prouter.sh ... Passed
wrapper.config ... Passed
router.config ... Passed
== ERROR: One or more files did not pass the validity check!
== ERROR: Makepkg was unable to build i2p.
archaurwiki commented on 2015-12-04 04:09
Please update the service file as this package is currently broken:
1. Change 'RequiresOverridable' to 'Requires' or else the service wont start. [/etc/systemd/system/i2prouter.service:4] Unit dependency type RequiresOverridable= is obsolete, replacing by Requires=, please update your unit file
2. If the service now requires `tlsdate` and `ntp`, then update the PKGBUILD depends=() to reflect that or else the service won't start.
Thank you.
JohnRobson commented on 2015-12-13 06:56
== Verifying source file signatures with gpg...
i2psource_0.9.23.tar.bz2 ... FAILED (unknown public key 13B5EE58C09FB3E0)
== ERROR: One or more PGP signatures could not be verified!
== ERROR: Makepkg was unable to build i2p.
i2p 0.9.23-1 (2015-12-01 21:52)
( Unsupported package: Potentially dangerous ! )
==> i2p dependencies:
- java-runtime (already installed)
- apache-ant (already installed) [makedepend]
- java-environment (already installed) [makedepend]
- java-service-wrapper (building from AUR)
==> Continue building i2p ? [Y/n]
==> -----------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for i2p:
curl error: Couldn't connect to server
[sudo] password for user:
error: target not found: java-service-wrapper
==> Restart building i2p ? [y/N]The installation doesn't work when I restart. . . How can I install i2p or/and java-service-wrapper?
Last edited by Pantagesgnu (2016-01-09 06:17:45)
Offline
i2prouter.service ... FAILED
Offline
Do you mean the fact that the i2prouter.service failed the sha256sum validation is the source of this problem?
How does one fix that sha256sum error?
Offline
error message wrote:i2prouter.service ... FAILED
Isn't that a from a comment pulled from the AUR?
The way I read that log was that
curl error: Couldn't connect to server
[sudo] password for user:
error: target not found: java-service-wrapperwas the error. On inspection it appears the download link on launchpad differ from the one used in the PKGBUILD.
Offline
Yes, it was just a forum comment. Not being able to connect to the server is the error. My bad. Thanks for pointing that out.
I updated my mirror list, and I still encounter the same error. Is anyone else having this problem, installing i2p from the aur?
Last edited by Pantagesgnu (2016-01-11 02:36:40)
Offline
I updated my mirror list, and I still encounter the same error. Is anyone else having this problem, installing i2p from the aur?
Are you able to install packages using pacman? `java-service-wrapper` is not in the repos, it is another AUR package that you need to build/install separate to i2p
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Yes, I can install packages using pacman.
yaourt -S java-service-wrapper doesn't work.
I still get the same error message. For example, when I run
$ yaourt -S java-service-wrapper … my terminal ends with:
==> Validating source files with sha256sums...
wrapper_3.5.27_src.tar.gz ... Passed
==> Extracting sources...
-> Extracting wrapper_3.5.27_src.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk/lib/tools.jar
Buildfile: /tmp/yaourt-tmp-xor/aur-java-service-wrapper/src/wrapper_3.5.27_src/build.xml
init-setup:
init-windows:
init-unix:
init-bits-warning:
init-bits-mismatch-warning:
init:
init:msg:
[echo] **********************************************************************
[echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.27.
[echo] * The OS Name is "linux", resolved from "Linux".
[echo] * The Architecture is "x86", resolved from "amd64".
[echo] * The distribution name will be: wrapper-linux-x86-64-3.5.27
[echo] **********************************************************************
init:java-missing:
convert:
update-info:
[copy] Copying 1 file to /tmp/yaourt-tmp-xor/aur-java-service-wrapper/src/wrapper_3.5.27_src/src/java/org/tanukisoftware/wrapper
compile-java-warn:
[echo] **********************************************************************
[echo] * WARNING
[echo] * The jar is being built for Java version 1.7. This will not be
[echo] * compatible with older JVMs.
[echo] **********************************************************************
compile-java:core:
[mkdir] Created dir: /tmp/yaourt-tmp-xor/aur-java-service-wrapper/src/wrapper_3.5.27_src/build/classes
[mkdir] Created dir: /tmp/yaourt-tmp-xor/aur-java-service-wrapper/src/wrapper_3.5.27_src/build/testclasses
[mkdir] Created dir: /tmp/yaourt-tmp-xor/aur-java-service-wrapper/src/wrapper_3.5.27_src/lib
BUILD FAILED
/tmp/yaourt-tmp-xor/aur-java-service-wrapper/src/wrapper_3.5.27_src/build.xml:548: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"
Total time: 0 seconds
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build java-service-wrapper.
==> Restart building java-service-wrapper ? [y/N]
==> ---------------------------------------------
==> Last edited by Pantagesgnu (2016-01-15 02:08:47)
Offline
Haven exactly the same issue today and even when I manually add $JAVA_HOME is just dont wants to compile....
Offline
Hello,
I have the same problem.
I'm against internet totalitarians of any kind.
And like cheese's humor.
Offline
Don't necrobump https://wiki.archlinux.org/index.php/Co … bumping.22
Especially with an empty post: https://wiki.archlinux.org/index.php/Co … bumping.22
Closing
Offline
Pages: 1
Topic closed