Package Details: i2p 0.9.27-1

Git Clone URL: https://aur.archlinux.org/i2p.git (read-only)
Package Base: i2p
Description: A distributed anonymous network
Upstream URL: https://geti2p.net
Keywords: anonymous censorship encrypted i2p network
Licenses: GPL2
Conflicts: i2p-bin, i2p-dev
Submitter: Mikos
Maintainer: skydrome
Last Packager: skydrome
Votes: 283
Popularity: 4.165315
First Submitted: 2005-09-04 19:46
Last Updated: 2016-11-22 01:56

Pinned Comments

Shorrer commented on 2016-05-03 21:34

For 0.9.25:
gpg --keyserver pgp.mit.edu --recv-keys EE7256A8
That worked for me, at least.

Latest Comments

mashmayhem commented on 2016-11-21 15:40

Regarding "error: unmappable character for encoding ASCII" earlier reported by users jpg and D101101:
solution was:

export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

before yaourt -S i2p

fordprefect commented on 2016-10-22 20:04

@maska: please refer to the wiki page https://wiki.archlinux.org/index.php/I2P

maska commented on 2016-10-22 19:01

Many thanks I was able to install i2p on my parabola gnu linux. I'm new with arch linux and I have a question: How I can start i2p at boot like a service? Thanks for reply

GI_Jack commented on 2016-10-18 21:24

==> Starting package()...
install: cannot stat '/tmp/packerbuild-1000/i2pd/i2pd/src/i2pd-2.10.0/debian/tunnels.conf': No such file or directory

SejmL commented on 2016-10-16 10:50

for 0.9.26-1
==> Verifying source file signatures with gpg...
i2psource_0.9.26.tar.bz2 ... FAILED (unknown public key 85F345DD59683006)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build .

skydrome commented on 2016-08-26 20:50

yep that is better, changed it, thanks

fordprefect commented on 2016-08-26 07:40

sry, but this change is nonsense.
changing permissions in post_install will confuse pacman, please adjust all permissions in PKGBUILD -> package(). the current way will make pacman complain about permissions deviating from the package.

skydrome commented on 2016-08-26 05:21

I chose to keep everything under one directory for simplicity.
i2p does need a shell to run the wrapper

fordprefect commented on 2016-08-24 11:04

how about moving $HOME for the i2p user to /var/i2p instead of /opt/i2p? this would prevent cluttering /opt with userdata.
also, please change the users shell to /bin/false, i2p needs no shell access.

LKHN commented on 2016-07-06 21:56

i2psource_0.9.26.tar.bz2 ... FAILED (unknown public key 85F345DD59683006)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build i2p.
==> Restart building i2p ? [y/N]

skydrome commented on 2016-06-10 09:10

https://wiki.archlinux.org/index.php/java#Change_default_Java_environment

kete commented on 2016-06-10 01:41

BUILD FAILED
/home/kete/tor-browser_en-US/Browser/Downloads/software/i2p/src/i2p-0.9.26/build.xml:380: The following error occurred while executing this line:
/home/kete/tor-browser_en-US/Browser/Downloads/software/i2p/src/i2p-0.9.26/core/java/build.xml:57: 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"

Shorrer commented on 2016-05-03 21:34

For 0.9.25:
gpg --keyserver pgp.mit.edu --recv-keys EE7256A8
That worked for me, at least.

eraxe commented on 2016-04-27 22:28

The new key for 0.9.25 ?

Fanch commented on 2016-04-25 20:41

Hello,

Error on build :
==> Verifying source file signatures with gpg...
i2psource_0.9.25.tar.bz2 ... FAILED (unknown public key 85F345DD59683006)

It look like it is not the same key as in PKGBUILD file :
validpgpkeys=('2D3D2D03910C6504C1210C65EE60C0C8EE7256A8'
'2253E2A1EEB40E2A3D22EB1D0EC51FCDA94FB53E')

kete commented on 2016-04-13 02:03

Ok, I put it in the wiki. https://wiki.archlinux.org/index.php/I2P#Eepsite

skydrome commented on 2016-04-13 00:06

@kete, i2p users home is at /opt/i2p/.i2p

kete commented on 2016-04-09 12:31

How do you make a website? The i2p instructions don't apply, and it doesn't make a difference if I change /opt/i2p/eepsite/docroot/index.html

gabeotisbenson commented on 2016-03-03 00:36

For 0.9.24, the key has changed again.

$ gpg --keyserver pgp.mit.edu --recv-keys EE7256A8

wilfred commented on 2016-01-09 16:26

For 0.9.23, the release has been signed by str4d. You can find their key listed here: https://geti2p.net/en/get-involved/develop/release-signing-key

To import it:

$ gpg --keyserver pgp.mit.edu --recv-keys 0EC51FCDA94FB53E

This will solve the 'One or more PGP signatures could not be verified'. Ideally the PKGBUILD should have its validpgpkeys updated.

anastiel commented on 2016-01-06 12:45

If I2P does not start, please try:

/home/anastiel/i2p/runplain.sh

anastiel commented on 2016-01-06 12:44

mkdir $HOME/i2pinstall
cd $HOME/i2pinstall
wget http://download.i2p2.no/releases/0.9.23/i2pinstall_0.9.23.jar
java -jar i2pinstall_0.9.23.jar

remova a pasta i2pinstall e os conteudos
cd $HOME
rm -Rf $HOME/i2pinstall

anastiel commented on 2016-01-06 12:42

error clock solution?

NoSuck commented on 2016-01-02 06:07

The robert package is listed as an optional dependency, yet neither Arch nor the AUR provide it.

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.

Anonymous comment 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.

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.

denspirit commented on 2015-11-22 15:51

Could you please drop executable permissions on PKGBUILD and other files? They aren't necessary.

skydrome commented on 2015-09-29 06:52

re-download the package, whatever you were transferring the file with must have corrupted it. check its md5sum it should return:
873a3eaed1052e895255995971c8603c i2p.install

jedodi commented on 2015-09-27 13:44

When I try to build via "makepkg -is" I get the error message "==> ERROR: install file (i2p.install) does not exist or is not a regular file.". How can I fix this?

skydrome commented on 2015-09-13 19:29

https://geti2p.net/en/blog/post/2015/09/12/0.9.22-Release

prius commented on 2015-07-04 03:33

Run gpg --recv-keys 85F345DD59683006 as your user (i.e. not root and without sudo). This fixed issue for me.

Anonymous comment on 2015-06-03 04:27

https://geti2p.net/en/blog/post/2015/06/02/0.9.20-Release

tancrackers commented on 2015-06-01 23:27

I get this error:
==> Verifying source file signatures with gpg...
i2psource_0.9.19.tar.bz2 ... FAILED (unknown public key 85F345DD59683006)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build i2p.

jpg commented on 2015-05-26 17:15

Hi,

i also had (like D101101) the following problem:
"error: unmappable character for encoding ASCII"

i was able to solve it by doing this before the makepkg
'LANG="en_US.UTF-8"'

Anonymous comment on 2015-04-13 04:26

https://geti2p.net/en/blog/post/2015/04/12/0.9.19-Release

archtux commented on 2015-03-22 13:27

==> Verifying source file signatures with gpg...
i2psource_0.9.18.tar.bz2 ... FAILED (unknown public key 85F345DD59683006)
==> ERROR: One or more PGP signatures could not be verified!

skydrome commented on 2015-02-24 16:47

https://geti2p.net/en/blog/post/2015/02/22/0.9.18-Release

skydrome commented on 2015-02-12 02:15

Great, glad this is getting sorted now, next release in a few weeks

zin commented on 2015-02-09 09:58

The key from https://geti2p.net/en/get-involved/develop/release-signing-key is EE7256A8: "zzz on i2p (key signing) <zzz@mail.i2p>"

You can add it manually from specified keyserver:
gpg --keyserver pool.sks-keyservers.net --recv-keys 0xEE7256A8


You can specify the keyserver in your ~/.gnupg/gpg.conf :
keyserver pool.sks-keyservers.net

gpg --recv-keys 0xEE7256A8 # will work

if you add/uncomment in ~/.gnupg/gpg.conf
keyserver-options auto-key-retrieve

Then gpg will automatically get then makepkg trust the key.

Please check zkai and skydome comments, follow their advice.

zin commented on 2015-02-09 09:52

The key from https://geti2p.net/en/get-involved/develop/release-signing-key is EE7256A8: "zzz on i2p (key signing) <zzz@mail.i2p>"

You can add it manually from specified keyserver:
gpg --keyserver pool.sks-keyservers.net --recv-keys 0xEE7256A8


You could specify the keyserver in your ~/.gnupg/gpg.conf :
keyserver pool.sks-keyservers.net

then gpg --recv-keys 0xEE7256A8 will work

if you add/uncomment in ~/.gnupg/gpg.conf
keyserver-options auto-key-retrieve

And the key is specified in PKGCONFIG (as is for i2p), then gpg will automatically get the key for you, and makepkg will trust it.

Then, you can check zkai and skydome hints, check the wikis and understand why all above does (or doesn't) work.

zin commented on 2015-02-09 09:27

The key from https://geti2p.net/en/get-involved/develop/release-signing-key is EE7256A8: "zzz on i2p (key signing) <zzz@mail.i2p>"; try

gpg --keyserver pool.sks-keyservers.net --recv-keys 0xEE7256A8


zin commented on 2015-02-09 09:09

The key from https://geti2p.net/en/get-involved/develop/release-signing-key is EE7256A8: "zzz on i2p (key signing) <zzz@mail.i2p>"

If you're have problems getting the key, try another keyserver :

gpg --keyserver pgp.mit.edu --recv-keys 0xEE7256A8

socrat commented on 2015-02-09 05:43

skydrome the problem wasnt with that.
looks like the keyserver wasnt supplying the key for some time.
I just check again and I got it with
gpg --recv-keys 0xEE7256A8
while it failed before that.

skydrome commented on 2015-01-31 22:28

http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux also has a bit more information

skydrome commented on 2015-01-31 22:16

Ok this is getting a little "ubuntuish" if you will. I haven't touched my pgp configuration since zzz changed his signing key a very long time ago yet:

==> Verifying source file signatures with gpg...
i2psource_0.9.17.tar.bz2 ... Passed

now will everyone experiencing issues with verifying the source please please please make your way to the arch wiki and read about how to trust a key. Zkai has posted the exact two links for you all multiple times. And dont stop there, keep reading the entire wiki.

socrat commented on 2015-01-31 04:04

@zkai
As I mentioned earlier
I did make public keys and allowed autofetching of keys in addition to adding a keyserver.
I still get
i2psource_0.9.17.tar.bz2 ... FAILED (the public key 2D3D2D03910C6504C1210C65EE60C0C8EE7256A8 is not trusted)

upon trying to add the key manually with gpg --import i2p-sign.key
I get
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

So as SirSloth mentioned we are trying to find a soulution even if temporary and I already know its a bad practice to disable signchecking,this is my first try at i2p and I just wanted to try it.If the building doesnt work lot of people would be discouraged to try it.

If you still think we are doing something wrong please elaborate more than your vague comment which we have read before and tried.Maybe it is missing certain steps,or maybe there is a bug somewhere.

Anonymous comment on 2015-01-31 00:54

With all due respect, Zkai, what you posted is not a fix. I would also like to inform you that using your work-around did not work for me, either. It was one of the first things I did before making my comment since I've had to do this before with other files. It will work if I download the I2P tar myself and verify it, but does not work if I let pacman or yaourt download the package, which is how I want to install and manage the program.

Please note that we are trying to help the maintainer and other users here, not disrespect our fellow Arche users.



zkai commented on 2015-01-30 13:34

To the maintainer: Thank you.

To all the people that have been committing here recently:

I am glad you are not the maintainer. I even posted a comment how to install this properly. Yeah, the maintainer probably should put some comments in the pkgbuild file (if that is part of Archlinux's style guide) like something I posted in my previous comment, but the whole point of the sig is that you verify that the source code.

The whole point of why you would use I2P is based on security and has a foundation on these basic checks. How do you know the government, your ISP, or someone else hasn't modified the code? You would not that is the point of the sig files. You should not use I2P, you will just make the community look bad.


Yet again here is the way that you can keep the sig files and build from verified source code.
==============================================================================
If you get a error about unknown public key you will need to either download and manually add the public key manually from a trusted location or follow this tip. Then you will need to sign it to trust it pacman-key --lsign-key <key id> . This is assuming that you have already created local keys. https://wiki.archlinux.org/index.php/GnuPG#Create_key

Tip: To allow makepkg to fetch keys as needed from the keyserver automatically, uncomment the option keyserver-options auto-key-retrieve in the ~/.gnupg/gpg.conf configuration file.

https://wiki.archlinux.org/index.php/makepkg#Signature_checking

zkai commented on 2015-01-30 13:32

I am glad you are not the maintainer. I even posted a comment how to install this properly. Yeah, the maintainer probably should put some comments in the pkgbuild file (if that is part of Archlinux's style guide) like something I posted in my previous comment, but the whole point of the sig is that you verify that the source code.

The whole point of why you would use I2P is based on security and has a foundation on these basic checks. How do you know the government, your ISP, or someone else hasn't modified the code? You would not that is the point of the sig files. You should not use I2P, you will just make the community look bad.


Yet again here is the way that you can keep the sig files and build from verified source code.
==============================================================================
If you get a error about unknown public key you will need to either download and manually add the public key manually from a trusted location or follow this tip. Then you will need to sign it to trust it pacman-key --lsign-key <key id> . This is assuming that you have already created local keys. https://wiki.archlinux.org/index.php/GnuPG#Create_key

Tip: To allow makepkg to fetch keys as needed from the keyserver automatically, uncomment the option keyserver-options auto-key-retrieve in the ~/.gnupg/gpg.conf configuration file.

https://wiki.archlinux.org/index.php/makepkg#Signature_checking

socrat commented on 2015-01-30 12:56

I removed all lines relating to signature checking & downloading of i2psource_0.9.17.tar.bz2.sig and the skip in sh256.
and compiled it successfully .
Those are 3 lines

"${_url}/i2psource_${pkgver}.tar.bz2.sig" from source

"http://echelon.i2p/${pkgver}/i2psource_${pkgver}.tar.bz2.sig" from fetch and

'SKIP' from sha256 sums

socrat commented on 2015-01-30 12:49

I removed all lines relating to signature checking including downloading i2psource_0.9.17.tar.bz2.sig and the skip in sh256.
and compiled it successfully

Anonymous comment on 2015-01-30 06:04

I can confirm what Socrat says. The key referenced by the error seems to be for a 0.7 version of I2P. Maybe the PKGBUILD just needs to be tweaked?

socrat commented on 2015-01-29 03:58

Sorry for flagging this ood.You can unflag it again.
The problem is only with the signing key.
I had to uncomment the option keyserver-options auto-key-retrieve in the ~/.gnupg/gpg.conf
and add a keyserver
for it to run.
However I still have a problem with it since the key couldnt be verified.

I also tried getting the key directly issuing the following command
$ gpg --recv-keys 0xEE7256A8

but im still encountering this error.

gpg: keyserver receive failed: No data

Also tried adding the key directly by gpg --import i2p.key
Where I copied it directly from i2p website and I was encountered with this

gpg: no valid OpenPGP data found.
gpg: Total number processed: 0


I hope you could bypass these in the future

socrat commented on 2015-01-29 03:46

Sorry for flagging this ood.You can unflag it again.
The problem is only with the signing key.
I had to uncomment the option keyserver-options auto-key-retrieve in the ~/.gnupg/gpg.conf
and add a keyserver
for it to run.
However I still have a problem with it since the key couldnt be verified.

I also tried getting the key directly issuing the following command
$ gpg --recv-keys 0xEE7256A8

but im still encountering this error.

gpg: keyserver receive failed: No data

I hope you could bypass these in the future.

muchweb commented on 2015-01-28 16:14

==> Verifying source file signatures with gpg...
i2psource_0.9.17.tar.bz2 ... FAILED (unknown public key 85F345DD59683006)
==> ERROR: One or more PGP signatures could not be verified!

socrat commented on 2015-01-27 05:43

building failed.
invalid pgp signatures.

zkai commented on 2015-01-13 03:31

Change the single quotes to double quotes for 404 download error.

_url='https://launchpad.net/i2p/trunk/${pkgver}/+download'

to

_url="https://launchpad.net/i2p/trunk/${pkgver}/+download"

If you get a error about unknown public key you will need to either download and manually add the public key manually from a trusted location or follow this tip. Then you will need to sign it to trust it pacman-key --lsign-key <key id> . This is assuming that you have already created local keys. https://wiki.archlinux.org/index.php/GnuPG#Create_key

Tip: To allow makepkg to fetch keys as needed from the keyserver automatically, uncomment the option keyserver-options auto-key-retrieve in the ~/.gnupg/gpg.conf configuration file.

https://wiki.archlinux.org/index.php/makepkg#Signature_checking

securitybreach commented on 2015-01-12 03:55

Getting a 404 on the source:

==> Retrieving sources...
-> Downloading i2psource_0.9.17.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading i2psource_0.9.17.tar.bz2

skydrome commented on 2015-01-03 05:39

the wrapper acts on different signals to do different things (wrapper.signal.mode).

HUP = a graceful shutdown
QUIT = thread dump
USR1 = hard restart
TERM = shutdown

i believe its bad practice to tell systemd to execute a shell script instead of letting systemd manage this itself. Dont think its a good idea, and i have been told not to do that by arch devs in the past.


Anonymous comment on 2015-01-02 21:55

skydrome: Hello again. One question: why is the systemd service's 'ExecReload' and 'ExecStop' killing i2p with SIGHUP instead of calling the i2prouter script with 'i2prouter restart' and 'i2prouter graceful', respectively?

skydrome commented on 2014-12-18 02:31

you should really be reviewing PKGBUILDs of packages such as this yourself, never run anything that you dont know whats going on.

vorot93 commented on 2014-12-16 19:05

The package omits locale installation.

JKAbrams commented on 2014-12-02 03:14

Alright, so I found a problem that might be related to packaging:
When I try to start Jetty I get:
java.io.FileNotFoundException: /usr/bin/eepsite/jetty.xml (No such file or directory)

Jetty thinks /usr/bin/ is /opt/i2p/
I tried renaming the symlink /usr/bin/i2prouter and starting from the actual script /opt/i2p/i2prouter but that gave the same results.

Changing (in file clients.config)
clientApp.3.args="eepsite/jetty.xml"
to
clientApp.3.args="/opt/i2p/eepsite/jetty.xml"
and (in file eepsite/jetty.xml)
<Set name="config">./eepsite/etc/realm.properties</Set>
to
<Set name="config">/opt/i2p/eepsite/etc/realm.properties</Set>
and
<Set name="filename">./eepsite/logs/yyyy_mm_dd.request.log</Set>
to
<Set name="filename">/opt/i2p/eepsite/logs/yyyy_mm_dd.request.log</Set>
fixes the problem.

JKAbrams commented on 2014-12-02 00:14

Getting console output was real easy:
i2prouter console

My problems was a lack of the pgrep command (procps-ng package) and the log folder was owned by root. Nothing points to a deficiency in this package, other than perhaps a dependency on procps-ng, however this is in the base package and I don't know if they should be included.

JKAbrams commented on 2014-12-02 00:12

Getting console output was real easy:
i2prouter console

My problems was a lack of the pgrep command (procps-ng package) and the log folder was owned by root. Nothing points to a deficiency in this package.

JKAbrams commented on 2014-12-01 21:37

I just tried and the problem is running as the i2p user and not systemd.

sudo -u i2p /usr/bin/java-service-wrapper /opt/i2p/wrapper.config wrapper.name=i2prouter wrapper.syslog.ident=i2prouter wrapper.daemonize=TRUE
results in the same problem.

The same (100% CPU, router does not work, web interface does work) goes for running:
i2prouter start

JKAbrams commented on 2014-12-01 21:36

I just tried and the problem is running as the i2p user and not systemd.

sudo -u i2p /usr/bin/java-service-wrapper /opt/i2p/wrapper.config wrapper.name=i2prouter wrapper.syslog.ident=i2prouter wrapper.daemonize=TRUE
results in the same problem.

The same goes for running (100% CPU, router does not work, web interface does work):
i2prouter start

JKAbrams commented on 2014-12-01 21:21

skydome: I'm aware it uses some CPU cycles when the router starts but it follows two distinct charts while starting from systemd or directly running
/usr/bin/java-service-wrapper /opt/i2p/wrapper.config wrapper.name=i2prouter wrapper.syslog.ident=i2prouter wrapper.daemonize=TRUE
as root.
From systemd: it goes to 100% and stays at 100% CPU indefinitely
As root: goes to 100% then fluctuates somewhat before settling at only a few %

Besides, starting from systemd plainly doesn't work.
I upgraded and it is the same. Also tried reinstalling (removing config files) and no go.
I guess our systems are different in some way (my guess permission on some file), but as I said it does not write any log files so I'm blind.

If anyone has any idea what I could try I'm all ears. Perhaps there is a way to get console output? (I'm new to i2p and don't yet understand how java-service-wrapper works.)

Almin commented on 2014-12-01 08:05

Yeah, skydrome, that's really a weird assumption.
Why would I want to do it the wrong way, if I can easily do it the right way?

D101101 commented on 2014-12-01 06:19

compile:
[mkdir] Created dir: /build/i2p/src/i2p-0.9.17/core/java/build
[mkdir] Created dir: /build/i2p/src/i2p-0.9.17/core/java/build/obj
[javac] Compiling 315 source files to /build/i2p/src/i2p-0.9.17/core/java/build/obj
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:219: error: unmappable character for encoding ASCII
[javac] * <li>Setting ?? = (u * v^3) * (u * v^7)^((q - 5) / 8) one has ??^2 = +-(u / v).
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:219: error: unmappable character for encoding ASCII
[javac] * <li>Setting ?? = (u * v^3) * (u * v^7)^((q - 5) / 8) one has ??^2 = +-(u / v).
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:219: error: unmappable character for encoding ASCII
[javac] * <li>Setting ?? = (u * v^3) * (u * v^7)^((q - 5) / 8) one has ??^2 = +-(u / v).
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:219: error: unmappable character for encoding ASCII
[javac] * <li>Setting ?? = (u * v^3) * (u * v^7)^((q - 5) / 8) one has ??^2 = +-(u / v).
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:220: error: unmappable character for encoding ASCII
[javac] * <li>If v * ?? = -u multiply ?? with i=sqrt(-1).
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:220: error: unmappable character for encoding ASCII
[javac] * <li>If v * ?? = -u multiply ?? with i=sqrt(-1).
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:220: error: unmappable character for encoding ASCII
[javac] * <li>If v * ?? = -u multiply ?? with i=sqrt(-1).
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:220: error: unmappable character for encoding ASCII
[javac] * <li>If v * ?? = -u multiply ?? with i=sqrt(-1).
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:221: error: unmappable character for encoding ASCII
[javac] * <li>Set x := ??.
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:221: error: unmappable character for encoding ASCII
[javac] * <li>Set x := ??.
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:514: error: unmappable character for encoding ASCII
[javac] * B = (X + Y)^2; C = X^2; D = Y^2; E = -C = -X^2; F := E + D = Y^2 - X^2; H = Z^2; J = F ??? 2 * H;
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:514: error: unmappable character for encoding ASCII
[javac] * B = (X + Y)^2; C = X^2; D = Y^2; E = -C = -X^2; F := E + D = Y^2 - X^2; H = Z^2; J = F ??? 2 * H;
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:514: error: unmappable character for encoding ASCII
[javac] * B = (X + Y)^2; C = X^2; D = Y^2; E = -C = -X^2; F := E + D = Y^2 - X^2; H = Z^2; J = F ??? 2 * H;
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII
[javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII
[javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII
[javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII
[javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII
[javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII
[javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII
[javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII
[javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII
[javac] * Y3 = F ?? (E ??? D) = Z' * (-Y');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII
[javac] * Y3 = F ?? (E ??? D) = Z' * (-Y');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII
[javac] * Y3 = F ?? (E ??? D) = Z' * (-Y');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII
[javac] * Y3 = F ?? (E ??? D) = Z' * (-Y');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII
[javac] * Y3 = F ?? (E ??? D) = Z' * (-Y');
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:517: error: unmappable character for encoding ASCII
[javac] * Z3 = F ?? J = Z' * (-T').
[javac] ^
[javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:517: error: unmappable character for encoding ASCII
[javac] * Z3 = F ?? J = Z' * (-T').
[javac] ^
[javac] 28 errors
[javac] 1 warning

BUILD FAILED
/build/i2p/src/i2p-0.9.17/build.xml:354: The following error occurred while executing this line:
/build/i2p/src/i2p-0.9.17/core/java/build.xml:30: Compile failed; see the compiler error output for details.

Total time: 1 second

skydrome commented on 2014-11-30 15:44

launching i2p from systemd works for me also, i just prefer the i2prouter script personally

gim commented on 2014-11-30 07:31

skydrome, that's weird assumption, I use systemd service for this. ArchWiki recommends it too.

skydrome commented on 2014-11-30 04:10

full cpu use is normal when the router is starting up and building its own view of the network, building tunnels, then attempting to route others traffic through you. You can limit the amount of network participation through the config page.

i2p can also be used lightweight ex. just viewing eepsites, no participating (this is not recommended, but instead by tuning your bandwidth settings lower). http://i.imgur.com/fmADstx.png

skydrome commented on 2014-11-29 23:08

i dont think anyone really uses the systemd method of launching the service wrapper.
Just start it with "sudo i2prouter start|stop|restart" and it drops to the i2p user

JKAbrams commented on 2014-11-29 20:16

The web interface works but I get these errors:
* 100% CPU usage
* no logfiles or config files gets written
* the network does not work
* "ERR - Client Manager I2CP Error" in the web interface
When running though systemd as the i2p user. But running as root works.
I believe some permissions are messed up, any idea where I should look?

xelvet commented on 2014-11-06 18:27

==> Verifying source file signatures with gpg...
i2psource_0.9.16.tar.bz2 ... FAILED
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build i2p.

skydrome commented on 2014-09-30 20:44

yea they changed that symlink name a lot of times on me, i think they got it sorted now.

selligendo commented on 2014-09-25 16:35

Can agree with intelfx and TrueBers. Correcting the wrapper.config path manually fixes the problem.

intelfx commented on 2014-09-23 16:47

@archeando: the problem is that upstream (package java-common) changed pathes, so `archlinux-java set` will create "default-runtime" symlink, not "java-default-runtime".

intelfx commented on 2014-09-23 15:04

I confirm there's a problem with wrapper.config.

You need to replace "java-default-runtime" with "default-runtime" in value of wrapper.java.command.

Flagging the package out-of-date for that reason.

archeando commented on 2014-09-21 10:43

Java 8 is necessary for i2p-bote.

archeando commented on 2014-09-21 10:33

@TrueBers install java 8 and type:
sudo archlinux-java unset
sudo archlinux-java status #for options
sudo archlinux-java set <option > #openjava 8, jre 8 or jdk 8

TrueBers commented on 2014-09-15 21:23

Doesn't work.

Seems some problem in java path. It says:

Advice:
Usually when the Wrapper fails to start the JVM process, it is because
of a problem with the value of the configured Java command. Currently:
wrapper.java.command=/usr/lib/jvm/java-default-runtime/bin/java
Please make sure that the PATH or any other referenced environment
variables are correctly defined for the current environment.

But there is no such path in JRE7. Correct path is /usr/lib/jvm/default-runtime/bin/java

a5702532 commented on 2014-09-07 11:32

Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/lib/jvm/default/bin/java

Almin commented on 2014-08-21 17:51

Thank you very much, gim! I should have known that!

gim commented on 2014-08-21 16:55

@Almin, no, it's just you don't have their public PGP key in your keyring.
To add it, do:
$ gpg --recv-keys EE7256A8

Almin commented on 2014-08-21 16:03

signature checking with gpg gives:

i2psource_0.9.14.1.tar.bz2 ... FEHLGESCHLAGEN (unbekannter öffentlicher Schlüssel 85F345DD59683006)

which translates to ... FAILED (unknown public key 85...)

Did I do something wrong?

skydrome commented on 2014-08-19 22:32

glad its working for you again, in the future please provide enough information to help us help you better.

Anonymous comment on 2014-08-19 02:07

skydrome: listen, asshole, the failure is your botched java-service-wrapper packaging (which you still haven't fixed) and your laziness to not even look into the new jre version handling provided by jre7-openjdk* and *NOT* the fact that I've been using Arch for years and know wtf I'm doing.

starry: thank you for doing what the maintainer should be doing. obviously doing that by hand is a crude solution to the problem and if the maintainer had the slightest idea what he was doing, he would make the appropriate changes (ln -s) or consider reporting the issue upstream.

skydrome commented on 2014-08-19 01:37

indeed, your issue janitor is the failure to read post install messages when updating your system

starry commented on 2014-08-19 01:13

If you get the error about a "/etc/profile.d/jdk.sh" file missing:
To build I2P, go to your /etc/profile.d/ folder and
# cp jre.sh jdk.sh

It should now build.

Anonymous comment on 2014-08-18 14:18

Can you please resolve these issues before unflagging as out of date or at least give us feedback as to the status/reason for these issues? Thank you.

Anonymous comment on 2014-08-17 21:40

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 may have broken i2p (see also: java-service-wrapper).

$ sudo systemctl start i2prouter
Unit i2prouter.service entered failed state, etc.

$ yaourt -Rsc i2p ; yaourt -S i2p
...
==> Verifying source file signatures with gpg...
i2psource_0.9.14.1.tar.bz2 ... Passed
==> Extracting sources...
-> Extracting i2psource_0.9.14.1.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
/tmp/yaourt-tmp/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory
==> ERROR: Makepkg was unable to build i2p.

Before I report upstream, could this be a packaging issue?...

Anonymous comment on 2014-08-17 21:38

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 may have broken i2p (see also: java-service-wrapper).

==> Verifying source file signatures with gpg...
i2psource_0.9.14.1.tar.bz2 ... Passed
==> Extracting sources...
-> Extracting i2psource_0.9.14.1.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
/tmp/yaourt-tmp/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory
==> ERROR: Makepkg was unable to build i2p.

Before I report upstream, could this be a packaging issue?...

Anonymous comment on 2014-08-17 19:13

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 breaks i2p.

$ sudo systemctl start i2prouter
Failed state... etc.

$ yaourt -Rsc i2p ; yaourt -S i2p
...
==> Starting build()...
/tmp/yaourt-tmp/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory
==> ERROR: Makepkg was unable to build i2p.

Before I report this upstream, I wonder if repackaging will resolve this?...

Anonymous comment on 2014-08-17 19:11

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 breaks i2p.

$ sudo systemctl start i2prouter
Failed state... etc.

$ yaourt -Rsc i2p ; yaourt -S i2p
...
==> Starting build()...
/srv/build/yaourt-tmp-localhost/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory
==> ERROR: Makepkg was unable to build i2p.

Before I report this upstream, I wonder if repackaging will resolve this?...

Anonymous comment on 2014-08-17 19:10

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 breaks i2p.

$ sudo systemctl start i2prouter
Failed state... etc.

$ yaourt -Rsc i2p ; yaourt -S i2p
...
==> Starting build()...
/srv/build/yaourt-tmp-localhost/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory
==> ERROR: Makepkg was unable to build i2p.

Before I report this upstream, I'm wondering if repackaging will resolve this?...

Anonymous comment on 2014-08-17 19:09

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 breaks i2p.

$ sudo systemctl start i2prouter
Failed state... etc.

$ yaourt -Rsc i2p ; yaourt -S i2p
...
==> Starting build()...
/srv/build/yaourt-tmp-localhost/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory
==> ERROR: Makepkg was unable to build i2p.

Before I report this upstream, I'm wondering if a repackage will resolve this?...

skydrome commented on 2014-08-13 01:24

im going start writing a post here with release info every new release.

0.9.14.1
Bug Fixes
- Fix i2psnark add torrent form
- Fix iptunnel custom options form
- Fix update download buttons

Other
- Restore all console features if routerconsole.advanced=true
- Restore plugin install if routerconsole.enablePluginInstall=true
- Restpre client adds/changes if routerconsole.enableClientChange=true
- Plugin signing keys are now whitelisted unless routerconsole.allowUntrustedPlugins=true
- More escaping and cleanups in forms and messages
- Update GeoIP data (new installs and PPA only)

gim commented on 2014-07-28 09:06

i2p 0.9.14: http://pastebin.com/raw.php?i=fKrxYMdc

wilfred commented on 2014-06-07 14:56

You can retrieve the new key with:

$ gpg --recv-keys 0xEE7256A8

Further details at http://zzz.i2p/topics/1627

wilfred commented on 2014-06-07 14:47

The keys used to sign 0.9.13 have changed: https://geti2p.net/en/blog/post/2014/05/22/0.9.13-Release . It's not clear to me where to find a copy of the new key.

$ gpg --recv-keys 0xA76E0BED4

only retrieves the old key.

wilfred commented on 2014-06-07 14:47

The keys used to sign 0.9.13 have changed: https://geti2p.net/en/blog/post/2014/05/22/0.9.13-Release . It's not clear to me where to find a copy of the new key.

$ gpg --recv-keys 0xA76E0BED4

only retrieves the old ke.

skydrome commented on 2014-05-07 19:46

https://geti2p.net/en/get-involved/develop/signed-keys
https://wiki.archlinux.org/index.php/GPG#Import_key

t.ask commented on 2014-05-07 15:20

==> Validating source files with sha256sums...
i2psource_0.9.12.tar.bz2.sig ... Skipped
==> Verifying source file signatures with gpg...
i2psource_0.9.12.tar.bz2 ... FAILED (unknown public key 415576BAA76E0BED)

Please fix it.

mjbecze commented on 2014-04-21 14:13

@MakeShift
Even after adding zzz's key i get.
error: 'i2psource_0.9.12.tar.bz2': invalid or corrupted package (PGP signature)

MakeShift commented on 2014-03-02 09:07

@defendor

You need to add zzz's key: gpg --recv-keys 0xA76E0BED
I don't think his are set to expire anytime soon.
https://geti2p.net/en/get-involved/develop/signed-keys

defendor commented on 2014-01-17 10:37

___
Verifying source file signatures with gpg...
i2psource_0.9.9.tar.bz2 ... FAILED (unknown public key 415576BAA76E0BED)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
___

ypoluektovich commented on 2014-01-01 21:23

@GI_Jack: java-runtime is a virtual dependency. It is provided by packages like jre7-openjdk ('extra' repo) and jre (from AUR). java-service-wrapper can also be found in AUR.

GI_Jack commented on 2014-01-01 19:54

unresolved depenecies

java-runtime and java-service-wrapper, please fix these

GI_Jack commented on 2014-01-01 19:50

makedepends=('apache-ant' 'java-environment')

java-enviroment does not exist

krevedko commented on 2013-11-11 11:18

0.9.8.1 is out.

sysfu commented on 2013-10-27 21:43

Discovered the package creates another hidden subdirectory /opt/i2p/.i2p/ where the active config files are stored. I was going crazy trying to find out why my configuration edits to /opt/i2p/clients.config for example were being ignored. when I edited /opt/i2p/.i2p/clients.config the changes took effect.

Is this behavior by design? I find it confusing as an end user.

test0 commented on 2013-10-07 17:07

Flagged out of date, then read the update only affects windows, ignore

skydrome commented on 2013-10-04 17:16

look at makedepends, its always been there

cros13 commented on 2013-10-04 15:15

/etc/profile.d/jdk.sh: No such file or directory

Why does the new package need jdk? And should it be added to depends?

ypoluektovich commented on 2013-09-15 12:04

Please change the line:
wrapper.java.command=/usr/bin/java
to:
wrapper.java.command=java
in the file:
/opt/i2p/wrapper.config
Because not all of us have /usr/bin/java, sometimes it's /opt/java/bin/java.

skydrome commented on 2013-08-24 16:26

dront78,
http://www.i2p2.de/release-signing-key.html
https://wiki.archlinux.org/index.php/GPG#Import_key

dront78 commented on 2013-08-24 06:47

upgrade error with

==> Verifying source file signatures with gpg...
i2psource_0.9.7.1.tar.bz2 ... FAILED (unknown public key 415576BAA76E0BED)

qs9rx commented on 2013-08-14 18:28

I'd guess it comes from the internet. For more, you will either have to ask your crystal ball or include a little bit more information when you want answers.

I bet that you are just getting I2P nodes hitting you after you shut down because they think you are still running. It's normal and you can ignore it.

This is not meant for general I2P support but for comments that specifically deal with the packaging and related issues. So please go to the I2P forums or similar for further discussion.

coderkun commented on 2013-08-13 20:03

I get strange network traffic even when the daemon is not running. Where does it come from?

daimonion commented on 2013-06-23 14:58

"Failed to issue method call: Unit i2p.service failed to load: No such file or directory. See system logs and 'systemctl status i2p.service' for details."

skydrome commented on 2013-06-16 21:28

This version bump fixes the problems with systemd usage for stopping and restarting. It now sends kill signals to the jvm process i2p is running in, instead of destroying the wrapper process.
Also, make sure to move wrapper.config.pacnew over after updating.

skydrome commented on 2013-06-16 21:27

This version bump fixes the problems with systemd usage for stopping and restarting. It now sends kill signals to the jvm process i2p is running in, instead of destroying the wrapper process.

test0 commented on 2013-06-06 20:03

I'm sorry for my stupidity, skydrome, the problem was that I've forgot to move new wrapper.config.pacnew to wrapper.config file. It works again now.

skydrome commented on 2013-06-04 04:31

works fine here. Make sure your JAVA_HOME is set properly?

test0 commented on 2013-06-04 00:11

Error here after update:
2013/06/04 04:02:51 | Launching a JVM...
2013/06/04 04:02:52 | JVM exited while loading the application.
2013/06/04 04:02:52 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:06 | Launching a JVM...
2013/06/04 04:03:06 | JVM exited while loading the application.
2013/06/04 04:03:06 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:21 | Launching a JVM...
2013/06/04 04:03:21 | JVM exited while loading the application.
2013/06/04 04:03:21 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:36 | Launching a JVM...
2013/06/04 04:03:36 | JVM exited while loading the application.
2013/06/04 04:03:36 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:50 | Launching a JVM...
2013/06/04 04:03:50 | JVM exited while loading the application.
2013/06/04 04:03:50 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:51 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
2013/06/04 04:03:51 | There may be a configuration problem: please check the logs.
2013/06/04 04:03:51 | <-- Wrapper Stopped

I have java-service-wrapper installed. It happens even if starting manually with i2prouter script. Or should I ask this question on java-service-wrapper page instead?

test0 commented on 2013-06-04 00:09

Error here after update:
2013/06/04 04:02:51 | Launching a JVM...
2013/06/04 04:02:52 | JVM exited while loading the application.
2013/06/04 04:02:52 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:06 | Launching a JVM...
2013/06/04 04:03:06 | JVM exited while loading the application.
2013/06/04 04:03:06 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:21 | Launching a JVM...
2013/06/04 04:03:21 | JVM exited while loading the application.
2013/06/04 04:03:21 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:36 | Launching a JVM...
2013/06/04 04:03:36 | JVM exited while loading the application.
2013/06/04 04:03:36 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:50 | Launching a JVM...
2013/06/04 04:03:50 | JVM exited while loading the application.
2013/06/04 04:03:50 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:51 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
2013/06/04 04:03:51 | There may be a configuration problem: please check the logs.
2013/06/04 04:03:51 | <-- Wrapper Stopped

I have java-service-wrapper installed. Even if starting manually with i2prouter script.

test0 commented on 2013-06-04 00:06

Error here after update:
2013/06/04 04:02:51 | Launching a JVM...
2013/06/04 04:02:52 | JVM exited while loading the application.
2013/06/04 04:02:52 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:06 | Launching a JVM...
2013/06/04 04:03:06 | JVM exited while loading the application.
2013/06/04 04:03:06 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:21 | Launching a JVM...
2013/06/04 04:03:21 | JVM exited while loading the application.
2013/06/04 04:03:21 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:36 | Launching a JVM...
2013/06/04 04:03:36 | JVM exited while loading the application.
2013/06/04 04:03:36 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:50 | Launching a JVM...
2013/06/04 04:03:50 | JVM exited while loading the application.
2013/06/04 04:03:50 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
2013/06/04 04:03:51 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
2013/06/04 04:03:51 | There may be a configuration problem: please check the logs.
2013/06/04 04:03:51 | <-- Wrapper Stopped

I have java-service-wrapper installed.

skydrome commented on 2013-06-02 18:19

TrueBers: ive uploaded a hopefully better systemd service file. Systemd still does not do what is set in ExecReload so restarting doesnt work.
My advice would to just use the i2prouter script to control i2p.

skydrome commented on 2013-06-02 17:11

systemd sends a kill -9 to the wrapper which doesnt let the jvm shutdown nicely. Ill look into how to make systemd wait.

TrueBers commented on 2013-05-25 00:43

It doesn't start after `systemctl reboot` with message in /opt/i2p/wrapper.log:

2013/05/25 04:27:01 | WrapperManager: Initializing...
2013/05/25 04:27:02 | Starting I2P 0.9.5-0
2013/05/25 04:27:02 | ERROR: There appears to be another router already running!
2013/05/25 04:27:02 | Please make sure to shut down old instances before starting up
2013/05/25 04:27:02 | a new one. If you are positive that no other instance is running,
2013/05/25 04:27:02 | please delete the file /opt/i2p/.i2p/router.ping
2013/05/25 04:27:04 | <-- Wrapper Stopped

What can one should do to properly stop\start it with systemctl?

Anonymous comment on 2013-04-28 10:20

well, it's not needed for running the router itself but it is required for running it as a systemd service.
so it should at least be an opt-depend.

TrueBers commented on 2013-04-19 04:44

Why 'java-service-wrapper' is in makedeps? It should be in common deps, 'cause it's needed to start ip2router...

dustball commented on 2013-03-09 12:20

apparently now the apache-ant package is required as a building dependency

skydrome commented on 2013-01-26 21:00

fixed, wrapper.jar was forgotten about when I switched from building an install.jar to manually do it

krevedko commented on 2013-01-26 18:35

Looks like, it is a time to add org.tanukisoftware.wrapper.jar into PKGBUILD.

Current i2p build cannot start with error in wrapper.log:
> JVM exited while loading the application.
> Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp

Maybe something like this:
https://aur.archlinux.org/packages/i2/i2p-dev/PKGBUILD
see lines near 'source+=("https://wrapper.tanukisoftware.com/download/${_wrapper_ver}/wrapper_${_wrapper_ver}_src.tar.gz")'

Franek commented on 2013-01-24 22:00

I lost all my i2psnark torrents (and corresponding data), when apparently the directory /opt/i2p/.i2psnark/ was purged during the latest update. This should not happen. I am not sure if this might not be an upstream issue though.

Torsten commented on 2012-12-28 10:07

since upgrading sed to version 4.2.2-1 I get the following error:

$ sudo /opt/i2p/i2prouter start
/opt/i2p/i2prouter: line 247: /usr/bin/sed: Operation not permitted
/opt/i2p/i2prouter: line 249: /usr/bin/sed: Operation not permitted
/opt/i2p/i2prouter: line 247: /usr/bin/sed: Operation not permitted
/opt/i2p/i2prouter: line 249: /usr/bin/sed: Operation not permitted
-bash: : command not found

skydrome commented on 2012-09-22 19:01

your right, I've re-added the rc script. I jumped the gun, sorry for inconvenience.

You can edit the pkgbuild to choose from either their googlecode mirror (default) or launchpad. Im unaware of any other mirrors on the internet atm. And you can set _i2p_fetch=1 if you'd like to download the source from within i2p.

skydrome commented on 2012-09-22 18:59

your right, I've re-added the rc script. I jumped the gun, sorry for inconvenience.

Atterratio commented on 2012-09-22 17:48

Hey! Where did you get the version 0.9.2? On the official website, I only see 0.9.1.
http://www.i2p2.de/index.html

And why is there only support Systemd? I know Arch has officially it is not moved.

skydrome commented on 2012-08-01 16:03

fixed

Torsten commented on 2012-08-01 14:51

building it with the option

"_lang_only_en=1"

does not work:

bundle:
[exec] Generating net.i2p.desktopgui.messages_ar ResourceBundle...
[exec] ERROR - msgfmt failed on locale/messages_ar.po, not updating translations

BUILD FAILED
/tmp/yaourt-tmp-user/aur-i2p/src/i2p-0.9.1/build.xml:136: The following error occurred while executing this line:
/tmp/yaourt-tmp-user/aur-i2p/src/i2p-0.9.1/apps/desktopgui/build.xml:43: exec returned: 1

Total time: 2 minutes 5 seconds
==> ERROR: A failure occurred in build().
Aborting...



skydrome commented on 2012-06-24 21:45

cleaned up pkgbuild but did not increment release number as nothing major changed
diff can be seen here http://pkgbuild.com/git/aur-mirror.git/log/i2p

Anonymous comment on 2012-05-13 06:28

PKGBUILD for i2p 0.9
http://pastebin.com/HrkWpjXL

veox commented on 2012-03-21 00:30

@Raymondcal: 'i2p-bin' installs a precompiled binary package. 'i2p' builds from source.

Raymondcal commented on 2012-03-20 19:32

Hi !
What are the differences between the AUR packages i2p and i2p-bin ?
Thx

giowck commented on 2012-02-28 09:31

add i2prouter to your DAEMONS array to start it at boottime

Necopinus commented on 2011-11-15 05:58

In case anyone else runs into the same problems I did, the i2prouter script doesn't interact well with anything but OpenJDK under Arch Linux. If you're running something else (say, Oracle's JDK), then i2p won't be able to find the java executable when it starts. (The reason for this is that other versions of Java live in /opt and have their executable paths appended to $PATH by /etc/profile, which bash doesn't source when called non-interactively - like i2prouter does.)

So, you'll either need to use OpenJDK with this package, or run the following command as root to force i2prouter to source /etc/profile (and thus set up its $PATH correctly):

sed -i -e 's#^docommand "$@"#. /etc/profile \&\& docommand "$@"#' /opt/bin/i2prouter

Necopinus commented on 2011-11-14 18:34

In case anyone was wondering, the problem seems to be that bash doesn't source /etc/profile when called non-interactively, and the "su -c" invocation that i2p uses creates a non-interactive shell. This presents a simpler solution then I'd previously proposed:

1) Make sure that the i2p user has /bin/sh, and not /bin/false, as its shell.
2) Run the following command as root: sed -i -e 's#^docommand "$@"#. /etc/profile \&\& docommand "$@"#' /opt/bin/i2prouter

I still don't know why this is a problem for me, however, and not other folks.

Necopinus commented on 2011-10-22 16:43

I think so. It's just a stock Java install, and other apps (I ran Freenet for a time) had no problems. Java also appears to be functional for both root and my normal user.

That said, is there a good test that I can run to verify this? I've never run into one...

DaNiMoTh commented on 2011-10-21 18:06

Maybe that isn't i2p related.. are you sure your java packages are ok?

NB - if you reboot, you have the same trouble?

Necopinus commented on 2011-10-21 18:00

@DaNiMoTh: I find that changing /bin/false to /bin/sh in /etc/password doesn't completely resolve the issue - rather than /etc/rc.d/i2prouter failing immediately, it just hangs. Checking the wrapper.log, the problem seems to be that Java's paths aren't set up properly... Thus I still need to source /etc/profile.

veox commented on 2011-10-19 19:49

@DaNiMoTh: great! Here you go.

DaNiMoTh commented on 2011-10-19 09:41

Hi veox, I could maintain it.

blaztinn commented on 2011-10-18 07:53

Could you include systemd support in the package?

Service file (i2prouter.service): http://pastebin.com/SRtkg4K1
Fixed PKGBUILD: http://pastebin.com/KrG7JVNC

veox commented on 2011-10-17 21:56

Would anyone be interested in maintaining this package? I am overworked lately, And cannot respond to bugs promptly.

DaNiMoTh commented on 2011-10-17 07:35

Another fix is to change /bin/false to /bin/sh in /etc/passwd

Necopinus commented on 2011-10-16 22:18

Does anyone else have a problem with 0.8.9 not starting? On my system, after upgrading to 0.8.9 i2prouter always exits with a code of 1 and no output. I think this may be related to i2prouter itself, which is now significantly more complex (1680 lines in 0.8.9 as opposed to 372 lines in the prior release). The offending line appears to be 639; changing this from

su - $RUN_AS_USER -c "\"$REALPATH\" $ADDITIONAL_PARA"

to

su - $RUN_AS_USER -s /bin/sh -c ". /etc/profile ; \"$REALPATH\" $ADDITIONAL_PARA"

allows i2p to start again. Sourcing /etc/profile is necessary for i2psrv to find the java executable; specifying the shell is necessary to run anything at all (since i2p's default shell is /bin/false).

Can anyone confirm this issue and/or the fix?

Zveroy commented on 2011-10-13 00:01

There is new version available. http://mirror.i2p2.de/i2psource_0.8.9.tar.bz2

veox commented on 2011-09-23 14:03

@pvolok and everybody: I'm not exactly sure about the proper procedure. UIDs below 1000 are pretty crowded.

Anonymous comment on 2011-09-22 10:54

Please add to post-install script usermod <1000 for i2p user. This is hide user in Gnome Display Manager.
Sorry for bad English)

veox commented on 2011-08-27 16:02

@thevoidzero: applied, thanks!

veox commented on 2011-08-27 16:02

@thevoidzero: applied, thanks!

Anonymous comment on 2011-08-27 15:17

Hi, I have a small fix for the init script:

--- /etc/rc.d/i2prouter
+++ /etc/rc.d/i2prouter.new
@@ -13,2 +13,3 @@
stat_done
+ add_daemon i2prouter
fi
@@ -22,2 +23,3 @@
stat_done
+ rm_daemon i2prouter
fi

cookiecaper commented on 2011-07-06 23:08

Nevermind, rm -rf /opt/i2p; yaourt -R i2p; aurget -Sy i2p; seems to have fixed it. My /opt/i2p originated with i2p-source and IIRC that was just recently added as a conflict. Perhaps removing i2p-source took out a few extra files. I suggest anyone who still has leftovers from i2p-source completely clean out the i2p directory and rebuild; please, however, be aware that rm -rf /opt/i2p will probably remove i2psnark, etc., settings and torrents if you use them and if you want to preserve these you should take a bit of a lighter touch.

cookiecaper commented on 2011-07-06 23:00

I get a FAIL when I try to start with the rc.d script, and this when I try to start directly (/opt/i2p/i2prouter start):

>Starting I2P Service...**Failed to load the wrapper**

>The most likely reason is that a supported version of the java
>wrapper is not available in the I2P installation package for your
>platform. It may be possible to manually download and install
>a compatible wrapper for your system.
>See http://www.i2p2.de/manualwrapper for hints.

>In the meantime, you may start I2P by running the script
>/opt/i2p/runplain.sh

emhs commented on 2011-07-05 15:08

I think I figured it out. The i2p software has a preference towards internal updates, and if not stopped from doing so, will update itself internally and quietly. And that caused clyde to detect a conflict when trying to install the update that i2p had already installed for itself.

veox commented on 2011-07-05 09:09

@emhs: perhaps this happened because the package was previously known as 'i2p-bin', due to some AUR naming misunderstandings. I have added a few lines to the PKGBUILD, see if it helped.

emhs commented on 2011-07-02 20:10

After clyde uses the standard makepkg method to build the package, when it is installed, the system refuses to proceed, claiming that it conflicts with existing i2p files on the system.

veox commented on 2011-07-02 10:28

@emhs: could you be more specific? I'm not using clyde.

emhs commented on 2011-07-01 23:06

Clyde gives me a conflicting files error when I try to upgrade.

td123 commented on 2011-03-05 20:57

please add java-environment to makedepends.. this is why jdk wasn't getting installed if you used jre.
openjdk includes a runtime and development libs

alphazo commented on 2011-03-04 21:48

[SOLVED] Uninstalled jre/jdk and installed openJDK. Works fine now. Must had something wrong with my jre install.

alphazo commented on 2011-03-04 21:48

[SOLVED] Unsinstalled jre/jdk and installed openJDK. Works fine now. Must had something wrong with my jre install.

veox commented on 2011-03-04 13:34

@joelsc: on logging, there is no reason except It Has Always Been Like That. Runtime logs should be in '/opt/i2p/.i2p/logs'.

veox commented on 2011-03-04 13:32

@joelsc: on logging, there is no reason except It Has Always Been Like That. Runtime logs should be in '/opt/i2p/.i2p/logs'.

joelsc commented on 2011-03-03 22:17

It builds now (there was an openjdk update today, I don't know if it is related).

However the router failed to start because for some reason the i2p user wasn't succesfully created. Also, is there any reason to /dev/null all the errors in /etc/rc.d/i2router? it just makes debugging harder.

alphazo commented on 2011-03-03 13:38

I'm also getting an error with i2p-bin :(

alphazo commented on 2011-03-03 12:58

I have both jre and jdk installed (6u24) :(

BTW I have the same issue when trying to compile freemind-git.

veox commented on 2011-03-03 12:38

@alphazo, @joelsc: perhaps this needs 'jdk' in 'makedepends'. If you are reluctant to install that, try AUR package 'i2p-bin' instead.

veox commented on 2011-03-03 11:34

@joelsc: could you pastebin (or smth) the full build log? You have done pacman -Syu, yes?

Could you also give (from the $srcdir):

md5sum apps/jetty/jetty-5.1.15.tgz

alphazo commented on 2011-03-03 11:32

I'm getting the following error message when building:

Buildfile: /tmp/yaourt-tmp-alpha/aur-i2p/src/i2p-0.8.3/build.xml

BUILD FAILED
XML parser factory has not been configured correctly: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found

Total time: 0 seconds

PS:
Just to make sure I installed
- xalan-java 2.7.1-3
- xerces2-java 2.11.0-1 (it contains usr/share/java/xercesImpl.jar)
but that didn't help!

joelsc commented on 2011-03-02 23:01

Everything seems to be going alright before this error.

veox commented on 2011-03-02 22:36

@joelsc: 'unable to access file: corrupted zip file' - are you sure the jetty is properly downloaded?

joelsc commented on 2011-03-02 22:02

Doesn't build on my machine :-(

[javac] Compiling 65 source files to /dev/shm/yaourt-tmp-joel/aur-i2p/src/i2p-0.8.3/apps/routerconsole/java/build/obj
[javac] /dev/shm/yaourt-tmp-joel/aur-i2p/src/i2p-0.8.3/apps/routerconsole/java/src/net/i2p/router/web/ConfigClientsHandler.java:16: cannot access org.mortbay.jetty.Server
[javac] bad class file: org/mortbay/jetty/Server.class(org/mortbay/jetty:Server.class)
[javac] unable to access file: corrupted zip file
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] import org.mortbay.jetty.Server;
[javac] ^

BUILD FAILED
/dev/shm/yaourt-tmp-joel/aur-i2p/src/i2p-0.8.3/build.xml:104: The following error occurred while executing this line:
/dev/shm/yaourt-tmp-joel/aur-i2p/src/i2p-0.8.3/apps/routerconsole/java/build.xml:48: Compile failed; see the compiler error output for details.


Any ideas?

veox commented on 2011-03-02 15:16

@danimoth: thanks, adopted.

This is now built from source (previously 'i2p-source').

DaNiMoTh commented on 2011-03-02 13:57

I've uploaded i2p-bin. Do what you want with this :)

veox commented on 2011-03-02 13:53

@danimoth: Or, you could upload the -bin package and orphan this. I will then adopt in, move i2p-source to i2p, and request the deletion of i2p-source.

joelsc commented on 2011-03-02 11:44

I think you need to reupload the new package, then ask for the deletion of the old one on the AUR mailing list.

DaNiMoTh commented on 2011-03-02 11:22

I have updated this: Need I to re-upload a new pkg with i2p-bin name? Who could delete this?

cookiecaper commented on 2011-02-13 08:38

Can we get this orphaned and changed to i2p-bin to match convention?

diffycat commented on 2011-01-26 20:06

New version:
http://aur.pastebin.com/JewFM6Pp

Anonymous comment on 2010-12-11 17:36

This is the previous version. Please get the latest from http://www.i2p2.de/download.html and update the package. Thanks.

rZn commented on 2010-11-30 19:47

@iukkoth
It's an bin release..

Anonymous comment on 2010-10-29 14:28

Why is this installed to /opt/?

veox commented on 2010-09-07 22:09

@cchabanois: You should have probably called this 'i2p-bin', since it uses the pre-compiled version.

coolkehon commented on 2010-07-29 20:24

Updated PKGBUILD
* added provides=(i2p i2prouter)
* added install eepget to /usr/bin/eepget
http://paste.pocoo.org/show/243174/

Llama commented on 2010-05-03 16:21

Any kind of manual, or a link thereto, would be welcome :)