Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 574624

Summary: dev-util/android-sdk-update-manager may be missing ncurses dependency
Product: Gentoo Linux Reporter: Richard Freeman <rich0>
Component: Current packagesAssignee: Richard Freeman <rich0>
Status: RESOLVED FIXED    
Severity: normal CC: asturm, bugs, dan, gentoo, ikelos, kripton, limanski, rossi.f, thomas
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Freeman gentoo-dev 2016-02-13 11:35:39 UTC
<karolherbst> I see you maintain the android-sdk-update-manager package. I think it needs a RDEPEND on ncurses:5/5. I got a preserved rebuild entry for that
<karolherbst>  *  - /lib64/libncurses.so.5.9
<karolherbst>  *      used by /opt/android-sdk-update-manager/tools/lib64/gles_mesa/libGL.so (dev-util/android-sdk-update-manager-24.4.1)
<karolherbst> maybe || (ncurses:5 ncurses:0/5 ) would also work, somehow that ncurses slotting looks like a real mess
<karolherbst> ncurses:5/6 won't do the trick
Comment 1 Mike Auty (RETIRED) gentoo-dev 2016-10-30 23:42:47 UTC
Any progress on this?  It should a reasonably simple fix...
Comment 2 Mike Limansky 2016-12-04 21:34:39 UTC
Today sys-libs/ncurses-6.0 became stable. I have dev-util/android-sdk-update-manager-24.4.1 installed, and now it's always in @preserved-rebuild set.
Comment 3 thomas 2016-12-10 08:24:58 UTC
Same here. I am thinking of installing the Android SDK without portage manually.
Comment 4 Richard Freeman gentoo-dev 2016-12-10 12:26:12 UTC
(In reply to thomas from comment #3)
> Same here. I am thinking of installing the Android SDK without portage
> manually.

If that actually fixes the problem then it isn't a dependency issue, because the only thing adding a dependency would do is ensure you ncurses installed, which you probably do.

It sounds like a build system issue of some kind, but I haven't had a chance to look at it.
Comment 5 Mike Auty (RETIRED) gentoo-dev 2016-12-12 18:54:37 UTC
I don't think we compile android-sdk, we just install the binaries (hence /opt)?  I suspect that the versions of the mesa libraries it comes with were built with ncurses-5.9 and that without the dependency it'll continually end up in the preserved-rebuild list.  Installing it manually will only mask the problem because the majority of the program (package management and the adb/fastboot tools) runs fine without the mesa libraries, I think it'd just be particular uses of the emulator that might suffer.  The dependency is still the proper fix for a fully working package (either that or a USE flag that doesn't install the mesa/emulator stuff, but that'd be a lot more work)...
Comment 6 thomas 2016-12-12 21:45:04 UTC
The Android emulator (the newer version) also depends on libpulse, which is not reflected in the ebuild.
Comment 7 thomas 2016-12-12 21:46:53 UTC
(In reply to thomas from comment #6)
> The Android emulator (the newer version) also depends on libpulse, which is
> not reflected in the ebuild.

Please ignore, that was some days ago. Somehow it works now, even without libpulse.
Comment 8 Larry the Git Cow gentoo-dev 2019-12-19 17:58:20 UTC
The bug has been closed via the following commit(s):

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

commit d2a078148e53bfc34c672c9ffa3d44d677dfd93a
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2019-12-19 15:32:26 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2019-12-19 17:58:01 +0000

    dev-util/android-sdk-update-manager: add missing ncurses-compat dep
    
    Closes: https://bugs.gentoo.org/574624
    Closes: https://bugs.gentoo.org/697472
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 .../android-sdk-update-manager-24.4.1.ebuild                           | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)