Created attachment 414812 [details] i2p-0.9.22_fix-paths.patch.out In install phase, patch "i2p-0.9.22_fix-paths.patch" failed. Relevant file are attached.
Created attachment 414814 [details] build log
Created attachment 414816 [details] output of emerge --info '=net-p2p/i2p-0.9.22'
Indeed. Currently putting together and testing a fix.
>>> Install i2p-0.9.22-r1 into /var/tmp/portage/net-p2p/i2p-0.9.22-r1/image/ category net-p2p * Applying i2p-0.9.22_fix-paths.patch ... [ ok ] >>> Completed installing i2p-0.9.22-r1 into /var/tmp/portage/net-p2p/i2p-0.9.22-r1/image/ ecompressdir: bzip2 -9 /usr/share/doc ecompressdir: bzip2 -9 /usr/share/man commit 9613ea0 (HEAD, master) Author: Patrice Clement <monsieurp@gentoo.org> Date: Sun Oct 18 14:18:04 2015 +0000 net-p2p/i2p: Add missing dependencies and mend wrong paths in patch. Fixes bug 563372. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> create mode 100644 net-p2p/i2p/i2p-0.9.22-r1.ebuild Try again and report back please. Thank you.
Now it installs ok, but fail to start: FATAL | wrapper | Unable to open configuration file: /usr/share/i2p/wrapper.config (No such file or directory) Looks like this file exists in 0.9.18 but missed in 0.9.22, not sure why - either it wasn't installed by mistake in ebuild, or upstream change location of this config. BTW, can you please add 0.9.18 back to portage until issues with 0.9.22 will be resolved?
In i2p-0.9.22-r1.ebuild, there is a commented line "doins blocklist.txt hosts.txt *.config". It is uncommented in 0.9.18. Uncommenting it seems to work now. I'm not sure why it got commented, though.
diff --git a/net-p2p/i2p/i2p-0.9.22-r1.ebuild b/net-p2p/i2p/i2p-0.9.22-r1.ebuild index 7bcfaff..4a06383 100644 --- a/net-p2p/i2p/i2p-0.9.22-r1.ebuild +++ b/net-p2p/i2p/i2p-0.9.22-r1.ebuild @@ -85,7 +85,7 @@ src_install() { # Install main files and basic documentation exeinto ${i2p_home} insinto ${i2p_home} - #doins blocklist.txt hosts.txt *.config + doins blocklist.txt hosts.txt *.config doexe eepget i2prouter runplain.sh dodoc history.txt INSTALL-headless.txt LICENSE.txt doman man/* commit 87f5e01 (HEAD, origin/master, origin/HEAD, master) Author: Patrice Clement <monsieurp@gentoo.org> Date: Wed Oct 21 13:42:32 2015 +0000 net-p2p/i2p: Uncomment a doins line. Fixes bug 563372. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Give -r1 another try please and report back. Thank you.
After cleaning out bcprov:0 with depclean, the build now fails with error "Package bcprov was not found!". It looks like it is having some problems finding the slotted bcprov:1.50. The 0.9.18 version depends on >=bcprov-1.50, while the 0.9.22-r1 one depends on bcprov:1.50. I don't know what the correct dependency should be, but given that 0.9.18 works with >=brprov-1.50, it should probably stay the same as 0.9.18.
Emerge bcprov:1.50 like so: # emerge -v bcprov:1.50 and then emerge i2p as usual. We (Java team) have recently cleaned up bc ebuilds (it was a real mess) and SLOTted them back. Sorry for the noise.
OK, it is working now. Thanks for your effort.
Thank you for reporting back. Marking this bug as FIXED.
For me, emerging i2p-0.9.22-r1 still fails unless I have dev-java/bcprov:0 installed. Here is what I get: !!! ERROR: Package bcprov was not found! * ERROR: net-p2p/i2p-0.9.22-r1::gentoo failed (compile phase): * java-config --classpath=java-service-wrapper,jrobin,slf4j-api,tomcat-jstl-impl,tomcat-jstl-spec,bcprov failed I have bcprov-1.50-r2 installed. (I tried with 1.50-r4 as well.) With bcprov:0 installed, this doesn't happen. I suppose this line from ebuild is incorrect: EANT_GENTOO_CLASSPATH="java-service-wrapper,jrobin,slf4j-api,tomcat-jstl-impl,tomcat-jstl-spec,bcprov" "bcprov" should be replaced with "bcprov-1.50".
diff --git a/net-p2p/i2p/i2p-0.9.22-r1.ebuild b/net-p2p/i2p/i2p-0.9.22-r1.ebuild index 4a06383..c1b1f02 100644 --- a/net-p2p/i2p/i2p-0.9.22-r1.ebuild +++ b/net-p2p/i2p/i2p-0.9.22-r1.ebuild @@ -35,7 +35,7 @@ RDEPEND="${CDEPEND} >=virtual/jre-1.6" EANT_BUILD_TARGET="pkg" -EANT_GENTOO_CLASSPATH="java-service-wrapper,jrobin,slf4j-api,tomcat-jstl-impl,tomcat-jstl-spec,bcprov" +EANT_GENTOO_CLASSPATH="java-service-wrapper,jrobin,slf4j-api,tomcat-jstl-impl,tomcat-jstl-spec,bcprov-1.50" pkg_setup() { enewgroup i2p commit c792399 (HEAD, master) Author: Patrice Clement <monsieurp@gentoo.org> Date: Sat Oct 24 09:18:40 2015 +0000 net-p2p/i2p: Correct bcprov version in classpath. Fixes bug 563372. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Give it another try.
With the new version, it builds successfully. However, it builds just as fine without bcprov-1.50 in EANT_GENTOO_CLASSPATH at all. Why is it there in the first place?
Pavel, truth to be told, I didn't delve further into figuring out which dependencies are needed and which aren't. Glad to know it works without bcprov. We'll remove it for the next revbump.