All of lore.kernel.org
 help / color / mirror / Atom feed
* Build Tizen with yocto work-flow
@ 2014-07-31 14:55 ronan
  2014-07-31 15:40 ` [Tizen General] " Bob Summerwill
  2014-08-01  9:56 ` Alex J Lennon
  0 siblings, 2 replies; 21+ messages in thread
From: ronan @ 2014-07-31 14:55 UTC (permalink / raw)
  To: general, yocto

Hi all,
presently we are working on a project "Tizen on Yocto" that provides an 
alternative to gbs tools or OBS.
     - https://wiki.tizen.org/wiki/Tizen_on_yocto

We are glad to announce the first release 0.1 of our project.

The main features as the same found in Tizen common:
- Smack security
- Pure wayland environment, with tz-launcher
- Crosswalk
- Multi-user support
- ...

We would like to share this project with Tizen and Yocto communities.

If you are interested to build Tizen with yocto, just follow this link:
     - https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto

If you have any question or issue feel free to contact us, on the Tizen 
mailing list (dev@lists.tizen.org) .

Here a link to the yocto project:
     - https://www.yoctoproject.org/


Regards,
Ronan


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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-07-31 14:55 Build Tizen with yocto work-flow ronan
@ 2014-07-31 15:40 ` Bob Summerwill
  2014-08-01  9:56 ` Alex J Lennon
  1 sibling, 0 replies; 21+ messages in thread
From: Bob Summerwill @ 2014-07-31 15:40 UTC (permalink / raw)
  To: ronan; +Cc: yocto, general

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

Congratulations, Ronan!


Cheers,
Bob


On Thu, Jul 31, 2014 at 7:55 AM, ronan <ronan.lemartret@open.eurogiciel.org>
wrote:

> Hi all,
> presently we are working on a project "Tizen on Yocto" that provides an
> alternative to gbs tools or OBS.
>     - https://wiki.tizen.org/wiki/Tizen_on_yocto
>
> We are glad to announce the first release 0.1 of our project.
>
> The main features as the same found in Tizen common:
> - Smack security
> - Pure wayland environment, with tz-launcher
> - Crosswalk
> - Multi-user support
> - ...
>
> We would like to share this project with Tizen and Yocto communities.
>
> If you are interested to build Tizen with yocto, just follow this link:
>     - https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto
>
> If you have any question or issue feel free to contact us, on the Tizen
> mailing list (dev@lists.tizen.org) .
>
> Here a link to the yocto project:
>     - https://www.yoctoproject.org/
>
>
> Regards,
> Ronan
> _______________________________________________
> General mailing list
> General@lists.tizen.org
> https://lists.tizen.org/listinfo/general
>



-- 
bob@summerwill.net

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

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

* Re: Build Tizen with yocto work-flow
  2014-07-31 14:55 Build Tizen with yocto work-flow ronan
  2014-07-31 15:40 ` [Tizen General] " Bob Summerwill
@ 2014-08-01  9:56 ` Alex J Lennon
  2014-08-01 10:03   ` ronan
  1 sibling, 1 reply; 21+ messages in thread
From: Alex J Lennon @ 2014-08-01  9:56 UTC (permalink / raw)
  To: ronan.lemartret; +Cc: yocto, general


On 31/07/2014 15:55, ronan wrote:
> Hi all,
> presently we are working on a project "Tizen on Yocto" that provides
> an alternative to gbs tools or OBS.
>     - https://wiki.tizen.org/wiki/Tizen_on_yocto
>
> We are glad to announce the first release 0.1 of our project.
>
> The main features as the same found in Tizen common:
> - Smack security
> - Pure wayland environment, with tz-launcher
> - Crosswalk
> - Multi-user support
> - ...
>
> We would like to share this project with Tizen and Yocto communities.
>
> If you are interested to build Tizen with yocto, just follow this link:
>     - https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto
>
> If you have any question or issue feel free to contact us, on the
> Tizen mailing list (dev@lists.tizen.org) .
>
> Here a link to the yocto project:
>     - https://www.yoctoproject.org/
>
>

Hi Ronan,

I'm interested in trying this out. Presumably it should be trivial to
add Mono support by pulling in meta-mono?

Have you looked at this on ARM target platforms at all? e.g. i.MX6 ?

Regards,

Alex



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

* Re: Build Tizen with yocto work-flow
  2014-08-01  9:56 ` Alex J Lennon
@ 2014-08-01 10:03   ` ronan
  2014-08-01 10:07     ` Alex J Lennon
  0 siblings, 1 reply; 21+ messages in thread
From: ronan @ 2014-08-01 10:03 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: yocto, general

Hi Alex

>
> I'm interested in trying this out. Presumably it should be trivial to
> add Mono support by pulling in meta-mono?
>
> Have you looked at this on ARM target platforms at all? e.g. i.MX6 ?

No, we did not test it for ARM yet, but it's in the pipe.

If try a ARM build, we would be interested in your feed back.

Regarding Mono, it shouldn't be an issue.

Regards,
Ronan


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

* Re: Build Tizen with yocto work-flow
  2014-08-01 10:03   ` ronan
@ 2014-08-01 10:07     ` Alex J Lennon
  2014-08-01 13:37       ` Ruud den Bekker
  2014-08-01 14:13       ` [Tizen General] " Alex J Lennon
  0 siblings, 2 replies; 21+ messages in thread
From: Alex J Lennon @ 2014-08-01 10:07 UTC (permalink / raw)
  To: ronan; +Cc: yocto, general


On 01/08/2014 11:03, ronan wrote:
> Hi Alex
>
>>
>> I'm interested in trying this out. Presumably it should be trivial to
>> add Mono support by pulling in meta-mono?
>>
>> Have you looked at this on ARM target platforms at all? e.g. i.MX6 ?
>
> No, we did not test it for ARM yet, but it's in the pipe.
>
> If try a ARM build, we would be interested in your feed back.
>
> Regarding Mono, it shouldn't be an issue. 

Thanks. I'll see if I can take a look here on an RPi or an i.MX6 then
and let you know how it goes.

Cheers,

Alex



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

* Re: Build Tizen with yocto work-flow
  2014-08-01 10:07     ` Alex J Lennon
@ 2014-08-01 13:37       ` Ruud den Bekker
  2014-08-01 14:13       ` [Tizen General] " Alex J Lennon
  1 sibling, 0 replies; 21+ messages in thread
From: Ruud den Bekker @ 2014-08-01 13:37 UTC (permalink / raw)
  To: Alex J Lennon, ronan; +Cc: yocto, general

Hello,

We have done some preliminary testing with Mono for ARM.
Works fine for our application (no graphics).

Regards,

Ruud

-----Original Message-----
From: yocto-bounces@yoctoproject.org
[mailto:yocto-bounces@yoctoproject.org] On Behalf Of Alex J Lennon
Sent: Friday, August 01, 2014 12:07 PM
To: ronan
Cc: yocto@yoctoproject.org; general@lists.tizen.org
Subject: Re: [yocto] Build Tizen with yocto work-flow


On 01/08/2014 11:03, ronan wrote:
> Hi Alex
>
>>
>> I'm interested in trying this out. Presumably it should be trivial to

>> add Mono support by pulling in meta-mono?
>>
>> Have you looked at this on ARM target platforms at all? e.g. i.MX6 ?
>
> No, we did not test it for ARM yet, but it's in the pipe.
>
> If try a ARM build, we would be interested in your feed back.
>
> Regarding Mono, it shouldn't be an issue. 

Thanks. I'll see if I can take a look here on an RPi or an i.MX6 then
and let you know how it goes.

Cheers,

Alex

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


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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 10:07     ` Alex J Lennon
  2014-08-01 13:37       ` Ruud den Bekker
@ 2014-08-01 14:13       ` Alex J Lennon
  2014-08-01 14:38         ` Kévin THIERRY
  2014-08-01 21:55         ` Richard Purdie
  1 sibling, 2 replies; 21+ messages in thread
From: Alex J Lennon @ 2014-08-01 14:13 UTC (permalink / raw)
  To: ronan; +Cc: yocto, general


On 01/08/2014 11:07, Alex J Lennon wrote:
> On 01/08/2014 11:03, ronan wrote:
>> Hi Alex
>>
>>> I'm interested in trying this out. Presumably it should be trivial to
>>> add Mono support by pulling in meta-mono?
>>>
>>> Have you looked at this on ARM target platforms at all? e.g. i.MX6 ?
>> No, we did not test it for ARM yet, but it's in the pipe.
>>
>> If try a ARM build, we would be interested in your feed back.
>>
>> Regarding Mono, it shouldn't be an issue. 
> Thanks. I'll see if I can take a look here on an RPi or an i.MX6 then
> and let you know how it goes.
>
> Cheers,
>
> Alex
>
> _______________________________________________
> General mailing list
> General@lists.tizen.org
> https://lists.tizen.org/listinfo/general
>

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'

Layers
=====

Build Configuration:
BB_VERSION        = "1.23.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "genericx86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6+snapshot-20140801"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp    = "tizen:faa50171a19a59600f6ac4ec124689bdc0cc1c48"
meta-systemd
meta-ruby
meta-multimedia
meta-oe           = "master:321c808a57e657c857dfe412d3c09839ebac27f1"
meta-tizen        = "master:0f5ac68414f7c5702cec0fbc2d54cd01c104b4df"

Cheers,

Alex



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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 14:38         ` Kévin THIERRY
@ 2014-08-01 14:34           ` Alex J Lennon
  2014-08-01 15:28           ` Alex J Lennon
  1 sibling, 0 replies; 21+ messages in thread
From: Alex J Lennon @ 2014-08-01 14:34 UTC (permalink / raw)
  To: Kévin THIERRY, ronan; +Cc: yocto, general

Hi Kévin,

On 01/08/2014 15:38, Kévin THIERRY wrote:
> ls -l scripts/find-supplements{,.ksyms}

~/yocto/poky/build/tmp/work/x86_64-linux/rpm-native/git-r0/git$ ls -l
scripts/find-supplements{,.ksyms}
-rw-r--r-- 1 ajlennon ajlennon  418 Aug  1 11:41 scripts/find-supplements
-rw-r--r-- 1 ajlennon ajlennon 2764 Aug  1 11:41
scripts/find-supplements.ksyms

Cheers,

Alex



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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 14:13       ` [Tizen General] " Alex J Lennon
@ 2014-08-01 14:38         ` Kévin THIERRY
  2014-08-01 14:34           ` Alex J Lennon
  2014-08-01 15:28           ` Alex J Lennon
  2014-08-01 21:55         ` Richard Purdie
  1 sibling, 2 replies; 21+ messages in thread
From: Kévin THIERRY @ 2014-08-01 14:38 UTC (permalink / raw)
  To: Alex J Lennon, ronan; +Cc: yocto, general

Hi Alex,

Can you check if the filesfind-supplements and find-supplements.ksyms 
exist by trying this please:

bitbake rpm-native -c devshell
ls -l scripts/find-supplements{,.ksyms}

And tell us the output.

Thanks,
Kevin

On 01/08/2014 16:13, 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'
>
> Layers
> =====
>
> Build Configuration:
> BB_VERSION        = "1.23.1"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-14.04"
> TARGET_SYS        = "i586-poky-linux"
> MACHINE           = "genericx86"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.6+snapshot-20140801"
> TUNE_FEATURES     = "m32 core2"
> TARGET_FPU        = ""
> meta
> meta-yocto
> meta-yocto-bsp    = "tizen:faa50171a19a59600f6ac4ec124689bdc0cc1c48"
> meta-systemd
> meta-ruby
> meta-multimedia
> meta-oe           = "master:321c808a57e657c857dfe412d3c09839ebac27f1"
> meta-tizen        = "master:0f5ac68414f7c5702cec0fbc2d54cd01c104b4df"
>
> Cheers,
>
> Alex
>
> _______________________________________________
> General mailing list
> General@lists.tizen.org
> https://lists.tizen.org/listinfo/general



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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 14:38         ` Kévin THIERRY
  2014-08-01 14:34           ` Alex J Lennon
@ 2014-08-01 15:28           ` Alex J Lennon
  2014-08-01 15:42             ` Kévin THIERRY
  1 sibling, 1 reply; 21+ messages in thread
From: Alex J Lennon @ 2014-08-01 15:28 UTC (permalink / raw)
  To: Kévin THIERRY, ronan; +Cc: yocto, general


On 01/08/2014 15:38, Kévin THIERRY wrote:
> Hi Alex,
>
> Can you check if the filesfind-supplements and find-supplements.ksyms
> exist by trying this please:
>
> bitbake rpm-native -c devshell
> ls -l scripts/find-supplements{,.ksyms}
>
> And tell us the output.

I think it's the bash vs dash issue rearing its head again

Replacing

 install -m 755 scripts/find-supplements{,.ksyms} ${D}${prefix}/lib/rpm

with

 install -m 755 scripts/find-supplements ${D}${prefix}/lib/rpm
  install -m 755 scripts/find-supplements.ksyms ${D}${prefix}/lib/rpm

in rpm-extraconf.inc got me further, onto an error about a missing "pushd"

This made me think it was a shall issue and sure enough reconfiguring
back to bash with

dpkg-reconfigure dash

fixed the problem.

I'm not sure of the Yocto policy on dash vs bash but I've been using
dash without problems in general for some time now

Cheers,

Alex



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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 15:42             ` Kévin THIERRY
@ 2014-08-01 15:38               ` Alex J Lennon
  2014-08-01 16:36                 ` Alex J Lennon
  0 siblings, 1 reply; 21+ messages in thread
From: Alex J Lennon @ 2014-08-01 15:38 UTC (permalink / raw)
  To: Kévin THIERRY, ronan; +Cc: yocto, general


> I don't know either but I think it's best to be compliant with both
> bash and dash, I will try to correct those issues in order to be
> dash-compliant. Thanks a lot for the feedback ;)

No problem Kévin. I'm glad you feel it is of some use. I'm getting other
recipes failing now with bash. What I'll probably do is let it run to
completion with bitbake -k and collate the failures.

Hopefully that'll be some useful feedback in terms of a build on Ubuntu

Cheers,

Alex




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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 15:28           ` Alex J Lennon
@ 2014-08-01 15:42             ` Kévin THIERRY
  2014-08-01 15:38               ` Alex J Lennon
  0 siblings, 1 reply; 21+ messages in thread
From: Kévin THIERRY @ 2014-08-01 15:42 UTC (permalink / raw)
  To: Alex J Lennon, ronan; +Cc: yocto, general


On 01/08/2014 17:28, Alex J Lennon wrote:
> On 01/08/2014 15:38, Kévin THIERRY wrote:
>> Hi Alex,
>>
>> Can you check if the filesfind-supplements and find-supplements.ksyms
>> exist by trying this please:
>>
>> bitbake rpm-native -c devshell
>> ls -l scripts/find-supplements{,.ksyms}
>>
>> And tell us the output.
> I think it's the bash vs dash issue rearing its head again
That's what I was thinking.
>
> Replacing
>
>   install -m 755 scripts/find-supplements{,.ksyms} ${D}${prefix}/lib/rpm
>
> with
>
>   install -m 755 scripts/find-supplements ${D}${prefix}/lib/rpm
>    install -m 755 scripts/find-supplements.ksyms ${D}${prefix}/lib/rpm
>
> in rpm-extraconf.inc got me further, onto an error about a missing "pushd"
>
> This made me think it was a shall issue and sure enough reconfiguring
> back to bash with
>
> dpkg-reconfigure dash
>
> fixed the problem.
>
> I'm not sure of the Yocto policy on dash vs bash but I've been using
> dash without problems in general for some time now
I don't know either but I think it's best to be compliant with both bash 
and dash, I will try to correct those issues in order to be 
dash-compliant. Thanks a lot for the feedback ;)

Regards,
Kevin


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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 15:38               ` Alex J Lennon
@ 2014-08-01 16:36                 ` Alex J Lennon
  2014-08-02 15:35                   ` Alex J Lennon
  0 siblings, 1 reply; 21+ messages in thread
From: Alex J Lennon @ 2014-08-01 16:36 UTC (permalink / raw)
  To: Kévin THIERRY, ronan; +Cc: yocto, general


On 01/08/2014 16:38, Alex J Lennon wrote:
>> I don't know either but I think it's best to be compliant with both
>> bash and dash, I will try to correct those issues in order to be
>> dash-compliant. Thanks a lot for the feedback ;)
> No problem Kévin. I'm glad you feel it is of some use. I'm getting other
> recipes failing now with bash. What I'll probably do is let it run to
> completion with bitbake -k and collate the failures.
>
> Hopefully that'll be some useful feedback in terms of a build on Ubuntu
>
> Cheers,
>
> Alex
>
>
Kévin,

(1) Install failure for systemd_git.bb

|
/home/ajlennon/yocto/poky/build/tmp/work/core2-32-poky-linux/systemd/git-r0/temp/run.do_install.16014:
line 131: /usr/bin/mkdir: No such file or directory
| WARNING:
/home/ajlennon/yocto/poky/build/tmp/work/core2-32-poky-linux/systemd/git-r0/temp/run.do_install.16014:1
exit 1 from
|   /usr/bin/mkdir -p
/home/ajlennon/yocto/poky/build/tmp/work/core2-32-poky-linux/systemd/git-r0/image//usr/sbin
| ERROR: Function failed: do_install (log file is located at
/home/ajlennon/yocto/poky/build/tmp/work/core2-32-poky-linux/systemd/git-r0/temp/log.do_install.16014)
ERROR: Task 1692
(/home/ajlennon/yocto/meta-tizen/recipes-tizen/systemd/systemd_git.bb,
do_install) failed with exit code '1'

I think this is because of use of  ${prefix}/bin/ for commands in
systemd.inc do_install()

Not sure what the answer is here but if I s|${prefix}/bin/||g in
do_install() then it installs successfully

(2) Install failure for llvm3.3_3.3.bb

I had a couple of funnies with llvm but that could well have been
related to dash/bash as cleaning and rebuilding the recipe fixed it

...

That gets me a rootfs successfully built. Now to work out how to run it
under VirtualBox or how to get MACHINE=qemux86 built up...

Cheers,

Alex



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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 14:13       ` [Tizen General] " Alex J Lennon
  2014-08-01 14:38         ` Kévin THIERRY
@ 2014-08-01 21:55         ` Richard Purdie
  2014-08-02  9:35           ` Alex J Lennon
  1 sibling, 1 reply; 21+ messages in thread
From: Richard Purdie @ 2014-08-01 21:55 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: general, yocto

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 :(

Cheers,

Richard



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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 21:55         ` Richard Purdie
@ 2014-08-02  9:35           ` Alex J Lennon
  2014-08-04  7:37             ` Kévin THIERRY
  0 siblings, 1 reply; 21+ messages in thread
From: Alex J Lennon @ 2014-08-02  9:35 UTC (permalink / raw)
  To: Richard Purdie; +Cc: general, yocto


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 :(
>

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 ... :)

Cheers,

Alex


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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-01 16:36                 ` Alex J Lennon
@ 2014-08-02 15:35                   ` Alex J Lennon
  2014-08-02 19:52                     ` Khem Raj
  2014-08-04  7:52                     ` Kévin THIERRY
  0 siblings, 2 replies; 21+ messages in thread
From: Alex J Lennon @ 2014-08-02 15:35 UTC (permalink / raw)
  To: Kévin THIERRY, ronan; +Cc: yocto, general


On 01/08/2014 17:36, Alex J Lennon wrote:
> On 01/08/2014 16:38, Alex J Lennon wrote:
>>> I don't know either but I think it's best to be compliant with both
>>> bash and dash, I will try to correct those issues in order to be
>>> dash-compliant. Thanks a lot for the feedback ;)
>> No problem Kévin. I'm glad you feel it is of some use. I'm getting other
>> recipes failing now with bash. What I'll probably do is let it run to
>> completion with bitbake -k and collate the failures.
>>
>> Hopefully that'll be some useful feedback in terms of a build on Ubuntu
>>
>> Cheers,
>>
>> Alex
>>
Kévin,

I made some progress with a USB installation of Yocto Tizen and a VirtualBox disk. 

Both a Samsung laptop running from USB and a VirtualBox machine boot, but after mounting the root filesystem they go extremely slowly.

They get to "failed to get machine ID" and then it's taking a minute or two before new output appears. Then screen goes black and I don't appear to get any further.

e.g. https://www.dropbox.com/sc/ckc84doykfnyvwp/AAAA7s_wocGh1PNUJ3tfIMBLa?n=17361870

Cheers,

Alex



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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-02 15:35                   ` Alex J Lennon
@ 2014-08-02 19:52                     ` Khem Raj
  2014-08-02 20:04                       ` Alex J Lennon
  2014-08-04  7:52                     ` Kévin THIERRY
  1 sibling, 1 reply; 21+ messages in thread
From: Khem Raj @ 2014-08-02 19:52 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: general, yocto

On Sat, Aug 2, 2014 at 8:35 AM, Alex J Lennon
<ajlennon@dynamicdevices.co.uk> wrote:
> I made some progress with a USB installation of Yocto Tizen and a VirtualBox disk.
>
> Both a Samsung laptop running from USB and a VirtualBox machine boot, but after mounting the root filesystem they go extremely slowly.

its a 'sony' laptop per picture :)

>
> They get to "failed to get machine ID" and then it's taking a minute or two before new output appears. Then screen goes black and I don't appear to get any further.


do you have /etc/machine-id file in rootfs ?


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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-02 19:52                     ` Khem Raj
@ 2014-08-02 20:04                       ` Alex J Lennon
  0 siblings, 0 replies; 21+ messages in thread
From: Alex J Lennon @ 2014-08-02 20:04 UTC (permalink / raw)
  To: Khem Raj; +Cc: general, yocto


On 02/08/2014 20:52, Khem Raj wrote:
> On Sat, Aug 2, 2014 at 8:35 AM, Alex J Lennon
> <ajlennon@dynamicdevices.co.uk> wrote:
>> I made some progress with a USB installation of Yocto Tizen and a VirtualBox disk.
>>
>> Both a Samsung laptop running from USB and a VirtualBox machine boot, but after mounting the root filesystem they go extremely slowly.
> its a 'sony' laptop per picture :)

Hah. Well spotted! I am glad to see somebody is paying attention Khem ! :-D

>
>> They get to "failed to get machine ID" and then it's taking a minute or two before new output appears. Then screen goes black and I don't appear to get any further.
>
> do you have /etc/machine-id file in rootfs ?
>
>

No there's no /etc/machine-id on the USB stick...

(NB. I did try generating a video to show the behaviour but VirtualBox
video capture isn't playing ball. It doesn't stop completely at the
machine-id error message. It seems to continue further and I get more
messages. Just very very slowly)

Regards,

Alex



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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-02  9:35           ` Alex J Lennon
@ 2014-08-04  7:37             ` Kévin THIERRY
  0 siblings, 0 replies; 21+ messages in thread
From: Kévin THIERRY @ 2014-08-04  7:37 UTC (permalink / raw)
  To: Alex J Lennon, Richard Purdie; +Cc: yocto, general


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


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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-02 15:35                   ` Alex J Lennon
  2014-08-02 19:52                     ` Khem Raj
@ 2014-08-04  7:52                     ` Kévin THIERRY
  2014-08-04  9:21                       ` Alex J Lennon
  1 sibling, 1 reply; 21+ messages in thread
From: Kévin THIERRY @ 2014-08-04  7:52 UTC (permalink / raw)
  To: Alex J Lennon, ronan; +Cc: yocto, general


On 02/08/2014 17:35, Alex J Lennon wrote:
> On 01/08/2014 17:36, Alex J Lennon wrote:
>> On 01/08/2014 16:38, Alex J Lennon wrote:
>>>> I don't know either but I think it's best to be compliant with both
>>>> bash and dash, I will try to correct those issues in order to be
>>>> dash-compliant. Thanks a lot for the feedback ;)
>>> No problem Kévin. I'm glad you feel it is of some use. I'm getting other
>>> recipes failing now with bash. What I'll probably do is let it run to
>>> completion with bitbake -k and collate the failures.
>>>
>>> Hopefully that'll be some useful feedback in terms of a build on Ubuntu
>>>
>>> Cheers,
>>>
>>> Alex
>>>
> Kévin,
>
> I made some progress with a USB installation of Yocto Tizen and a VirtualBox disk.
That's good news ! Did you have to make some changes in meta-tizen ? If 
so, could you send us your patches so we can integrate them ? Thanks !
>
> Both a Samsung laptop running from USB and a VirtualBox machine boot, but after mounting the root filesystem they go extremely slowly.
>
> They get to "failed to get machine ID" and then it's taking a minute or two before new output appears. Then screen goes black and I don't appear to get any further.
>
> e.g. https://www.dropbox.com/sc/ckc84doykfnyvwp/AAAA7s_wocGh1PNUJ3tfIMBLa?n=17361870
>
>
We already encountered this issue in the past unfortunately we don't 
know what causes that. We didn't get this issue recently so we are 
unable to reproduce it. I'm wondering if it could be linked too the use 
of a USB (we are not using USB anymore to test the images since it's not 
very convenient). I will put an image on a USB stick and see how it goes.

If you have more ideas about what could cause this issue we would be 
glad to know them.

Kevin


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

* Re: [Tizen General] Build Tizen with yocto work-flow
  2014-08-04  7:52                     ` Kévin THIERRY
@ 2014-08-04  9:21                       ` Alex J Lennon
  0 siblings, 0 replies; 21+ messages in thread
From: Alex J Lennon @ 2014-08-04  9:21 UTC (permalink / raw)
  To: Kévin THIERRY, ronan; +Cc: yocto, general


On 04/08/2014 08:52, Kévin THIERRY wrote:
>
> On 02/08/2014 17:35, Alex J Lennon wrote:
>> On 01/08/2014 17:36, Alex J Lennon wrote:
>>> On 01/08/2014 16:38, Alex J Lennon wrote:
>>>>> I don't know either but I think it's best to be compliant with both
>>>>> bash and dash, I will try to correct those issues in order to be
>>>>> dash-compliant. Thanks a lot for the feedback ;)
>>>> No problem Kévin. I'm glad you feel it is of some use. I'm getting
>>>> other
>>>> recipes failing now with bash. What I'll probably do is let it run to
>>>> completion with bitbake -k and collate the failures.
>>>>
>>>> Hopefully that'll be some useful feedback in terms of a build on
>>>> Ubuntu
>>>>
>>>> Cheers,
>>>>
>>>> Alex
>>>>
>> Kévin,
>>
>> I made some progress with a USB installation of Yocto Tizen and a
>> VirtualBox disk.
> That's good news ! Did you have to make some changes in meta-tizen ?
> If so, could you send us your patches so we can integrate them ? Thanks !
>>
>> Both a Samsung laptop running from USB and a VirtualBox machine boot,
>> but after mounting the root filesystem they go extremely slowly.
>>
>> They get to "failed to get machine ID" and then it's taking a minute
>> or two before new output appears. Then screen goes black and I don't
>> appear to get any further.
>>
>> e.g.
>> https://www.dropbox.com/sc/ckc84doykfnyvwp/AAAA7s_wocGh1PNUJ3tfIMBLa?n=17361870
>>
>>
> We already encountered this issue in the past unfortunately we don't
> know what causes that. We didn't get this issue recently so we are
> unable to reproduce it. I'm wondering if it could be linked too the
> use of a USB (we are not using USB anymore to test the images since
> it's not very convenient). I will put an image on a USB stick and see
> how it goes.
>
> If you have more ideas about what could cause this issue we would be
> glad to know them.
>
> Kevin 

I don't think it's specifically due to USB as I was using USB for the
laptop test, but I built up a VDI disk image in a VirtualBox for the VM
test, so no USB there...

I'm not sure why it might be I'm afraid Kevin. I started trying to
follow the manual procedure to build but ran into some build errors
there and ran out of time.

Cheers,

Alex



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

end of thread, other threads:[~2014-08-04  9:21 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-31 14:55 Build Tizen with yocto work-flow ronan
2014-07-31 15:40 ` [Tizen General] " Bob Summerwill
2014-08-01  9:56 ` Alex J Lennon
2014-08-01 10:03   ` ronan
2014-08-01 10:07     ` Alex J Lennon
2014-08-01 13:37       ` Ruud den Bekker
2014-08-01 14:13       ` [Tizen General] " Alex J Lennon
2014-08-01 14:38         ` Kévin THIERRY
2014-08-01 14:34           ` Alex J Lennon
2014-08-01 15:28           ` Alex J Lennon
2014-08-01 15:42             ` Kévin THIERRY
2014-08-01 15:38               ` Alex J Lennon
2014-08-01 16:36                 ` Alex J Lennon
2014-08-02 15:35                   ` Alex J Lennon
2014-08-02 19:52                     ` Khem Raj
2014-08-02 20:04                       ` Alex J Lennon
2014-08-04  7:52                     ` Kévin THIERRY
2014-08-04  9:21                       ` Alex J Lennon
2014-08-01 21:55         ` Richard Purdie
2014-08-02  9:35           ` Alex J Lennon
2014-08-04  7:37             ` Kévin THIERRY

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.