Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563050 - dev-util/android-sdk-update-manager-23 - executables not accessible to android group
Summary: dev-util/android-sdk-update-manager-23 - executables not accessible to androi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-14 10:27 UTC by Priit Laes (IRC: plaes)
Modified: 2015-12-04 13:48 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,3.69 KB, text/plain)
2015-10-15 14:46 UTC, Priit Laes (IRC: plaes)
Details
Patch for android-sdk-update-manager ebuild (android-sdk-update-manager-23.ebuild.patch,1.12 KB, patch)
2015-12-04 10:15 UTC, Martin Wegner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2015-10-14 10:27:52 UTC
This seems to be similar to bug #471654 and bug #473198

After installing android-sdk-update-manager-23, `android` executable cannot be started because of invalid permissions:

ls -l /opt/android-sdk-update-manager/tools/
total 15576
-rwxr--r-- 1 root root    3498 Jun 23  2014 android
drwxr-xr-x 2 root root    4096 Oct 14 13:04 ant
drwxr-xr-x 3 root root    4096 Oct 14 13:04 apps
-rwxr--r-- 1 root root    3286 Jun 23  2014 ddms
-rwxr--r-- 1 root root    1940 Jun 23  2014 draw9patch
-rwxr--r-- 1 root root   33428 Jun 23  2014 emulator
-rwxr--r-- 1 root root 2656872 Oct 14 13:04 emulator64-arm
-rwxr--r-- 1 root root 2693416 Oct 14 13:04 emulator64-mips
-rwxr--r-- 1 root root 2752104 Oct 14 13:04 emulator64-x86
-rwxr--r-- 1 root root 2546604 Oct 14 13:04 emulator-arm
-rwxr--r-- 1 root root 2525164 Oct 14 13:04 emulator-mips
-rwxr--r-- 1 root root 2646572 Oct 14 13:04 emulator-x86
-rwxr--r-- 1 root root    3464 Jun 23  2014 hierarchyviewer
-rwxr--r-- 1 root root    1845 Jun 23  2014 jobb
drwxr-xr-x 6 root root    4096 Oct 14 13:04 lib
-rwxr--r-- 1 root root    2046 Jun 23  2014 lint
-rwxr--r-- 1 root root    9648 Oct 14 13:04 mksdcard
-rwxr--r-- 1 root root    1293 Jun 23  2014 monitor
-rwxr--r-- 1 root root    3176 Jun 23  2014 monkeyrunner
-rwxr--r-- 1 root root    2259 Jun 23  2014 screenshot2
-rw-r--r-- 1 root root      70 Jun 23  2014 source.properties
drwxr-xr-x 2 root root    4096 Oct 14 13:04 support
drwxr-xr-x 6 root root    4096 Oct 14 13:04 templates
-rwxr--r-- 1 root root    3219 Jun 23  2014 traceview
-rwxr--r-- 1 root root    3054 Jun 23  2014 uiautomatorviewer



$ emerge --info
Portage 2.2.23 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.3.0-rc4 x86_64)
=================================================================
System uname: Linux-4.3.0-rc4-x86_64-Intel-R-_Core-TM-_i5-3337U_CPU_@_1.80GHz-with-gentoo-2.2
KiB Mem:    12039784 total,    738908 free
KiB Swap:    2097148 total,   2043880 free
Timestamp of repository gentoo: Tue, 13 Oct 2015 10:00:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

crossdev
    location: /home/plaes/code/gentoo/crossdev
    masters: gentoo gnome
    priority: 0

gnome
    location: /home/plaes/code/gentoo/gnome
    masters: gentoo
    priority: 1

plaes-local
    location: /home/plaes/code/gentoo/local
    masters: gentoo
    priority: 2

esteid
    location: /home/plaes/code/gentoo/gentoo-esteid
    masters: gentoo
    priority: 3

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core-avx-i -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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"
CXXFLAGS="-O2 -pipe -march=core-avx-i -g"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb blas bluetooth branding bzip2 cairo cdda cdr clang cli cracklib crypt cups cxx daap dbus djvu dri dts dvd dvdr emboss encode exif fam firefox flac fortran fuse gcj gdbm gif glamor glpk gphoto2 hdf5 iconv icu idn introspection ipv6 jpeg lapack lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg openexr opengl openmp pam pango pch pcre pdf playlist png policykit ppds pulseaudio qt3support qt5 readline rtmp sdl seccomp session smartcard sparse spell sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upnp-av upower usb v4l vaapi vdpau vorbis vpx wayland x264 xcb xml xmp xv xvid xvmc zeroconf zlib" ABI_X86="64" 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" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Richard Freeman gentoo-dev 2015-10-15 11:31:01 UTC
I'm not getting this behavior on a new install - everything is a+x.

What I am seeing is that files in this directory end up being owned by the user who runs android to install the SDK.  That might be possible to fix, but that could be a rough battle since it looks like the android executable basically wipes the directory and installs everything it downloads in its own way, and this is essentially a binary package that google keeps changing.

Can you confirm that if you uninstall the package, delete /opt/android-sdk-update-manager, and reinstall that everything does/doesn't have the right permissions?

If so I'm going to probably UPSTREAM this unless somebody wants to provide a patch.  I just don't think that this is something we can fix ourselves and I think the upstream behavior is probably good enough for its intended purpose.  However, I'm all ears if anybody has suggestions.
Comment 2 Priit Laes (IRC: plaes) 2015-10-15 12:01:11 UTC
(In reply to Richard Freeman from comment #1)
> I'm not getting this behavior on a new install - everything is a+x.
> 
> What I am seeing is that files in this directory end up being owned by the
> user who runs android to install the SDK.  That might be possible to fix,
> but that could be a rough battle since it looks like the android executable
> basically wipes the directory and installs everything it downloads in its
> own way, and this is essentially a binary package that google keeps changing.
> 
> Can you confirm that if you uninstall the package, delete
> /opt/android-sdk-update-manager, and reinstall that everything does/doesn't
> have the right permissions?

So I did:
emerge -C android-sdk-update-manager
rm -r /opt/android-sdk-update-manager

After `emerge android-sdk-update-manager`:

This looks ok:

ls -l /opt/android-sdk-update-manager
total 44
drwxrwxr-x 2 root android 4096 Oct 15 14:56 add-ons
drwxrwxr-x 2 root android 4096 Oct 15 14:56 build-tools
drwxrwxr-x 2 root android 4096 Oct 15 14:56 docs
drwxrwxr-x 2 root android 4096 Oct 15 14:56 extras
drwxrwxr-x 2 root android 4096 Oct 15 14:56 platforms
drwxrwxr-x 2 root android 4096 Oct 15 14:56 platform-tools
drwxrwxr-x 2 root android 4096 Oct 15 14:56 samples
drwxrwxr-x 2 root android 4096 Oct 15 14:56 sources
drwxrwxr-x 2 root android 4096 Oct 15 14:56 system-images
drwxrwxr-x 2 root android 4096 Oct 15 14:56 temp
drwxrwxr-x 7 root android 4096 Oct 15 14:56 tools

But this doesn't:
ls -l /opt/android-sdk-update-manager/tools/
total 15576
-rwxr--r-- 1 root root    3498 Jun 23  2014 android
drwxr-xr-x 2 root root    4096 Oct 15 14:56 ant
drwxr-xr-x 3 root root    4096 Oct 15 14:56 apps
-rwxr--r-- 1 root root    3286 Jun 23  2014 ddms
-rwxr--r-- 1 root root    1940 Jun 23  2014 draw9patch
-rwxr--r-- 1 root root   33428 Jun 23  2014 emulator
-rwxr--r-- 1 root root 2656872 Oct 15 14:56 emulator64-arm
-rwxr--r-- 1 root root 2693416 Oct 15 14:56 emulator64-mips
-rwxr--r-- 1 root root 2752104 Oct 15 14:56 emulator64-x86
-rwxr--r-- 1 root root 2546604 Oct 15 14:56 emulator-arm
-rwxr--r-- 1 root root 2525164 Oct 15 14:56 emulator-mips
-rwxr--r-- 1 root root 2646572 Oct 15 14:56 emulator-x86
-rwxr--r-- 1 root root    3464 Jun 23  2014 hierarchyviewer
-rwxr--r-- 1 root root    1845 Jun 23  2014 jobb
drwxr-xr-x 6 root root    4096 Oct 15 14:56 lib
-rwxr--r-- 1 root root    2046 Jun 23  2014 lint
-rwxr--r-- 1 root root    9648 Oct 15 14:56 mksdcard
-rwxr--r-- 1 root root    1293 Jun 23  2014 monitor
-rwxr--r-- 1 root root    3176 Jun 23  2014 monkeyrunner
-rwxr--r-- 1 root root    2259 Jun 23  2014 screenshot2
-rw-r--r-- 1 root root      70 Jun 23  2014 source.properties
drwxr-xr-x 2 root root    4096 Oct 15 14:56 support
drwxr-xr-x 6 root root    4096 Oct 15 14:56 templates
-rwxr--r-- 1 root root    3219 Jun 23  2014 traceview
-rwxr--r-- 1 root root    3054 Jun 23  2014 uiautomatorviewer
Comment 3 Richard Freeman gentoo-dev 2015-10-15 12:38:55 UTC
(In reply to Priit Laes (IRC: plaes) from comment #2)
> But this doesn't:
> ls -l /opt/android-sdk-update-manager/tools/
> total 15576
> -rwxr--r-- 1 root root    3498 Jun 23  2014 android

Are you sure you're running v23 of the package?  

If so can you at least attach a build log?  Something odd is going on because the ebuild should be explicitly using the right ownership/permissions.
Comment 4 Priit Laes (IRC: plaes) 2015-10-15 14:46:10 UTC
Created attachment 414636 [details]
build.log

Ok, here's the build.log, although there doesn't seem to be much...
Comment 5 Richard Freeman gentoo-dev 2015-10-15 15:14:13 UTC
Interesting.  No idea what is going on, and I can't reproduce it.  

The ebuild already has:

        fowners root:android "${ANDROID_SDK_DIR}"/{.,add-ons,build-tools,docs,extras,platforms,platform-tools,samples,sources,system-images,temp,tools}
        fperms 0775 "${ANDROID_SDK_DIR}"/{.,add-ons,build-tools,docs,extras,platforms,platform-tools,samples,sources,system-images,temp,tools}

You might consider introducing breakpoints/etc and seeing if the permissions are being set correctly, inspect the contents of ANDROID_SDK_DIR, etc.
Comment 6 Martin Wegner 2015-12-04 10:15:22 UTC
Created attachment 418554 [details, diff]
Patch for android-sdk-update-manager ebuild

I encountered the same problem here, and for me the suggestion - to uninstall and wipe android-sdk-update-manager in /opt completely l did also not help.

When running the ebuild up to the install phase, I encountered in /var/tmp/portage/dev-util/android-sdk-update-manager-23/image/ that the tools directory itself had correct permissions:

$ ls -ld /var/tmp/portage/dev-util/android-sdk-update-manager-23/image/opt/android-sdk-update-manager/tools
drwxrwxr-x 7 root android 540  4. Dez 11:04 /var/tmp/portage/dev-util/android-sdk-update-manager-23/image/opt/android-sdk-update-manager/tools

However, the contained files did not:

$ ls -ld /var/tmp/portage/dev-util/android-sdk-update-manager-23/image/opt/android-sdk-update-manager/tools
-rwxr--r-- 1 root root 3.5K 23. Jun 2014  android
drwxr-xr-x 2 root root  100 23. Jun 2014  ant
drwxr-xr-x 3 root root   60 23. Jun 2014  apps
-rwxr--r-- 1 root root 3.3K 23. Jun 2014  ddms
-rwxr--r-- 1 root root 1.9K 23. Jun 2014  draw9patch
-rwxr--r-- 1 root root  33K 23. Jun 2014  emulator
[...]

Thus, when looking into how the fowners and fperms function in portage work [0], it seemed that both of them just pass their arguments to chown and chmod, respectively. So apparently, an -R for recursive ownership/permission change was needed.

[0] https://github.com/gentoo/portage/blob/master/bin/ebuild-helpers/fowners

So, I changed the fowners and fperms calls to include the -R option, and after emerging the ebuild I got a working android sdk again.

For convenience, I will attach the patch for this.

However, I am not sure whether this is the fix or just a workaround.
Comment 7 Martin Wegner 2015-12-04 10:16:36 UTC
Forgot adding $ emerge --info

Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo-wotan x86_64)
=================================================================
System uname: Linux-4.3.0-gentoo-wotan-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:    16164164 total,    104232 free
KiB Swap:    8384508 total,   8384508 free
Timestamp of repository gentoo: Thu, 03 Dec 2015 16:15:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10-r3::gentoo, 3.4.3-r2::gentoo, 3.5.0-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gamarouns
    location: /var/lib/layman/gamarouns
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    masters: gentoo
    priority: 50

grub2-themes
    location: /var/lib/layman/grub2-themes
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

jkolo
    location: /var/lib/layman/jkolo
    masters: gentoo
    priority: 50

mittwinter
    location: /var/lib/layman/mittwinter
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 50

raiagent
    location: /var/lib/layman/raiagent
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=1 --load-average=5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy clean-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" 	ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 	ftp://mirror.netcologne.de/gentoo/ 	 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acpi aes alsa amd64 amr avahi avx berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cryptsetup cups cxx dbus dirac divx dri dts dvb dvd dvdr emboss encode exif faac faad fam fat ffmpeg firefox flac fuse gdbm gif glamor gnome gnome-keyring gnome-online-accounts gnutls gstreamer gtk gtk3 iconv icu idn inotify introspection ipv6 jpeg lame lastfm lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl offensive ogg opengl openmp pam pango pcre pcsc-lite pdf png policykit popcnt ppds pulseaudio readline realmedia samba schroedinger sdl seccomp sendto session smartcard spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog systemd tcpd telepathy theora tiff tracker truetype udev udisks unicode upower usb v4l v4l2 vim-syntax vorbis vpx webm wmp wxwidgets x264 xattr xcb xinerama xml xv xvid zeitgeist zeroconf zlib zsh-completion" ABI_X86="64 32" 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" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Richard Freeman gentoo-dev 2015-12-04 13:48:01 UTC
Thanks, fixed in 94a62f4a63eedcbb3673d433d6e0e9fb9fda2ecd