All of lore.kernel.org
 help / color / mirror / Atom feed
* New error in 1.7
@ 2014-11-25  3:16 peterengcomau001
  2014-11-25  3:33 ` akuster808
  0 siblings, 1 reply; 12+ messages in thread
From: peterengcomau001 @ 2014-11-25  3:16 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 4787 bytes --]

I have just downloaded poky 1.7 and am rebuilding the image. I get an
error that I did not when doing this in 1.6.1

lachlan@lachlan-SVP13215PXB:~/poky/build-atmel$ bitbake
atmel-qt5-demo-image -c populate_sdk

Build Configuration:
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "sama5d3xek"
DISTRO            = "poky"
DISTRO_VERSION    = "1.7"
TUNE_FEATURES     = "arm armv7a vfp thumb callconvention-hard
cortexa5"
TARGET_FPU        = "vfp"
meta-atmel        =
"my_branch:711809b0d91f816b10e70508986b3f43098000ba"
meta-qt5          =
"my_branch:0732e184acef5e0200f46d7f95702774e5de1904"
meta              
meta-yocto        
meta-yocto-bsp    =
"dizzy:9bfb78bff606700176909abaa5cf8a332292738a"
meta-oe           
meta-python       
meta-networking   
meta-ruby         =
"my_branch:9efaed99125b1c4324663d9a1b2d3319c74e7278"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Command Error: exit status: 1  Output:
Applying patch CVE-2014-3613.patch
patching file lib/cookie.c
patching file tests/data/test1105
patching file tests/data/test31
Hunk #1 FAILED at 49 (different line endings).
1 out of 2 hunks FAILED -- rejects in file tests/data/test31
patching file tests/data/test8
Patch CVE-2014-3613.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/curl/7.37.1-r0/temp/log.do_patch.31221
ERROR: Task 1666
(/home/lachlan/poky/meta/recipes-support/curl/curl_7.37.1.bb,
do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2914 tasks of which 2912 didn't need
to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/lachlan/poky/meta/recipes-support/curl/curl_7.37.1.bb,
do_patch
Summary: There were 2 ERROR messages shown, returning a non-zero exit
code.

any thoughts as to what this probleb could be.
___________________________________________________________

I also have problems with the ADT cross compiler installer in V1.7
compared with 1.6.1. where it wont install the rootfs as follows:

#########################################################################
# Welcome to Yocto Application Developement Tools (ADT) Installer
#
# Host Machine:                x86_64
# OS info:                3.13.0-39-generic
# Yocto ADT version to be installed:    
# supported target architectures:    x86 x86_64 arm ppc mips
# supported target root_fs images:    minimal minimal-dev sato
sato-dev sato-sdk lsb lsb-dev lsb-sdk
#########################################################################

Systemwide installation. Installation will occur under /opt/poky/1.7

############################################################################
# Your system installation configurations from adt_installer.conf
############################################################################
# Cross toolchains:        arm
# Install Qemu:            Y
# Install NFS utilities:    Y

##############################################################################
# Your rootfs image(s) and target sysroot selections from
adt_installer.conf
##############################################################################
# Target architecture:        arm
# Target machine:        qemuarm
# Root_fs images:        minimal sato-sdk
# Target sysroot image:        sato-sdk
# Target sysroot loc:        /home/lachlan/test-yocto/qemuarm
############################################################################

Successfully installed selected native ADT!
Installing target sysroot for arch: arm, rootfs type: sato-sdk,
location: /home/lachlan/test-yocto/qemuarm

Target sysroot location: /home/lachlan/test-yocto/qemuarm, already
exists! If you continue installation, this folder will be re-created.
Creating directory /home/lachlan/test-yocto/qemuarm...
Extracting rootfs: core-image-sato-sdk-qemuarm.tar.bz2, using
pseudo...
tar (child): ./download_image/core-image-sato-sdk-qemuarm.tar.bz2:
Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Is there anyway to overcome this or is it best to go back to 1.6.1

Thanks
Lachlab
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/

[-- Attachment #2: Type: text/html, Size: 5174 bytes --]

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

* Re: New error in 1.7
  2014-11-25  3:16 New error in 1.7 peterengcomau001
@ 2014-11-25  3:33 ` akuster808
  2014-11-25  8:57   ` peterengcomau001
  0 siblings, 1 reply; 12+ messages in thread
From: akuster808 @ 2014-11-25  3:33 UTC (permalink / raw)
  To: peterengcomau001, yocto

There was an issue with the curl package over the weekend. It was 
corrected early this morning (PST). Do you have the changes? if not, 
please refresh your cloned source.

regards,
Armin

On 11/24/2014 07:16 PM, peterengcomau001@adam.com.au wrote:
> I have just downloaded poky 1.7 and am rebuilding the image. I get an
> error that I did not when doing this in 1.6.1
>
> lachlan@lachlan-SVP13215PXB:~/poky/build-atmel$ bitbake
> atmel-qt5-demo-image -c populate_sdk
>
> Build Configuration:
> BB_VERSION        = "1.24.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-14.04"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "sama5d3xek"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.7"
> TUNE_FEATURES     = "arm armv7a vfp thumb callconvention-hard cortexa5"
> TARGET_FPU        = "vfp"
> meta-atmel        = "my_branch:711809b0d91f816b10e70508986b3f43098000ba"
> meta-qt5          = "my_branch:0732e184acef5e0200f46d7f95702774e5de1904"
> meta
> meta-yocto
> meta-yocto-bsp    = "dizzy:9bfb78bff606700176909abaa5cf8a332292738a"
> meta-oe
> meta-python
> meta-networking
> meta-ruby         = "my_branch:9efaed99125b1c4324663d9a1b2d3319c74e7278"
>
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Command Error: exit status: 1  Output:
> Applying patch CVE-2014-3613.patch
> patching file lib/cookie.c
> patching file tests/data/test1105
> patching file tests/data/test31
> Hunk #1 FAILED at 49 (different line endings).
> 1 out of 2 hunks FAILED -- rejects in file tests/data/test31
> patching file tests/data/test8
> Patch CVE-2014-3613.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/curl/7.37.1-r0/temp/log.do_patch.31221
> ERROR: Task 1666
> (/home/lachlan/poky/meta/recipes-support/curl/curl_7.37.1.bb, do_patch)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2914 tasks of which 2912 didn't need to
> be rerun and 1 failed.
> Waiting for 0 running tasks to finish:
>
> Summary: 1 task failed:
>    /home/lachlan/poky/meta/recipes-support/curl/curl_7.37.1.bb, do_patch
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
> any thoughts as to what this probleb could be.
> ___________________________________________________________
>
> I also have problems with the ADT cross compiler installer in V1.7
> compared with 1.6.1. where it wont install the rootfs as follows:
>
> #########################################################################
> # Welcome to Yocto Application Developement Tools (ADT) Installer
> #
> # Host Machine:                x86_64
> # OS info:                3.13.0-39-generic
> # Yocto ADT version to be installed:
> # supported target architectures:    x86 x86_64 arm ppc mips
> # supported target root_fs images:    minimal minimal-dev sato sato-dev
> sato-sdk lsb lsb-dev lsb-sdk
> #########################################################################
>
> Systemwide installation. Installation will occur under /opt/poky/1.7
>
> ############################################################################
> # Your system installation configurations from adt_installer.conf
> ############################################################################
> # Cross toolchains:        arm
> # Install Qemu:            Y
> # Install NFS utilities:    Y
>
> ##############################################################################
> # Your rootfs image(s) and target sysroot selections from adt_installer.conf
> ##############################################################################
> # Target architecture:        arm
> # Target machine:        qemuarm
> # Root_fs images:        minimal sato-sdk
> # Target sysroot image:        sato-sdk
> # Target sysroot loc:        /home/lachlan/test-yocto/qemuarm
> ############################################################################
>
> Successfully installed selected native ADT!
> Installing target sysroot for arch: arm, rootfs type: sato-sdk,
> location: /home/lachlan/test-yocto/qemuarm
>
> Target sysroot location: /home/lachlan/test-yocto/qemuarm, already
> exists! If you continue installation, this folder will be re-created.
> Creating directory /home/lachlan/test-yocto/qemuarm...
> Extracting rootfs: core-image-sato-sdk-qemuarm.tar.bz2, using pseudo...
> tar (child): ./download_image/core-image-sato-sdk-qemuarm.tar.bz2:
> Cannot open: No such file or directory
> tar (child): Error is not recoverable: exiting now
> tar: Child returned status 2
> tar: Error is not recoverable: exiting now
>
> Is there anyway to overcome this or is it best to go back to 1.6.1
>
> Thanks
> Lachlab
> ---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
>
>


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

* Re: New error in 1.7
  2014-11-25  3:33 ` akuster808
@ 2014-11-25  8:57   ` peterengcomau001
  2014-11-25 10:09     ` Paul Eggleton
  0 siblings, 1 reply; 12+ messages in thread
From: peterengcomau001 @ 2014-11-25  8:57 UTC (permalink / raw)
  To: akuster808, peterengcomau001, yocto

[-- Attachment #1: Type: text/plain, Size: 11667 bytes --]

thank you. i have fixed the curl problem but a new problem has occured
with the build. This problem did not appear in v1.6.1. The problem is:

	lachlan@lachlan-SVP13215PXB:~/poky/build-atmel$ bitbake
atmel-qt5-demo-image -c populate_sdk  

	Loading cache: 100%
|###########################################################################################################################################################|
ETA: 00:00:00  

	Loaded 2108 entries from dependency cache.  

	NOTE: Resolving any missing task queue dependencies  

	Build Configuration:  

	BB_VERSION = "1.24.0"  

	BUILD_SYS = "x86_64-linux"  

	NATIVELSBSTRING = "Ubuntu-14.04"  

	TARGET_SYS = "arm-poky-linux-gnueabi"  

	MACHINE = "sama5d3xek"  

	DISTRO = "poky"  

	DISTRO_VERSION = "1.7"  

	TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard cortexa5" 


	TARGET_FPU = "vfp"  

	meta-atmel = "my_branch:711809b0d91f816b10e70508986b3f43098000ba"  

	meta-qt5 = "my_branch:0732e184acef5e0200f46d7f95702774e5de1904"  

	meta  

	meta-yocto  

	meta-yocto-bsp = "dizzy:db7f4f31c915a59c502cac4be905d23df5246b3d"  

	meta-oe  

	meta-python  

	meta-networking  

	meta-ruby = "my_branch:9efaed99125b1c4324663d9a1b2d3319c74e7278"  

	NOTE: Preparing runqueue  

	NOTE: Executing SetScene Tasks  

	NOTE: Executing RunQueue Tasks  

	ERROR: Function failed: do_configure (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_configure.5736)
 

	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_configure.5736
 

	Log data follows:  

	| DEBUG: Executing python function sysroot_cleansstate  

	| DEBUG: Python function sysroot_cleansstate finished  

	| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
'common']  

	| DEBUG: Executing shell function autotools_preconfigure  

	| DEBUG: Shell function autotools_preconfigure finished  

	| DEBUG: Executing python function autotools_copy_aclocals  

	| DEBUG: Python function autotools_copy_aclocals finished  

	| DEBUG: Executing shell function do_configure  

	| automake (GNU automake) 1.14.1  

	| Copyright (C) 2013 Free Software Foundation, Inc.  

	| License GPLv2+: GNU GPL version 2 or later   

	| This is free software: you are free to change and redistribute it.
 

	| There is NO WARRANTY, to the extent permitted by law.  

	|  

	| Written by Tom Tromey   

	| and Alexandre Duret-Lutz .  

	| AUTOV is 1.14  

	| NOTE: Executing ACLOCAL="aclocal
--system-acdir=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/aclocal-copy/
--automake-acdir=/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.14"
autoreconf --verbose --install --force --exclude=autopoint -I
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
 

	| autoreconf: Entering directory `'  

	| autoreconf: configure.ac: not using Gettext  

	| autoreconf: running: aclocal
--system-acdir=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/aclocal-copy/
--automake-acdir=/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.14
-I
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
-I
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
--force -I m4 -I common/m4  

	| autoreconf: configure.ac: tracing  

	| autoreconf: running: libtoolize --copy --force  

	| libtoolize: putting auxiliary files in `.'.  

	| libtoolize: copying file `./ltmain.sh'  

	| libtoolize: putting macros in `m4'.  

	| libtoolize: copying file `m4/libtool.m4'  

	| libtoolize: copying file `m4/ltoptions.m4'  

	| libtoolize: copying file `m4/ltsugar.m4'  

	| libtoolize: copying file `m4/ltversion.m4'  

	| libtoolize: copying file `m4/lt~obsolete.m4'  

	| libtoolize: Remember to add `LT_INIT' to configure.ac.  

	| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
configure.ac and  

	| libtoolize: rerunning libtoolize, to keep the correct libtool
macros in-tree  

	| autoreconf: running:
/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/autoconf
--include=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
--force  

	| autoreconf: running:
/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/autoheader
--include=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
--force  

	| autoreconf: running: automake --add-missing --copy --force-missing
 

	| Makefile.am: error: required file './AUTHORS' not found  

	| autoreconf: automake failed with exit status: 1  

	| ERROR: autoreconf execution failed.  

	| WARNING: exit code 1 from a shell command.  

	| ERROR: Function failed: do_configure (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_configure.5736)
 

	ERROR: Task 602
(/home/lachlan/poky/meta-atmel/recipes-multimedia/gstreamer10-plugins/gstreamer1.0-plugins-hantro_1.0.bb,
do_configure) failed with exit code '1'  

	NOTE: Tasks Summary: Attempted 3741 tasks of which 3738 didn't need
to be rerun and 1 failed.  

	Waiting for 0 running tasks to finish:  

	Summary: 1 task failed:  

	
/home/lachlan/poky/meta-atmel/recipes-multimedia/gstreamer1.0-plugins/gstreamer1.0-plugins-hantro_1.0.bb,
do_configure  

	Summary: There was 1 ERROR message shown, returning a non-zero exit
code.  

	lachlan@lachlan-SVP13215PXB:~/poky/build-atmel$   
_________________________________________
Thank you for any insight into the problem.
Lachlan

----- Original Message -----
From: "akuster808" 
To:, 
Cc:
Sent:Mon, 24 Nov 2014 19:33:24 -0800
Subject:Re: [yocto] New error in 1.7

 There was an issue with the curl package over the weekend. It was 
 corrected early this morning (PST). Do you have the changes? if not,

 please refresh your cloned source.

 regards,
 Armin

 On 11/24/2014 07:16 PM, peterengcomau001@adam.com.au wrote:
 > I have just downloaded poky 1.7 and am rebuilding the image. I get
an
 > error that I did not when doing this in 1.6.1
 >
 > lachlan@lachlan-SVP13215PXB:~/poky/build-atmel$ bitbake
 > atmel-qt5-demo-image -c populate_sdk
 >
 > Build Configuration:
 > BB_VERSION = "1.24.0"
 > BUILD_SYS = "x86_64-linux"
 > NATIVELSBSTRING = "Ubuntu-14.04"
 > TARGET_SYS = "arm-poky-linux-gnueabi"
 > MACHINE = "sama5d3xek"
 > DISTRO = "poky"
 > DISTRO_VERSION = "1.7"
 > TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard
cortexa5"
 > TARGET_FPU = "vfp"
 > meta-atmel = "my_branch:711809b0d91f816b10e70508986b3f43098000ba"
 > meta-qt5 = "my_branch:0732e184acef5e0200f46d7f95702774e5de1904"
 > meta
 > meta-yocto
 > meta-yocto-bsp = "dizzy:9bfb78bff606700176909abaa5cf8a332292738a"
 > meta-oe
 > meta-python
 > meta-networking
 > meta-ruby = "my_branch:9efaed99125b1c4324663d9a1b2d3319c74e7278"
 >
 > NOTE: Preparing runqueue
 > NOTE: Executing SetScene Tasks
 > NOTE: Executing RunQueue Tasks
 > ERROR: Command Error: exit status: 1 Output:
 > Applying patch CVE-2014-3613.patch
 > patching file lib/cookie.c
 > patching file tests/data/test1105
 > patching file tests/data/test31
 > Hunk #1 FAILED at 49 (different line endings).
 > 1 out of 2 hunks FAILED -- rejects in file tests/data/test31
 > patching file tests/data/test8
 > Patch CVE-2014-3613.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/curl/7.37.1-r0/temp/log.do_patch.31221
 > ERROR: Task 1666
 > (/home/lachlan/poky/meta/recipes-support/curl/curl_737.1.bb,
do_patch)
 > failed with exit code '1'
 > NOTE: Tasks Summary: Attempted 2914 tasks of which 2912 didn't
need to
 > be rerun and 1 failed.
 > Waiting for 0 running tasks to finish:
 >
 > Summary: 1 task failed:
 > /home/lachlan/poky/meta/recipes-support/curl/curl_7.37.1.bb,
do_patch
 > Summary: There were 2 ERROR messages shown, returning a non-zero
exit code.
 >
 > any thoughts as to what this probleb could be.
 > ___________________________________________________________
 >
 > I also have problems with the ADT cross compiler installer in V1.7
 > compared with 1.6.1. where it wont install the rootfs as follows:
 >
 >
#########################################################################
 > # Welcome to Yocto Application Developement Tools (ADT) Installer
 > #
 > # Host Machine: x86_64
 > # OS info: 3.13.0-39-generic
 > # Yocto ADT version to be installed:
 > # supported target architectures: x86 x86_64 arm ppc mips
 > # supported target root_fs images: minimal minimal-dev sato
sato-dev
 > sato-sdk lsb lsb-dev lsb-sdk
 >
#########################################################################
 >
 > Systemwide installation Installation will occur under
/opt/poky/1.7
 >
 >
############################################################################
 > # Your system installation configurations from adt_installer.conf
 >
############################################################################
 > # Cross toolchains: arm
 > # Install Qemu: Y
 > # Install NFS utilities: Y
 >
 >
##############################################################################
 > # Your rootfs image(s) and target sysroot selections from
adt_installer.conf
 >
##############################################################################
 > # Target architecture: arm
 > # Target machine: qemuarm
 > # Root_fs images: minimal sato-sdk
 > # Target sysroot image: sato-sdk
 > # Target sysroot loc: /home/lachlan/test-yocto/qemuarm
 >
############################################################################
 >
 > Successfully installed selected native ADT!
 > Installing target sysroot for arch: arm, rootfs type: sato-sdk,
 > location: /home/lachlan/test-yocto/qemuarm
 >
 > Target sysroot location: /home/lachlan/test-yocto/qemuarm, already
 > exists! If you continue installation, this folder will be
re-created.
 > Creating directory /home/lachlan/test-yocto/qemuarm...
 > Extracting rootfs: core-image-sato-sdk-qemuarm.tar.bz2, using
pseudo...
 > tar (child): ./download_image/core-image-sato-sdk-qemuarm.tar.bz2:
 > Cannot open: No such file or directory
 > tar (child): Error is not recoverable: exiting now
 > tar: Child returned status 2
 > tar: Error is not recoverable: exiting now
 >
 > Is there anyway to overcome this or is it best to go back to 1.6.1
 >
 > Thanks
 > Lachlab
 > ---- Message sent via Adam Internet WebMail -
http://www.adam.com.au/
 >
 >
 -- 
 _______________________________________________
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/

[-- Attachment #2: Type: text/html, Size: 17495 bytes --]

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

* Re: New error in 1.7
  2014-11-25  8:57   ` peterengcomau001
@ 2014-11-25 10:09     ` Paul Eggleton
  2014-11-25 11:38       ` peterengcomau001
  0 siblings, 1 reply; 12+ messages in thread
From: Paul Eggleton @ 2014-11-25 10:09 UTC (permalink / raw)
  To: peterengcomau001; +Cc: yocto

Hi there,

On Tuesday 25 November 2014 19:27:13 peterengcomau001@adam.com.au wrote:
> thank you. i have fixed the curl problem but a new problem has occured
> with the build. This problem did not appear in v1.6.1. The problem is:
> 
> 	lachlan@lachlan-SVP13215PXB:~/poky/build-atmel$ bitbake
> atmel-qt5-demo-image -c populate_sdk
> 
> 	Loading cache: 100%
> 
> |###########################################################################
> |###########################################################################
> |#####|
> ETA: 00:00:00
> 
> 	Loaded 2108 entries from dependency cache.
> 
> 	NOTE: Resolving any missing task queue dependencies
> 
> 	Build Configuration:
> 
> 	BB_VERSION = "1.24.0"
> 
> 	BUILD_SYS = "x86_64-linux"
> 
> 	NATIVELSBSTRING = "Ubuntu-14.04"
> 
> 	TARGET_SYS = "arm-poky-linux-gnueabi"
> 
> 	MACHINE = "sama5d3xek"
> 
> 	DISTRO = "poky"
> 
> 	DISTRO_VERSION = "1.7"
> 
> 	TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard cortexa5"
> 
> 
> 	TARGET_FPU = "vfp"
> 
> 	meta-atmel = "my_branch:711809b0d91f816b10e70508986b3f43098000ba"
> 
> 	meta-qt5 = "my_branch:0732e184acef5e0200f46d7f95702774e5de1904"
> 
> 	meta
> 
> 	meta-yocto
> 
> 	meta-yocto-bsp = "dizzy:db7f4f31c915a59c502cac4be905d23df5246b3d"
> 
> 	meta-oe
> 
> 	meta-python
> 
> 	meta-networking
> 
> 	meta-ruby = "my_branch:9efaed99125b1c4324663d9a1b2d3319c74e7278"
> 
> 	NOTE: Preparing runqueue
> 
> 	NOTE: Executing SetScene Tasks
> 
> 	NOTE: Executing RunQueue Tasks
> 
> 	ERROR: Function failed: do_configure (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_configure.5736)
> 
> 
> 	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_configure.5736
> 	Log data follows:
> 	| DEBUG: Executing python function sysroot_cleansstate
> 	| 
> 	| DEBUG: Python function sysroot_cleansstate finished
> 	| 
> 	| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
> 
> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
> 'common']
> 
> 	| DEBUG: Executing shell function autotools_preconfigure
> 	| 
> 	| DEBUG: Shell function autotools_preconfigure finished
> 	| 
> 	| DEBUG: Executing python function autotools_copy_aclocals
> 	| 
> 	| DEBUG: Python function autotools_copy_aclocals finished
> 	| 
> 	| DEBUG: Executing shell function do_configure
> 	| 
> 	| automake (GNU automake) 1.14.1
> 	| 
> 	| Copyright (C) 2013 Free Software Foundation, Inc.
> 	| 
> 	| License GPLv2+: GNU GPL version 2 or later
> 	| 
> 	| This is free software: you are free to change and redistribute it.
> 	| 
> 	| 
> 	| There is NO WARRANTY, to the extent permitted by law.
> 	| 
> 	| 
> 	| 
> 	| Written by Tom Tromey
> 	| 
> 	| and Alexandre Duret-Lutz .
> 	| 
> 	| AUTOV is 1.14
> 	| 
> 	| NOTE: Executing ACLOCAL="aclocal
> 
> --system-acdir=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky
> -linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/aclocal-copy/
> --automake-acdir=/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/u
> sr/share/aclocal-1.14" autoreconf --verbose --install --force
> --exclude=autopoint -I
> /home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/
> gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
> 	| autoreconf: Entering directory `'
> 	| 
> 	| autoreconf: configure.ac: not using Gettext
> 	| 
> 	| autoreconf: running: aclocal
> 
> --system-acdir=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky
> -linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/aclocal-copy/
> --automake-acdir=/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/u
> sr/share/aclocal-1.14 -I
> /home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/
> gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/ -I
> /home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/
> gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/ --force -I m4 -I
> common/m4
> 
> 	| autoreconf: configure.ac: tracing
> 	| 
> 	| autoreconf: running: libtoolize --copy --force
> 	| 
> 	| libtoolize: putting auxiliary files in `.'.
> 	| 
> 	| libtoolize: copying file `./ltmain.sh'
> 	| 
> 	| libtoolize: putting macros in `m4'.
> 	| 
> 	| libtoolize: copying file `m4/libtool.m4'
> 	| 
> 	| libtoolize: copying file `m4/ltoptions.m4'
> 	| 
> 	| libtoolize: copying file `m4/ltsugar.m4'
> 	| 
> 	| libtoolize: copying file `m4/ltversion.m4'
> 	| 
> 	| libtoolize: copying file `m4/lt~obsolete.m4'
> 	| 
> 	| libtoolize: Remember to add `LT_INIT' to configure.ac.
> 	| 
> 	| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
> 
> configure.ac and
> 
> 	| libtoolize: rerunning libtoolize, to keep the correct libtool
> 
> macros in-tree
> 
> 	| autoreconf: running:
> /home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/autoconf
> --include=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linu
> x-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/ --force
> 
> 	| autoreconf: running:
> /home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/autoheader
> --include=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linu
> x-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/ --force
> 
> 	| autoreconf: running: automake --add-missing --copy --force-missing
> 	| 
> 	| 
> 	| 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

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: New error in 1.7
  2014-11-25 10:09     ` Paul Eggleton
@ 2014-11-25 11:38       ` peterengcomau001
  2014-11-25 11:43         ` Paul Eggleton
  0 siblings, 1 reply; 12+ messages in thread
From: peterengcomau001 @ 2014-11-25 11:38 UTC (permalink / raw)
  To: Paul Eggleton, peterengcomau001; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 6697 bytes --]



	 
 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?
Lachlan

----- Original Message -----
 From: "Paul Eggleton" .eggleton@linux.intel.com> 
To:
Cc:
Sent:Tue, 25 Nov 2014 10:09:47 +0000
Subject:Re: [yocto] New error in 1.7

 Hi there,

 On Tuesday 25 November 2014 19:27:13 peterengcomau001@adam.com.au
wrote:
 > thank you. i have fixed the curl problem but a new problem has
occured
 > with the build. This problem did not appear in v1.6.1. The problem
is:
 > 
 > lachlan@lachlan-SVP13215PXB:~/poky/build-atmel$ bitbake
 > atmel-qt5-demo-image -c populate_sdk
 > 
 > Loading cache: 100%
 > 
 >
|###########################################################################
 >
|###########################################################################
 > |#####|
 > ETA: 00:00:00
 > 
 > Loaded 2108 entries from dependency cache.
 > 
 > NOTE: Resolving any missing task queue dependencies
 > 
 > Build Configuration:
 > 
 > BB_VERSION = "1.24.0"
 > 
 > BUILD_SYS = "x86_64-linux"
 > 
 > NATIVELSBSTRING = "Ubuntu-14.04"
 > 
 > TARGET_SYS = "arm-poky-linux-gnueabi"
 > 
 > MACHINE = "sama5d3xek"
 > 
 > DISTRO = "poky"
 > 
 > DISTRO_VERSION = "1.7"
 > 
 > TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard
cortexa5"
 > 
 > 
 > TARGET_FPU = "vfp"
 > 
 > meta-atmel = "my_branch:711809b0d91f816b10e70508986b3f43098000ba"
 > 
 > meta-qt5 = "my_branch:0732e184acef5e0200f46d7f95702774e5de1904"
 > 
 > meta
 > 
 > meta-yocto
 > 
 > meta-yocto-bsp = "dizzy:db7f4f31c915a59c502cac4be905d23df5246b3d"
 > 
 > meta-oe
 > 
 > meta-python
 > 
 > meta-networking
 > 
 > meta-ruby = "my_branch:9efaed99125b1c4324663d9a1b2d3319c74e7278"
 > 
 > NOTE: Preparing runqueue
 > 
 > NOTE: Executing SetScene Tasks
 > 
 > NOTE: Executing RunQueue Tasks
 > 
 > ERROR: Function failed: do_configure (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_configure.5736)
 > 
 > 
 > 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_configure.5736
 > Log data follows:
 > | DEBUG: Executing python function sysroot_cleansstate
 > | 
 > | DEBUG: Python function sysroot_cleansstate finished
 > | 
 > | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
 > 
 > 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
 > 'common']
 > 
 > | DEBUG: Executing shell function autotools_preconfigure
 > | 
 > | DEBUG: Shell function autotools_preconfigure finished
 > | 
 > | DEBUG: Executing python function autotools_copy_aclocals
 > | 
 > | DEBUG: Python function autotools_copy_aclocals finished
 > | 
 > | DEBUG: Executing shell function do_configure
 > | 
 > | automake (GNU automake) 1.14.1
 > | 
 > | Copyright (C) 2013 Free Software Foundation, Inc.
 > | 
 > | License GPLv2+: GNU GPL version 2 or later
 > | 
 > | This is free software: you are free to change and redistribute
it.
 > | 
 > | 
 > | There is NO WARRANTY, to the extent permitted by law.
 > | 
 > | 
 > | 
 > | Written by Tom Tromey
 > | 
 > | and Alexandre Duret-Lutz .
 > | 
 > | AUTOV is 1.14
 > | 
 > | NOTE: Executing ACLOCAL="aclocal
 > 
 >
--system-acdir=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky
 >
-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/aclocal-copy/
 >
--automake-acdir=/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/u
 > sr/share/aclocal-1.14" autoreconf --verbose --install --force
 > --exclude=autopoint -I
 >
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/
 > gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
 > | autoreconf: Entering directory `'
 > | 
 > | autoreconf: configure.ac: not using Gettext
 > | 
 > | autoreconf: running: aclocal
 > 
 >
--system-acdir=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky
 >
-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/aclocal-copy/
 >
--automake-acdir=/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/u
 > sr/share/aclocal-1.14 -I
 >
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/
 > gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/ -I
 >
/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/
 > gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/ --force
-I m4 -I
 > common/m4
 > 
 > | autoreconf: configure.ac: tracing
 > | 
 > | autoreconf: running: libtoolize --copy --force
 > | 
 > | libtoolize: putting auxiliary files in `.'.
 > | 
 > | libtoolize: copying file `./ltmain.sh'
 > | 
 > | libtoolize: putting macros in `m4'.
 > | 
 > | libtoolize: copying file `m4/libtool.m4'
 > | 
 > | libtoolize: copying file `m4/ltoptions.m4'
 > | 
 > | libtoolize: copying file `m4/ltsugar.m4'
 > | 
 > | libtoolize: copying file `m4/ltversion.m4'
 > | 
 > | libtoolize: copying file `m4/lt~obsolete.m4'
 > | 
 > | libtoolize: Remember to add `LT_INIT' to configure.ac.
 > | 
 > | libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
 > 
 > configure.ac and
 > 
 > | libtoolize: rerunning libtoolize, to keep the correct libtool
 > 
 > macros in-tree
 > 
 > | autoreconf: running:
 >
/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/autoconf
 >
--include=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linu
 > x-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
--force
 > 
 > | autoreconf: running:
 >
/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/autoheader
 >
--include=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linu
 > x-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/
--force
 > 
 > | autoreconf: running: automake --add-missing --copy
--force-missing
 > | 
 > | 
 > | 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

 Cheers,
 Paul

 -- 

 Paul Eggleton
 Intel Open Source Technology Centre
 -- 
 _______________________________________________
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto
@yoctoproject.org>@adam.com.au>---- Message sent via Adam Internet
WebMail - http://www.adam.com.au/

[-- Attachment #2: Type: text/html, Size: 8657 bytes --]

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

* Re: New error in 1.7
  2014-11-25 11:38       ` peterengcomau001
@ 2014-11-25 11:43         ` Paul Eggleton
  2014-11-25 12:42           ` peterengcomau001
  0 siblings, 1 reply; 12+ messages in thread
From: Paul Eggleton @ 2014-11-25 11:43 UTC (permalink / raw)
  To: peterengcomau001; +Cc: yocto

On Tuesday 25 November 2014 22:08:41 peterengcomau001@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


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

* Re: New error in 1.7
  2014-11-25 11:43         ` Paul Eggleton
@ 2014-11-25 12:42           ` peterengcomau001
  2014-11-25 12:56             ` Anders Darander
  0 siblings, 1 reply; 12+ messages in thread
From: peterengcomau001 @ 2014-11-25 12:42 UTC (permalink / raw)
  To: Paul Eggleton, peterengcomau001; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2684 bytes --]

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@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/

[-- Attachment #2: Type: text/html, Size: 3411 bytes --]

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

* Re: New error in 1.7
  2014-11-25 12:42           ` peterengcomau001
@ 2014-11-25 12:56             ` Anders Darander
  2014-11-25 16:13               ` peterengcomau001
  0 siblings, 1 reply; 12+ messages in thread
From: Anders Darander @ 2014-11-25 12:56 UTC (permalink / raw)
  To: peterengcomau001; +Cc: Paul Eggleton, yocto

* peterengcomau001@adam.com.au <peterengcomau001@adam.com.au> [141125 13:44]:
>    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])

Yep, that's not really a valid patch file (at least not one that can be
applied.

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

If you want to do it by hand, look at the "Creating patches with diff"
section on http://jungels.net/articles/diff-patch-ten-minutes.html.

If you think you might need to add multiple patches, rework them etc.
I'd recommend using git.

Cheers,
Anders

-- 
Anders Darander
ChargeStorm AB / eStorm AB


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

* Re: New error in 1.7
  2014-11-25 12:56             ` Anders Darander
@ 2014-11-25 16:13               ` peterengcomau001
  2014-11-25 18:19                 ` Anders Darander
  0 siblings, 1 reply; 12+ messages in thread
From: peterengcomau001 @ 2014-11-25 16:13 UTC (permalink / raw)
  To: Anders Darander, peterengcomau001; +Cc: Paul Eggleton, yocto

[-- Attachment #1: Type: text/plain, Size: 2216 bytes --]

 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.
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?
I am still getting the original error error.
Do I need to add :do_config() {}and if so, what do I put in the
between the brackets? note that it looks like do_config is being run
already because that is what is generating the error
RegardsLachlan 

----- Original Message -----
From: "Anders Darander" 
To:"peterengcomau001@adam.com.au" 
Cc:"Paul Eggleton" , "yocto@yoctoproject.org" 
Sent:Tue, 25 Nov 2014 13:56:41 +0100
Subject:Re: [yocto] New error in 1.7

 * peterengcomau001@adam.com.au  [141125 13:44]:
 > 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])

 Yep, that's not really a valid patch file (at least not one that can
be
 applied.

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

 If you want to do it by hand, look at the "Creating patches with
diff"
 section on http://jungels.net/articles/diff-patch-ten-minutes.html.

 If you think you might need to add multiple patches, rework them
etc.
 I'd recommend using git.

 Cheers,
 Anders

 -- 
 Anders Darander
 ChargeStorm AB / eStorm AB
 -- 
 _______________________________________________
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/

[-- Attachment #2: Type: text/html, Size: 3174 bytes --]

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

* Re: New error in 1.7
  2014-11-25 16:13               ` peterengcomau001
@ 2014-11-25 18:19                 ` Anders Darander
  2014-11-25 21:12                   ` peterengcomau001
  0 siblings, 1 reply; 12+ messages in thread
From: Anders Darander @ 2014-11-25 18:19 UTC (permalink / raw)
  To: peterengcomau001; +Cc: yocto



On 25 November 2014 17:13:17 CET, "peterengcomau001@adam.com.au" <peterengcomau001@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 


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

* Re: New error in 1.7
  2014-11-25 18:19                 ` Anders Darander
@ 2014-11-25 21:12                   ` peterengcomau001
  2014-11-26 11:17                     ` Paul Eggleton
  0 siblings, 1 reply; 12+ messages in thread
From: peterengcomau001 @ 2014-11-25 21:12 UTC (permalink / raw)
  To: Anders Darander, peterengcomau001; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 4770 bytes --]

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@adam.com.au" 
Cc:"yocto@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@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@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto

---- Message sent via Adam Internet WebMail - http://www.adam.com.au/

[-- Attachment #2: Type: text/html, Size: 5687 bytes --]

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

* Re: New error in 1.7
  2014-11-25 21:12                   ` peterengcomau001
@ 2014-11-26 11:17                     ` Paul Eggleton
  0 siblings, 0 replies; 12+ messages in thread
From: Paul Eggleton @ 2014-11-26 11:17 UTC (permalink / raw)
  To: peterengcomau001; +Cc: yocto

On Wednesday 26 November 2014 07:42:02 peterengcomau001@adam.com.au wrote:
> 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/gst
> dwlallocator.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/gst
> dwlallocator.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/gstre
> amer1.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 ?

Well, you could - but a better alternative would be to debug the issue. Where 
would gstg1allocator.h be expected to be found? Googling for that file only 
turns up your post, which is not a good sign - is it perhaps a file that's 
included as part of gstreamer1.0-plugins-hantro ?

You could try changing the gstreamer1.0-plugins-hantro recipe to inherit 
autotools-brokensep instead of autotools in case it's a separate build 
directory issue (since that was another change occurred in 1.7).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

end of thread, other threads:[~2014-11-26 11:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25  3:16 New error in 1.7 peterengcomau001
2014-11-25  3:33 ` akuster808
2014-11-25  8:57   ` peterengcomau001
2014-11-25 10:09     ` Paul Eggleton
2014-11-25 11:38       ` peterengcomau001
2014-11-25 11:43         ` Paul Eggleton
2014-11-25 12:42           ` peterengcomau001
2014-11-25 12:56             ` Anders Darander
2014-11-25 16:13               ` peterengcomau001
2014-11-25 18:19                 ` Anders Darander
2014-11-25 21:12                   ` peterengcomau001
2014-11-26 11:17                     ` Paul Eggleton

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.