Package Details: i2pd-tools-git r268.gcf0c9c9-1

Git Clone URL: https://aur.archlinux.org/i2pd-tools-git.git (read-only, click to copy)
Package Base: i2pd-tools-git
Description: Useful tools for I2P (git version)
Upstream URL: https://github.com/PurpleI2P/i2pd-tools/
Licenses: BSD
Conflicts: i2pd-tools
Provides: i2pd-tools
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 4
Popularity: 0.027859
First Submitted: 2019-10-08 16:31 (UTC)
Last Updated: 2023-10-29 14:26 (UTC)

Latest Comments

dbermond commented on 2024-04-22 23:53 (UTC)

@tamjan binary stripping is a makepkg task. It should not be used directly in 'package()', unless there is a good reason for doing so, which is not the case here. Also notice that there are different types of stripping depending on the binary file in question, and you can see makepkg.conf(5) for details. Some source files are really ending up installed alongside the binaries, as upstream marks them as executable. I guess we can overcome this in a better way instead of specifying every single file extension here. I have yet to investigate if i2pdctl is worth installing. Thanks for the suggestions.

tamjan commented on 2024-04-22 19:17 (UTC) (edited on 2024-04-23 05:49 (UTC) by tamjan)

I suggest:

--- PKGBUILD.orig    2023-10-29 15:23:53.000000000 +0100
+++ PKGBUILD     2024-04-23 07:48:37.000000000 +0200
@@ -42,7 +42,8 @@
     while read -r -d '' _tool
     do
         install -D -m755 "$_tool" "${pkgdir}/usr/bin/i2pd-${_tool##*/}"
-    done < <(find i2pd-tools -maxdepth 1 -type f ! -name '*.sh' ! -name '*README*' -executable -print0)
+    done < <(find i2pd-tools -maxdepth 1 -type f ! -name '*.sh' ! -name Makefile ! -name '*.cpp' ! -name '*.hpp' ! -name '*README*' -executable -print0)
+    install -D -m7555 i2pd-tools/scripts/i2pdctl -t "${pkgdir}/usr/bin"

     install -D -m644 i2pd-tools/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }

pizfunk commented on 2022-11-25 21:02 (UTC) (edited on 2022-11-25 21:06 (UTC) by pizfunk)

@dbermond thanks. i saw some commits were made to the github project so i just tried building again, but now it's failing on a different error

edit: nevermind that. it's building now after i first reinstalled i2pd-git. thanks for your help.

dbermond commented on 2022-11-25 20:05 (UTC)

@pizfunk Confirmed. It also does not build against stable i2pd version. This is an upstream issue.

pizfunk commented on 2022-11-24 22:01 (UTC)

hello, this package is currently failing to build for me

dbermond commented on 2021-09-04 15:25 (UTC) (edited on 2021-09-05 15:14 (UTC) by dbermond)

@foobaz I have talked to an upstream developer and he identified the problem. A fix will be commited upstream in the near future.

dbermond commented on 2021-09-04 14:47 (UTC)

@foobaz Indeed. This looks like an upstream issue. Please report upstream.

foobaz commented on 2021-09-03 02:10 (UTC)

After upgrading to i2pd 2.39, the binary I build from this package fails with: symbol lookup error: /usr/lib/libi2pd.so: undefined symbol: _ZN3i2p4i18n9afrikaans9GetLocaleEv

I tried rebuilding from source and got internationalization link errors:

g++ -o keygen keygen.o -Wl,-O2,--sort-common,--as-needed,-z,relro,-z,now -li2pd -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lssl -lcrypto -lz -lrt -lpthread                                                                           
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libi2pd.so: undefined reference to `i2p::i18n::afrikaans::GetLocale()'                                                                                                                             
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libi2pd.so: undefined reference to `i2p::i18n::english::GetLocale()'                                                                                                                               
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libi2pd.so: undefined reference to `i2p::i18n::turkmen::GetLocale()'                                                                                                                               
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libi2pd.so: undefined reference to `i2p::i18n::russian::GetLocale()'                                                             
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libi2pd.so: undefined reference to `i2p::i18n::ukrainian::GetLocale()'                                                                                                                             
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libi2pd.so: undefined reference to `i2p::i18n::uzbek::GetLocale()'                                                                                                                                 
collect2: error: ld returned 1 exit status                                                                                          
make: *** [Makefile:50: keygen] Error 1

Rolling i2pd back to 2.38 fixes both the runtime issue and the compilation issue.

dbermond commented on 2021-03-06 17:04 (UTC)

@maid Package updated to match the latest upstream changes.

maid commented on 2021-03-06 09:33 (UTC)

prepare()... patching file Makefile Hunk #1 FAILED at 18. Hunk #2 FAILED at 76. Hunk #3 succeeded at 97 with fuzz 2 (offset -3 lines). 2 out of 3 hunks FAILED -- saving rejects to file Makefile.rej