Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-30 Thread Neil Bothwick
On Wed, 30 Jan 2019 02:34:09 +0100, malloc1337 wrote:

> > If you only want adb and friends, rather than the full SDK, emerge
> > dev-util/android-tools instead.
> >   
> 
> I did not think of that, but the Gentoo Wiki on Android/ADB suggests
> that the full android-sdk-update-manager package is a prerequisite for
> dev-util/android-tools.
> 
> see: https://wiki.gentoo.org/wiki/Android/adb

It does read that way, but it is not so:

% qlist -ICv android
dev-util/android-tools-9.0.0_p3

No SDK installed here.


-- 
Neil Bothwick

Few women admit their age. Few men act theirs.


pgpY9LR9zeEnY.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread malloc1337
Thus spoke Neil Bothwick (n...@digimed.co.uk):
> 
> If you only want adb and friends, rather than the full SDK, emerge
> dev-util/android-tools instead.
> 

I did not think of that, but the Gentoo Wiki on Android/ADB suggests
that the full android-sdk-update-manager package is a prerequisite for
dev-util/android-tools.

see: https://wiki.gentoo.org/wiki/Android/adb


-- 
malloc1337

mailto: dis...@mm-no.de




Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Neil Bothwick
On Tue, 29 Jan 2019 13:31:38 +0100, m4110c wrote:

> I'm trying to install the Android Tools to use "adb" with my phone on
> gentoo.
> 
> When I try to install android-sdk-update-manager it fails on compiling
> its dependency dev-java/swt-3.7.2-r2.

If you only want adb and friends, rather than the full SDK, emerge
dev-util/android-tools instead.


-- 
Neil Bothwick

"We demand rigidly defined areas of doubt and uncertainty!"


pgpf8NpSL6IzB.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread m4110c


Thus spoke Andrew Udvare (audv...@gmail.com):
> 
> I'm not sure ADB is a Java app, but I think it's not, so you don't have to 
> switch just for ADB.
> 

No, only the Android SDK that contains the ADB Tools is a Java app. So I
guess it's only needed to install, not for ADB usage.

>
> The Android SDK binary distribution comes with its own copy of the JDK IIRC, 
> if you want to go with that.
> 

I did that, worked like a charm.

Thanks guys, see you around...

-- 
m4110c

mailto: dis...@mm-no.de




Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Andrew Udvare



> On Jan 29, 2019, at 08:12, m4110c  wrote:
> 
> Thus spoke Andrew Udvare (audv...@gmail.com):
>> 
>> Choose another JDK with 'eselect java-vm set system ...'. You might need to 
>> install another like icedtea or Oracle's version.
>> 
> 
> I use Oracle JDK 1.8. I thought maybe I need a 32bit JDK, because it
> installed some dependencies with the abi_x86_32 use flag.
> 
> How would that work then. Do I have to switch (eselect) JDKs whenever I want 
> to
> use Android ADB stuff?

Without other configuration, any Gentoo setup can only have one JVM going (one 
for system and one for local user). So if you have apps that are incompatible 
between JVMs you will have to switch every time.

I'm not sure ADB is a Java app, but I think it's not, so you don't have to 
switch just for ADB.

The Android SDK binary distribution comes with its own copy of the JDK IIRC, if 
you want to go with that.



Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread m4110c
Thus spoke Andrew Udvare (audv...@gmail.com):
> 
> Choose another JDK with 'eselect java-vm set system ...'. You might need to 
> install another like icedtea or Oracle's version.
> 

I use Oracle JDK 1.8. I thought maybe I need a 32bit JDK, because it
installed some dependencies with the abi_x86_32 use flag.

How would that work then. Do I have to switch (eselect) JDKs whenever I want to
use Android ADB stuff?

-- 
m4110c

mailto: dis...@mm-no.de




Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Andrew Udvare



> On Jan 29, 2019, at 07:31, m4110c  wrote:
> 
> Hi all,
> 
> I'm trying to install the Android Tools to use "adb" with my phone on
> gentoo.
> 
> When I try to install android-sdk-update-manager it fails on compiling
> its dependency dev-java/swt-3.7.2-r2.
> 
> The output of "emerge --info '=dev-java/swt-3.7.2-r2::gentoo'":

Choose another JDK with 'eselect java-vm set system ...'. You might need to 
install another like icedtea or Oracle's version.



[gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread m4110c
Hi all,

I'm trying to install the Android Tools to use "adb" with my phone on
gentoo.

When I try to install android-sdk-update-manager it fails on compiling
its dependency dev-java/swt-3.7.2-r2.

The output of "emerge --info '=dev-java/swt-3.7.2-r2::gentoo'":

---
Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop, 
gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo x86_64)
=
 System Settings
=
System uname: 
Linux-4.14.83-gentoo-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-gentoo-2.6
KiB Mem:16383972 total,  12908064 free
KiB Swap:   18874364 total,  18874364 free
Timestamp of repository gentoo: Tue, 29 Jan 2019 00:45:01 +
Head commit of repository gentoo: 5abb0c321f4fb572f4b3ab7cb7a4418b6dc11699
Head commit of repository sakaki-tools: df5b210704a49d66fca210509456b3809bab4716

Head commit of repository tlp: c1512b6f94c4780791a0cd7ab50eb3fb4f1003b2

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:  4.4_p23-r1::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl:5.26.2::gentoo
dev-lang/python:  2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:   3.9.6::gentoo
dev-util/pkgconfig:   0.29.2::gentoo
sys-apps/baselayout:  2.6-r1::gentoo
sys-apps/openrc:  0.38.3-r1::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf:   2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:   1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 
1.16.1-r1::gentoo
sys-devel/binutils:   2.30-r4::gentoo
sys-devel/gcc:7.3.0-r3::gentoo
sys-devel/gcc-config: 2.0::gentoo
sys-devel/libtool:2.4.6-r3::gentoo
sys-devel/make:   4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:   2.27-r6::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: no
sync-rsync-extra-opts: 
sync-rsync-verify-max-age: 24

sakaki-tools
location: /var/db/repos/sakaki-tools
sync-type: git
sync-uri: https://github.com/sakaki-/sakaki-tools.git
masters: gentoo

tlp
location: /var/db/repos/tlp
sync-type: git
sync-uri: https://github.com/dywisor/tlp-portage.git
masters: gentoo

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x 
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 
trident usb-audio via82xx via82xx-modem ymfpci"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias 
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm 
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 
cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter 
file_cache filter headers include info log_config logio mem_cache mime 
mime_magic negotiation rewrite setenvif speling status unique_id userdir 
usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib split-usr python_targets_python3_6 
python_targets_python2_7 multilib"
BROOT=""
BROWSER="qutebrowser"
CACERTS="/etc/ssl/certs/ca-certificates.crt"
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/*"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc 
/usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d 
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 
sse4_1 sse4_2 ssse3"
CXXFLAGS="-march=native -O2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-AUcRrRoaAY,guid=bcd2ad10087a56e255bd079c5c50385b"
DEFAULT_ABI="amd64"
DESKTOP_STARTUP_ID="i3/i3-sensible-terminal/4651-10-mars_TIME1717920"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
DOUSE="acl alsa bash-completion branding cleartype consolekit corefonts dbus 
drm fontconfigcups glamor gpm ncurses policykit pulseaudio ssh threads 
truetype udev udisks upowerunicode