Re: [yocto] autotools-brokensep.bbclass not working

2014-10-24 Thread Richard Purdie
On Fri, 2014-10-24 at 00:08 +, Vuille, Martin (Martin) wrote:
> #
> set /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/bitbake.conf:348
> # "${S}"
> #
> set /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/documentation.conf:77
> # [doc] "The Build Directory. The OpenEmbedded build system places
> generated objects into the Build Directory during a recipe's build
> process."
> #
> set 
> /home/platform/Workspace/dvf99_gitlab/poky/meta/classes/autotools-brokensep.bbclass:5
> # "${S}"
> #   finalize ast.py:323 [finalize]
> # "was: ${S}"
> #
> override[pn-dhcp]:set 
> /home/platform/Workspace/dvf99_gitlab/poky/meta/conf/distro/include/seperatebuilddir.inc:105
> # "${SEPB}"
> #   finalize override[pn-dhcp]:
> # "${SEPB}"
> # computed:
> #   "${SEPB}"
>  
> so seperatebuilddir.inc is overriding the use of autotools-brokensep.
>  
> How can I override the override? What’s the point of
> autotools-brokensep?

The brokensep class was in its initial stages of development in 1.6 so
there are two mechanisms in action and dhcp is being controlled by
that .inc file which no longer exists in 1.7.

You can probably override it by Setting SEPB = "${S}" in the recipe (or
SEPB_pn-dhcp = "${S}" in local.conf). 

Cheers,

Richard

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


Re: [yocto] Failing Build

2014-10-24 Thread Richard Purdie
On Thu, 2014-10-23 at 22:46 -0400, nick wrote:
> Greetings Fellow Yocto Developers and Users,
> I am getting a failing build with bitbake core-image-rt-sdk on qemux86 or 
> qemux86_64 machine builds.

I'm guessing you've built a non-rt image, then built an -rt image and
the two have become confused since the kernel changed. Wiping out the
tmpdir and rebuilding (but leaving DL_DIR and SSTATE_DIR) will probably
avoid this error.

Cheers,

Richard

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


Re: [yocto] QA Issue for recipe inheriting from native.bbclass

2014-10-24 Thread Richard Purdie
On Thu, 2014-10-23 at 16:58 +, Vuille, Martin (Martin) wrote:
> I have a recipe that inherits from meta/classes/native.bbclass
>  
> I am getting an ERROR: QA Issue: for this recipe:
>  
> “Variable RPROVIDES is set as not being package specific, please fix
> this.”
>  
> which, as far as I can tell, is due to the RPROVIDES assignment in
> native.bbclass
>  
> Is this a bug? Is the right fix to qualify RPROVIDES in
> native.bbclass?

Is PACKAGES set to some value? It shouldn't show that warning if
PACKAGES is empty.

Cheers,

Richard


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


[yocto] OpenSSL-1.0.1j update making builds failing ...

2014-10-24 Thread Jens Rehsack
Hi,

yesterday applied OpenSSL update on daisy 
(https://github.com/rdm-dev/poky/commit/27a877becf76a1410aa96c02a25bb885bfbddf04)
 fails to bitbake, because newly added *ptest* files does not exists. Further 
patches had been removed from recipe without removing the files themselves ...

The first (for us critical) issue I've hacked away by 
https://github.com/rdm-dev/poky/commit/1ab58562a6adbbc1f48a78900912c7775f6172a3 
- I do not recommend to apply that patch, I favor fixing the root cause 
(unfortunately a task for Ross?).

Best regards and thanks for the continuous improvements!
-- 
Jens Rehsack
rehs...@gmail.com





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


Re: [yocto] Failing Build

2014-10-24 Thread nick
I tried that and it didn't work.
Cheers Nick

On 14-10-24 04:34 AM, Richard Purdie wrote:
> On Thu, 2014-10-23 at 22:46 -0400, nick wrote:
>> Greetings Fellow Yocto Developers and Users,
>> I am getting a failing build with bitbake core-image-rt-sdk on qemux86 or 
>> qemux86_64 machine builds.
> 
> I'm guessing you've built a non-rt image, then built an -rt image and
> the two have become confused since the kernel changed. Wiping out the
> tmpdir and rebuilding (but leaving DL_DIR and SSTATE_DIR) will probably
> avoid this error.
> 
> Cheers,
> 
> Richard
> 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] OpenSSL-1.0.1j update making builds failing ...

2014-10-24 Thread Richard Purdie
On Fri, 2014-10-24 at 11:14 +0200, Jens Rehsack wrote:
> yesterday applied OpenSSL update on daisy
> (https://github.com/rdm-dev/poky/commit/27a877becf76a1410aa96c02a25bb885bfbddf04)
>  fails to bitbake, because newly added *ptest* files does not exists. Further 
> patches had been removed from recipe without removing the files themselves ...
> 
> The first (for us critical) issue I've hacked away by
> https://github.com/rdm-dev/poky/commit/1ab58562a6adbbc1f48a78900912c7775f6172a3
>  - I do not recommend to apply that patch, I favor fixing the root cause 
> (unfortunately a task for Ross?).
> 
> Best regards and thanks for the continuous improvements!

Later on yesterday
http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=daisy&id=e93f9a838260100ece7cac36f01e42e321e6414b
 was merged which should have fixed this.

Cheers,

Richard

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


[yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile

2014-10-24 Thread prashanthg

Hi,

I have been facing issues with 'bitbake core-image-minimal' with Qt5 library 
added for BBB.

Error Log: http://pastebin.com/ADdyJnz8

Build Configuration:
BB_VERSION= "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-13.10"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "beaglebone"
DISTRO= "poky"
DISTRO_VERSION= "1.6.1"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU= "vfp-neon"
meta  
meta-yocto
meta-yocto-bsp= "daisy:bda51ee7821de9120f6f536fcabe592f2a0c8a37"
meta-oe   = "daisy:518cd119a8724dbd485a5d5c5047de59e8fbd652"
meta-ti   = "daisy:80924d3bba59d6920217216c73af43fdd40d0152"
meta-qt5  = "daisy:c29c317e0f22202bfaa85329a580564bbc179089"

It would be great if you can help me solve this issue.

Thanks and Regards,
Prashanth

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


Re: [yocto] Failing Build

2014-10-24 Thread Mihail, StanciuX
Hi Nick, Richard,

I tried building an rt-sdk image on a fresh environment and I got the same 
errors as Nick.
I suspect the original problem resides in the following error message:

ERROR: Multiple .bb files are due to be built which each provide virtual/kernel 
(/home/dave/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb 
/home/dave/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb).
 This usually means one provides something the other doesn't and should.

Looks to me that the core-image-rt-sdk recipe includes both the rt-kernel and 
the normal kernel, and maybe it shouldn't?

Cheers,
Mihail

-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of nick
Sent: Friday, October 24, 2014 1:07 PM
To: Richard Purdie
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Failing Build

I tried that and it didn't work.
Cheers Nick

On 14-10-24 04:34 AM, Richard Purdie wrote:
> On Thu, 2014-10-23 at 22:46 -0400, nick wrote:
>> Greetings Fellow Yocto Developers and Users, I am getting a failing 
>> build with bitbake core-image-rt-sdk on qemux86 or qemux86_64 machine builds.
> 
> I'm guessing you've built a non-rt image, then built an -rt image and 
> the two have become confused since the kernel changed. Wiping out the 
> tmpdir and rebuilding (but leaving DL_DIR and SSTATE_DIR) will 
> probably avoid this error.
> 
> Cheers,
> 
> Richard
> 
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile

2014-10-24 Thread Diego Sueiro
Hi prashanthg,

On Fri, Oct 24, 2014 at 8:24 AM, prashanthg  wrote:

> I have been facing issues with 'bitbake core-image-minimal' with Qt5
> library added for BBB.
>
> Error Log: http://pastebin.com/ADdyJnz8
>
> Build Configuration:
> BB_VERSION= "1.22.0"
> BUILD_SYS = "i686-linux"
> NATIVELSBSTRING   = "Ubuntu-13.10"
> TARGET_SYS= "arm-poky-linux-gnueabi"
> MACHINE   = "beaglebone"
> DISTRO= "poky"
> DISTRO_VERSION= "1.6.1"
> TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa8"
> TARGET_FPU= "vfp-neon"
> meta
> meta-yocto
> meta-yocto-bsp= "daisy:bda51ee7821de9120f6f536fcabe592f2a0c8a37"
> meta-oe   = "daisy:518cd119a8724dbd485a5d5c5047de59e8fbd652"
> meta-ti   = "daisy:80924d3bba59d6920217216c73af43fdd40d0152"
> meta-qt5  = "daisy:c29c317e0f22202bfaa85329a580564bbc179089"
>
> It would be great if you can help me solve this issue.
>
> Thanks and Regards,
> Prashanth


I have Qt5.3.2 (meta-qt5 on master branch) with accelerated graphics built
and running on BBB.
I did not have seen this error.

Note that you need to remove meta-yocto-bsp from your bblayers.conf to get
the BSP support from meta-ti.


Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br


/*long live rock 'n roll*/
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile

2014-10-24 Thread prashanthg
Hi Diego Sueiro,

Thanks for the information, will try that out.


Cheers!

Prashanth Gandhiraj


 On Fri, 24 Oct 2014 16:36:00 +0530 Diego Sueiro 
 wrote  

Hi prashanthg,

On Fri, Oct 24, 2014 at 8:24 AM, prashanthg  wrote:
I have been facing issues with 'bitbake core-image-minimal' with Qt5 library 
added for BBB.

Error Log: http://pastebin.com/ADdyJnz8

Build Configuration:
BB_VERSION= "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-13.10"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "beaglebone"
DISTRO= "poky"
DISTRO_VERSION= "1.6.1"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU= "vfp-neon"
meta  
meta-yocto
meta-yocto-bsp= "daisy:bda51ee7821de9120f6f536fcabe592f2a0c8a37"
meta-oe   = "daisy:518cd119a8724dbd485a5d5c5047de59e8fbd652"
meta-ti   = "daisy:80924d3bba59d6920217216c73af43fdd40d0152"
meta-qt5  = "daisy:c29c317e0f22202bfaa85329a580564bbc179089"

It would be great if you can help me solve this issue.

Thanks and Regards,
Prashanth

I have Qt5.3.2 (meta-qt5 on master branch) with accelerated graphics built and 
running on BBB.
I did not have seen this error.


Note that you need to remove meta-yocto-bsp from your bblayers.conf to get the 
BSP support from meta-ti.


Regards,


--
*dS
Diego Sueiro

Administrador do Embarcados
http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego

/*long live rock 'n roll*/


 

 




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


Re: [yocto] Failing Build

2014-10-24 Thread Burton, Ross
On 24 October 2014 12:00, Mihail, StanciuX 
wrote:

> Looks to me that the core-image-rt-sdk recipe includes both the rt-kernel
> and the normal kernel, and maybe it shouldn't?


FWIW, I appear to be able to replicate this with just core-image-rt.

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


Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile

2014-10-24 Thread Paul Eggleton
On Friday 24 October 2014 09:06:00 Diego Sueiro wrote:
> On Fri, Oct 24, 2014 at 8:24 AM, prashanthg  wrote:
> > I have been facing issues with 'bitbake core-image-minimal' with Qt5
> > library added for BBB.
> > 
> > Error Log: http://pastebin.com/ADdyJnz8
> > 
> > Build Configuration:
> > BB_VERSION= "1.22.0"
> > BUILD_SYS = "i686-linux"
> > NATIVELSBSTRING   = "Ubuntu-13.10"
> > TARGET_SYS= "arm-poky-linux-gnueabi"
> > MACHINE   = "beaglebone"
> > DISTRO= "poky"
> > DISTRO_VERSION= "1.6.1"
> > TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa8"
> > TARGET_FPU= "vfp-neon"
> > meta
> > meta-yocto
> > meta-yocto-bsp= "daisy:bda51ee7821de9120f6f536fcabe592f2a0c8a37"
> > meta-oe   = "daisy:518cd119a8724dbd485a5d5c5047de59e8fbd652"
> > meta-ti   = "daisy:80924d3bba59d6920217216c73af43fdd40d0152"
> > meta-qt5  = "daisy:c29c317e0f22202bfaa85329a580564bbc179089"
> > 
> > It would be great if you can help me solve this issue.
> > 
> > Thanks and Regards,
> > Prashanth
> 
> I have Qt5.3.2 (meta-qt5 on master branch) with accelerated graphics built
> and running on BBB.
> I did not have seen this error.
> 
> Note that you need to remove meta-yocto-bsp from your bblayers.conf to get
> the BSP support from meta-ti.

That is true, but I don't think that's related to the issue here. I believe I 
have seen this issue before, a long time ago, and it relates to the file-native 
recipe rebuilding after a recipe upgrade - it picks up the "magic" data file 
from the previous older build and fails because the version doesn't match. 
Cleaning the recipe should work around the issue:

 bitbake -c clean file-native

Then you can re-try the original build. We should try to properly reproduce 
and fix the underlying issue however.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Failing Build

2014-10-24 Thread Burton, Ross
On 24 October 2014 12:12, Burton, Ross  wrote:

> On 24 October 2014 12:00, Mihail, StanciuX 
> wrote:
>
>> Looks to me that the core-image-rt-sdk recipe includes both the rt-kernel
>> and the normal kernel, and maybe it shouldn't?
>
>
> FWIW, I appear to be able to replicate this with just core-image-rt.
>

This is a case of RTFM.

"""
In order to build the image with the linux-yocto-rt kernel, be sure to
include the following line in your
local.conf, bblayers.conf, or your $MACHINE.conf.

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
"""

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


Re: [yocto] autotools-brokensep.bbclass not working

2014-10-24 Thread Vuille, Martin (Martin)
> -Original Message-
> From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org]
> Sent: October 24, 2014 4:32 AM
> To: Vuille, Martin (Martin)
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] autotools-brokensep.bbclass not working
> 
> > so seperatebuilddir.inc is overriding the use of autotools-brokensep.
> >
> > How can I override the override? What’s the point of
> > autotools-brokensep?
> 
> The brokensep class was in its initial stages of development in 1.6 so there
> are two mechanisms in action and dhcp is being controlled by that .inc file
> which no longer exists in 1.7.
> 
> You can probably override it by Setting SEPB = "${S}" in the recipe (or
> SEPB_pn-dhcp = "${S}" in local.conf).
> 

Thanks, setting SEPB in the recipe did the trick.

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


Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile

2014-10-24 Thread prashanthg
@PaulEggleton Thanks a lot. I tried 'bitbake -c clean file-native' but it 
didn't seem to solve the issue.

@DiegoSueiro I removed meta-yocto-bsp from bblayers.conf and even tried 
switching to master branch on the 'meta-qt5' folder. But the error remains the 
same.

If this is of any help, I get a Python error on the command line before the 
bitbake error occurs:

ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/command.py", line 96, in 
runAsyncCommand
self.cooker.updateCache()
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/cooker.py", line 1306, in 
updateCache
if not self.parser.parse_next():
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/cooker.py", line 1809, in 
parse_next
self.shutdown()
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/cooker.py", line 1779, in 
shutdown
bb.codeparser.parser_cache_savemerge(self.cooker.data)
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/codeparser.py", line 86, in 
parser_cache_savemerge
codeparsercache.save_merge(d)
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/cache.py", line 818, in 
save_merge
data, version = p.load()
AttributeError: 'module' object has no attribute 'pythonCacheLine'

Regards,

Prashanth Gandhiraj

 On Fri, 24 Oct 2014 16:44:02 +0530 Paul Eggleton 
 wrote  

On Friday 24 October 2014 09:06:00 Diego Sueiro wrote: 
> On Fri, Oct 24, 2014 at 8:24 AM, prashanthg  
wrote: 
> > I have been facing issues with 'bitbake core-image-minimal' with Qt5 
> > library added for BBB. 
> > 
> > Error Log: http://pastebin.com/ADdyJnz8 
> > 
> > Build Configuration: 
> > BB_VERSION = "1.22.0" 
> > BUILD_SYS = "i686-linux" 
> > NATIVELSBSTRING = "Ubuntu-13.10" 
> > TARGET_SYS = "arm-poky-linux-gnueabi" 
> > MACHINE = "beaglebone" 
> > DISTRO = "poky" 
> > DISTRO_VERSION = "1.6.1" 
> > TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa8" 
> > TARGET_FPU = "vfp-neon" 
> > meta 
> > meta-yocto 
> > meta-yocto-bsp = "daisy:bda51ee7821de9120f6f536fcabe592f2a0c8a37" 
> > meta-oe = "daisy:518cd119a8724dbd485a5d5c5047de59e8fbd652" 
> > meta-ti = "daisy:80924d3bba59d6920217216c73af43fdd40d0152" 
> > meta-qt5 = "daisy:c29c317e0f22202bfaa85329a580564bbc179089" 
> > 
> > It would be great if you can help me solve this issue. 
> > 
> > Thanks and Regards, 
> > Prashanth 
> 
> I have Qt5.3.2 (meta-qt5 on master branch) with accelerated graphics built 
> and running on BBB. 
> I did not have seen this error. 
> 
> Note that you need to remove meta-yocto-bsp from your bblayers.conf to get 
> the BSP support from meta-ti. 
 
That is true, but I don't think that's related to the issue here. I believe I 
have seen this issue before, a long time ago, and it relates to the file-native 
recipe rebuilding after a recipe upgrade - it picks up the "magic" data file 
from the previous older build and fails because the version doesn't match. 
Cleaning the recipe should work around the issue: 
 
 bitbake -c clean file-native 
 
Then you can re-try the original build. We should try to properly reproduce 
and fix the underlying issue however. 
 
Cheers, 
Paul 
 
-- 
 
Paul Eggleton 
Intel Open Source Technology Centre 




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


Re: [yocto] QA Issue for recipe inheriting from native.bbclass

2014-10-24 Thread Vuille, Martin (Martin)
> -Original Message-
> From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org]
> Sent: October 24, 2014 4:35 AM
> To: Vuille, Martin (Martin)
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] QA Issue for recipe inheriting from native.bbclass
> 
> On Thu, 2014-10-23 at 16:58 +, Vuille, Martin (Martin) wrote:
> > I have a recipe that inherits from meta/classes/native.bbclass
> >
> > I am getting an ERROR: QA Issue: for this recipe:
> >
> > “Variable RPROVIDES is set as not being package specific, please fix
> > this.”
> >
> 
> Is PACKAGES set to some value? It shouldn't show that warning if PACKAGES
> is empty.
> 

Thanks, that put me on the track to the problem (modifying PACKAGES
in a .bbappend to that recipe)

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


Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile

2014-10-24 Thread Paul Eggleton
On Friday 24 October 2014 17:10:19 prashanthg wrote:
> @PaulEggleton Thanks a lot. I tried 'bitbake -c clean file-native' but it
> didn't seem to solve the issue.

Ah right, I now know how to trigger this. Did you perhaps switch from the dora 
to the daisy branch whilst keeping your existing TMPDIR? I would recommend you 
delete just your TMPDIR (by default the "tmp" directory under your build 
directory) and then try again. There was a change between dora and daisy that 
meant that the system could not remove old files from the sysroot, and thus the 
old magic file was getting in the way.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Questions on transition to PR service

2014-10-24 Thread Bryan Evenson
All,

I am currently on the dylan branch and I am working toward transitioning to the 
daisy branch.  Overall it is building okay but now on the daisy branch I am 
getting the warnings about using PRINC being deprecated and I should be using 
the PR service.  Before I make the transition, I have some questions about its 
operation that I couldn't find answers to in the documentation.

1. Does the PR service do an initial PR append when first enabled?  For 
example, let's say I just built core-image-minimal.  If I then enable the PR 
service and re-issue "bitbake core-image-minimal", does the PR service append a 
".1" to every package that is built by core-image-minimal or will it only 
append the ".1" to a package the first time the metadata changes for the 
package and it is rebuilt?  I want to make sure that 
2. If a recipe gets upgraded, does the PR appended value get reset?  For 
example, if I upgrade recipe foo_1.0.0.bb to foo_2.0.0.bb, does the PR service 
reset its appended value to ".1"?
3. I see that the bitbake-prserv-tool script has a method for importing and 
exporting the PRs.  My goal is to be able to re-generate a specific release 
with the same PRs if needed, but I want to verify how this would work with the 
PR service.  If I were to do the following:
a. Build a version of core-image-minimal on machine A with the latest 
upstream changes and a few changes to our own applications.
b. Commit the latest layers to our local Git repository.
c. Export the PRs and commit the output file to our local Git 
repository.
d. Tag our local Git repositories as "v1.0".
e. On machine B, checkout "v1.0", import the PRs and rebuild core-image 
minimal.
Would the resulting PRs for each package be the same on machine A and machine 
B?  If not, is there a different order of operations/method to get the same PRs?

Thanks,
Bryan
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support

2014-10-24 Thread Yen-Chin Lee
To build raspberrypi with Qt5, we need to add extra QT_CONFIG_FLAGS to
indicate device config.

Signed-off-by: Yen-Chin Lee 
---
 recipes-qt/qt5/qtbase_%.bbappend | 7 +++
 1 file changed, 7 insertions(+)
 create mode 100644 recipes-qt/qt5/qtbase_%.bbappend

diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend
new file mode 100644
index 000..c994cf5
--- /dev/null
+++ b/recipes-qt/qt5/qtbase_%.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+QT_CONFIG_FLAGS += " \
+-device linux-rasp-pi-g++ \
+-device-option CROSS_COMPILE=${TARGET_PREFIX} \
+-I${STAGING_DIR_TARGET}${includedir}/interface/vcos/pthreads \
+"
-- 
1.9.3 (Apple Git-50)

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


Re: [yocto] Failing Build

2014-10-24 Thread nick
Thanks Ross,
Sorry about not reading the manual first, I thought it was a misconfiguration
but wasn't sure.
Cheers Nick 

On 14-10-24 07:14 AM, Burton, Ross wrote:
> On 24 October 2014 12:12, Burton, Ross  wrote:
> 
>> On 24 October 2014 12:00, Mihail, StanciuX 
>> wrote:
>>
>>> Looks to me that the core-image-rt-sdk recipe includes both the rt-kernel
>>> and the normal kernel, and maybe it shouldn't?
>>
>>
>> FWIW, I appear to be able to replicate this with just core-image-rt.
>>
> 
> This is a case of RTFM.
> 
> """
> In order to build the image with the linux-yocto-rt kernel, be sure to
> include the following line in your
> local.conf, bblayers.conf, or your $MACHINE.conf.
> 
> PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
> """
> 
> Ross
> 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto