You are not logged in.

#1 2016-01-09 06:09:51

Pantagesgnu
Member
Registered: 2016-01-09
Posts: 4

Trying to install i2p from aur: unable to build java-service-wrapper

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

#2 2016-01-09 06:17:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Trying to install i2p from aur: unable to build java-service-wrapper

error message wrote:

i2prouter.service ... FAILED


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-01-10 11:55:58

Pantagesgnu
Member
Registered: 2016-01-09
Posts: 4

Re: Trying to install i2p from aur: unable to build java-service-wrapper

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

#4 2016-01-10 16:56:58

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: Trying to install i2p from aur: unable to build java-service-wrapper

jasonwryan wrote:
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-wrapper

was the error. On inspection it appears the download link on launchpad differ from the one used in the PKGBUILD.

Offline

#5 2016-01-11 02:32:49

Pantagesgnu
Member
Registered: 2016-01-09
Posts: 4

Re: Trying to install i2p from aur: unable to build java-service-wrapper

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

#6 2016-01-11 03:32:44

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: Trying to install i2p from aur: unable to build java-service-wrapper

Pantagesgnu wrote:

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

Offline

#7 2016-01-13 05:22:22

Pantagesgnu
Member
Registered: 2016-01-09
Posts: 4

Re: Trying to install i2p from aur: unable to build java-service-wrapper

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

#8 2016-01-21 21:59:51

rek2
Member
Registered: 2015-02-12
Posts: 44

Re: Trying to install i2p from aur: unable to build java-service-wrapper

Haven exactly the same issue today and even when I manually add $JAVA_HOME is just dont wants to compile....

Offline

#9 2018-10-20 19:30:16

reflets de vert
Member
Registered: 2010-03-20
Posts: 71
Website

Re: Trying to install i2p from aur: unable to build java-service-wrapper

Hello,

I have the same problem.


I'm against internet totalitarians of any kind.
And like cheese's humor.

Offline

#10 2018-10-20 19:49:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Trying to install i2p from aur: unable to build java-service-wrapper


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB