Package Details: core-lightning 26.06.3-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: 2026-07-09 04:20 (UTC)

Latest Comments

1 2 3 4 Next › Last »

Spixmaster commented on 2026-06-07 11:38 (UTC)

@bitcoinlizard, thank you very much. I was aware that the build failed but had no time investigating it. It said command uv missing but not near the actual error so it was not obvious that it was the origin of the error. Thank you very much!

bitcoinlizard commented on 2026-06-06 13:34 (UTC)

"uv" needs to be added as a makedepends for this package. The build fails without uv.

bitcoinlizard commented on 2026-05-09 13:50 (UTC) (edited on 2026-05-09 14:33 (UTC) by bitcoinlizard)

I was able to build 26.04.1 and it does run. I had to apply a couple of patches based on github issues: https://github.com/ElementsProject/lightning/issues/9106 https://github.com/ElementsProject/lightning/issues/9074

Patch 1 on core-lightning/common/wireaddr.c:


-       char *portcolon;
+       const char *portcolon;

        if (strstarts(arg, "[")) {
-               char *end = strchr(arg, ']');
+               const char *end = strchr(arg, ']');
                if (!end)
                        return false;
                /* Copy inside [] */

Patch 2 on core-lightning/configure:


 CONFIGURATOR=ccan/tools/configurator/configurator
 CONFIG_VAR_FILE=config.vars
 CONFIG_HEADER=ccan/config.h
-BASE_WARNFLAGS="-Wall -Wundef -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition -Werror"
+BASE_WARNFLAGS="-Wall -Wundef -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition"

 OS=$(uname -s)
 ARCH=$(uname -m)

These issues should be resolved in 26.06 according to the developers if you don't want to bother with the patching.

I had to start up lightningd from the command line and NOT use systemctl otherwise it would time out. Perhaps the database upgrade took a long time. It did take a very long time to startup, perhaps 10 minutes or more. After the first startup I can run it with systemctl and it starts up quickly.

Spixmaster commented on 2026-04-21 02:49 (UTC)

v26.04 does not build, https://github.com/ElementsProject/lightning/issues/9074.

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.