13.10: Panda-Android Release source download and build fails

Bug #1250180 reported by Viswanath Puttagunta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
New
Undecided
Unassigned

Bug Description

Issue:
- The command
  ./linaro_android_build_cmds.sh -m ~/<full_path>/pinned-manifest.xml
  fails. Code download is successful, but build fails
   (reference: http://releases.linaro.org/13.10/android/panda/)

Detailed Description
Two issues are seen:

1. Build error while building kernel defconfig
    Related log snapshot
    make O=/home/vishp/linaro/ti/releases/panda/13.10/android/sources/android/out/target/product/pandaboard/obj/kernel ARCH=arm CROSS_COMPILE=/home/vishp/linaro/ti/releases/panda/13.10/android/sources/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi- KCFLAGS="-mtune=cortex-a9 -mcpu=cortex-a9 -fno-pic -mno-unaligned-access" LD=$LD uImage
make[1]: Entering directory `/home/vishp'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: *** No rule to make target `defconfig'. Stop.
make[1]: Leaving directory `/home/vishp'
make: *** [android_kernel] Error 2
make: *** Waiting for unfinished jobs....

   Fix for this issue: comment out line 'export TARGET_KERNEL_SOURCE='
in linaro_android_build_cmds.sh file

2. After above fix, kernel build proceeds without failure, but we face another issue due to native-toolchain/svn dependency:.

    /home/vishp/linaro/ti/releases/panda/13.10/android/sources/android/native-toolchain/build.sh:
line 116: svn: command not found
make: *** [out/target/product/pandaboard/system/bin/gcc] Error 127
make: *** Waiting for unfinished jobs....

    Fix for this issue: Install subversion 'sudo apt-get install subversion;

After above 2 changes, I was able to build Android-panda successfully. Thanks to Vishal for narrowing down the issue and providing fixes.

Please fix the 'linaro_android_build_cmds.sh' script in the http://releases.linaro.org/13.10/android/panda/ at the earliest so that others will not face this issue.

Thanks,
Vish

Revision history for this message
Chase Qi (chase-qi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.