Package Details: core-lightning 24.05-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: 2024-06-05 12:58 (UTC)

Latest Comments

1 2 3 Next › Last »

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.

Spixmaster commented on 2024-03-16 07:33 (UTC)

@cotsuka Which optional dependencies do you mean?

bitcoinlizard commented on 2024-03-16 00:51 (UTC) (edited on 2024-03-16 00:51 (UTC) by bitcoinlizard)

@cotsuka - I was able to get clnrest running with this AUR package. I looked at the python requirements.txt and installed the dependencies mostly through official Arch packages and some AUR packages. I think I may have had to install 1 or 2 with pip but I can't remember and unfortunately these entries are gone from my history. I didn't keep track of everything I installed but rest assured it will work. I'm using it now with the latest version of my ride-the-lightning AUR package (which requires clnrest as it seems you likely found out).