All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm] Missing host dependency for 3.10 kernel?
@ 2014-04-03 11:44 Gary Thomas
  2014-04-03 13:38 ` Erik Botö
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2014-04-03 11:44 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

I just tried to build the 3.10+ kernel for my SabreLite board
and got this error:
  LZO     arch/arm/boot/compressed/piggy.lzo
/bin/sh: lzop: command not found
make[2]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC      arch/arm/boot/compressed/misc.o
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [uImage] Error 2
ERROR: oe_runmake failed
WARNING: /home/local/imx6_2014-04-02/tmp/work/nitrogen6x-amltd-linux-gnueabi/linux-boundary/3.10.17-r0/temp/run.do_compile.17300:1 exit 1 from
  exit 1
ERROR: Function failed: do_compile (log file is located at /home/local/imx6_2014-04-02/tmp/work/nitrogen6x-amltd-linux-gnueabi/linux-boundary/3.10.17-r0/temp/log.do_compile.17300)

It seems that the 'lzop' program (a new one on me) is not installed
on any of my build hosts.

Shouldn't this be handled by the Yocto build system using either
a sanity requirement or native package to provide the tool?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: [meta-fsl-arm] Missing host dependency for 3.10 kernel?
  2014-04-03 11:44 [meta-fsl-arm] Missing host dependency for 3.10 kernel? Gary Thomas
@ 2014-04-03 13:38 ` Erik Botö
  2014-04-03 14:16   ` [meta-fsl-arm-extra][PATCH] linux-boundary: Add DEPENDS on lzop Eric Nelson
  2014-04-03 14:17   ` [meta-fsl-arm] Missing host dependency for 3.10 kernel? Eric Nelson
  0 siblings, 2 replies; 5+ messages in thread
From: Erik Botö @ 2014-04-03 13:38 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org

Hi,

Looks to me like there's an lzop recipe which "supports" native as
well [1], so we could probably add a DEPENDS += "lzop-native" to
linux-boundary 3.10 to avoid adding the dependency to the host OS.

[1] - http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-support/lzop/lzop_1.03.bb?h=master

Cheers,
Erik

On Thu, Apr 3, 2014 at 1:44 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> I just tried to build the 3.10+ kernel for my SabreLite board
> and got this error:
>   LZO     arch/arm/boot/compressed/piggy.lzo
> /bin/sh: lzop: command not found
> make[2]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
> make[2]: *** Waiting for unfinished jobs....
>   CC      arch/arm/boot/compressed/misc.o
> make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
> make: *** [uImage] Error 2
> ERROR: oe_runmake failed
> WARNING: /home/local/imx6_2014-04-02/tmp/work/nitrogen6x-amltd-linux-gnueabi/linux-boundary/3.10.17-r0/temp/run.do_compile.17300:1 exit 1 from
>   exit 1
> ERROR: Function failed: do_compile (log file is located at /home/local/imx6_2014-04-02/tmp/work/nitrogen6x-amltd-linux-gnueabi/linux-boundary/3.10.17-r0/temp/log.do_compile.17300)
>
> It seems that the 'lzop' program (a new one on me) is not installed
> on any of my build hosts.
>
> Shouldn't this be handled by the Yocto build system using either
> a sanity requirement or native package to provide the tool?
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


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

* [meta-fsl-arm-extra][PATCH] linux-boundary: Add DEPENDS on lzop
  2014-04-03 13:38 ` Erik Botö
@ 2014-04-03 14:16   ` Eric Nelson
  2014-04-03 14:17   ` [meta-fsl-arm] Missing host dependency for 3.10 kernel? Eric Nelson
  1 sibling, 0 replies; 5+ messages in thread
From: Eric Nelson @ 2014-04-03 14:16 UTC (permalink / raw)
  To: meta-freescale; +Cc: gary

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 945 bytes --]

Kernel version 3.10 requires lzop to build.

Fix suggested by Erik Botö <erik.boto@pelagicore.com>

Reported-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 recipes-kernel/linux/linux-boundary_3.10.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-boundary_3.10.17.bb b/recipes-kernel/linux/linux-boundary_3.10.17.bb
index 1fc7901..d301147 100644
--- a/recipes-kernel/linux/linux-boundary_3.10.17.bb
+++ b/recipes-kernel/linux/linux-boundary_3.10.17.bb
@@ -12,6 +12,6 @@ SRC_URI = "git://github.com/boundarydevices/linux-imx6.git;branch=${SRCBRANCH} \
 LOCALVERSION = "-1.0.0_beta+yocto"
 SRCBRANCH = "boundary-imx_3.10.17_1.0.0_beta"
 SRCREV = "92608435c09eef1b111d6b704d016bcc769c55ca"
-
+DEPENDS += "lzop-native "
 COMPATIBLE_MACHINE = "(mx6)"
 COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
-- 
1.8.3.2



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

* Re: [meta-fsl-arm] Missing host dependency for 3.10 kernel?
  2014-04-03 13:38 ` Erik Botö
  2014-04-03 14:16   ` [meta-fsl-arm-extra][PATCH] linux-boundary: Add DEPENDS on lzop Eric Nelson
@ 2014-04-03 14:17   ` Eric Nelson
  2014-04-03 14:35     ` Gary Thomas
  1 sibling, 1 reply; 5+ messages in thread
From: Eric Nelson @ 2014-04-03 14:17 UTC (permalink / raw)
  To: Erik Botö, Gary Thomas; +Cc: meta-freescale@yoctoproject.org

On 04/03/2014 06:38 AM, Erik Botö wrote:
> Hi,
>
> Looks to me like there's an lzop recipe which "supports" native as
> well [1], so we could probably add a DEPENDS += "lzop-native" to
> linux-boundary 3.10 to avoid adding the dependency to the host OS.
>
> [1] - http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-support/lzop/lzop_1.03.bb?h=master
>

Thanks Erik,

I just sent a patch for this, though I wonder if other 3.10 kernels
will be similarly affected.




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

* Re: [meta-fsl-arm] Missing host dependency for 3.10 kernel?
  2014-04-03 14:17   ` [meta-fsl-arm] Missing host dependency for 3.10 kernel? Eric Nelson
@ 2014-04-03 14:35     ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2014-04-03 14:35 UTC (permalink / raw)
  To: meta-freescale

On 2014-04-03 08:17, Eric Nelson wrote:
> On 04/03/2014 06:38 AM, Erik Botö wrote:
>> Hi,
>>
>> Looks to me like there's an lzop recipe which "supports" native as
>> well [1], so we could probably add a DEPENDS += "lzop-native" to
>> linux-boundary 3.10 to avoid adding the dependency to the host OS.
>>
>> [1] - http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-support/lzop/lzop_1.03.bb?h=master
>>
> 
> Thanks Erik,
> 
> I just sent a patch for this, though I wonder if other 3.10 kernels
> will be similarly affected.

Just tested this on a machine without lzop - works fine.  You can add
my Tested-By if you'd like.

Thanks for the swift action.  I agree that other recent (3.10+) kernel
recipes may need this as well, at least ones that boot compressed
kernel images (arm, powerpc, mips)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

end of thread, other threads:[~2014-04-03 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03 11:44 [meta-fsl-arm] Missing host dependency for 3.10 kernel? Gary Thomas
2014-04-03 13:38 ` Erik Botö
2014-04-03 14:16   ` [meta-fsl-arm-extra][PATCH] linux-boundary: Add DEPENDS on lzop Eric Nelson
2014-04-03 14:17   ` [meta-fsl-arm] Missing host dependency for 3.10 kernel? Eric Nelson
2014-04-03 14:35     ` Gary Thomas

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.