Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557472 - net-misc/dropbox-3.6.8 missing dependency on sys-libs/ncurses-5*
Summary: net-misc/dropbox-3.6.8 missing dependency on sys-libs/ncurses-5*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords:
: 557908 (view as bug list)
Depends on: 557908
Blocks:
  Show dependency tree
 
Reported: 2015-08-13 15:03 UTC by Ben Kohler
Modified: 2015-09-02 21:03 UTC (History)
10 users (show)

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


Attachments
First attempt at ebuild for :5.9 slot (ncurses-5.9-r5.ebuild,3.70 KB, text/plain)
2015-08-20 03:25 UTC, Jonathan Callen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2015-08-13 15:03:23 UTC
net-misc/dropbox installs /opt/dropbox/_curses.so which links directly to libncurses.so.5.  

# lddtree /opt/dropbox/_curses.so
_curses.so => /opt/dropbox/_curses.so (interpreter => none)
    libncurses.so.5 => /lib64/libncurses.so.5
        libdl.so.2 => /lib64/libdl.so.2
            ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
    libpthread.so.0 => /lib64/libpthread.so.0
    libc.so.6 => /lib64/libc.so.6
#


There should either be a direct dependency on something like sys-libs/ncurses-5*, or this file should not be installed (if it's not really needed).

I actually only noticed the dependency today when upgrading to ncurses-6 and I see emerge preserving the old ncurses libs for dropbox:

!!! existing preserved libs:
>>> package: sys-libs/ncurses-6.0
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /opt/dropbox/_curses.so (net-misc/dropbox-3.6.8)
Use emerge @preserved-rebuild to rebuild packages using these libraries
Comment 1 Ludovic Bellier 2015-08-13 22:49:54 UTC
Same pb on my host in same conditions (ncurses update to 6.0).

emerge @preserved-rebuild report the pb, re-install dropbox and re-report the pb: >>> package: sys-libs/ncurses-6.0
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /opt/dropbox/_curses.so (net-misc/dropbox-3.6.8)
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-08-15 13:53:08 UTC
@base-system, this means we need libcurses:5.9 library-only slot (like libpng:1.5 and openssl:0.9.8) for use by closed-source dependencies.
Comment 3 SpanKY gentoo-dev 2015-08-16 14:09:48 UTC
*** Bug 557908 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Callen (RETIRED) gentoo-dev 2015-08-20 03:25:20 UTC
Created attachment 409530 [details]
First attempt at ebuild for :5.9 slot

Here's my first attempt at a workable ebuild.  I attempted to remove all the options that do not apply to shared libraries, and just build/install the shared libraries that would have been installed in the 5.9-r4 ebuild, as they were installed.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2015-08-20 07:01:06 UTC
(In reply to Jonathan Callen from comment #4)
> Created attachment 409530 [details]
> First attempt at ebuild for :5.9 slot
> 
> Here's my first attempt at a workable ebuild.  I attempted to remove all the
> options that do not apply to shared libraries, and just build/install the
> shared libraries that would have been installed in the 5.9-r4 ebuild, as
> they were installed.

That's my version. I tried to stay as close as possible to the old ebuild.

https://raw.githubusercontent.com/ercpe/lh-overlay/master/sys-libs/ncurses/ncurses-5.9-r104.ebuild
Comment 6 Ivan Iraci 2015-08-24 15:25:02 UTC
Any news about this issue?

Thanks in advance.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2015-08-25 05:51:23 UTC
@base-system, tomorrow I will slot-move ncurses to SLOT=0 and add the ebuild for SLOT=5 with the binary compatibility libs.
Comment 8 SpanKY gentoo-dev 2015-08-26 06:50:45 UTC
there is no 5.9 ABI, just 5

had to fix some pypy deps first:
http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8eefe5a5c77d8c5cc6aa74297d6d245abf003fa

then the slot move for the versions in the tree to 0:
http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051ad88caa127419c80d473021ab8909a2268789
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2015-08-26 07:29:44 UTC
(In reply to SpanKY from comment #8)
> there is no 5.9 ABI, just 5
> 

I know that, but we cannot add a SLOT=5 back. That doesn't work per PMS.
Comment 10 SpanKY gentoo-dev 2015-08-26 07:55:43 UTC
(In reply to Justin Lecher from comment #9)

sure it does.  just pick a non-matching atom.
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2015-08-26 07:58:32 UTC
(In reply to SpanKY from comment #10)
> (In reply to Justin Lecher from comment #9)
> 
> sure it does.  just pick a non-matching atom.

So you mean

sys-libs/ncurses-5.9-r100 with SLOT=5

would work?
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2015-08-26 12:25:31 UTC
commit d1e9815944711d01c6d1598cf23f14be9edc22d9
Author: Justin Lecher <jlec@gentoo.org>
Date:   Wed Aug 26 14:25:03 2015 +0200

    net-misc/dropbox: Fix ncurses deps

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=557472

    Package-Manager: portage-2.2.20.1
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

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

commit bc763694f07e96137c03ff88643c4535ea645250
Author: Justin Lecher <jlec@gentoo.org>
Date:   Wed Aug 26 14:23:59 2015 +0200

    sys-libs/ncurses: Fix blocker

    Package-Manager: portage-2.2.20.1
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

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

commit ec1cb36e722e62cf504f89ffdfc05ce87407ae3d
Author: Justin Lecher <jlec@gentoo.org>
Date:   Wed Aug 26 14:19:10 2015 +0200

    sys-libs/ncurses: Add compatibility package for binary packages

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=557472

    Package-Manager: portage-2.2.20.1
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec1cb36e722e62cf504f89ffdfc05ce87407ae3d
Comment 13 SpanKY gentoo-dev 2015-08-26 18:20:42 UTC
(In reply to Justin Lecher from comment #12)

well that version is half baked.  please wait next time for an actual review.

http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cc8ae51e676d082f5c785a7463e54773cf96714