Error building Android Lollipop for hammerhead on Linux Mint 17

165 views
Skip to first unread message

Manuele Polverini

unread,
Nov 17, 2014, 7:26:54 PM11/17/14
to android-...@googlegroups.com
When i give the command "lunch aosp_hammerhead-userdebug" i have these errors:

polv89@pc-polvint /media/polv89/ExHardDisk/sviluppo_android $ lunch aosp_hammerhead-userdebug/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato

/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0
TARGET_PRODUCT=aosp_hammerhead
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.17.1-031701-generic-x86_64-with-LinuxMint-17-qiana
HOST_BUILD_TYPE=release
BUILD_ID=LRX21T
OUT_DIR=out
============================================


Someone can help me?
thanks 

Jean-Baptiste Queru

unread,
Nov 18, 2014, 12:01:38 PM11/18/14
to android-...@googlegroups.com
Typically that happens when you download the source code on a volume that doesn't allow for executables. This could be because you have a volume that is explicitly mounted that way (might be the "noexec" flag), and this has been known to happen when using NTFS volumes instead of ext4.

JBQ
 
--

Jean-Baptiste M. "JBQ" Quéru
Architect, Mobile, Yahoo


--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Mauro Rossi

unread,
Dec 7, 2014, 7:12:18 PM12/7/14
to android-...@googlegroups.com
I also had a similar problem withj an internal NTFS hdd and looking a the path  /media/polv89/ExHardDisk/ it seems indeed an external HDD.

The only folder I could setup and use on an NTFS drive was the .ccache folder, but then it has to be browsed prior to each build.

Just for my information, how did you solved?

Mauro

Julio Suarez

unread,
Dec 30, 2014, 11:07:18 PM12/30/14
to android-...@googlegroups.com
I had a similar issue when downloading the source to an external HDD with NTFS. My solution was to reformat to ext4.
Reply all
Reply to author
Forward
0 new messages