Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531358 - dev-util/android-sdk-update-manager - add multilib support
Summary: dev-util/android-sdk-update-manager - add multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-12-01 16:29 UTC by Quetzaly Solano Gómez
Modified: 2015-04-01 20:08 UTC (History)
3 users (show)

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


Attachments
ebuild patch to add multilib support (add-multilib-to-android-sdk-update-manager-ebuild.diff,760 bytes, patch)
2014-12-01 16:29 UTC, Quetzaly Solano Gómez
Details | Diff
patch to fix amd64 dependency (android-sdk-update-manager.patch,583 bytes, patch)
2015-03-25 09:00 UTC, Denis Sokolovsky
Details | Diff
patch to fix amd64 dependency (android-sdk-update-manager.patch,583 bytes, patch)
2015-03-25 09:10 UTC, Denis Sokolovsky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Quetzaly Solano Gómez 2014-12-01 16:29:06 UTC
Created attachment 390722 [details, diff]
ebuild patch to add multilib support

Currently, the dependencies for the android-sdk-update-manager require emul-linux-x86-gtklibs when on amd64.  It would be ideal that if gtk+ is installed with abi_x86_32 that it should be preferred over emul-linux-x86-gtklibs.
Comment 1 Denis Sokolovsky 2015-03-25 08:54:13 UTC
Actually multilib support is already in ebuild but it is bugged.

First, already existed dependency written in a way that is always resolved to app-emulation/emul-linux-x86-gtklibs requirement on amd64. This can be easily resolved by attached patch or, even, more simple one (remove "amd64?" constrain).

Second. I'm not a power user of android sdk, but, from what I see, dependency to gtk+ is not required. Some programs is run by java (which already handle amd64 stuff for us), other don't need any special library or need only zlib[abi_x86_32]. More complex programs have platform autodetection. So "monitor" runs "lib/monitor-x86_64/monitor", "emulator" - "tools/emulator64-arm" and so on.
Comment 2 Denis Sokolovsky 2015-03-25 09:00:20 UTC
Created attachment 399712 [details, diff]
patch to fix amd64 dependency

Android SDK installed using patched ebuild works fine on my system, but it should be tested on clean amd64 system with masked app-emulation/emul-linux-x86*.
Comment 3 Denis Sokolovsky 2015-03-25 09:10:09 UTC
Created attachment 399714 [details, diff]
patch to fix amd64 dependency

Umm, same as before, but with fixed copy/paste error
Comment 4 Randall Wald 2015-03-29 06:13:53 UTC
As of 28 Mar 2015, all of the emul-linux-x86 packages have been masked for removal from Portage in 60 days (ref: bug #544876). Since we have a patch that works to remove the app-emulation/emul-linux-x86-gtklibs dependency, perhaps it should be pushed into the Portage tree...
Comment 5 Richard Freeman gentoo-dev 2015-04-01 20:08:23 UTC
committed fix to portage - sorry about the delay...