All of lore.kernel.org
 help / color / mirror / Atom feed
* Bitbake error for rpm-native -- do compile failed
@ 2014-07-24 13:29 Anoop
  2014-07-24 13:36 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Anoop @ 2014-07-24 13:29 UTC (permalink / raw)
  To: yocto


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bitbake error for rpm-native -- do compile failed
  2014-07-24 13:29 Bitbake error for rpm-native -- do compile failed Anoop
@ 2014-07-24 13:36 ` Burton, Ross
  2014-07-25 12:42   ` Anoop Babu
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2014-07-24 13:36 UTC (permalink / raw)
  To: Anoop; +Cc: yocto@yoctoproject.org

On 24 July 2014 14:29, Anoop <babu.anoop@gmail.com> wrote:
> + 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bitbake error for rpm-native -- do compile failed
  2014-07-24 13:36 ` Burton, Ross
@ 2014-07-25 12:42   ` Anoop Babu
  2014-07-25 12:44     ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Anoop Babu @ 2014-07-25 12:42 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1521 bytes --]

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.*


On Thu, Jul 24, 2014 at 7:06 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 24 July 2014 14:29, Anoop <babu.anoop@gmail.com> wrote:
> > + 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
>

[-- Attachment #2: Type: text/html, Size: 4227 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bitbake error for rpm-native -- do compile failed
  2014-07-25 12:42   ` Anoop Babu
@ 2014-07-25 12:44     ` Burton, Ross
  0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2014-07-25 12:44 UTC (permalink / raw)
  To: Anoop Babu; +Cc: yocto@yoctoproject.org

On 25 July 2014 13:42, Anoop Babu <babu.anoop@gmail.com> wrote:
> 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.

> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-25 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-24 13:29 Bitbake error for rpm-native -- do compile failed Anoop
2014-07-24 13:36 ` Burton, Ross
2014-07-25 12:42   ` Anoop Babu
2014-07-25 12:44     ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.