Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808047 - net-p2p/litecoind-0.18.1-r1 - dbwrapper.cpp: fatal error: leveldb/.../memenv.h: No such file or directory
Summary: net-p2p/litecoind-0.18.1-r1 - dbwrapper.cpp: fatal error: leveldb/.../memenv....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-13 17:18 UTC by Toralf Förster
Modified: 2021-08-13 23:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.32 KB, text/plain)
2021-08-13 17:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,617.21 KB, text/plain)
2021-08-13 17:18 UTC, Toralf Förster
Details
environment (environment,96.26 KB, text/plain)
2021-08-13 17:18 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,55.69 KB, application/x-bzip)
2021-08-13 17:18 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,22.42 KB, application/x-bzip)
2021-08-13 17:18 UTC, Toralf Förster
Details
net-p2p:litecoind-0.18.1-r1:20210813-161701.log (net-p2p:litecoind-0.18.1-r1:20210813-161701.log,41.81 KB, text/plain)
2021-08-13 17:18 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.48 KB, application/x-bzip)
2021-08-13 17:18 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-13 17:18:14 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-08-13 17:18:16 UTC
Created attachment 732625 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-13 17:18:17 UTC
Created attachment 732627 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-13 17:18:19 UTC
Created attachment 732629 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-13 17:18:20 UTC
Created attachment 732631 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-13 17:18:22 UTC
Created attachment 732633 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-13 17:18:23 UTC
Created attachment 732635 [details]
net-p2p:litecoind-0.18.1-r1:20210813-161701.log
Comment 7 Toralf Förster gentoo-dev 2021-08-13 17:18:25 UTC
Created attachment 732637 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-13 19:39:24 UTC
Broken with new leveldb, I guess?
Comment 9 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2021-08-13 20:06:02 UTC
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.
Comment 10 Marek Szuba archtester gentoo-dev 2021-08-13 23:14:36 UTC
(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.
Comment 11 Larry the Git Cow gentoo-dev 2021-08-13 23:16:04 UTC
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(-)