Skip to contentSkip to conversation

New error in 1.7

DISCUSSION [email protected] 4 participants 12 messages Nov 25, 2014 – Nov 26, 2014

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw

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

Quoted 109 lines · On 11/24/2014 07:16 PM, [email protected] 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/

#2 lore raw

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

Quoted 1 line · On 11/24/2014 07:16 PM, [email protected] wrote:

I have just downloaded poky 1.7 and am rebuilding the image. I get

an

Quoted 5 lines

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
Quoted 9 lines

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"

Quoted 11 lines

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"

Quoted 15 lines

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

Quoted 2 lines

ERROR: Task 1666 (/home/lachlan/poky/meta/recipes-support/curl/curl_737.1.bb,

do_patch)

Quoted 2 lines

failed with exit code '1'
NOTE: Tasks Summary: Attempted 2914 tasks of which 2912 didn't

need to

Quoted 5 lines

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

Quoted 1 line

Summary: There were 2 ERROR messages shown, returning a non-zero

exit code.

Quoted 8 lines

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:

#########################################################################

Quoted 7 lines

# 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

Quoted 2 lines

sato-sdk lsb lsb-dev lsb-sdk

#########################################################################

Quoted 2 lines

Systemwide installation Installation will occur under

/opt/poky/1.7

Quoted 2 lines

############################################################################

Quoted 2 lines

# Your system installation configurations from adt_installer.conf

############################################################################

Quoted 5 lines

# Cross toolchains: arm
# Install Qemu: Y
# Install NFS utilities: Y

##############################################################################

Quoted 1 line

# Your rootfs image(s) and target sysroot selections from

adt_installer.conf

Quoted 1 line

##############################################################################

Quoted 6 lines

# 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

############################################################################

Quoted 7 lines

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.

Quoted 2 lines

Creating directory /home/lachlan/test-yocto/qemuarm... Extracting rootfs: core-image-sato-sdk-qemuarm.tar.bz2, using

pseudo...

Quoted 11 lines

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/

Quoted 2 lines

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/

#3 lore raw

Hi there,

Quoted 174 lines · On Tuesday 25 November 2014 19:27:13 [email protected] 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

Quoted 4 lines
	| 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

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#4 lore raw


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" [email protected]>
To:
Cc:
Sent:Tue, 25 Nov 2014 10:09:47 +0000
Subject:Re: [yocto] New error in 1.7

Hi there,

Quoted 1 line · On Tuesday 25 November 2014 19:27:13 [email protected] wrote:

thank you. i have fixed the curl problem but a new problem has

occured

Quoted 1 line

with the build. This problem did not appear in v1.6.1. The problem

is:

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

Loading cache: 100%

|###########################################################################

Quoted 1 line

|###########################################################################

Quoted 17 lines

|#####|
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"

Quoted 7 lines

MACHINE = "sama5d3xek"

DISTRO = "poky"

DISTRO_VERSION = "1.7"

TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard

cortexa5"

Quoted 22 lines

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"

Quoted 8 lines

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/

Quoted 5 lines

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/

Quoted 20 lines

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
Quoted 8 lines
| 
| 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.

Quoted 5 lines
| 
| 
| There is NO WARRANTY, to the extent permitted by law.
| 
| 
Quoted 10 lines
| 
| 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

Quoted 1 line

-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/aclocal-copy/

Quoted 1 line

--automake-acdir=/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/u

Quoted 3 lines

sr/share/aclocal-1.14" autoreconf --verbose --install --force --exclude=autopoint -I

/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/

Quoted 8 lines

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

Quoted 1 line

-linux-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/build/aclocal-copy/

Quoted 1 line

--automake-acdir=/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/u

Quoted 2 lines

sr/share/aclocal-1.14 -I

/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/

Quoted 2 lines

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/

Quoted 1 line

gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/ --force

-I m4 -I

Quoted 26 lines

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
Quoted 8 lines

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

Quoted 1 line

--include=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linu

Quoted 1 line

x-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/

--force

Quoted 3 lines

| autoreconf: running:

/home/lachlan/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/autoheader

Quoted 1 line

--include=/home/lachlan/poky/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linu

Quoted 1 line

x-gnueabi/gstreamer1.0-plugins-hantro/1.0-r1/gst-hantro-g1-1.0/m4/

--force

Quoted 2 lines

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

--force-missing

Quoted 3 lines
| 
| 
| 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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
@yoctoproject.org>@adam.com.au>---- Message sent via Adam Internet WebMail - http://www.adam.com.au/

#5 lore raw
Quoted 9 lines · On Tuesday 25 November 2014 22:08:41 [email protected] wrote:
Quoted 5 lines
Quoted 1 line

| 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

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#6 lore raw

This is new territory for me.

I have created the following patch

configure.ac +1 -1
@@ -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

Quoted 3 lines · On Tuesday 25 November 2014 22:08:41 [email protected] wrote:
Quoted 3 lines
Quoted 1 line

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

This is likely a result of the --foreign option being removed -

see:

Quoted 2 lines
Quoted 2 lines

http://www.yoctoproject.org/docs/1.7/ref-manual/ref-> >

manual.html#migration-1.7-autotools-class-changes

Quoted 4 lines

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/

#7 lore raw
Quoted 8 lines · * [email protected] <[email protected]> [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.

Quoted 2 lines

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

Signature · 2 lines
Anders Darander
ChargeStorm AB / eStorm AB
#8 lore raw

 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:"[email protected]"
Cc:"Paul Eggleton" , "[email protected]"
Sent:Tue, 25 Nov 2014 13:56:41 +0100
Subject:Re: [yocto] New error in 1.7

configure.ac AC_CONFIG_SRCDIR([libop/op_config.h]) · line 16

Quoted 8 lines · * [email protected] [141125 13:44]:

This is new territory for me.
I have created the following patch

configure.ac +1 -1
@@ -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.

Quoted 1 line

Can you direct me to some information that describes the exact

syntax

Quoted 1 line

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/

#9 lore raw
Quoted 8 lines · On 25 November 2014 17:13:17 CET, "[email protected]"…

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.

Quoted 7 lines

However, I still cannot identify the original change to the recipe required to add this item.

I have added to the recipe

Quoted 6 lines

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

Signature · 1 line
ChargeStorm AB / eStorm 
#10 lore raw

Thanks for your patience. I was successful in building the patch as follows:
__________________

configure.ac    2014-11-25 23:22:45.129711196 +0300 renamed from configure.ac    2014-08-28 03:20:36.000000000 +0300 +0 -0
@@ -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:"[email protected]"
Cc:"[email protected]"
Sent:Tue, 25 Nov 2014 19:19:27 +0100
Subject:Re: [yocto] New error in 1.7

Quoted 1 line · On 25 November 2014 17:13:17 CET, "[email protected]" wrote:

My original problem is that the image built in 1.6.1 does not build

in

Quoted 1 line

1.7. Paul indicated this is probably because of the -foreign issue

as

Quoted 6 lines

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.

Quoted 11 lines

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

Quoted 2 lines

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

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

#11 lore raw
Quoted 75 lines · On Wednesday 26 November 2014 07:42:02 [email protected] wrote:

Thanks for your patience. I was successful in building the patch as follows:
__________________

configure.ac 2014-11-25 23:22:45.129711196 +0300 renamed from configure.ac 2014-08-28 03:20:36.000000000 +0300 +1 -1
@@ -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'
____________________________________________________________________________
_____

Quoted 2 lines

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

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre