Package Details: core-lightning 25.02-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-03-19 12:11 (UTC)

Latest Comments

1 2 3 Next › Last »

Spixmaster commented on 2025-03-19 12:13 (UTC) (edited on 2025-03-19 12:15 (UTC) by Spixmaster)

You are absolutetly right. I updated the dependencies. "mrkd" does not even work anymore because it relies on "python-mistune1" which does not exist.

cotsuka commented on 2025-03-19 03:11 (UTC)

Do we still need mrkd in the makedepends? Seems like it was replaced by lowdown which you've already added as optional.

cotsuka commented on 2024-03-19 18:15 (UTC)

Thanks for the feedback, @Spixmaster. For cleanliness, I've responded to your comments within each of the AUR packages instead. I think I've addressed all of the comments though.

Spixmaster commented on 2024-03-19 07:10 (UTC) (edited on 2024-03-19 07:13 (UTC) by Spixmaster)

@cotsuka You really suprised me. Great work. I have taken a look at the PKGBUILD files.

The dependencies python-build python-installer are missing, see here. Therefore, python-setuptools python-poetry are not needed. provides=() is wrong, see here. The pkgname is inserterted implicitly. I do not know why you move the needed directory to the root and remove the downloaded directory afterwards. It does not seem needed.

I checked the packages with namcap. python-pyln-bolt7:

python-pyln-bolt7 E: Dependency python-pyln-proto detected and not included (python modules ['pyln.proto.message.MessageNamespace'] needed in files ['usr/lib/python3.11/site-packages/pyln/spec/bolt7/bolt.py'])

python-pyln-client: Nothing to complain.

python-pyln-proto:

python-pyln-proto E: Dependency make detected and not included (programs ['make'] needed in scripts ['usr/lib/python3.11/site-packages/pyln/proto/message/Makefile'])

python-coincurve failed to build for me but was somehow installed when I tried building python-pyln-proto the second time. I do not know what happened here.

General recommendation, use for bash shellcheck, shmft and specifically for PKGBUILD files namcap and maybe a even the language server termux-language-server. I given you information when hovering but mainly output errors from namcap in your text editor. See the first section from https://wiki.archlinux.org/title/PKGBUILD for the stated information.

cotsuka commented on 2024-03-19 00:22 (UTC)

@Spixmaster I've never created AUR packages so let me know if there's any feedback/improvements. I believe I've packaged up the dependency chain to get this working:

Spixmaster commented on 2024-03-18 19:12 (UTC) (edited on 2024-03-19 06:44 (UTC) by Spixmaster)

@cotsuka pyln-client cannot be installed with this package. The way core-lightning-git does it is wrong. I tried it. The reason is that the programme depends on other packages that are also in https://github.com/ElementsProject/lightning/tree/master/contrib. Those dependencies need to be installed priorly before installing pyln-client.

You would do a big favour if you created an AUR package python-pyln-client. Unfortunately, it would require to also package its dependencies.

Spixmaster commented on 2024-03-18 09:10 (UTC)

python-pyln-client will be installed with this package. That is how core-lightning-git does it too. I will do it later.

cotsuka commented on 2024-03-17 21:43 (UTC) (edited on 2024-03-17 22:10 (UTC) by cotsuka)

@Spixmaster In addition to that, I needed to install:

Once those were installed, restarting the node got everything working.

Spixmaster commented on 2024-03-16 08:42 (UTC)

@cotsuka python-flask-cors was missing.