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_MACROS -DUSE_SSE2=1 -fstack-reuse=none -Wstack-protector -fstack-protector-all -fPIE -pipe -march=native -fno-diagnostics-color -O2 -c -o libbitcoin_server_a-merkleblock.o `test -f 'merkleblock.cpp' || echo './'`merkleblock.cpp dbwrapper.cpp:13:10: fatal error: leveldb/helpers/memenv.h: No such file or directory 13 | #include <leveldb/helpers/memenv.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:8104: libbitcoin_server_a-dbwrapper.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j3-20210804-092108 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.54.0 * The following VMs are available for generation-2: *) AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-jre-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit fb2205248a66c3457800a73923b59fdea75caf75 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Aug 13 15:37:02 2021 +0000 2021-08-13 15:37:00 UTC emerge -qpvO net-p2p/litecoind [ebuild R ] net-p2p/litecoind-0.18.1-r1 USE="upnp wallet" CPU_FLAGS_X86="sse2"
Created attachment 732625 [details] emerge-info.txt
Created attachment 732627 [details] emerge-history.txt
Created attachment 732629 [details] environment
Created attachment 732631 [details] etc.portage.tar.bz2
Created attachment 732633 [details] logs.tar.bz2
Created attachment 732635 [details] net-p2p:litecoind-0.18.1-r1:20210813-161701.log
Created attachment 732637 [details] temp.tar.bz2
Broken with new leveldb, I guess?
Can confirm that the header and library was installed on previous version of leveldb (but was using old build system with a lot of other bugs). From reviewing the source of leveldb, here: https://github.com/google/leveldb/blob/f57513a1d6c99636fc5b710150d0b93713af4e43/CMakeLists.txt#L226-L231 Those helpers files weren't intended to be public, and should be internal code. They also stopped shipping memenv library (we change the working in the patch with net-p2p/litecoind/files). Upstream also stated that it was internal API that can be removed at any point, as stated here: https://github.com/google/leveldb/issues/867#issuecomment-753852212 So, I think the issue stands on the 'net-p2p/litecoind' side.
(In reply to Arthur Zamarin from comment #9) > So, I think the issue stands on the 'net-p2p/litecoind' side. I concur. Will set a version cap in the ebuild for now but if this doesn't get fixed upstream soon, IMHO unless someone begins maintaining this package we should last-rite it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a82fae33e9c61e233fae35a51292068b571d39 commit 20a82fae33e9c61e233fae35a51292068b571d39 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-08-13 23:14:59 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-08-13 23:15:58 +0000 net-p2p/litecoind: block >=dev-libs/leveldb-1.23 Closes: https://bugs.gentoo.org/808047 Signed-off-by: Marek Szuba <marecki@gentoo.org> net-p2p/litecoind/litecoind-0.18.1-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)