Bitbake error for rpm-native -- do compile failed
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
Quoted 3 lines · Anoop
+ 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
+= is a bash extension and those scripts are not running under bash.
This has been fixed in meta-tizen. *Please* fetch the latest revisions.
Also, this isn't the best list for problems with meta-tizen as meta-tizen isn't part of the Yocto project - you'll be better off contacting the maintainers directly or filing bugs in their issue tracker.
Ross
Dear Ross,
My apologies for pushing all issues to yocto forum. Can you please let me know the meta-tizen forum.
I had started bitbake procedure after cloning below mentioned repo
git clone ssh://${YOUR_TIZEN_ID}@review.tizen.org:29418/scm/bb/meta-tizen
Today did a fetch from tizen branch. I saw lot of changes being pulled in. But unfortunately the rpm-native compile issue did not goaway.
Can you confirm this is the same repo to fetch latest revisions as mentioned by you. Is it to any specific branch?
Thanks once again for the wonderful support.
best regards
Anoop
Best regards
A.B
P Please think about the environment before printing this e-mail
*7 Switch off as you go | qAlways recycle | P Save a tree...please don't print this e-mail unless you really need to.*
Quoted 16 lines · Ross
Quoted 3 lines · Anoop
+ 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+= is a bash extension and those scripts are not running under bash.
This has been fixed in meta-tizen. *Please* fetch the latest revisions.
Also, this isn't the best list for problems with meta-tizen as meta-tizen isn't part of the Yocto project - you'll be better off contacting the maintainers directly or filing bugs in their issue tracker.
Ross
Quoted 2 lines · Anoop Babu
My apologies for pushing all issues to yocto forum. Can you please let me know the meta-tizen forum.
As far as I'm aware you'll have to email the maintainers directly.
Quoted 6 lines
I had started bitbake procedure after cloning below mentioned repo
git clone ssh://${YOUR_TIZEN_ID}@review.tizen.org:29418/scm/bb/meta-tizen
Today did a fetch from tizen branch. I saw lot of changes being pulled in. But unfortunately the rpm-native compile issue did not goaway.
I can confirm that they re-introduced this bug, I've reported it to them.
Ross