All of lore.kernel.org
 help / color / mirror / Atom feed
* build failure on denzil-7.0 n450 part 2
@ 2012-07-07 15:59 jfabernathy
  2012-07-07 17:08 ` Tom Zanussi
  0 siblings, 1 reply; 5+ messages in thread
From: jfabernathy @ 2012-07-07 15:59 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Since I started over on my build from the long thread on this subject, I 
thought I'd start another thread on the issue.

I took the tarball for poky-denzil-7.0 and extracted it into my home 
directory.  After cd'ing into poky-denzil-7.0, I extracted the 
n450-denzil-7.0 tarball.

I setup to run a standard default n450 core-image-sato, only changing 
the linux-yocto_3.2.bbappend by adding in:

SRCREV_machine_pn-linux-yocto_n450 = 
"9d32bb075e349cc69c7af42b60f6715c5d8c972e"
SRCREV_meta_pn-linux-yocto_n450 ?= 
"ee78519365bdb25287703bbc31c06b193263c654"

I still get build errors similar to the ones I got with the git 
repository cloned poky.  Log file below:


NOTE: make -C 
/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf 
CC=i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic 
-mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450 
LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450   
prefix=/usr NO_NEWT=1 NO_DWARF=1
make: Entering directory 
`/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
Makefile:493: libperl not found, disables Perl scripting support. Please 
install libperl-dev or perl-devel
PERF_VERSION = 3.2.11.629.g382eda3
make: Leaving directory 
`/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
make: Entering directory 
`/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
Makefile:493: libperl not found, disables Perl scripting support. Please 
install libperl-dev or perl-devel
     GEN common-cmds.h
     * new build flags or prefix
     CC perf.o
     CC builtin-annotate.o
     CC builtin-bench.o
     CC bench/sched-messaging.o
     CC bench/sched-pipe.o
     CC bench/mem-memcpy.o
     CC builtin-diff.o
     CC builtin-evlist.o
     CC builtin-help.o
     CC builtin-sched.o
     CC builtin-buildid-list.o
     CC builtin-buildid-cache.o
     CC builtin-list.o
     CC builtin-record.o
     CC builtin-report.o
     CC builtin-stat.o
     CC builtin-timechart.o
     CC builtin-top.o
     CC builtin-script.o
     CC builtin-probe.o
     CC builtin-kmem.o
     CC builtin-lock.o
     CC builtin-kvm.o
     CC builtin-test.o
     CC builtin-inject.o
     CC util/abspath.o
     CC util/alias.o
     CC util/annotate.o
     CC util/build-id.o
     CC util/config.o
     CC util/ctype.o
     CC util/debugfs.o
     CC util/environment.o
     CC util/event.o
     CC util/evlist.o
     CC util/evsel.o
     CC util/exec_cmd.o
     CC util/help.o
     CC util/levenshtein.o
     CC util/parse-options.o
     CC util/parse-events.o
     CC util/path.o
     CC util/rbtree.o
     CC util/bitmap.o
     CC util/hweight.o
     CC util/run-command.o
     CC util/quote.o
     CC util/strbuf.o
     CC util/string.o
     CC util/strlist.o
     CC util/strfilter.o
     CC util/top.o
     CC util/usage.o
     CC util/wrapper.o
     CC util/sigchain.o
     CC util/symbol.o
     CC util/color.o
     CC util/pager.o
     CC util/header.o
     CC util/callchain.o
     CC util/values.o
     CC util/debug.o
     CC util/map.o
     CC util/pstack.o
     CC util/session.o
     CC util/thread.o
     CC util/thread_map.o
     CC util/trace-event-parse.o
     CC util/trace-event-read.o
     CC util/trace-event-info.o
     CC util/trace-event-scripting.o
     CC util/svghelper.o
     CC util/sort.o
     CC util/hist.o
     CC util/probe-event.o
     CC util/util.o
     CC util/xyarray.o
     CC util/cpumap.o
     CC util/cgroup.o
     CC arch/x86/util/header.o
     CC util/scripting-engines/trace-event-python.o
     CC scripts/python/Perf-Trace-Util/Context.o
     AR libperf.a
     LINK perf
     GEN perf-archive
     GEN python/perf.so
Traceback (most recent call last):
   File "util/setup.py", line 6, in <module>
     from distutils.command.build_ext   import build_ext   as _build_ext
   File 
"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/command/build_ext.py", 
line 16, in <module>
     from distutils.sysconfig import customize_compiler, get_python_version
   File 
"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", 
line 22, in <module>
     PREFIX = os.path.normpath(sys.prefix).replace( 
os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
TypeError: expected a character buffer object
cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
make: *** [python/perf.so] Error 1
make: Leaving directory `/build/n450-denziERROR: Function failed: 
do_compile_perf (see 
/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 
for further information)
l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
ERROR: oe_runmake failed



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

* Re: build failure on denzil-7.0 n450 part 2
  2012-07-07 15:59 build failure on denzil-7.0 n450 part 2 jfabernathy
@ 2012-07-07 17:08 ` Tom Zanussi
  2012-07-08  5:46   ` Tom Zanussi
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Zanussi @ 2012-07-07 17:08 UTC (permalink / raw)
  To: jfabernathy; +Cc: yocto@yoctoproject.org

On Sat, 2012-07-07 at 11:59 -0400, jfabernathy wrote:
> Since I started over on my build from the long thread on this subject, I 
> thought I'd start another thread on the issue.
> 
> I took the tarball for poky-denzil-7.0 and extracted it into my home 
> directory.  After cd'ing into poky-denzil-7.0, I extracted the 
> n450-denzil-7.0 tarball.
> 
> I setup to run a standard default n450 core-image-sato, only changing 
> the linux-yocto_3.2.bbappend by adding in:
> 
> SRCREV_machine_pn-linux-yocto_n450 = 
> "9d32bb075e349cc69c7af42b60f6715c5d8c972e"
> SRCREV_meta_pn-linux-yocto_n450 ?= 
> "ee78519365bdb25287703bbc31c06b193263c654"
> 
> I still get build errors similar to the ones I got with the git 
> repository cloned poky.  Log file below:
> 
> 
> NOTE: make -C 
> /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf 
> CC=i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic 
> -mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450 
> LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450   
> prefix=/usr NO_NEWT=1 NO_DWARF=1
> make: Entering directory 
> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
> Makefile:493: libperl not found, disables Perl scripting support. Please 
> install libperl-dev or perl-devel
> PERF_VERSION = 3.2.11.629.g382eda3
> make: Leaving directory 
> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
> make: Entering directory 
> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
> Makefile:493: libperl not found, disables Perl scripting support. Please 
> install libperl-dev or perl-devel


Yeah, you're still getting the new kernel commits, though you shouldn't
be, I'll try the same thing here...

Tom

>      GEN common-cmds.h
>      * new build flags or prefix
>      CC perf.o
>      CC builtin-annotate.o
>      CC builtin-bench.o
>      CC bench/sched-messaging.o
>      CC bench/sched-pipe.o
>      CC bench/mem-memcpy.o
>      CC builtin-diff.o
>      CC builtin-evlist.o
>      CC builtin-help.o
>      CC builtin-sched.o
>      CC builtin-buildid-list.o
>      CC builtin-buildid-cache.o
>      CC builtin-list.o
>      CC builtin-record.o
>      CC builtin-report.o
>      CC builtin-stat.o
>      CC builtin-timechart.o
>      CC builtin-top.o
>      CC builtin-script.o
>      CC builtin-probe.o
>      CC builtin-kmem.o
>      CC builtin-lock.o
>      CC builtin-kvm.o
>      CC builtin-test.o
>      CC builtin-inject.o
>      CC util/abspath.o
>      CC util/alias.o
>      CC util/annotate.o
>      CC util/build-id.o
>      CC util/config.o
>      CC util/ctype.o
>      CC util/debugfs.o
>      CC util/environment.o
>      CC util/event.o
>      CC util/evlist.o
>      CC util/evsel.o
>      CC util/exec_cmd.o
>      CC util/help.o
>      CC util/levenshtein.o
>      CC util/parse-options.o
>      CC util/parse-events.o
>      CC util/path.o
>      CC util/rbtree.o
>      CC util/bitmap.o
>      CC util/hweight.o
>      CC util/run-command.o
>      CC util/quote.o
>      CC util/strbuf.o
>      CC util/string.o
>      CC util/strlist.o
>      CC util/strfilter.o
>      CC util/top.o
>      CC util/usage.o
>      CC util/wrapper.o
>      CC util/sigchain.o
>      CC util/symbol.o
>      CC util/color.o
>      CC util/pager.o
>      CC util/header.o
>      CC util/callchain.o
>      CC util/values.o
>      CC util/debug.o
>      CC util/map.o
>      CC util/pstack.o
>      CC util/session.o
>      CC util/thread.o
>      CC util/thread_map.o
>      CC util/trace-event-parse.o
>      CC util/trace-event-read.o
>      CC util/trace-event-info.o
>      CC util/trace-event-scripting.o
>      CC util/svghelper.o
>      CC util/sort.o
>      CC util/hist.o
>      CC util/probe-event.o
>      CC util/util.o
>      CC util/xyarray.o
>      CC util/cpumap.o
>      CC util/cgroup.o
>      CC arch/x86/util/header.o
>      CC util/scripting-engines/trace-event-python.o
>      CC scripts/python/Perf-Trace-Util/Context.o
>      AR libperf.a
>      LINK perf
>      GEN perf-archive
>      GEN python/perf.so
> Traceback (most recent call last):
>    File "util/setup.py", line 6, in <module>
>      from distutils.command.build_ext   import build_ext   as _build_ext
>    File 
> "/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/command/build_ext.py", 
> line 16, in <module>
>      from distutils.sysconfig import customize_compiler, get_python_version
>    File 
> "/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", 
> line 22, in <module>
>      PREFIX = os.path.normpath(sys.prefix).replace( 
> os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
> TypeError: expected a character buffer object
> cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
> make: *** [python/perf.so] Error 1
> make: Leaving directory `/build/n450-denziERROR: Function failed: 
> do_compile_perf (see 
> /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 
> for further information)
> l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
> ERROR: oe_runmake failed
> 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




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

* Re: build failure on denzil-7.0 n450 part 2
  2012-07-07 17:08 ` Tom Zanussi
@ 2012-07-08  5:46   ` Tom Zanussi
  2012-07-08  9:40     ` James Abernathy
  2012-07-09 10:22     ` James Abernathy
  0 siblings, 2 replies; 5+ messages in thread
From: Tom Zanussi @ 2012-07-08  5:46 UTC (permalink / raw)
  To: jfabernathy; +Cc: yocto@yoctoproject.org

On Sat, 2012-07-07 at 12:08 -0500, Tom Zanussi wrote:
> On Sat, 2012-07-07 at 11:59 -0400, jfabernathy wrote:
> > Since I started over on my build from the long thread on this subject, I 
> > thought I'd start another thread on the issue.
> > 
> > I took the tarball for poky-denzil-7.0 and extracted it into my home 
> > directory.  After cd'ing into poky-denzil-7.0, I extracted the 
> > n450-denzil-7.0 tarball.
> > 
> > I setup to run a standard default n450 core-image-sato, only changing 
> > the linux-yocto_3.2.bbappend by adding in:
> > 
> > SRCREV_machine_pn-linux-yocto_n450 = 
> > "9d32bb075e349cc69c7af42b60f6715c5d8c972e"
> > SRCREV_meta_pn-linux-yocto_n450 ?= 
> > "ee78519365bdb25287703bbc31c06b193263c654"
> > 
> > I still get build errors similar to the ones I got with the git 
> > repository cloned poky.  Log file below:
> > 
> > 
> > NOTE: make -C 
> > /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf 
> > CC=i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic 
> > -mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450 
> > LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450   
> > prefix=/usr NO_NEWT=1 NO_DWARF=1
> > make: Entering directory 
> > `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
> > Makefile:493: libperl not found, disables Perl scripting support. Please 
> > install libperl-dev or perl-devel
> > PERF_VERSION = 3.2.11.629.g382eda3
> > make: Leaving directory 
> > `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
> > make: Entering directory 
> > `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
> > Makefile:493: libperl not found, disables Perl scripting support. Please 
> > install libperl-dev or perl-devel
> 
> 
> Yeah, you're still getting the new kernel commits, though you shouldn't
> be, I'll try the same thing here...
> 

I tried the same thing here, poky denzil and n450 denzil and it built
fine with no changes at all.

Somehow your setup is causing the last SRCREVS to be picked up instead
of what should be - since n450 specifies no SRCREVs, the default SRCREVs
from linux-yocto_3.2.bb should be getting picked up, and you should see
those in the build directory name for the kernel as well:

recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_meta ?= "b14a08f5c7b469a5077c10942f4e1aec171faa9d"
recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_machine ?= "01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a"

build/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+b14a08f5c7b469a5077c10942f4e1aec171faa9d_1+01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a-r1

Since the default SRCREVs use ?= to assign, the likely problem is that
you already have them assigned to something else before those.

Tom  

> Tom
> 
> >      GEN common-cmds.h
> >      * new build flags or prefix
> >      CC perf.o
> >      CC builtin-annotate.o
> >      CC builtin-bench.o
> >      CC bench/sched-messaging.o
> >      CC bench/sched-pipe.o
> >      CC bench/mem-memcpy.o
> >      CC builtin-diff.o
> >      CC builtin-evlist.o
> >      CC builtin-help.o
> >      CC builtin-sched.o
> >      CC builtin-buildid-list.o
> >      CC builtin-buildid-cache.o
> >      CC builtin-list.o
> >      CC builtin-record.o
> >      CC builtin-report.o
> >      CC builtin-stat.o
> >      CC builtin-timechart.o
> >      CC builtin-top.o
> >      CC builtin-script.o
> >      CC builtin-probe.o
> >      CC builtin-kmem.o
> >      CC builtin-lock.o
> >      CC builtin-kvm.o
> >      CC builtin-test.o
> >      CC builtin-inject.o
> >      CC util/abspath.o
> >      CC util/alias.o
> >      CC util/annotate.o
> >      CC util/build-id.o
> >      CC util/config.o
> >      CC util/ctype.o
> >      CC util/debugfs.o
> >      CC util/environment.o
> >      CC util/event.o
> >      CC util/evlist.o
> >      CC util/evsel.o
> >      CC util/exec_cmd.o
> >      CC util/help.o
> >      CC util/levenshtein.o
> >      CC util/parse-options.o
> >      CC util/parse-events.o
> >      CC util/path.o
> >      CC util/rbtree.o
> >      CC util/bitmap.o
> >      CC util/hweight.o
> >      CC util/run-command.o
> >      CC util/quote.o
> >      CC util/strbuf.o
> >      CC util/string.o
> >      CC util/strlist.o
> >      CC util/strfilter.o
> >      CC util/top.o
> >      CC util/usage.o
> >      CC util/wrapper.o
> >      CC util/sigchain.o
> >      CC util/symbol.o
> >      CC util/color.o
> >      CC util/pager.o
> >      CC util/header.o
> >      CC util/callchain.o
> >      CC util/values.o
> >      CC util/debug.o
> >      CC util/map.o
> >      CC util/pstack.o
> >      CC util/session.o
> >      CC util/thread.o
> >      CC util/thread_map.o
> >      CC util/trace-event-parse.o
> >      CC util/trace-event-read.o
> >      CC util/trace-event-info.o
> >      CC util/trace-event-scripting.o
> >      CC util/svghelper.o
> >      CC util/sort.o
> >      CC util/hist.o
> >      CC util/probe-event.o
> >      CC util/util.o
> >      CC util/xyarray.o
> >      CC util/cpumap.o
> >      CC util/cgroup.o
> >      CC arch/x86/util/header.o
> >      CC util/scripting-engines/trace-event-python.o
> >      CC scripts/python/Perf-Trace-Util/Context.o
> >      AR libperf.a
> >      LINK perf
> >      GEN perf-archive
> >      GEN python/perf.so
> > Traceback (most recent call last):
> >    File "util/setup.py", line 6, in <module>
> >      from distutils.command.build_ext   import build_ext   as _build_ext
> >    File 
> > "/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/command/build_ext.py", 
> > line 16, in <module>
> >      from distutils.sysconfig import customize_compiler, get_python_version
> >    File 
> > "/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", 
> > line 22, in <module>
> >      PREFIX = os.path.normpath(sys.prefix).replace( 
> > os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
> > TypeError: expected a character buffer object
> > cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
> > make: *** [python/perf.so] Error 1
> > make: Leaving directory `/build/n450-denziERROR: Function failed: 
> > do_compile_perf (see 
> > /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 
> > for further information)
> > l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
> > ERROR: oe_runmake failed
> > 
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> 




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

* Re: build failure on denzil-7.0 n450 part 2
  2012-07-08  5:46   ` Tom Zanussi
@ 2012-07-08  9:40     ` James Abernathy
  2012-07-09 10:22     ` James Abernathy
  1 sibling, 0 replies; 5+ messages in thread
From: James Abernathy @ 2012-07-08  9:40 UTC (permalink / raw)
  To: Tom Zanussi; +Cc: yocto@yoctoproject.org


On Jul 8, 2012, at 1:46 AM, Tom Zanussi wrote:

> On Sat, 2012-07-07 at 12:08 -0500, Tom Zanussi wrote:
>> On Sat, 2012-07-07 at 11:59 -0400, jfabernathy wrote:
>>> Since I started over on my build from the long thread on this subject, I 
>>> thought I'd start another thread on the issue.
>>> 
>>> I took the tarball for poky-denzil-7.0 and extracted it into my home 
>>> directory.  After cd'ing into poky-denzil-7.0, I extracted the 
>>> n450-denzil-7.0 tarball.
>>> 
>>> I setup to run a standard default n450 core-image-sato, only changing 
>>> the linux-yocto_3.2.bbappend by adding in:
>>> 
>>> SRCREV_machine_pn-linux-yocto_n450 = 
>>> "9d32bb075e349cc69c7af42b60f6715c5d8c972e"
>>> SRCREV_meta_pn-linux-yocto_n450 ?= 
>>> "ee78519365bdb25287703bbc31c06b193263c654"
>>> 
>>> I still get build errors similar to the ones I got with the git 
>>> repository cloned poky.  Log file below:
>>> 
>>> 
>>> NOTE: make -C 
>>> /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf 
>>> CC=i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic 
>>> -mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450 
>>> LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450   
>>> prefix=/usr NO_NEWT=1 NO_DWARF=1
>>> make: Entering directory 
>>> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
>>> Makefile:493: libperl not found, disables Perl scripting support. Please 
>>> install libperl-dev or perl-devel
>>> PERF_VERSION = 3.2.11.629.g382eda3
>>> make: Leaving directory 
>>> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
>>> make: Entering directory 
>>> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
>>> Makefile:493: libperl not found, disables Perl scripting support. Please 
>>> install libperl-dev or perl-devel
>> 
>> 
>> Yeah, you're still getting the new kernel commits, though you shouldn't
>> be, I'll try the same thing here...
>> 
> 
> I tried the same thing here, poky denzil and n450 denzil and it built
> fine with no changes at all.
> 
> Somehow your setup is causing the last SRCREVS to be picked up instead
> of what should be - since n450 specifies no SRCREVs, the default SRCREVs
> from linux-yocto_3.2.bb should be getting picked up, and you should see
> those in the build directory name for the kernel as well:
> 
> recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_meta ?= "b14a08f5c7b469a5077c10942f4e1aec171faa9d"
> recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_machine ?= "01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a"
> 
> build/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+b14a08f5c7b469a5077c10942f4e1aec171faa9d_1+01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a-r1
> 
> Since the default SRCREVs use ?= to assign, the likely problem is that
> you already have them assigned to something else before those.
> 
> Tom  
> 
Well, that is strange.  Before I started I deleted the /build directory, so there are no previous build on the computer. I deleted the common download area, so there are no previous downloads.  I started with the BSP tarballs for poky denzil and n450 denzil.  

Not sure where it could be getting assigned. I'm using Ubuntu 12.04.

Jim A


>> Tom
>> 
>>>     GEN common-cmds.h
>>>     * new build flags or prefix
>>>     CC perf.o
>>>     CC builtin-annotate.o
>>>     CC builtin-bench.o
>>>     CC bench/sched-messaging.o
>>>     CC bench/sched-pipe.o
>>>     CC bench/mem-memcpy.o
>>>     CC builtin-diff.o
>>>     CC builtin-evlist.o
>>>     CC builtin-help.o
>>>     CC builtin-sched.o
>>>     CC builtin-buildid-list.o
>>>     CC builtin-buildid-cache.o
>>>     CC builtin-list.o
>>>     CC builtin-record.o
>>>     CC builtin-report.o
>>>     CC builtin-stat.o
>>>     CC builtin-timechart.o
>>>     CC builtin-top.o
>>>     CC builtin-script.o
>>>     CC builtin-probe.o
>>>     CC builtin-kmem.o
>>>     CC builtin-lock.o
>>>     CC builtin-kvm.o
>>>     CC builtin-test.o
>>>     CC builtin-inject.o
>>>     CC util/abspath.o
>>>     CC util/alias.o
>>>     CC util/annotate.o
>>>     CC util/build-id.o
>>>     CC util/config.o
>>>     CC util/ctype.o
>>>     CC util/debugfs.o
>>>     CC util/environment.o
>>>     CC util/event.o
>>>     CC util/evlist.o
>>>     CC util/evsel.o
>>>     CC util/exec_cmd.o
>>>     CC util/help.o
>>>     CC util/levenshtein.o
>>>     CC util/parse-options.o
>>>     CC util/parse-events.o
>>>     CC util/path.o
>>>     CC util/rbtree.o
>>>     CC util/bitmap.o
>>>     CC util/hweight.o
>>>     CC util/run-command.o
>>>     CC util/quote.o
>>>     CC util/strbuf.o
>>>     CC util/string.o
>>>     CC util/strlist.o
>>>     CC util/strfilter.o
>>>     CC util/top.o
>>>     CC util/usage.o
>>>     CC util/wrapper.o
>>>     CC util/sigchain.o
>>>     CC util/symbol.o
>>>     CC util/color.o
>>>     CC util/pager.o
>>>     CC util/header.o
>>>     CC util/callchain.o
>>>     CC util/values.o
>>>     CC util/debug.o
>>>     CC util/map.o
>>>     CC util/pstack.o
>>>     CC util/session.o
>>>     CC util/thread.o
>>>     CC util/thread_map.o
>>>     CC util/trace-event-parse.o
>>>     CC util/trace-event-read.o
>>>     CC util/trace-event-info.o
>>>     CC util/trace-event-scripting.o
>>>     CC util/svghelper.o
>>>     CC util/sort.o
>>>     CC util/hist.o
>>>     CC util/probe-event.o
>>>     CC util/util.o
>>>     CC util/xyarray.o
>>>     CC util/cpumap.o
>>>     CC util/cgroup.o
>>>     CC arch/x86/util/header.o
>>>     CC util/scripting-engines/trace-event-python.o
>>>     CC scripts/python/Perf-Trace-Util/Context.o
>>>     AR libperf.a
>>>     LINK perf
>>>     GEN perf-archive
>>>     GEN python/perf.so
>>> Traceback (most recent call last):
>>>   File "util/setup.py", line 6, in <module>
>>>     from distutils.command.build_ext   import build_ext   as _build_ext
>>>   File 
>>> "/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/command/build_ext.py", 
>>> line 16, in <module>
>>>     from distutils.sysconfig import customize_compiler, get_python_version
>>>   File 
>>> "/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", 
>>> line 22, in <module>
>>>     PREFIX = os.path.normpath(sys.prefix).replace( 
>>> os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
>>> TypeError: expected a character buffer object
>>> cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
>>> make: *** [python/perf.so] Error 1
>>> make: Leaving directory `/build/n450-denziERROR: Function failed: 
>>> do_compile_perf (see 
>>> /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 
>>> for further information)
>>> l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
>>> ERROR: oe_runmake failed
>>> 
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> 
> 
> 



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

* Re: build failure on denzil-7.0 n450 part 2
  2012-07-08  5:46   ` Tom Zanussi
  2012-07-08  9:40     ` James Abernathy
@ 2012-07-09 10:22     ` James Abernathy
  1 sibling, 0 replies; 5+ messages in thread
From: James Abernathy @ 2012-07-09 10:22 UTC (permalink / raw)
  To: Tom Zanussi; +Cc: yocto@yoctoproject.org


On Jul 8, 2012, at 1:46 AM, Tom Zanussi wrote:

> On Sat, 2012-07-07 at 12:08 -0500, Tom Zanussi wrote:
>> On Sat, 2012-07-07 at 11:59 -0400, jfabernathy wrote:
>>> Since I started over on my build from the long thread on this subject, I 
>>> thought I'd start another thread on the issue.
>>> 
>>> I took the tarball for poky-denzil-7.0 and extracted it into my home 
>>> directory.  After cd'ing into poky-denzil-7.0, I extracted the 
>>> n450-denzil-7.0 tarball.
>>> 
>>> I setup to run a standard default n450 core-image-sato, only changing 
>>> the linux-yocto_3.2.bbappend by adding in:
>>> 
>>> SRCREV_machine_pn-linux-yocto_n450 = 
>>> "9d32bb075e349cc69c7af42b60f6715c5d8c972e"
>>> SRCREV_meta_pn-linux-yocto_n450 ?= 
>>> "ee78519365bdb25287703bbc31c06b193263c654"
>>> 
>>> I still get build errors similar to the ones I got with the git 
>>> repository cloned poky.  Log file below:
>>> 
>>> 
>>> NOTE: make -C 
>>> /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf 
>>> CC=i586-poky-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic 
>>> -mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450 
>>> LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450   
>>> prefix=/usr NO_NEWT=1 NO_DWARF=1
>>> make: Entering directory 
>>> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
>>> Makefile:493: libperl not found, disables Perl scripting support. Please 
>>> install libperl-dev or perl-devel
>>> PERF_VERSION = 3.2.11.629.g382eda3
>>> make: Leaving directory 
>>> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
>>> make: Entering directory 
>>> `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
>>> Makefile:493: libperl not found, disables Perl scripting support. Please 
>>> install libperl-dev or perl-devel
>> 
>> 
>> Yeah, you're still getting the new kernel commits, though you shouldn't
>> be, I'll try the same thing here...
>> 
> 
> I tried the same thing here, poky denzil and n450 denzil and it built
> fine with no changes at all.
> 
> Somehow your setup is causing the last SRCREVS to be picked up instead
> of what should be - since n450 specifies no SRCREVs, the default SRCREVs
> from linux-yocto_3.2.bb should be getting picked up, and you should see
> those in the build directory name for the kernel as well:
> 
> recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_meta ?= "b14a08f5c7b469a5077c10942f4e1aec171faa9d"
> recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_machine ?= "01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a"
> 
> build/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+b14a08f5c7b469a5077c10942f4e1aec171faa9d_1+01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a-r1
> 
> Since the default SRCREVs use ?= to assign, the likely problem is that
> you already have them assigned to something else before those.
> 
> Tom  
> 
I really started over this time.  Formatted all 3 drives in my system and did a complete install of Ubuntu 12.04 LTS Desktop x64.

I installed the required tools listed in the current 1.2 version of the QS Guide.

Installed poky-denzil and the n450-denzil from the tarballs.

This time the n450 built correctly.

So the remaining question is what in the host setup, tools or environment variables, could cause this problem.  The previous testing complete removed any previous BSP, poky versions, downloads, and builds.  very strange!

Jim A

>> Tom
>> 
>>>     GEN common-cmds.h
>>>     * new build flags or prefix
>>>     CC perf.o
>>>     CC builtin-annotate.o
>>>     CC builtin-bench.o
>>>     CC bench/sched-messaging.o
>>>     CC bench/sched-pipe.o
>>>     CC bench/mem-memcpy.o
>>>     CC builtin-diff.o
>>>     CC builtin-evlist.o
>>>     CC builtin-help.o
>>>     CC builtin-sched.o
>>>     CC builtin-buildid-list.o
>>>     CC builtin-buildid-cache.o
>>>     CC builtin-list.o
>>>     CC builtin-record.o
>>>     CC builtin-report.o
>>>     CC builtin-stat.o
>>>     CC builtin-timechart.o
>>>     CC builtin-top.o
>>>     CC builtin-script.o
>>>     CC builtin-probe.o
>>>     CC builtin-kmem.o
>>>     CC builtin-lock.o
>>>     CC builtin-kvm.o
>>>     CC builtin-test.o
>>>     CC builtin-inject.o
>>>     CC util/abspath.o
>>>     CC util/alias.o
>>>     CC util/annotate.o
>>>     CC util/build-id.o
>>>     CC util/config.o
>>>     CC util/ctype.o
>>>     CC util/debugfs.o
>>>     CC util/environment.o
>>>     CC util/event.o
>>>     CC util/evlist.o
>>>     CC util/evsel.o
>>>     CC util/exec_cmd.o
>>>     CC util/help.o
>>>     CC util/levenshtein.o
>>>     CC util/parse-options.o
>>>     CC util/parse-events.o
>>>     CC util/path.o
>>>     CC util/rbtree.o
>>>     CC util/bitmap.o
>>>     CC util/hweight.o
>>>     CC util/run-command.o
>>>     CC util/quote.o
>>>     CC util/strbuf.o
>>>     CC util/string.o
>>>     CC util/strlist.o
>>>     CC util/strfilter.o
>>>     CC util/top.o
>>>     CC util/usage.o
>>>     CC util/wrapper.o
>>>     CC util/sigchain.o
>>>     CC util/symbol.o
>>>     CC util/color.o
>>>     CC util/pager.o
>>>     CC util/header.o
>>>     CC util/callchain.o
>>>     CC util/values.o
>>>     CC util/debug.o
>>>     CC util/map.o
>>>     CC util/pstack.o
>>>     CC util/session.o
>>>     CC util/thread.o
>>>     CC util/thread_map.o
>>>     CC util/trace-event-parse.o
>>>     CC util/trace-event-read.o
>>>     CC util/trace-event-info.o
>>>     CC util/trace-event-scripting.o
>>>     CC util/svghelper.o
>>>     CC util/sort.o
>>>     CC util/hist.o
>>>     CC util/probe-event.o
>>>     CC util/util.o
>>>     CC util/xyarray.o
>>>     CC util/cpumap.o
>>>     CC util/cgroup.o
>>>     CC arch/x86/util/header.o
>>>     CC util/scripting-engines/trace-event-python.o
>>>     CC scripts/python/Perf-Trace-Util/Context.o
>>>     AR libperf.a
>>>     LINK perf
>>>     GEN perf-archive
>>>     GEN python/perf.so
>>> Traceback (most recent call last):
>>>   File "util/setup.py", line 6, in <module>
>>>     from distutils.command.build_ext   import build_ext   as _build_ext
>>>   File 
>>> "/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/command/build_ext.py", 
>>> line 16, in <module>
>>>     from distutils.sysconfig import customize_compiler, get_python_version
>>>   File 
>>> "/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", 
>>> line 22, in <module>
>>>     PREFIX = os.path.normpath(sys.prefix).replace( 
>>> os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
>>> TypeError: expected a character buffer object
>>> cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
>>> make: *** [python/perf.so] Error 1
>>> make: Leaving directory `/build/n450-denziERROR: Function failed: 
>>> do_compile_perf (see 
>>> /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 
>>> for further information)
>>> l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
>>> ERROR: oe_runmake failed
>>> 
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> 
> 
> 



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

end of thread, other threads:[~2012-07-09 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-07 15:59 build failure on denzil-7.0 n450 part 2 jfabernathy
2012-07-07 17:08 ` Tom Zanussi
2012-07-08  5:46   ` Tom Zanussi
2012-07-08  9:40     ` James Abernathy
2012-07-09 10:22     ` James Abernathy

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.