Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684470 - net-libs/tox-0.2.9 - revdep-rebuild continuously rebuilds tox because of missing library libmisc_tools.so
Summary: net-libs/tox-0.2.9 - revdep-rebuild continuously rebuilds tox because of miss...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Proxy Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-04-27 09:32 UTC by Daniel Pielmeier
Modified: 2019-05-31 16:14 UTC (History)
1 user (show)

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


Attachments
output of ldd (tox_ldd.txt,599 bytes, text/plain)
2019-05-02 00:03 UTC, JoMull01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pielmeier gentoo-dev 2019-04-27 09:32:53 UTC
After the update tox is continuously rebuilt when running revdep-rebuild because the library libmisc_tools.so is not available.

ldd /usr/bin/DHT_bootstrap
libmisc_tools.so => not found

See also upstream issue https://github.com/TokTok/c-toxcore/issues/1144.
Comment 1 JoMull01 2019-04-29 19:24:45 UTC
Good Day.
  Could you give me the command that causes the failure. Running 
#revdep-rebuild tox 
succeeds for me on both of my machines.
Comment 2 Daniel Pielmeier gentoo-dev 2019-04-29 20:31:16 UTC
(In reply to JoMull01 from comment #1)
> Good Day.
>   Could you give me the command that causes the failure. Running 
> #revdep-rebuild tox 
> succeeds for me on both of my machines.

Not here! What is your output off 'ldd /usr/bin/DHT_bootstrap'?
Comment 3 JoMull01 2019-05-02 00:03:04 UTC
Created attachment 574920 [details]
output of ldd
Comment 4 JoMull01 2019-05-02 00:17:16 UTC
Good Evening.
   Attached is the output of #ldd /usr/bin/DHT_bootstrap. Since this a known upstream issue, I don't think that I can do much to fix it. As a suggestion though. I might be able to prevent DHT_bootstrap.so from being build. In principle, the fix would look something like this: create new use flag "DHT_bootstrap", make daemon depend on it, make it disabled by default and issue warnings if it is enabled. If this is not satisfactory, please advise me on a different solution.
Comment 5 JoMull01 2019-05-02 01:45:48 UTC
BTW, by "different solution", I meant to ask for advice on other possible directions towards a solution. I did not mean to sound like I was asking for a workable solution.
Comment 6 Daniel Pielmeier gentoo-dev 2019-05-16 04:53:31 UTC
So there is a cmake option to disable the build of DHT_bootstrap? Then the USE flag absolutely makes sense.
Comment 7 Larry the Git Cow gentoo-dev 2019-05-26 09:43:37 UTC
The bug has been referenced in the following commit(s):

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

commit 68ae6665c6cf68fbc2f50a57442fedcffd3be331
Author:     Josiah Mullins <jomull01@protonmail.com>
AuthorDate: 2019-05-22 21:27:33 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-05-26 09:43:26 +0000

    net-libs/tox: New use flag dht-node.
    
    This commit introduces the use flag dht-node. This flag
    controls the building of the program /usr/bin/DHT_bootstrap.
    This flag is turned off by default. This helps mitigate
    the impact of Bug 684470.
    
    Signed-off-by: Josiah Mullins <JoMull01@protonmail.com>
    Bug: https://bugs.gentoo.org/684470
    Package-Manager: Portage-2.3.62, Repoman-2.3.11
    Closes: https://github.com/gentoo/gentoo/pull/12009
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-libs/tox/metadata.xml        |   1 +
 net-libs/tox/tox-0.2.9-r1.ebuild | 110 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+)
Comment 8 Daniel Pielmeier gentoo-dev 2019-05-31 16:14:00 UTC
Disabling the build of DHT_bootstrap does the trick. Thanks for the fix.