All of lore.kernel.org
 help / color / mirror / Atom feed
* populate sdk broken for u-boot-mkimage
@ 2017-05-17 19:36 Tim Harvey
  2017-05-17 20:15 ` Max Krummenacher
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Harvey @ 2017-05-17 19:36 UTC (permalink / raw)
  To: poky, openembedded-core

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


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

* Re: populate sdk broken for u-boot-mkimage
  2017-05-17 19:36 populate sdk broken for u-boot-mkimage Tim Harvey
@ 2017-05-17 20:15 ` Max Krummenacher
  2017-05-17 21:29     ` Tim Harvey
  0 siblings, 1 reply; 7+ messages in thread
From: Max Krummenacher @ 2017-05-17 20:15 UTC (permalink / raw)
  To: Tim Harvey, poky, openembedded-core

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


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

* Re: [OE-core] populate sdk broken for u-boot-mkimage
  2017-05-17 20:15 ` Max Krummenacher
@ 2017-05-17 21:29     ` Tim Harvey
  0 siblings, 0 replies; 7+ messages in thread
From: Tim Harvey @ 2017-05-17 21:29 UTC (permalink / raw)
  To: Max Krummenacher; +Cc: poky, openembedded-core

On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher <max.oss.09@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


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

* Re: populate sdk broken for u-boot-mkimage
@ 2017-05-17 21:29     ` Tim Harvey
  0 siblings, 0 replies; 7+ messages in thread
From: Tim Harvey @ 2017-05-17 21:29 UTC (permalink / raw)
  To: Max Krummenacher; +Cc: poky, openembedded-core

On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher <max.oss.09@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


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

* Re: populate sdk broken for u-boot-mkimage
  2017-05-17 21:29     ` Tim Harvey
  (?)
@ 2017-05-17 22:37     ` Max Krummenacher
  2017-05-18  1:08         ` Denys Dmytriyenko
  -1 siblings, 1 reply; 7+ messages in thread
From: Max Krummenacher @ 2017-05-17 22:37 UTC (permalink / raw)
  To: Tim Harvey; +Cc: poky, openembedded-core

Am Mittwoch, den 17.05.2017, 14:29 -0700 schrieb Tim Harvey:
> On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher <max.oss.09@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?

Yes, I expect that pyro has the same issue, morty likely does not though.

Max



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

* Re: [OE-core] populate sdk broken for u-boot-mkimage
  2017-05-17 22:37     ` Max Krummenacher
@ 2017-05-18  1:08         ` Denys Dmytriyenko
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2017-05-18  1:08 UTC (permalink / raw)
  To: Max Krummenacher; +Cc: poky, openembedded-core

On Thu, May 18, 2017 at 12:37:08AM +0200, Max Krummenacher wrote:
> Am Mittwoch, den 17.05.2017, 14:29 -0700 schrieb Tim Harvey:
> > On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher <max.oss.09@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?
> 
> Yes, I expect that pyro has the same issue, morty likely does not though.

I can confirm this does not affect morty.

-- 
Denys


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

* Re: populate sdk broken for u-boot-mkimage
@ 2017-05-18  1:08         ` Denys Dmytriyenko
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2017-05-18  1:08 UTC (permalink / raw)
  To: Max Krummenacher; +Cc: poky, openembedded-core

On Thu, May 18, 2017 at 12:37:08AM +0200, Max Krummenacher wrote:
> Am Mittwoch, den 17.05.2017, 14:29 -0700 schrieb Tim Harvey:
> > On Wed, May 17, 2017 at 1:15 PM, Max Krummenacher <max.oss.09@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?
> 
> Yes, I expect that pyro has the same issue, morty likely does not though.

I can confirm this does not affect morty.

-- 
Denys


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

end of thread, other threads:[~2017-05-18  1:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17 19:36 populate sdk broken for u-boot-mkimage Tim Harvey
2017-05-17 20:15 ` Max Krummenacher
2017-05-17 21:29   ` [OE-core] " Tim Harvey
2017-05-17 21:29     ` Tim Harvey
2017-05-17 22:37     ` Max Krummenacher
2017-05-18  1:08       ` [OE-core] " Denys Dmytriyenko
2017-05-18  1:08         ` Denys Dmytriyenko

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.