package/i2pd: needs gcc >= 8
PATCH 1/3 package/i2pd: needs gcc >= 8
Upstream started using std::string_view
https://github.com/search?q=repo%3APurpleI2P%2Fi2pd+string_view&type=commits&s=committer-date&o=asc
with commit
https://github.com/PurpleI2P/i2pd/commit/a3e0b3710c66b854eee33d7532cbe262e9a72ba0
first released in version 2.54.0 which was added to buildroot with commit dea4f02bbb24b2125df6f4aa7a4b301a2316ef06.
Building the package with the gcc6-based defconfig bootlin-aarch64-glibc-old is broken:
/builds/bkuhls/buildroot/br-test-pkg/bootlin-aarch64-glibc-old/build/i2pd-2.61.0/libi2pd/Base.h:14:23:
fatal error: string_view: No such file or directory
BR2_TOOLCHAIN_HAS_GCC_BUG_64735 can be removed as well now as it depends on gcc < 7.
A backport to LTS branches should be considered.
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/22dfb2cf28943aeaf56911d53553585d6047adb8
package/i2pd/Config.in | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)
package/i2pd/Config.in +3 -8
@@ -1,13 +1,13 @@ config BR2_PACKAGE_I2PD bool "i2pd" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # string_view depends on BR2_TOOLCHAIN_HAS_ATOMIC # pthread_condattr_setclock depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR # boost - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
@@ -24,15 +24,10 @@ config BR2_PACKAGE_I2PD http://i2pd.website -comment "i2pd needs a toolchain w/ C++, NPTL, wchar" +comment "i2pd needs a toolchain w/ C++, gcc >= 8, NPTL, wchar" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR - -comment "i2pd needs exception_ptr" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/3 package/i2pd: needs chacha support in libopenssl
/home/thomas/autobuild/instance-2/output-1/build/i2pd-2.59.0/libi2pd/Crypto.cpp:661:49:
error: 'EVP_chacha20_poly1305' was not declared in this scope; did you mean 'SN_chacha20_poly1305'?
The code was added upstream in 2018:
https://github.com/PurpleI2P/i2pd/commit/58c92b8405f5da687734c1b0d6f7ec63dbb2d3b0
The build error could be reproduced with i2pd version 2.22.0 added to buildroot with commit 1035e80aaa7492fec12cbc2fc5faa9bf32ef1cf3 so a backport to LTS branches should be considered.
Fixes:
https://autobuild.buildroot.net/results/bd8/bd8616f04df2e1b9e18d1e16921979a852bd566f/
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/22dfb2cf28943aeaf56911d53553585d6047adb8
package/i2pd/Config.in | 1 + 1 file changed, 1 insertion(+)
package/i2pd/Config.in +1 -0
@@ -12,6 +12,7 @@ config BR2_PACKAGE_I2PD select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_ZLIB help i2pd (I2P Daemon) is a full-featured C++ implementation of I2P
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedRe: [Buildroot] [PATCH 2/3] package/i2pd: needs chacha support in libopenssl
In reply of:
Quoted 7 lines
/home/thomas/autobuild/instance-2/output-1/build/i2pd-2.59.0/libi2pd/Crypto.cpp:661:49:
error: 'EVP_chacha20_poly1305' was not declared in this scope; did you mean 'SN_chacha20_poly1305'?The code was added upstream in 2018:
https://github.com/PurpleI2P/i2pd/commit/58c92b8405f5da687734c1b0d6f7ec63dbb2d3b0
Quoted 8 lines
The build error could be reproduced with i2pd version 2.22.0 added to buildroot with commit
1035e80aaa7492fec12cbc2fc5faa9bf32ef1cf3so a backport to LTS branches should be considered.Fixes:
https://autobuild.buildroot.net/results/bd8/bd8616f04df2e1b9e18d1e16921979a852bd566f/Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x & 2026.08.x. Thanks
Quoted 26 lines
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/22dfb2cf28943aeaf56911d53553585d6047adb8package/i2pd/Config.in | 1 + 1 file changed, 1 insertion(+)package/i2pd/Config.in +1
-0@@ -12,6 +12,7 @@ config BR2_PACKAGE_I2PD select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_ZLIB help i2pd (I2P Daemon) is a full-featured C++ implementation of I2PSignature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/3 package/i2pd: bump version to 2.61.0
In reply to Bernd Kuhlshttps://github.com/PurpleI2P/i2pd/blob/2.61.0/ChangeLog
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/22dfb2cf28943aeaf56911d53553585d6047adb8
package/i2pd/i2pd.hash | 4 ++-- package/i2pd/i2pd.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/i2pd/i2pd.hash +2 -2
@@ -1,4 +1,4 @@ -# From https://github.com/PurpleI2P/i2pd/releases/download/2.59.0/SHA512SUMS -sha512 5fa4365eaa6fbc0e448732d3c96b867e27db21927727aeb9df8241d56fea08561028a7b6d51ba7fa1141d53c95b848108806edb9f420c2ebbed85f627f045af7 i2pd-2.59.0.tar.gz +# From https://github.com/PurpleI2P/i2pd/releases/download/2.61.0/SHA512SUMS +sha512 d88bcb4d4879b8c2399f03f30f360a4121e20659665eda90d46495bf036666e99a05666acc6abd4b67294e5c7d61fdf0d867789e85316dc5338a5c5ee79811c5 i2pd-2.61.0.tar.gz # Locally computed: sha256 eb5ac2a5ede8cd6bed9e6d93ad943119a73bfaba378f21bafa307f9b026b2034 LICENSE
package/i2pd/i2pd.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -I2PD_VERSION = 2.59.0 +I2PD_VERSION = 2.61.0 I2PD_SITE = $(call github,PurpleI2P,i2pd,$(I2PD_VERSION)) I2PD_LICENSE = BSD-3-Clause I2PD_LICENSE_FILES = LICENSE
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn reply of:
Quoted 15 lines
Upstream started using
std::string_view
https://github.com/search?q=repo%3APurpleI2P%2Fi2pd+string_view&type=commits&s=committer-date&o=ascwith commit
https://github.com/PurpleI2P/i2pd/commit/a3e0b3710c66b854eee33d7532cbe262e9a72ba0first released in version 2.54.0 which was added to buildroot with commit
dea4f02bbb24b2125df6f4aa7a4b301a2316ef06.Building the package with the gcc6-based defconfig bootlin-aarch64-glibc-old is broken:
/builds/bkuhls/buildroot/br-test-pkg/bootlin-aarch64-glibc-old/build/i2pd-2.61.0/libi2pd/Base.h:14:23:
fatal error:string_view: No such file or directory
Quoted 6 lines
BR2_TOOLCHAIN_HAS_GCC_BUG_64735can be removed as well now as it depends on gcc < 7.A backport to LTS branches should be considered.
Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2026.08.x. Thanks
Quoted 51 lines
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/22dfb2cf28943aeaf56911d53553585d6047adb8package/i2pd/Config.in | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)package/i2pd/Config.in +3
-8@@ -1,13 +1,13 @@ config BR2_PACKAGE_I2PD bool "i2pd" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # string_view depends on BR2_TOOLCHAIN_HAS_ATOMIC # pthread_condattr_setclock depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR # boost - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS@@ -24,15 +24,10 @@ config BR2_PACKAGE_I2PD http://i2pd.website -comment "i2pd needs a toolchain w/ C++, NPTL, wchar" +comment "i2pd needs a toolchain w/ C++, gcc >= 8, NPTL, wchar" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR - -comment "i2pd needs exception_ptr" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot