Package Details: lnd-git 0.13.0.beta.rc2.r11484.cfa7188b1-1

Git Clone URL: (read-only, click to copy)
Package Base: lnd-git
Description: The Lightning Network Daemon, for secure off-chain bitcoin transactions.
Upstream URL:
Keywords: bitcoin cryptocurrency lightningnetwork lightning_network lnd
Licenses: MIT
Conflicts: lnd
Provides: lnd, lnd-cli
Submitter: thann
Maintainer: pizzaman
Last Packager: pizzaman
Votes: 4
Popularity: 0.000000
First Submitted: 2017-06-13 03:10
Last Updated: 2021-05-17 00:59

Required by (6)

Sources (1)

Latest Comments

pizzaman commented on 2020-04-22 10:02

@JKAbrams Should be working now.

JKAbrams commented on 2020-04-21 05:29

pkgver gets a bit messed up:

==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.

==> ERROR: pkgver() generated an invalid version: cert/v1.0.2.r1.g4ed0a35b

pizzaman commented on 2018-12-12 10:14

@blacktemplar Upstream upgraded their supported Go version 1.10->1.11

With Go 1.11 ( they introduced "modules" which changes how packages are installed. The dependency dep is not needed anymore.

PKGBUILD changed substantially.

dmp1ce commented on 2018-12-10 16:41

Sorry. I forgot, I'm building from my github repository.

It looks like this repository needs and update. I removed dependency on dep.

blacktemplar commented on 2018-12-10 13:45


I just retried and still get the error. The command "dep ensure" results in the error, I use the following dep version: (output of dep version)

    version     : devel
    build date  : 
    git hash    : 
    go version  : go1.10.3
    go compiler : gc
    platform    : linux/amd64
    features    : ImportDuringSolve=false

dmp1ce commented on 2018-12-10 12:11

@blacktemplar possibly a temporary upstream issue. The package is building fine for me now.

blacktemplar commented on 2018-12-10 10:45

Just tried to install this and got the following error in package():

"could not find project Gopkg.toml, use dep init to initiate a manifest"

dmp1ce commented on 2018-07-18 14:37

I updated the PKGBUILD which now works for me.

dmp1ce commented on 2018-07-17 18:00

Something along these lines might get it compiling:

diff --git a/PKGBUILD b/PKGBUILD
index 3e3d6cb..f1d1611 100644
@@ -4,7 +4,7 @@
 # Upstream:

 pkgdesc='The Lighting Network Daemon, for secure off-chain bitcoin transactions.'
 arch=('i686' 'x86_64')
@@ -17,27 +17,34 @@ conflicts=('btcd')

+# create a fake go path directory and pushd into it
+# $1 real directory
+# $2 gopath directory
+_fake_gopath_pushd() {
+    mkdir -p "$GOPATH/src/${2%/*}"
+    rm -f "$GOPATH/src/$2"
+    ln -rsT "$1" "$GOPATH/src/$2"
+    pushd  "$GOPATH/src/$2" >/dev/null
+_fake_gopath_popd() {
+    popd >/dev/null
 pkgver() {
   cd $pkgname
   git describe --tags | sed 's/^v//;s/-/./g'

-prepare() {
+build() {
   export GOPATH="$srcdir"
-  rm -fr "$srcdir/src"
-  git clone "$srcdir/$pkgname" "$GOPATH/src/"
+  _fake_gopath_pushd lnd-git
+  go get -d -v ./...
+  make && make install
+  _fake_gopath_popd

 package() {
-  export GOPATH="$srcdir"
-  cd "$GOPATH/src/"
-  glide install
-  go install . ./cmd/...
-  go get -u
-  cd $GOPATH/src/
-  glide install
-  go install . ./cmd/...
   for _bin in btcctl btcd lnd; do
     install -Dm 755 "$srcdir/bin/$_bin" -t "$pkgdir/usr/bin";

I'm not sure because right now I'm getting these errors:
chainntnfs/neutrinonotify/neutrino.go:145:3: undefined: neutrino.WatchTxIDs
chainntnfs/neutrinonotify/neutrino.go:322:7: undefined: neutrino.AddTxIDs
chainntnfs/neutrinonotify/neutrino.go:631:3: undefined: neutrino.WatchOutPoints
chainntnfs/neutrinonotify/neutrino.go:667:3: undefined: neutrino.AddOutPoints
routing/chainview/neutrino.go:109:3: undefined: neutrino.WatchOutPoints
routing/chainview/neutrino.go:326:23: undefined: builder.OutPointToFilterEntry
routing/chainview/neutrino.go:333:3: undefined: neutrino.AddOutPoints
lnwallet/btcwallet/blockchain.go:44:4: undefined: neutrino.WatchOutPoints
cmd/lncli/commands.go:2410:22: cannot use attrs (type gographviz.Attrs) as type map[string]string in argument to graphCanvas.AddNode
cmd/lncli/commands.go:2448:57: cannot use gographviz.Attrs literal (type gographviz.Attrs) as type map[string]string in argument to graphCanvas.AddEdge
==> ERROR: A failure occurred in build().

pizzaman commented on 2018-03-16 04:16

I get the following

==> Starting package()...
[ERROR] Failed to find glide.yaml file in directory tree: Cannot resolve parent of /
==> ERROR: A failure occurred in package().
==> ERROR: Makepkg was unable to build lnd-git.

In lnd v0.4-beta Glide files were removed

Here is a working PKGBUILD without btcd.