AnsweredAssumed Answered

Failed to build Uboot with LTIB L3.0.35_4.1.0_130816

Question asked by Robbie Jiang on Apr 9, 2014
Latest reply on Mar 19, 2015 by Li WeiKai

Hi all,

 

I'm working with the latest LTIB L3.0.35_4.1.0_130816

and trying to build uboot and kernel for a mx6_sabrelite board.

 

However, I failed to build uboot with the following message:

$ ./ltib

 

Processing platform: Freescale iMX6x Based Boards

===================================================

using config/platform/imx/.config

 

Processing: fake-provides

===========================

 

Processing: u-boot-v2009.08

=============================

Build path taken because: directory build, no prebuilt rpm,

scbuild/scdeploy already unpacked package

 

Processing: u-boot-v2009.08

=============================

Build path taken because: directory build, build key set, no prebuilt rpm,

 

rpmbuild --dbpath /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/tmp' --define '_rpmdir /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/tmp/u-boot-v2009.08.spec

Building target platforms: arm

Building for target arm

Executing(%build): /bin/sh -e /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/tmp/rpm-tmp.52052

+ umask 022

+ cd /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm/BUILD

+ cd u-boot-2009.08

+ : mx6q_sabrelite_mfg_config

+ eval echo

+ echo

+ PKG_U_BOOT_PATH_PRECONFIG=

+ SRC_DIR=/home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm/BUILD/u-boot-2009.08

+ BUILD_DIR=/home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm/BUILD/u-boot-2009.08

+ [ /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm/BUILD/u-boot-2009.08 != /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm/BUILD/u-boot-2009.08 ]

+ cd /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm/BUILD/u-boot-2009.08

+ [ -n  ]

+ make HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/rpm/BUILD/u-boot-2009.08 mx6q_sabrelite_mfg_config

make: *** No rule to make target `mx6q_sabrelite_mfg_config'.  Stop.

error: Bad exit status from /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/tmp/rpm-tmp.52052 (%build)

 

 

RPM build errors:

 

    Bad exit status from /home/jie/GmbH/MX6Q/L3.0.35_4.1.0_130816/ltib/tmp/rpm-tmp.52052 (%build)

 

Build time for u-boot-v2009.08: 0 seconds

 

Failed building u-boot-v2009.08

 

 

f_buildrpms() returned an error, exiting

 

traceback:

 

main:572

 

 

Started: Wed Apr  9 21:18:20 2014

 

Ended:   Wed Apr  9 21:18:21 2014

 

Elapsed: 1 seconds

 

These packages failed to build:

u-boot-v2009.08

 

Build Failed

 

Exiting on error or interrupt

 

 

 

 

Any idea?

 

Jie

Outcomes