Package Details: core-lightning 25.12-1

Git Clone URL: https://aur.archlinux.org/core-lightning.git (read-only, click to copy)
Package Base: core-lightning
Description: Lightning Network implementation focusing on specification compliance and performance.
Upstream URL: https://github.com/ElementsProject/lightning
Licenses: custom:BSD-MIT
Conflicts: core-lightning-git
Submitter: Spixmaster
Maintainer: Spixmaster
Last Packager: Spixmaster
Votes: 2
Popularity: 0.000000
First Submitted: 2022-04-25 06:48 (UTC)
Last Updated: 2025-12-12 07:16 (UTC)

Latest Comments

1 2 3 4 Next › Last »

Spixmaster commented on 2025-12-12 07:17 (UTC)

Thanks for the explanation. I reverted my last commit to include your temporary fix.

cotsuka commented on 2025-12-11 20:45 (UTC) (edited on 2025-12-11 20:48 (UTC) by cotsuka)

@Spixmaster I believe the root cause is a package versioning mismatch between protoc from protobuf and the plugin from python-grpcio-tools. The plugin only supports up to "Editions 2023" (open issue upstream).

That said, building this is is a packaging mismatch between what Arch is providing and what lightning's pyproject.toml pins. Arch is on python-grpcio-tools 1.76.0, but lightning has generated code created using grpcio-tools 1.75.1.

The --experimental-editions patch I provided before was a way to work around this. I'm not sure of any other solutions besides creating python-grpcio-tools-1.75 and protobuf-31.1 in the AUR.

Spixmaster commented on 2025-12-11 13:49 (UTC)

This error is still present for me, https://github.com/ElementsProject/lightning/issues/8532.

bitcoinlizard commented on 2025-10-20 01:59 (UTC)

@cotsuka - thank you for your work on this. I upgraded and everything is working correctly.

cotsuka commented on 2025-10-17 23:11 (UTC) (edited on 2025-10-17 23:15 (UTC) by cotsuka)

I've been running with the updated PKGBUILD with no issues.

EDIT: My guess as to the 40 MB increase in size is due to the --experimental-editions flag, which means gRPC needs to be built with additional syntax/wire protocol support.

Spixmaster commented on 2025-10-13 06:24 (UTC)

Currently, I do not need to use this software.

bitcoinlizard commented on 2025-10-13 02:15 (UTC)

@cotsuka and @Spinxmaster - are you using this current version of the PKGBUILD following the changes by Cotsuka? I was able to successfully build it. The upgrade size was over 40 MB which seemed quite large. I haven't tried to install it and run it yet.

The related github issue seems about both the build process AND the plyn python modules so I was confused.

cotsuka commented on 2025-10-08 16:10 (UTC)

Works on my end.

Spixmaster commented on 2025-10-06 08:53 (UTC)

Thank you very much, cotsuka.

I blindly copied the fix. Tell me whether it builds now.

cotsuka commented on 2025-09-28 18:01 (UTC)

@Spixmaster I'm able to get this to build and confirmed working by adding --experimental-editions to the gRPC protoc flags. I have not tested to ensure anything else breaks, so use with caution.

Here's a patch that builds:

diff --git a/PKGBUILD b/PKGBUILD
index 5d8c090..7e41b3a 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,6 +54,8 @@ prepare()
     git config submodule.libsodium.url "${srcdir}"/libsodium/

     git -c protocol.file.allow=always submodule update
+
+    find "${srcdir}"/"${pkgname}"/ -name 'Makefile' -exec sed -i 's/grpc_tools.protoc/grpc_tools.protoc --experimental_editions/' {} \;
 }

 build()