too long lines were shrinked: x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I/usr/include/db4.8/ -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./secp256k1/include -I./univalue/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACR x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I/usr/include/db4.8/ -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./secp256k1/include -I./univalue/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACR x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I/usr/include/db4.8/ -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./secp256k1/include -I./univalue/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACR x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I/usr/include/db4.8/ -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./secp256k1/include -I./univalue/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACR x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I/usr/include/db4.8/ -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./secp256k1/include -I./univalue/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACR net_processing.cpp: In function 'void RelayAddress(const CAddress&, bool, CConnman*)': net_processing.cpp:1097:47: error: variable 'std::array<std::pair<long unsigned int, CNode*>, 2> best' has initializer but incomplete type 1097 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}}; | ^~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4-20221225-080004 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.6 Python 3.10.9 Available Rust versions: [1] rust-bin-1.66.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-bin-8] *) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8] 4) Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] icedtea-bin-8 [2] openjdk-bin-8 [3] openjdk-bin-17 system-vm [4] openjdk-jre-bin-17 php cli (if any): HEAD of ::gentoo commit f550ebbb4586d136eb462810597a6a89bab2e42a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Dec 27 03:18:09 2022 +0000 2022-12-27 03:18:09 UTC emerge -qpvO net-p2p/litecoind [ebuild N ] net-p2p/litecoind-0.18.1-r1 USE="wallet -upnp" CPU_FLAGS_X86="sse2"
Created attachment 845145 [details] emerge-info.txt
Created attachment 845147 [details] emerge-history.txt
Created attachment 845149 [details] environment
Created attachment 845151 [details] etc.clang.tar.bz2
Created attachment 845153 [details] etc.portage.tar.bz2
Created attachment 845155 [details] logs.tar.bz2
Created attachment 845157 [details] net-p2p:litecoind-0.18.1-r1:20221227-035916.log
Created attachment 845159 [details] temp.tar.bz2
Created attachment 849037 [details, diff] Patch for litecoind compiled with GCC 12 Working patch for those using GCC 12. Missing "#include <array>" in two files; apparently GCC 12 no longer automatically includes it. See https://www.gnu.org/software/gcc/gcc-12/porting_to.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60d56a96360ed046267f3919467d0527ba9da99 commit a60d56a96360ed046267f3919467d0527ba9da99 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-23 02:24:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-23 02:32:56 +0000 net-p2p/litecoind: fix build w/ gcc 12 Closes: https://bugs.gentoo.org/888605 Signed-off-by: Sam James <sam@gentoo.org> .../litecoind/files/litecoind-0.18.1-gcc12.patch | 22 ++++++++++++++++++++++ net-p2p/litecoind/litecoind-0.18.1-r1.ebuild | 7 +++++-- 2 files changed, 27 insertions(+), 2 deletions(-)