Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667024 - sys-cluster/ceph-13.2.1-r1 should depend on dev-cpp/tbb - clock_cache.cc:(.text+0x147): undefined reference to `tbb::internal::deallocate_via_handler_v3(void*)'
Summary: sys-cluster/ceph-13.2.1-r1 should depend on dev-cpp/tbb - clock_cache.cc:(.te...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 661008 677908 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-25 08:56 UTC by giskard
Modified: 2019-03-20 21:54 UTC (History)
5 users (show)

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


Attachments
build log (build.log.gz,97.22 KB, application/gzip)
2018-09-25 08:59 UTC, giskard
Details
sys-cluster:ceph-13.2.5:20190319-104557.log.xz (sys-cluster:ceph-13.2.5:20190319-104557.log.xz,39.83 KB, application/x-xz)
2019-03-19 13:51 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giskard 2018-09-25 08:56:47 UTC
my laptop have dev-cpp/tbb installed, and another computer without it, when update the system, my laptop failed on building sys-cluster/ceph-13.2.1-r1 during compilation at about 89% process, but the other computer can succeed building it.

Reproducible: Always

Steps to Reproduce:
1. everytime I build ceph
Comment 1 giskard 2018-09-25 08:59:16 UTC
Created attachment 547858 [details]
build log
Comment 2 Aurelien Minet 2018-11-27 15:37:41 UTC
I have the same problem, build fail with version 13.2.1 and 13.2.2 while linking on rocksdb.
Removing dev-cpp/tbb solve the problem, reinstalling get it back...

In the build log there is: "-- Found TBB: /usr/lib/libtbb.so" , it's dynamic (adding "-DWITH_TBB=no" in the ebuild doesn't change anything).
Comment 3 Hector Martin 2018-12-08 00:06:20 UTC
I reported and diagnosed this in #661008 (it's a problem with an automagic dependency inside the embedded RocksDB that does not get linked against properly), but the dev that replied decided he'd rather ignore my work figuring out what the actual problem was and instead asked for a bunch of useless log files, so I didn't bother following up there.

If someone actually wants to bother fixing this, that bug has more info.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-19 13:48:16 UTC
*** Bug 677908 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-19 13:50:00 UTC
Still a problem in 13.2.5
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-19 13:51:03 UTC
Created attachment 569766 [details]
sys-cluster:ceph-13.2.5:20190319-104557.log.xz
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-20 16:29:21 UTC
*** Bug 661008 has been marked as a duplicate of this bug. ***
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-20 16:30:51 UTC
commit 9b67eb1b1afa94c7654646434299bbcf9bc5371f
Author: Patrick McLean <patrick.mclean@sony.com>
Date:   Tue Mar 19 18:11:54 2019 -0700

    sys-cluster/ceph: Version bump to 14.2.0

    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Comment 9 Larry the Git Cow gentoo-dev 2019-03-20 21:54:29 UTC
The bug has been closed via the following commit(s):

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

commit 12252b6abcce03e3154157193bc59c6653cbbb89
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2019-03-20 21:53:46 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2019-03-20 21:54:20 +0000

    sys-cluster/ceph: Remove automagic dependency on dev-cpp/tbb
    
    This removes an automagic dep on tbb in 13.2.5.
    Also remove unneeded patch from 14.2.0
    
    Closes: https://bugs.gentoo.org/667024
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 .../{ceph-13.2.5.ebuild => ceph-13.2.5-r1.ebuild}  |  6 +++-
 .../{ceph-14.2.0.ebuild => ceph-14.2.0-r1.ebuild}  | 10 +++---
 .../ceph/files/ceph-13.2.5-no-automagic-deps.patch | 37 ++++++++++++++++++++++
 .../ceph/files/ceph-14.2.0-no-automagic-tbb.patch  | 12 -------
 sys-cluster/ceph/metadata.xml                      |  1 +
 5 files changed, 47 insertions(+), 19 deletions(-)