Package Details: litecoin-qt 0.21.2.2-2

Git Clone URL: https://aur.archlinux.org/litecoin-qt.git (read-only, click to copy)
Package Base: litecoin-qt
Description: Peer-to-peer network based digital currency (Qt)
Upstream URL: http://www.litecoin.org/
Licenses: MIT
Conflicts: litecoin
Submitter: Flink
Maintainer: mrxx
Last Packager: mrxx
Votes: 84
Popularity: 0.000077
First Submitted: 2013-03-22 17:37 (UTC)
Last Updated: 2023-10-08 19:24 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

rearwindowtaxidr commented on 2024-03-14 18:50 (UTC)

The following error message appears:

configure: error: libdb_cxx missing, Litecoin Core requires this library for wallet functionality (--disable-wallet to disable wallet functionality)

Is this a broken dependency?

chappjc commented on 2023-06-12 16:56 (UTC) (edited on 2023-06-12 17:01 (UTC) by chappjc)

The following patch is currently needed with GCC 13:

diff --git a/src/support/lockedpool.cpp b/src/support/lockedpool.cpp
index 26de780f2..9e6a68d42 100644
--- a/src/support/lockedpool.cpp
+++ b/src/support/lockedpool.cpp
@@ -21,6 +21,7 @@
 #include <unistd.h> // for sysconf
 #endif

+#include <stdexcept>
 #include <algorithm>
 #ifdef ARENA_DEBUG
 #include <iomanip>
diff --git a/src/util/bip32.h b/src/util/bip32.h
index 347e83db9..6ef051c48 100644
--- a/src/util/bip32.h
+++ b/src/util/bip32.h
@@ -6,6 +6,7 @@
 #define BITCOIN_UTIL_BIP32_H

 #include <attributes.h>
+#include <cstdint>
 #include <string>
 #include <vector>

diff --git a/src/util/string.h b/src/util/string.h
index a0c87bd00..f73c1bb9f 100644
--- a/src/util/string.h
+++ b/src/util/string.h
@@ -9,7 +9,9 @@

 #include <algorithm>
 #include <array>
+#include <cstdint>
 #include <cstring>
+#include <iterator>
 #include <locale>
 #include <sstream>
 #include <string>

div72 commented on 2023-03-24 14:08 (UTC)

Needs db5.3 dependency and BDB_LIBS="-ldb_cxx-5.3" BDB_CFLAGS="-I/usr/include/db5.3" for the configure. Crashes when creating a new wallet otherwise.

<deleted-account> commented on 2022-11-02 03:49 (UTC)

The build fails with the following error. How can I build?

checking whether the Boost::Thread library is available... ./configure:break:33533: not in while, until, select, or repeat loop

rpodgorny commented on 2022-10-09 17:09 (UTC)

builds fine without chroot. patches to make it chroot-compatible welcome.

RubenKelevra commented on 2022-10-09 15:35 (UTC)

Does not build in a chroot:

==> Retrieving sources...
  -> Found litecoin-0.21.2.1.tar.gz
  -> Found boost1770.patch
  -> Found litecoin-qt.desktop
  -> Found litecoin128.png
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting litecoin-0.21.2.1.tar.gz with bsdtar
==> Sources are ready.
litecoin-qt-0.21.2.1-1: parsing pkg list...
==> Making package: litecoin-qt 0.21.2.1-1 (Sun 09 Oct 2022 05:34:12 PM CEST)
==> Retrieving sources...
  -> Found litecoin-0.21.2.1.tar.gz
  -> Found boost1770.patch
  -> Found litecoin-qt.desktop
  -> Found litecoin128.png
==> Validating source files with sha256sums...
    litecoin-0.21.2.1.tar.gz ... Passed
    boost1770.patch ... Passed
    litecoin-qt.desktop ... Passed
    litecoin128.png ... Passed
==> Making package: litecoin-qt 0.21.2.1-1 (Sun Oct  9 17:34:14 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/startdir/PKGBUILD: line 26: cd: /build/litecoin-qt/src/litecoin-0.21.2.1: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

czk commented on 2022-06-07 15:41 (UTC)

@rpodgorny

(...)
checking for ZMQ... yes
checking for main in -lfmt... no
configure: error: libfmt missing
==> ERROR: A failure occurred in build().
    Aborting...

Installing fmt fixes this. Can you add it to depends?

smp commented on 2022-05-15 14:31 (UTC)

Building and using Litecoin 0.21.2 requires fmt, so please add fmt to depends. The build documentation hasn't been update yet to reflect the new dependency, but this has already been reported.

As a side note, has anybody managed to build version 0.21.2 in a clean chroot? When building in a clean chroot, I get the following error:

  CXXLD    litecoind
  CXXLD    litecoin-tx
  CXXLD    litecoin-wallet
  CXXLD    test/test_litecoin
/usr/include/c++/12.1.0/ext/aligned_buffer.h:47:12: note: array types have different bounds
   47 |     struct __aligned_membuf
      |            ^
/usr/include/c++/12.1.0/ext/aligned_buffer.h:47:12: note: type 'struct __aligned_membuf' itself violates the C++ One Definition Rule
/usr/bin/ld: /tmp/ccOAPjfW.ltrans8.ltrans.o: warning: relocation against `_ZN8CHDChain22VERSION_HD_CHAIN_SPLITE' in read-only section `.text'
/usr/bin/ld: /tmp/ccOAPjfW.ltrans3.ltrans.o: in function `LegacyScriptPubKeyMan::LoadMWEBKeychain()':
<artificial>:(.text+0x4e02): undefined reference to `CHDChain::VERSION_HD_MWEB_WATCH'
/usr/bin/ld: /tmp/ccOAPjfW.ltrans8.ltrans.o: in function `ReadKeyValue(CWallet*, CDataStream&, CDataStream&, CWalletScanState&, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloca
tor<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::function<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)> const&) [clone .lto_priv.0]':
<artificial>:(.text+0x6acb): undefined reference to `CHDChain::VERSION_HD_MWEB_WATCH'
/usr/bin/ld: <artificial>:(.text+0x7753): undefined reference to `CHDChain::VERSION_HD_CHAIN_SPLIT'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:8915: litecoin-wallet] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: /tmp/ccypWxue.ltrans99.ltrans.o: warning: relocation against `_ZN8CHDChain22VERSION_HD_CHAIN_SPLITE' in read-only section `.text'
/usr/bin/ld: /tmp/ccypWxue.ltrans56.ltrans.o: in function `LegacyScriptPubKeyMan::LoadMWEBKeychain()':
<artificial>:(.text+0x9902): undefined reference to `CHDChain::VERSION_HD_MWEB_WATCH'
/usr/bin/ld: /tmp/ccypWxue.ltrans99.ltrans.o: in function `ReadKeyValue(CWallet*, CDataStream&, CDataStream&, CWalletScanState&, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc
ator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::function<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
 const&)> const&) [clone .constprop.0]':
<artificial>:(.text+0x3c13): undefined reference to `CHDChain::VERSION_HD_MWEB_WATCH'
/usr/bin/ld: <artificial>:(.text+0x4cfc): undefined reference to `CHDChain::VERSION_HD_CHAIN_SPLIT'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:8919: litecoind] Error 1
/usr/bin/ld: /tmp/ccBsEXTu.ltrans125.ltrans.o: warning: relocation against `_ZN8CHDChain22VERSION_HD_CHAIN_SPLITE' in read-only section `.text'
/usr/bin/ld: /tmp/ccBsEXTu.ltrans94.ltrans.o: in function `LegacyScriptPubKeyMan::LoadMWEBKeychain()':
<artificial>:(.text+0xb532): undefined reference to `CHDChain::VERSION_HD_MWEB_WATCH'
/usr/bin/ld: /tmp/ccBsEXTu.ltrans125.ltrans.o: in function `ReadKeyValue(CWallet*, CDataStream&, CDataStream&, CWalletScanState&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allo
cator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::function<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
> const&)> const&) [clone .constprop.0]':
<artificial>:(.text+0x1754a): undefined reference to `CHDChain::VERSION_HD_MWEB_WATCH'
/usr/bin/ld: <artificial>:(.text+0x184b0): undefined reference to `CHDChain::VERSION_HD_CHAIN_SPLIT'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:10281: test/test_litecoin] Error 1
make[2]: Leaving directory '/build/litecoin-qt/src/litecoin-0.21.2/src'
make[1]: *** [Makefile:21423: all-recursive] Error 1
make[1]: Leaving directory '/build/litecoin-qt/src/litecoin-0.21.2/src'
make: *** [Makefile:815: all-recursive] Error 1

Building the package normally works without problems though.

smp commented on 2022-05-15 12:06 (UTC)

@rpodgorny: You can use makepkg --printsrcinfo > .SRCINFO to easily ensure the .SRCINFO file is up to date.

0b100100 commented on 2022-05-15 08:20 (UTC)

Could you please match the pkgrel in PKGBUILD and .SRCINFO? Thank you.