Re: [yocto] fido qt4-embedded packaging problems

2015-08-21 Thread Richard Cagley
On Fri, Aug 14, 2015 at 9:51 AM, Richard Cagley  wrote:
> On Thu, Aug 13, 2015 at 5:57 PM, Khem Raj  wrote:
>> On Thu, Aug 13, 2015 at 5:47 PM, Richard Cagley  wrote:
>>> On Thu, Aug 13, 2015 at 4:43 PM, Khem Raj  wrote:
>>>> On Thu, Aug 13, 2015 at 1:56 PM, Richard Cagley  wrote:
>>>>> When I try to bitbake core-image-minimal-dev I get an error involving
>>>>> cpio when I include qt4-embedded in my CORE_IMAGE_EXTRA_INSTALL list.
>>>>>
>>>>> I looked in the log file and I see a bunch of "PT_INTERP segment not
>>>>> corresponding to .interp section" and "STT_GNU_IFUNC not handled on
>>>>> ARM yet" errors and then a final failure about rootfs creation due to
>>>>> cpio.
>>>>
>>>> these are prelink errors. Which release are you on ?
>>>>
>>>
>>> fido with poky and meta-xilinx. 1.26 for bitbake.
>>
>> ok
>>
>>>
>>>>>
>>>>> Is there something special I need to do to include qt4-embedded for an
>>>>> arm target?
>>>>
>>>> No. Although as a workaround you can disable cross prelink by removing
>>>> it from USER_CLASSES
>>>> in local.conf and see if that works then we know its a prelinking issue.
>>>>
>>>
>>> I removed image-prelink from USER_CLASSES in my local.conf and got the
>>> same result.
>>
>> can you remove tmp/ and rebuild ?
>
> same error.
>
> It appears that on fido I can't have both tools-debug and qt4 stuff
> together. Below is my local.conf that causes things to break (bblayers
> just modified to included needed meta layers). If I remove tools-debug
> things work. Any ideas?
>
> MACHINE ??= "zc702-zynq7"
> DISTRO ?= "poky"
> PACKAGE_CLASSES ?= "package_rpm"
> EXTRA_IMAGE_FEATURES = "debug-tweaks dbg-pkgs dev-pkgs tools-sdk
> tools-debug qt4-pkgs"
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> PATCHRESOLVE = "noop"
> BB_DISKMON_DIRS = "\
> STOPTASKS,${TMPDIR},1G,100K \
> STOPTASKS,${DL_DIR},1G,100K \
> STOPTASKS,${SSTATE_DIR},1G,100K \
> ABORT,${TMPDIR},100M,1K \
> ABORT,${DL_DIR},100M,1K \
> ABORT,${SSTATE_DIR},100M,1K"
> PACKAGECONFIG_append_pn-qemu-native = " sdl"
> PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
> ASSUME_PROVIDED += "libsdl-native"
> CONF_VERSION = "1"

it's actually dbg-pkgs that is causing the problem and not tools-debug.

Is there a way to include debug symbols, e.g., use dbg-pkgs but
exclude debug symbols for certain packages, e.g.,
packagegroup-core-qt4e?

or, is there something better than dbg-pkgs?

On Fri, Aug 14, 2015 at 9:51 AM, Richard Cagley  wrote:
> On Thu, Aug 13, 2015 at 5:57 PM, Khem Raj  wrote:
>> On Thu, Aug 13, 2015 at 5:47 PM, Richard Cagley  wrote:
>>> On Thu, Aug 13, 2015 at 4:43 PM, Khem Raj  wrote:
>>>> On Thu, Aug 13, 2015 at 1:56 PM, Richard Cagley  wrote:
>>>>> When I try to bitbake core-image-minimal-dev I get an error involving
>>>>> cpio when I include qt4-embedded in my CORE_IMAGE_EXTRA_INSTALL list.
>>>>>
>>>>> I looked in the log file and I see a bunch of "PT_INTERP segment not
>>>>> corresponding to .interp section" and "STT_GNU_IFUNC not handled on
>>>>> ARM yet" errors and then a final failure about rootfs creation due to
>>>>> cpio.
>>>>
>>>> these are prelink errors. Which release are you on ?
>>>>
>>>
>>> fido with poky and meta-xilinx. 1.26 for bitbake.
>>
>> ok
>>
>>>
>>>>>
>>>>> Is there something special I need to do to include qt4-embedded for an
>>>>> arm target?
>>>>
>>>> No. Although as a workaround you can disable cross prelink by removing
>>>> it from USER_CLASSES
>>>> in local.conf and see if that works then we know its a prelinking issue.
>>>>
>>>
>>> I removed image-prelink from USER_CLASSES in my local.conf and got the
>>> same result.
>>
>> can you remove tmp/ and rebuild ?
>
> same error.
>
> It appears that on fido I can't have both tools-debug and qt4 stuff
> together. Below is my local.conf that causes things to break (bblayers
> just modified to included needed meta layers). If I remove tools-debug
> things work. Any ideas?
>
> MACHINE ??= "zc702-zynq7"
> DISTRO ?= "poky"
> PACKAGE_CLASSES ?= "package_rpm"
> EXTRA_IMAGE_FEATURES = "debug-tweaks dbg-pkgs dev-pkgs tools-sdk
> tools-debug qt4-pkgs"
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> PATCHRESOLVE = "noop"
> BB_DISKMON_DIRS = "\
> STOPTASKS,${TMPDIR},1G,100K \
> STOPTASKS,${DL_DIR},1G,100K \
> STOPTASKS,${SSTATE_DIR},1G,100K \
> ABORT,${TMPDIR},100M,1K \
> ABORT,${DL_DIR},100M,1K \
> ABORT,${SSTATE_DIR},100M,1K"
> PACKAGECONFIG_append_pn-qemu-native = " sdl"
> PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
> ASSUME_PROVIDED += "libsdl-native"
> CONF_VERSION = "1"
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] libqtphonon4-dev

2015-08-19 Thread Richard Cagley
i'm on poky master branch. When I try to bitbake meta-toolchain-qt I'm
getting a error I don't know how to go about solving

Computing transaction...error: Can't install
packagegroup-qt-toolchain-target-1.0-r0@all: no package provides
libqtphonon4-dev

This is with pretty much default configs except I've changed the
MACHINE to zc702-zynq7

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


Re: [yocto] fido qt4-embedded packaging problems

2015-08-14 Thread Richard Cagley
On Thu, Aug 13, 2015 at 5:57 PM, Khem Raj  wrote:
> On Thu, Aug 13, 2015 at 5:47 PM, Richard Cagley  wrote:
>> On Thu, Aug 13, 2015 at 4:43 PM, Khem Raj  wrote:
>>> On Thu, Aug 13, 2015 at 1:56 PM, Richard Cagley  wrote:
>>>> When I try to bitbake core-image-minimal-dev I get an error involving
>>>> cpio when I include qt4-embedded in my CORE_IMAGE_EXTRA_INSTALL list.
>>>>
>>>> I looked in the log file and I see a bunch of "PT_INTERP segment not
>>>> corresponding to .interp section" and "STT_GNU_IFUNC not handled on
>>>> ARM yet" errors and then a final failure about rootfs creation due to
>>>> cpio.
>>>
>>> these are prelink errors. Which release are you on ?
>>>
>>
>> fido with poky and meta-xilinx. 1.26 for bitbake.
>
> ok
>
>>
>>>>
>>>> Is there something special I need to do to include qt4-embedded for an
>>>> arm target?
>>>
>>> No. Although as a workaround you can disable cross prelink by removing
>>> it from USER_CLASSES
>>> in local.conf and see if that works then we know its a prelinking issue.
>>>
>>
>> I removed image-prelink from USER_CLASSES in my local.conf and got the
>> same result.
>
> can you remove tmp/ and rebuild ?

same error.

It appears that on fido I can't have both tools-debug and qt4 stuff
together. Below is my local.conf that causes things to break (bblayers
just modified to included needed meta layers). If I remove tools-debug
things work. Any ideas?

MACHINE ??= "zc702-zynq7"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks dbg-pkgs dev-pkgs tools-sdk
tools-debug qt4-pkgs"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] fido qt4-embedded packaging problems

2015-08-13 Thread Richard Cagley
On Thu, Aug 13, 2015 at 4:43 PM, Khem Raj  wrote:
> On Thu, Aug 13, 2015 at 1:56 PM, Richard Cagley  wrote:
>> When I try to bitbake core-image-minimal-dev I get an error involving
>> cpio when I include qt4-embedded in my CORE_IMAGE_EXTRA_INSTALL list.
>>
>> I looked in the log file and I see a bunch of "PT_INTERP segment not
>> corresponding to .interp section" and "STT_GNU_IFUNC not handled on
>> ARM yet" errors and then a final failure about rootfs creation due to
>> cpio.
>
> these are prelink errors. Which release are you on ?
>

fido with poky and meta-xilinx. 1.26 for bitbake.

>>
>> Is there something special I need to do to include qt4-embedded for an
>> arm target?
>
> No. Although as a workaround you can disable cross prelink by removing
> it from USER_CLASSES
> in local.conf and see if that works then we know its a prelinking issue.
>

I removed image-prelink from USER_CLASSES in my local.conf and got the
same result.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] fido qt4-embedded packaging problems

2015-08-13 Thread Richard Cagley
When I try to bitbake core-image-minimal-dev I get an error involving
cpio when I include qt4-embedded in my CORE_IMAGE_EXTRA_INSTALL list.

I looked in the log file and I see a bunch of "PT_INTERP segment not
corresponding to .interp section" and "STT_GNU_IFUNC not handled on
ARM yet" errors and then a final failure about rootfs creation due to
cpio.

Is there something special I need to do to include qt4-embedded for an
arm target?
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] installing kernel modules in root filesystem

2015-07-07 Thread Richard Cagley
On Tue, Jul 7, 2015 at 5:55 AM, Philip Balister  wrote:
> On 07/06/2015 09:16 PM, Richard Cagley wrote:
>> I have a kernel module that shows up in my build work directory after
>> I configure the kernel accordingly
>> build/tmp-glibc/work/zedboard_zynq7-oe-linux-gnueabi/linux-xlnx/3.14-xilinx+gitAUTOINC+2b48a8aeea-r0/image/lib/modules/3.14.2-xilinx/kernel/drivers/dma/xilinx/vdmatest.ko
>>
>> But, when I add "kernel-modules" to my IMAGE_INSTALL in local.conf I
>> don't see vdmatest.ko show up in the resultant root filesystem after I
>> run bitbake core-image-minimal-dev and untar the image
>>
>> Is there a way to tell yocto to install all kernel modules or a step
>> I've missed?
>>
>
> I have:
>
> MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
>
> in my machine conf,
>
Wow, thanks. I spent a lot of time trying to figure out that one. I
stuck it in local.conf for now but I guess the machine.conf would
eventually make more sense.

> Make sure you have buildhistory in your user classes. That creates files
> that are very helpful for working out what is actually in the generated
> packages.
>
thanks for the tip. I just turned this on and will try to leverage it
in the future.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] installing kernel modules in root filesystem

2015-07-06 Thread Richard Cagley
I have a kernel module that shows up in my build work directory after
I configure the kernel accordingly
build/tmp-glibc/work/zedboard_zynq7-oe-linux-gnueabi/linux-xlnx/3.14-xilinx+gitAUTOINC+2b48a8aeea-r0/image/lib/modules/3.14.2-xilinx/kernel/drivers/dma/xilinx/vdmatest.ko

But, when I add "kernel-modules" to my IMAGE_INSTALL in local.conf I
don't see vdmatest.ko show up in the resultant root filesystem after I
run bitbake core-image-minimal-dev and untar the image

Is there a way to tell yocto to install all kernel modules or a step
I've missed?
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Building Custom Images- Need help

2013-05-07 Thread Richard Cagley
Have you tried hob?

https://www.yoctoproject.org/documentation/hob-manual

 

From: yocto-boun...@yoctoproject.org
[mailto:yocto-boun...@yoctoproject.org] On Behalf Of Zaif upb
Sent: Tuesday, May 07, 2013 2:52 PM
To: yocto@yoctoproject.org
Subject: [yocto] Building Custom Images- Need help

 

Hi all,

I am newbie for Yocto project, please help me.

 I would like to know the process of making custom image for gumstix. I
have been through this
http://www.yoctoproject.org/docs/1.4/dev-manual/dev-manual.html#usingpok
y-extend-addpkg  manual but things are not clear yet.

I can successfully build gumstix-console-image. I need to integrate
Gstreamer and OpenCV libraries into that image. I do not know how to
proceed. 

I edited gumstix-console-image.bb file according to  Streaming video
with Gumstix
  as mentioned here for
Gstreamer. It breaks badly.

Any Idea how can I integrate them in my Image?

Thank You for your Help.

Regards,

Zaifupb

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


Re: [yocto] Hob found an error

2013-05-07 Thread Richard Cagley
rcagley@rcagley-VirtualBox:/opt/fsl-community-bsp$ find . -name
*meta-hob*
./sources/poky/meta-hob
rcagley@rcagley-VirtualBox:/opt/fsl-community-bsp$ find . -name
hob-image.bb
./sources/poky/meta-hob/recipes-core/images/hob-image.bb

Note from the previous post I'm using the  "machine" nitrogren6x and
"base image" fsl-image-test

> -Original Message-
> From: Voicu, Cristiana [mailto:cristiana.vo...@intel.com]
> Sent: Tuesday, May 07, 2013 3:12 AM
> To: Iorga, Cristian; Richard Cagley; yocto@yoctoproject.org
> Subject: RE: Hob found an error
> 
> Hi Richard,
> 
> I tried to reproduce this bug on master branch, but I do not receive
this error.
> Do you have "meta-hob" layer in your poky directory? Because, there is
> located 'hob-image.bb', and it seems that bitbake can't find it.
> Thanks,
> Cristiana
> 
> -Original Message-
> From: yocto-boun...@yoctoproject.org [mailto:yocto-
> boun...@yoctoproject.org] On Behalf Of Iorga, Cristian
> Sent: Tuesday, May 07, 2013 12:12 PM
> To: Richard Cagley; yocto@yoctoproject.org
> Subject: Re: [yocto] Hob found an error
> 
> Hi Richard,
> 
> What bitbake/poky/hob are you using (versions)?
> /Cristian
> 
> -Original Message-
> From: yocto-boun...@yoctoproject.org [mailto:yocto-
> boun...@yoctoproject.org] On Behalf Of Richard Cagley
> Sent: Monday, May 06, 2013 11:25 PM
> To: yocto@yoctoproject.org
> Subject: [yocto] Hob found an error
> 
> When I try to add the videotestsrc plugin during package editing and
the try
> to build the image I get this message in a popup window. No clue even
> where to start in debugging this.
> 
> Hob Exception - Error running command '['matchFile', 'hob-image.bb']':
> Traceback (most recent call last):
>   File
"/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/command.py",
> line 68, in runCommand
> result = command_method(self, commandline)
>   File
"/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/command.py",
> line 210, in matchFile
> return command.cooker.matchFile(fMatch)
>   File "/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/cooker.py",
> line 1142, in matchFile
> raise NoSpecificMatch
> NoSpecificMatch
> 
> 
> 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
> ___
> 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] Hob found an error

2013-05-07 Thread Richard Cagley
Thanks for the reply. I'm following these steps
http://www.ossystems.com.br/blog/2013/04/15/yocto-with-boundary-devices-
nitrogen6x-5-steps-only/
but with bitbake fsl-image-test

rcagley@rcagley-VirtualBox:/opt/fsl-community-bsp/build$ bitbake
--version
BitBake Build Tool Core version 1.18.0, bitbake version 1.18.0

I'm not sure how to find out my poky/hob versions. I've googled to try
to figure out how and no luck.

> -Original Message-
> From: Iorga, Cristian [mailto:cristian.io...@intel.com]
> Sent: Tuesday, May 07, 2013 2:12 AM
> To: Richard Cagley; yocto@yoctoproject.org
> Subject: RE: Hob found an error
> 
> Hi Richard,
> 
> What bitbake/poky/hob are you using (versions)?
> /Cristian
> 
> -Original Message-
> From: yocto-boun...@yoctoproject.org [mailto:yocto-
> boun...@yoctoproject.org] On Behalf Of Richard Cagley
> Sent: Monday, May 06, 2013 11:25 PM
> To: yocto@yoctoproject.org
> Subject: [yocto] Hob found an error
> 
> When I try to add the videotestsrc plugin during package editing and
the try
> to build the image I get this message in a popup window. No clue even
> where to start in debugging this.
> 
> Hob Exception - Error running command '['matchFile', 'hob-image.bb']':
> Traceback (most recent call last):
>   File
"/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/command.py",
> line 68, in runCommand
> result = command_method(self, commandline)
>   File
"/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/command.py",
> line 210, in matchFile
> return command.cooker.matchFile(fMatch)
>   File "/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/cooker.py",
> line 1142, in matchFile
> raise NoSpecificMatch
> NoSpecificMatch
> 
> 
> 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Hob found an error

2013-05-06 Thread Richard Cagley
When I try to add the videotestsrc plugin during package editing and the
try to build the image I get this message in a popup window. No clue
even where to start in debugging this.

Hob Exception - Error running command '['matchFile', 'hob-image.bb']':
Traceback (most recent call last):
  File "/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/command.py",
line 68, in runCommand
result = command_method(self, commandline)
  File "/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/command.py",
line 210, in matchFile
return command.cooker.matchFile(fMatch)
  File "/opt/fsl-community-bsp/sources/poky/bitbake/lib/bb/cooker.py",
line 1142, in matchFile
raise NoSpecificMatch
NoSpecificMatch



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