Package Details: curecoind-git v2.0.0.2.r21.g8cd2c3b-3

Git Clone URL: https://aur.archlinux.org/curecoind-git.git (read-only, click to copy)
Package Base: curecoind-git
Description: Headless daemon for CureCoin cryptocurrency
Upstream URL: https://curecoin.net/
Licenses: MIT
Conflicts: curecoind
Provides: curecoind
Submitter: dark-saber
Maintainer: None
Last Packager: dark-saber
Votes: 2
Popularity: 0.000000
First Submitted: 2019-01-13 16:14 (UTC)
Last Updated: 2021-09-12 13:28 (UTC)

Latest Comments

MarsSeed commented on 2024-03-22 18:07 (UTC)

Build is broken (clean chroot):

g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE 
    -I/build/curecoind-git/src/CurecoinSource/src -I/build/curecoind-git/src/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO 
    -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions 
    -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -MMD -MF 
    obj/netbase.d -o obj/netbase.o netbase.cpp
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE 
    -I/build/curecoind-git/src/CurecoinSource/src -I/build/curecoind-git/src/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO 
    -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions 
    -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -MMD -MF 
    obj/addrman.d -o obj/addrman.o addrman.cpp
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
In file included from netbase.cpp:7:
util.h: In member function ‘void CHashWriter::Init()’:
util.h:458:20: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  458 |         SHA256_Init(&ctx);
      |         ~~~~~~~~~~~^~~~~~
In file included from util.h:29:
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
util.h: In member function ‘CHashWriter& CHashWriter::write(const char*, size_t)’:
util.h:466:22: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  466 |         SHA256_Update(&ctx, pch, size);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
util.h: In member function ‘uint256 CHashWriter::GetHash()’:
util.h:473:21: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  473 |         SHA256_Final((unsigned char*)&hash1, &ctx);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
util.h: In function ‘uint256 Hash(T1, T1, T2, T2)’:
util.h:495:16: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  495 |     SHA256_Init(&ctx);
      |     ~~~~~~~~~~~^~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
util.h:498:17: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  498 |     SHA256_Final((unsigned char*)&hash1, &ctx);
      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
util.h: In function ‘uint256 Hash(T1, T1, T2, T2, T3, T3)’:
util.h:512:16: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  512 |     SHA256_Init(&ctx);
      |     ~~~~~~~~~~~^~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
util.h:516:17: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  516 |     SHA256_Final((unsigned char*)&hash1, &ctx);
      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
util.h: In function ‘uint160 Hash160(const std::vector<unsigned char>&)’:
util.h:535:14: warning: ‘unsigned char* RIPEMD160(const unsigned char*, size_t, unsigned char*)’ is deprecated: Since OpenSSL 3.0 
    [-Wdeprecated-declarations]
  535 |     RIPEMD160((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
      |     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from util.h:30:
/usr/include/openssl/ripemd.h:49:38: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 unsigned char *RIPEMD160(const unsigned char *d, size_t n,
      |                                      ^~~~~~~~~
In file included from netbase.cpp:19:
strlcpy.h: At global scope:
strlcpy.h:27:15: error: ‘size_t strlcpy(char*, const char*, size_t)’ redeclared inline without ‘gnu_inline’ attribute
   27 | inline size_t strlcpy(char *dst, const char *src, size_t siz)
      |               ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/c++/13.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/13.2.1/x86_64-pc-linux-gnu/bits/c++config.h:679,
                 from /usr/include/c++/13.2.1/bits/requires_hosted.h:31,
                 from /usr/include/c++/13.2.1/string:38,
                 from netbase.h:7,
                 from netbase.cpp:6:
/usr/include/bits/string_fortified.h:150:1: note: ‘size_t strlcpy(char*, const char*, size_t)’ previously defined here
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
strlcpy.h:62:15: error: ‘size_t strlcat(char*, const char*, size_t)’ redeclared inline without ‘gnu_inline’ attribute
   62 | inline size_t strlcat(char *dst, const char *src, size_t siz)
      |               ^~~~~~~
/usr/include/bits/string_fortified.h:167:1: note: ‘size_t strlcat(char*, const char*, size_t)’ previously defined here
  167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make: *** [makefile.unix:149: obj/netbase.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from addrman.h:9,
                 from addrman.cpp:5:
util.h: In member function ‘void CHashWriter::Init()’:
util.h:458:20: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  458 |         SHA256_Init(&ctx);
      |         ~~~~~~~~~~~^~~~~~
In file included from util.h:29:
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
util.h: In member function ‘CHashWriter& CHashWriter::write(const char*, size_t)’:
util.h:466:22: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  466 |         SHA256_Update(&ctx, pch, size);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
util.h: In member function ‘uint256 CHashWriter::GetHash()’:
util.h:473:21: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  473 |         SHA256_Final((unsigned char*)&hash1, &ctx);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
util.h: In function ‘uint256 Hash(T1, T1, T2, T2)’:
util.h:495:16: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  495 |     SHA256_Init(&ctx);
      |     ~~~~~~~~~~~^~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
util.h:498:17: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  498 |     SHA256_Final((unsigned char*)&hash1, &ctx);
      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
util.h: In function ‘uint256 Hash(T1, T1, T2, T2, T3, T3)’:
util.h:512:16: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  512 |     SHA256_Init(&ctx);
      |     ~~~~~~~~~~~^~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
util.h:516:17: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  516 |     SHA256_Final((unsigned char*)&hash1, &ctx);
      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
util.h: In function ‘uint160 Hash160(const std::vector<unsigned char>&)’:
util.h:535:14: warning: ‘unsigned char* RIPEMD160(const unsigned char*, size_t, unsigned char*)’ is deprecated: Since OpenSSL 3.0 
    [-Wdeprecated-declarations]
  535 |     RIPEMD160((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
      |     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from util.h:30:
/usr/include/openssl/ripemd.h:49:38: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 unsigned char *RIPEMD160(const unsigned char *d, size_t n,
      |                                      ^~~~~~~~~
==> ERROR: A failure occurred in build().
    Aborting...