Package: google-android-build-tools-installer Version: 23.0.2.0 Severity: grave Tags: patch
Hello, google-android-build-tools-installer fail to install on my computer: install: impossible d'évaluer « /var/cache/google-android-build-tools-installer/android-4.4W/split-select »: Aucun fichier ou dossier de ce type Meaning that it can find split-select. It seem that it fail because it is not installing android-4.4W but android-6. The attached path fix this problem. There is another bug in the Makefile: the library (libLLVM.so libbcinfo.so libbcc.so libclang.so) are looked for in the wrong subdirectory of android-*/, and the test looking at their possible installation in the current system look in /usr/bin and not /usr/lib. My patch fix those two error too. Thanks for the package. Cordially, Rémi.
--- google-android/Makefile 2015-12-20 10:34:56.106509766 +0100 +++ /usr/share/google-android-build-tools-installer/Makefile 2015-12-20 10:30:59.106470309 +0100 @@ -6,7 +6,7 @@ PKG_SOURCE_URL:=https://dl.google.com/android/repository/${PKG_SOURCE} DL_DIR=/var/cache/google-android-build-tools-installer -UNPACK_DIR=$(DL_DIR)/android-4.4W +UNPACK_DIR=$(DL_DIR)/android-6.0 DOC_DIR=/usr/share/doc/google-android-build-tools all: $(DL_DIR)/$(UNPACK_DIR)/aapt @@ -30,8 +30,8 @@ $(UNPACK_DIR)/zipalign \ /usr/bin/ install -d -m0755 /usr/lib/ - for f in libLLVM.so libbcinfo.so libbcc.so libclang.so; do \ - test -e /usr/bin/$$f || install -m0644 $(UNPACK_DIR)/$$f /usr/lib/; done + for f in lib/libLLVM.so lib/libbcinfo.so lib/libbcc.so lib/libclang.so; do \ + test -e /usr/lib/$$f || install -m0644 $(UNPACK_DIR)/$$f /usr/lib/; done install -d -m0755 $(DOC_DIR) gzip -9 --stdout $(UNPACK_DIR)/NOTICE.txt > $(DOC_DIR)/copyright.gz install -m0644 $(UNPACK_DIR)/source.properties $(DOC_DIR)/
-- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages google-android-build-tools-installer depends on: ii build-essential 12.1 ii ca-certificates 20150426 ii dpkg-dev 1.18.3 ii libstdc++6 5.3.1-3 ii make 4.0-8.2 ii unzip 6.0-20 ii wget 1.17.1-1 ii zlib1g 1:1.2.8.dfsg-2+b1 google-android-build-tools-installer recommends no packages. google-android-build-tools-installer suggests no packages. -- no debconf information -- Rémi Vanicat