Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865147 - dev-libs/leveldb-1.23-r3 - powerpc64-unknown-linux-gnu/11.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: cannot find -ltcmalloc: No such file or directory
Summary: dev-libs/leveldb-1.23-r3 - powerpc64-unknown-linux-gnu/11.3.0/../../../../pow...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Arthur Zamarin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-14 10:48 UTC by ernsteiswuerfel
Modified: 2022-10-10 15:25 UTC (History)
0 users

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


Attachments
build.log (ppc64, 1.23-r3) (leveldb-1.23-r3:20220814-102719.log,33.81 KB, text/plain)
2022-08-14 10:48 UTC, ernsteiswuerfel
Details
emerge --info (file_865147.txt,6.39 KB, text/plain)
2022-08-14 10:49 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-08-14 10:48:58 UTC
Created attachment 799589 [details]
build.log (ppc64, 1.23-r3)

[...]
FAILED: libleveldb.so.1.23.0 
: && /usr/bin/powerpc64-unknown-linux-gnu-g++ -fPIC -O2 -mcpu=970 -mtune=970 -pipe -fno-exceptions  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -Wl,-soname,libleveldb.so.1 -o libleveldb.so.1.23.0 CMakeFiles/leveldb.dir/db/builder.cc.o CMakeFiles/leveldb.dir/db/c.cc.o CMakeFiles/leveldb.dir/db/db_impl.cc.o CMakeFiles/leveldb.dir/db/db_iter.cc.o CMakeFiles/leveldb.dir/db/dbformat.cc.o CMakeFiles/leveldb.dir/db/dumpfile.cc.o CMakeFiles/leveldb.dir/db/filename.cc.o CMakeFiles/leveldb.dir/db/log_reader.cc.o CMakeFiles/leveldb.dir/db/log_writer.cc.o CMakeFiles/leveldb.dir/db/memtable.cc.o CMakeFiles/leveldb.dir/db/repair.cc.o CMakeFiles/leveldb.dir/db/table_cache.cc.o CMakeFiles/leveldb.dir/db/version_edit.cc.o CMakeFiles/leveldb.dir/db/version_set.cc.o CMakeFiles/leveldb.dir/db/write_batch.cc.o CMakeFiles/leveldb.dir/table/block_builder.cc.o CMakeFiles/leveldb.dir/table/block.cc.o CMakeFiles/leveldb.dir/table/filter_block.cc.o CMakeFiles/leveldb.dir/table/format.cc.o CMakeFiles/leveldb.dir/table/iterator.cc.o CMakeFiles/leveldb.dir/table/merger.cc.o CMakeFiles/leveldb.dir/table/table_builder.cc.o CMakeFiles/leveldb.dir/table/table.cc.o CMakeFiles/leveldb.dir/table/two_level_iterator.cc.o CMakeFiles/leveldb.dir/util/arena.cc.o CMakeFiles/leveldb.dir/util/bloom.cc.o CMakeFiles/leveldb.dir/util/cache.cc.o CMakeFiles/leveldb.dir/util/coding.cc.o CMakeFiles/leveldb.dir/util/comparator.cc.o CMakeFiles/leveldb.dir/util/crc32c.cc.o CMakeFiles/leveldb.dir/util/env.cc.o CMakeFiles/leveldb.dir/util/filter_policy.cc.o CMakeFiles/leveldb.dir/util/hash.cc.o CMakeFiles/leveldb.dir/util/logging.cc.o CMakeFiles/leveldb.dir/util/options.cc.o CMakeFiles/leveldb.dir/util/status.cc.o CMakeFiles/leveldb.dir/util/env_posix.cc.o CMakeFiles/leveldb.dir/helpers/memenv/memenv.cc.o  -lcrc32c  -lsnappy  -ltcmalloc && :
/usr/lib/gcc/powerpc64-unknown-linux-gnu/11.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: cannot find -ltcmalloc: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/leveldb-1.23-r3::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed
Comment 1 ernsteiswuerfel archtester 2022-08-14 10:49:44 UTC
Created attachment 799591 [details]
emerge --info
Comment 2 YangMame 2022-10-10 05:19:52 UTC
rebuild google-perftools without minimal USE flag fixed this problem on riscv, spec -L/usrlib64 flag should fix this problem,too
Comment 3 Larry the Git Cow gentoo-dev 2022-10-10 15:25:22 UTC
The bug has been closed via the following commit(s):

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

commit ebfc18a3ea0b0087fd3a7933b85165fbf0968091
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2022-10-10 15:18:51 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2022-10-10 15:25:18 +0000

    dev-libs/leveldb: fix dependencies
    
    leveldb, when building with USE="tcmalloc", uses functions of
    google-perftools that aren't compiled in with "minimal" mode. In
    which case, update the dependency to require minimal mode off.
    
    Closes: https://bugs.gentoo.org/865147
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-libs/leveldb/{leveldb-1.23-r3.ebuild => leveldb-1.23-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)