[yocto] New error in 1.7

peterengcomau001 at adam.com.au peterengcomau001 at adam.com.au
Tue Nov 25 13:12:02 PST 2014


Thanks for your patience. I was successful in building the patch as
follows:
__________________
--- a/configure.ac    2014-08-28 03:20:36.000000000 +0300
+++ b/configure.ac    2014-11-25 23:22:45.129711196 +0300
@@ -13,7 +13,7 @@
 AG_GST_INIT
 
 dnl initialize automake
-AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz
tar-ustar])
+AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz
tar-ustar foreign])
 
 dnl define PACKAGE_VERSION_* variables
 AS_VERSION 
 ________________________________
build proceeds past do_config but now fails at do_complie for the
same module.

The last part of the error is as follows:
______________________________________________
| In file included from
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/gst-libs/ext/g1/dwl/gstdwlallocator.c:31:0:
|
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/gst-libs/ext/g1/dwl/gstdwlallocator.h:36:28:
fatal error: gstg1allocator.h: No such file or directory
|  #include "gstg1allocator.h"
|                             ^
| compilation terminated.
| make[5]: *** [libgstdwlallocator_1.0_la-gstdwlallocator.lo] Error 1
| make[5]: Leaving directory
`/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/gst-libs/ext/g1/dwl'
| make[4]: *** [all-recursive] Error 1
| make[4]: Leaving directory
`/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/gst-libs/ext/g1'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory
`/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/gst-libs/ext'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory
`/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/gst-libs'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/temp/log.do_compile.3977)
ERROR: Task 603
(/home/lachlan/poky/meta-atmel/recipes-multimedia/gstreamer1.0-plugins/gstreamer1.0-plugins-hantro_10.bb,
do_compile) failed with exit code '1'
_________________________________________________________________________________

Any ides on how to proceed?
Maybe i go back to using poky 1.6.1 ?

Thanks for any ideas
Lachlan

 

----- Original Message -----
From: "Anders Darander" 
To:"peterengcomau001 at adam.com.au" 
Cc:"yocto at yoctoproject.org" 
Sent:Tue, 25 Nov 2014 19:19:27 +0100
Subject:Re: [yocto] New error in 1.7

 On 25 November 2014 17:13:17 CET, "peterengcomau001 at adam.com.au" 
wrote:
 >My original problem is that the image built in 1.6.1 does not build
in
 >1.7. Paul indicated this is probably because of the -foreign issue
as
 >referred to in the reference manual Section 5.6.3 when upgrading. 
 >
 >
 >What I need to do is modify my recipe to include this. I understand
 >once I have modified the recipe I can generate a patch against the
 >original.

 The easiest way is likely to patch configure.ac, similar to what was
done in
http://git.openembedded.org/openembedded-core/commit/?id=60da074fea280d8190e7439361712dcc86177f12

 So you were on the right track in your earlier email. 

 >However, I still cannot identify the original change to the recipe
 >required to add this item.
 >
 >
 >I have added to the recipe
 >
 >
 >EXTRA_OECONF = " 'AM_INIT_AUTOMAKE([foreign]); "
 >
 >
 >Is this the correct change to the recipe to ensure the config.ac
file
 >is updated so that any non-conformance with GNU guidelines is
 >overlooked?

 No, what that line does is add some extra argument to the call to
configure. AM_INIT_AUTOMAKE is a macro in configure.ac. 

 Create the patch that you talked about in got previous email, and
make sure that it applies. Then this problem will go away. 

 Cheers, 
 Anders 

 -- 
 ChargeStorm AB / eStorm 
 -- 
 _______________________________________________
 yocto mailing list
 yocto at yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto

---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141126/e1094c79/attachment.html>


More information about the yocto mailing list