[OE-core] populate sdk broken for u-boot-mkimage

Tim Harvey tharvey at gateworks.com
Wed May 17 21:29:24 UTC 2017


On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher <max.oss.09 at gmail.com> wrote:
> Hi Tim
>
> Just sent a patch which may fix what you see.
>
> Regards
> Max
>
> Am Mittwoch, den 17.05.2017, 12:36 -0700 schrieb Tim Harvey:
>> Greetings,
>>
>> I'm running into the following build error when trying to create an
>> SDK for an image that includes u-boot-mkimage-native.
>>
>> The nativesdk-u-boot-mkimage do_package task fails with:
>> ERROR: nativesdk-u-boot-mkimage: chrpath command failed with exit code 7:
>> b'/usr/src/ventana/yocto/pyro-2.3/build/tmp/work/x86_64-nativesdk-fslcsdk-linux/nativesdk-u-boot
>> -mkimage/1_2017.01-r0/package/opt/fslc-x11/2.3/sysroots/x86_64-fslcsdk-linux/usr/bin/uboot
>> -mkimage:
>> RPATH=/usr/src/ventana/yocto/pyro-2.3/build/tmp/work/x86_64-nativesdk-fslcsdk-linux/nativesdk-u
>> -boot-mkimage/1_2017.01-r0/recipe-sysroot-native/usr/lib:/usr/src/ventana/yocto/pyro
>> -2.3/build/tmp/work/x86_64-nativesdk-fslcsdk-linux/nativesdk-u-boot-mkimage/1_2017.01-r0/recipe
>> -sysroot-native/lib\n'b"new
>> rpath '$ORIGIN/../../../../../../../usr/src/ventana/yocto/pyro-2.3/build/tmp/work/x86_64-nativesdk
>> -fslcsdk-linux/nativesdk-u-boot-mkimage/1_2017.01-r0/recipe-sysroot
>> -native/usr/lib:$ORIGIN/../../../../../../../usr/src/ventana/yocto/pyro-2.3/build/tmp/work/x86_64
>> -nativesdk-fslcsdk-linux/nativesdk-u-boot-mkimage/1_2017.01-r0/recipe-sysroot-native/lib'
>> too large; maximum length 287\n"
>> DEBUG: Python function perform_packagecopy finished
>> DEBUG: Python function do_package finished
>> ERROR: Function failed: perform_packagecopy
>>
>> I'm guessing this has something to do with the long list of args in
>> EXTRA_OEMAKE_class-nativesdk from
>> http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/recipes-bsp/u-boot/u-boot-mkimage_2017.01.bb
>>
>> Any ideas?
>>
>> Regards,
>>
>> Tim

Max,

indeed your patch '[OE-core] [PATCH] u-boot-mkimage: fix nativesdk
build' resolves my problem.

This should be backported to at least the pyro branch as well I would assume?

Tim



More information about the Openembedded-core mailing list