Openembedded Core Discussions
 help / color / mirror / Atom feed
* populate_sdk error
@ 2015-04-01 22:17 Cliff Brake
  2015-04-02 13:18 ` failure in gcc-crosssdk-initial was " Mark Hatle
  0 siblings, 1 reply; 3+ messages in thread
From: Cliff Brake @ 2015-04-01 22:17 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi,

I'm getting the following when running populate_sdk with a dizzy build.

Angstrom distro
workstation OS is debian wheezy
gcc (Debian 4.7.2-5) 4.7.2

Any thoughts what I'm doing wrong?

Thanks,
Cliff

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at
/scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863)
ERROR: Logfile of failure stored in:
/scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
'bit-64', 'x86_64-linux', '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 python function gcc_multilib_setup
| DEBUG: Python function gcc_multilib_setup finished
| DEBUG: Executing shell function do_configure
| cat: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/defaults.h:
No such file or directory
| WARNING: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/run.do_configure.23863:1
exit 1 from
|   grep -v "\#endif.*GCC_DEFAULTS_H" >
/scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/gcc-4.9.1/build.x86_64-linux.x86_64-angstromsdk-linux/gcc/defaults.h.new
| ERROR: Function failed: do_configure (log file is located at
/scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863)
ERROR: Task 2167
(/scratch/fmc-accuload/oe-build-bbb/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.9.bb,
do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1406 tasks of which 1218 didn't need to
be rerun and 1 failed.
NOTE: Writing buildhistory
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /scratch/fmc-accuload/oe-build-bbb/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.9.bb,
do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


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

* Re: failure in gcc-crosssdk-initial was populate_sdk error
  2015-04-01 22:17 populate_sdk error Cliff Brake
@ 2015-04-02 13:18 ` Mark Hatle
  2015-04-08 19:15   ` trevor
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2015-04-02 13:18 UTC (permalink / raw)
  To: Cliff Brake, Patches and discussions about the oe-core layer

On 4/1/15 5:17 PM, Cliff Brake wrote:
> Hi,
> 
> I'm getting the following when running populate_sdk with a dizzy build.
> 
> Angstrom distro
> workstation OS is debian wheezy
> gcc (Debian 4.7.2-5) 4.7.2
> 
> Any thoughts what I'm doing wrong?
> 
> Thanks,
> Cliff
> 
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Function failed: do_configure (log file is located at
> /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863)
> ERROR: Logfile of failure stored in:
> /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863
> Log data follows:
> | DEBUG: Executing python function sysroot_cleansstate
> | DEBUG: Python function sysroot_cleansstate finished
> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
> 'bit-64', 'x86_64-linux', '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 python function gcc_multilib_setup
> | DEBUG: Python function gcc_multilib_setup finished
> | DEBUG: Executing shell function do_configure
> | cat: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/defaults.h:
> No such file or directory
> | WARNING: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/run.do_configure.23863:1
> exit 1 from
> |   grep -v "\#endif.*GCC_DEFAULTS_H" >
> /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/gcc-4.9.1/build.x86_64-linux.x86_64-angstromsdk-linux/gcc/defaults.h.new
> | ERROR: Function failed: do_configure (log file is located at

The above lines are the actual failure.  The failure was in configuring the
recipe 'gcc-cross-initial-x86_64'.

I do not know the caue of the failure, but the issue is obvious enough, it was
trying to load the 'defaults.h' file and modify a few settings in it.

The code in question is in 'meta/recipes-devtools/gcc/gcc-configure-common.inc':

do_configure_prepend () {
        # teach gcc to find correct target includedir when checking libc ssp support
        mkdir -p ${B}/gcc
        echo "NATIVE_SYSTEM_HEADER_DIR = ${SYSTEMHEADERS}" > ${B}/gcc/t-oe
        cat ${S}/gcc/defaults.h | grep -v "\#endif.*GCC_DEFAULTS_H" >
${B}/gcc/defaults.h.new
        cat >>${B}/gcc/defaults.h.new <<_EOF
...

In the extracted source code for gcc, should have a been a 'gcc/defaults.h'.
Since the failure was that that file was not found, it appears to me that
something failured in the extraction of the source code.  You'll likely have to
instrument your build, or run through various pieces bits and figure out what
went wrong.  (The code in question has been around since 2011 and as far as I
can tell with quick inspect has not changed in a while.)

--Mark

> /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863)
> ERROR: Task 2167
> (/scratch/fmc-accuload/oe-build-bbb/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.9.bb,
> do_configure) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1406 tasks of which 1218 didn't need to
> be rerun and 1 failed.
> NOTE: Writing buildhistory
> Waiting for 0 running tasks to finish:
> 
> Summary: 1 task failed:
>   /scratch/fmc-accuload/oe-build-bbb/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.9.bb,
> do_configure
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 



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

* Re: failure in gcc-crosssdk-initial was populate_sdk error
  2015-04-02 13:18 ` failure in gcc-crosssdk-initial was " Mark Hatle
@ 2015-04-08 19:15   ` trevor
  0 siblings, 0 replies; 3+ messages in thread
From: trevor @ 2015-04-08 19:15 UTC (permalink / raw)
  To: Mark Hatle, Cliff Brake,
	Patches and discussions about the oe-core layer,
	angstrom-distro-devel

On 15-04-02 09:18 AM, Mark Hatle wrote:
> On 4/1/15 5:17 PM, Cliff Brake wrote:
>> Hi,
>>
>> I'm getting the following when running populate_sdk with a dizzy build.
>>
>> Angstrom distro
>> workstation OS is debian wheezy
>> gcc (Debian 4.7.2-5) 4.7.2
>>
>> Any thoughts what I'm doing wrong?
>>
>> Thanks,
>> Cliff
>>
>> NOTE: Preparing runqueue
>> NOTE: Executing SetScene Tasks
>> NOTE: Executing RunQueue Tasks
>> ERROR: Function failed: do_configure (log file is located at
>> /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863)
>> ERROR: Logfile of failure stored in:
>> /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863
>> Log data follows:
>> | DEBUG: Executing python function sysroot_cleansstate
>> | DEBUG: Python function sysroot_cleansstate finished
>> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
>> 'bit-64', 'x86_64-linux', '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 python function gcc_multilib_setup
>> | DEBUG: Python function gcc_multilib_setup finished
>> | DEBUG: Executing shell function do_configure
>> | cat: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/defaults.h:
>> No such file or directory
>> | WARNING: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/run.do_configure.23863:1
>> exit 1 from
>> |   grep -v "\#endif.*GCC_DEFAULTS_H" >
>> /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/gcc-4.9.1/build.x86_64-linux.x86_64-angstromsdk-linux/gcc/defaults.h.new
>> | ERROR: Function failed: do_configure (log file is located at
> The above lines are the actual failure.  The failure was in configuring the
> recipe 'gcc-cross-initial-x86_64'.
>
> I do not know the caue of the failure, but the issue is obvious enough, it was
> trying to load the 'defaults.h' file and modify a few settings in it.
>
> The code in question is in 'meta/recipes-devtools/gcc/gcc-configure-common.inc':
>

I noted the exact same problem/error over on the Angstrom mailing list, 
I'll know next time to check here too :-)

What I noticed is that I don't see the problem when my DISTRO is "poky" 
or "nodistro", it also doesn't seem to be affected by using the Linaro 
toolchain or not. I believe it is "angstrom-next" and 
"angstrom-v2013.12" related.


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

end of thread, other threads:[~2015-04-08 19:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-01 22:17 populate_sdk error Cliff Brake
2015-04-02 13:18 ` failure in gcc-crosssdk-initial was " Mark Hatle
2015-04-08 19:15   ` trevor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox