[yocto] Bitbake error for rpm-native -- do compile failed

Anoop babu.anoop at gmail.com
Thu Jul 24 06:29:29 PDT 2014


bitbake for imx6qsabreauto

command used 
bitbake -v tizen-common-core-image-minimal-dev

Summary: 1 task failed:
  virtual:native:/home/sfm/yocto_temp/meta-tizen/recipes-
tizen/rpm/rpm_git.bb, do_compile

+ CPPFLAGS=-isystem/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include -I/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include/nss3 
+ export CPPFLAGS
+ export LDFLAGS=-L/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib -L/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -Wl,-
Bsymbolic-functions -ffunction-sections
+ export CCFLAGS+= -fPIC 
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/run.do_compile.26826: 120: export: CCFLAGS+: bad variable name
+ bb_exit_handler
+ ret=2
+ echo WARNING: exit code 2 from a shell command.
WARNING: exit code 2 from a shell command.
+ exit 2

ERROR: Function failed: do_compile (log file is located at 
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/log.do_compile.26826)


*****do compile log file*****
DEBUG: Executing shell function do_compile
+ 
cd
 /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git


+ 
do_compile


+ 
cd
 /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git


+ 
LANG=C


+ 
export
 LANG


+ 
unset
 DISPLAY


+ 
LD_AS_NEEDED=1


+ 
export
 LD_AS_NEEDED


+ 
pkg-config
 --cflags
 nss


+ CPPFLAGS=-isystem/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include -I/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include/nss3 
+ export CPPFLAGS
+ export LDFLAGS=-L/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib -L/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -Wl,-
Bsymbolic-functions -ffunction-sections
+ export CCFLAGS+= -fPIC 
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/run.do_compile.26826: 120: export: CCFLAGS+: bad variable name
+ bb_exit_handler
+ ret=2
+ echo WARNING: exit code 2 from a shell command.
WARNING: exit code 2 from a shell command.
+ exit 2

+ cd /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git
+ do_compile
+ cd /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git
+ LANG=C
+ export LANG
+ unset DISPLAY
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ pkg-config --cflags nss
+ CPPFLAGS=-isystem/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include -I/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include/nss3 
+ export CPPFLAGS
+ export LDFLAGS=-L/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib -L/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -Wl,-
Bsymbolic-functions -ffunction-sections
+ export CCFLAGS+= -fPIC 
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/run.do_compile.26826: 120: export: CCFLAGS+: bad variable name
+ bb_exit_handler
+ ret=2
+ echo WARNING: exit code 2 from a shell command.
WARNING: exit code 2 from a shell command.
+ exit 2
ERROR: Function failed: do_compile (log file is located at 
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/log.do_compile.26826)

Request inputs to resolve this error




More information about the yocto mailing list