Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829412 - dev-util/bitcoin-tx-22.0 fails to compile: dbwrapper.h:16:10: fatal error: db.h: No such file or directory
Summary: dev-util/bitcoin-tx-22.0 fails to compile: dbwrapper.h:16:10: fatal error: db...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Luke-Jr
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-17 09:16 UTC by Agostino Sarubbo
Modified: 2021-12-19 08:36 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,85.13 KB, text/plain)
2021-12-17 09:16 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-12-17 09:16:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/bitcoin-tx-22.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-17 09:16:08 UTC
Created attachment 759392 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-17 09:16:09 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


./dbwrapper.h:16:10: fatal error: leveldb/db.h: No such file or directory
./dbwrapper.h:16:10: fatal error: leveldb/db.h: No such file or directory
Comment 3 Luke-Jr 2021-12-17 17:40:08 UTC
Works for me? (even with GCC 11)
Comment 4 Luke-Jr 2021-12-17 17:41:37 UTC
Oh, I bet this is related to bitcoin-tx not supposed to need LevelDB... hmm
Comment 5 Larry the Git Cow gentoo-dev 2021-12-19 08:36:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e315afe367101cc3e5d11dbab1f80ac44f078e

commit f4e315afe367101cc3e5d11dbab1f80ac44f078e
Author:     Luke Dashjr <luke-jr+git@utopios.org>
AuthorDate: 2021-12-18 20:25:25 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2021-12-19 08:36:20 +0000

    dev-util/bitcoin-tx-22.0: Fix build without LevelDB
    
    Closes: https://bugs.gentoo.org/829412
    Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
    Closes: https://github.com/gentoo/gentoo/pull/23410
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-util/bitcoin-tx/bitcoin-tx-22.0.ebuild         |  1 +
 .../files/22.0-fix_build_without_leveldb.patch     | 23 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)