[yocto] fido qt4-embedded packaging problems

Richard Cagley rcagley at gmail.com
Fri Aug 21 18:07:27 PDT 2015


On Fri, Aug 14, 2015 at 9:51 AM, Richard Cagley <rcagley at gmail.com> wrote:
> On Thu, Aug 13, 2015 at 5:57 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> On Thu, Aug 13, 2015 at 5:47 PM, Richard Cagley <rcagley at gmail.com> wrote:
>>> On Thu, Aug 13, 2015 at 4:43 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>>> On Thu, Aug 13, 2015 at 1:56 PM, Richard Cagley <rcagley at gmail.com> 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 <rcagley at gmail.com> wrote:
> On Thu, Aug 13, 2015 at 5:57 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> On Thu, Aug 13, 2015 at 5:47 PM, Richard Cagley <rcagley at gmail.com> wrote:
>>> On Thu, Aug 13, 2015 at 4:43 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>>> On Thu, Aug 13, 2015 at 1:56 PM, Richard Cagley <rcagley at gmail.com> 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"



More information about the yocto mailing list