Package Details: fb-adb-git 20170602.r363.b931596-6

Git Clone URL: https://aur.archlinux.org/fb-adb-git.git (read-only)
Package Base: fb-adb-git
Description: A better shell to use in place of adb when connecting to Android devices
Upstream URL: https://github.com/facebook/fb-adb
Licenses: GPL3
Submitter: prurigro
Maintainer: None
Last Packager: yan12125
Votes: 6
Popularity: 0.000000
First Submitted: 2014-10-06 10:34
Last Updated: 2017-10-15 18:10

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

yan12125 commented on 2016-06-01 04:57

Installed android-sdk. It exposes $ANDROID_HOME but not $ANDROID_SDK. I try the following command but fails:

$ ANDROID_SDK=$ANDROID_HOME yaourt fb-adb-git
(...some AUR comments...)
==> Building and installing package
==> Making package: fb-adb-git 20160514.r338.5e970a4-1 (Wed Jun 1 12:54:37 CST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating fb-adb git repo...
Fetching origin
==> Validating source files with sha512sums...
fb-adb ... Skipped
==> Extracting sources...
-> Creating working copy of fb-adb git repo...
Cloning into 'fb-adb'...
done.
==> Starting prepare()...
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Makepkg was unable to build fb-adb-git.

yan12125 commented on 2016-06-01 04:53

It works but not ideal. Building this package eats 4.4G in my /tmp - I have to enlarge /tmp or use $TMPDIR to build this package correctly.

lockheed commented on 2016-05-21 08:49

@yan12125
Can you verify whether this is how the PKGBUILD needs to be modified? http://pastebin.com/raw/JfVBJGfF

yan12125 commented on 2016-05-21 08:36

Since rev 338 fb-adb requires the Java part of Android SDK:

diff --git a/PKGBUILD b/PKGBUILD
index e35df51..ecc7f42 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@

_pkgname=fb-adb
pkgname=$_pkgname-git
-pkgver=20160421.r337.ae33dc4
+pkgver=20160514.r338.5e970a4
pkgrel=1
pkgdesc='A better shell to use in place of adb when connecting to Android devices'
url='https://github.com/facebook/fb-adb'
license=('GPL3')
arch=('i686' 'x86_64')
depends=('android-tools')
-makedepends=('git' 'vim')
+makedepends=('git' 'vim' 'android-sdk' 'android-platform-19' 'android-sdk-build-tools')
options=('!strip' '!buildflags')
source=("git+$url.git")
sha512sums=('SKIP')
@@ -32,6 +32,8 @@ build() {
[[ -z "$ANDROID_NDK" ]] \
&& export ANDROID_NDK="$srcdir/android-ndk-r$_ndkver"

+ export ANDROID_SDK=$ANDROID_HOME
+
# configure
cd $_pkgname
./autogen.sh

lockheed commented on 2016-05-16 06:05

I am getting this error during compilation:

==> Starting pkgver()...
==> Updated version: fb-adb-git 20160514.r338.5e970a4-1
==> Starting build()...
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: error: Android SDK location not given
==> ERROR: A failure occurred in build().
Aborting...

dnl_tp commented on 2016-04-08 05:19

ndk-r10e x86_64 sha512 is outdated
both with ndk-r10 and r11 build fails with 'pod2text not found'

i had to add export PATH="$PATH:/usr/bin/core_perl" to build().

prurigro commented on 2015-11-25 23:40

@yan12125: Ahh I missed that, thanks for noticing!

yan12125 commented on 2015-11-24 09:29

Thanks for adopting my ideas. I think there's something more to be removed: the zip command in build() and 'zip' in makedepends.

prurigro commented on 2015-11-16 00:24

@yan12125: Thanks for letting me know! I'm updating the package right now and am removing prelink from the makedepends and the compiled adb binary from /usr/share (let me know if I misunderstood what you meant)

yan12125 commented on 2015-11-10 16:18

Hello @prurigro This package can be built without prelink anymore. Also the fb-adb stub is extracted to the device by the host binary automatically. There's no need to manually copy fb-adb ARM binary to the device anymore.