[yocto] New error in 1.7

peterengcomau001 at adam.com.au peterengcomau001 at adam.com.au
Tue Nov 25 04:42:21 PST 2014


This is new territory for me.

I have created the following patch
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -16 +16 @@ AC_CONFIG_SRCDIR([libop/op_config.h])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])

but i get the error

ERROR: Command Error: exit status: 1  Output:
Applying patch automake-foreign.patch
patching file configure.ac
Hunk #1 FAILED at 16.
1 out of 1 hunk FAILED -- rejects in file configure.ac
Patch automake-foreign.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in:
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/temp/log.do_patch.15332
ERROR: Task 598
(/home/lachlan/poky/meta-atmel/recipes-multimedia/gstreamer1.0-plugins/gstreamer1.0-plugins-hantro_1.0.bb,
do_patch) failed with exit code '1'

if I delete the  @@ line I get the following error.

 ERROR: Command Error: exit status: 1  Output:
Applying patch automake-foreign.patch
patch: **** Only garbage was found in the patch input.
Patch automake-foreign.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in:
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/temp/log.do_patch.16828
ERROR: Task 598
(/home/lachlan/poky/meta-atmel/recipes-multimedia/gstreamer1.0-plugins/gstreamer1.0-plugins-hantro_1.0.bb,
do_patch) failed with exit code '1'

Can you direct me to some information that describes the exact syntax
for creating patches?
Thanks
Lachlan

----- Original Message -----
From: "Paul Eggleton" 
To:
Cc:
Sent:Tue, 25 Nov 2014 11:43:50 +0000
Subject:Re: [yocto] New error in 1.7

 On Tuesday 25 November 2014 22:08:41 peterengcomau001 at adam.com.au
wrote:
 > > > | Makefile.am: error: required file './AUTHORS' not found
 > > 
 > > This is likely a result of the --foreign option being removed -
see:
 > > 
 > > http://www.yoctoproject.org/docs/1.7/ref-manual/ref-> >
manual.html#migration-1.7-autotools-class-changes
 >
 > the change to oprofile.inc and the associated patch appear to be
 > already present in the meta data.
 > Any other ideas what could be causing the problem?

 The patch to oprofile is just an example of what you need to do to
solve this 
 type of issue - you need to make a similar change to the failing
recipe 
 (gstreamer1.0-plugins-hantro in this instance).

 Cheers,
 Paul

 -- 

 Paul Eggleton
 Intel Open Source Technology Centre
---- 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/20141125/996cb129/attachment.html>


More information about the yocto mailing list