On 02/08/2014 11:35, Alex J Lennon wrote:
On 01/08/2014 22:55, Richard Purdie wrote:
On Fri, 2014-08-01 at 15:13 +0100, Alex J Lennon wrote:
Getting some errors here having followed the "Using Scripts" section.

I am guessing it might be as I'm using Ubuntu 14.04 LTS x64

This is for MACHINE=genericx86

e.g.

| make[3]: Leaving directory
'/home/ajlennon/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/git/plugins'
| make[2]: Leaving directory
'/home/ajlennon/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/git/plugins'
| make[1]: Leaving directory
'/home/ajlennon/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/git'
| install: cannot stat 'scripts/find-supplements{,.ksyms}': No such file
or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at
/home/ajlennon/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/temp/log.do_install.2441)
ERROR: Task 99
(virtual:native:/home/ajlennon/yocto/meta-tizen/recipes-tizen/rpm/rpm_git.bb,
do_install) failed with exit code '1'
Its because there are bashisms in that metadata and you have dash
as /bin/sh.

I've already mentioned this at least once but have been ignored :(

I reported the issue in our bug tracker (https://bugs.tizen.org/jira/browse/BTY-21) and made a correction for the issue in the rpm recipe. I will launch a full build using dash in order to catch the remaining "bashism" but if you find some more, please report them to me.
Yes, thanks Richard, I'd cracked onto that. I wonder if it would be
useful/possible to add a class of warning to bitbake "Bashism detected"
or some such?

Next problem is that grub on my x64 system doesn't seem to like being
used to install x86 files ... :)


Kevin
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to