Skip to contentSkip to conversation

build failure on denzil - n450

DISCUSSION jfabernathy 2 participants 15 messages Jul 6, 2012

lore
Share & tools
lore
#0 lore raw

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed

#1 lore raw
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Tom

Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 6 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Quoted 6 lines

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Jim A

Quoted 137 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

Tom

Quoted 141 lines

Jim A

Quoted 137 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#4 lore raw
Quoted 19 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Quoted 8 lines

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

So this fixes the issue, but I just want to know how you knew which commit strings to use is this case? I finally found them, but not sure why you pick these particular ones.

Jim A

Quoted 142 lines

Tom

Quoted 139 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#5 lore raw
Quoted 24 lines · jfabernathy
Quoted 23 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

Quoted 7 lines
Quoted 4 lines

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

So this fixes the issue, but I just want to know how you knew which commit strings to use is this case? I finally found them, but not sure why you pick these particular ones.

Well, it's kind of a long story already. Basically, there was a patchset yesterday that got partially pulled in, and part of that was a set of changes to the kernel. If you have a hard-coded SRCREV, this isn't a problem, for the n450 that's not the case.

So how I figured out which ones to use was that I looked at the n450 machine branch and the meta branch and picked out the SRCREVs immediately preceding those changes.

Tom

Quoted 146 lines

Jim A

Quoted 142 lines

Tom

Quoted 139 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#6 lore raw
Quoted 37 lines · Tom Zanussi
Quoted 24 lines · jfabernathy
Quoted 23 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

Quoted 7 lines
Quoted 4 lines

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

So this fixes the issue, but I just want to know how you knew which commit strings to use is this case? I finally found them, but not sure why you pick these particular ones.

Well, it's kind of a long story already. Basically, there was a patchset yesterday that got partially pulled in, and part of that was a set of changes to the kernel. If you have a hard-coded SRCREV, this isn't a problem, for the n450 that's not the case.

Quoted 5 lines

So how I figured out which ones to use was that I looked at the n450 machine branch and the meta branch and picked out the SRCREVs immediately preceding those changes.

Tom

It's interesting. I got the standard build to complete without any changes except the SRCREV statements. It booted on the Netbook just fine, but without networking. I went back to the bbappend file and added:

SRC_URI += "file://my_wifi.cfg"

Then created the my_wifi.cfg file to say:

CONFIG_ATH9K_PCI=y

after cleaning sstate and bitbake linux-yocto -c compile -f successfully, I couldn't seem to continue. That when I got the libperl error again like I did originally before I added the SRCREV.

Jim A

Quoted 144 lines
Quoted 143 lines

Jim A

Quoted 140 lines

Tom

Quoted 138 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#7 lore raw
Quoted 49 lines · jfabernathy
Quoted 37 lines · Tom Zanussi
Quoted 24 lines · jfabernathy
Quoted 23 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

Quoted 7 lines
Quoted 4 lines

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

So this fixes the issue, but I just want to know how you knew which commit strings to use is this case? I finally found them, but not sure why you pick these particular ones.

Well, it's kind of a long story already. Basically, there was a patchset yesterday that got partially pulled in, and part of that was a set of changes to the kernel. If you have a hard-coded SRCREV, this isn't a problem, for the n450 that's not the case.

Quoted 5 lines

So how I figured out which ones to use was that I looked at the n450 machine branch and the meta branch and picked out the SRCREVs immediately preceding those changes.

Tom

It's interesting. I got the standard build to complete without any changes except the SRCREV statements. It booted on the Netbook just fine, but without networking. I went back to the bbappend file and added:

SRC_URI += "file://my_wifi.cfg"

Quoted 8 lines

Then created the my_wifi.cfg file to say:

CONFIG_ATH9K_PCI=y

after cleaning sstate and bitbake linux-yocto -c compile -f successfully, I couldn't seem to continue. That when I got the libperl error again like I did originally before I added the SRCREV.

OK, I have no idea what happened there, but I can say that that if you're seeing that message, you're seeing commits that you shouldn't be according to the SRCREV i.e. that libperl message was itself added as part of the patchset:

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.2/commit/?h=standard/base&id=18ad076590b30347af31224304ee58986bd178cf

Tom

Quoted 148 lines

Jim A

Quoted 144 lines
Quoted 143 lines

Jim A

Quoted 140 lines

Tom

Quoted 138 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#8 lore raw
Quoted 58 lines · Tom Zanussi
Quoted 49 lines · jfabernathy
Quoted 37 lines · Tom Zanussi
Quoted 24 lines · jfabernathy
Quoted 23 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

Quoted 7 lines
Quoted 4 lines

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

So this fixes the issue, but I just want to know how you knew which commit strings to use is this case? I finally found them, but not sure why you pick these particular ones.

Well, it's kind of a long story already. Basically, there was a patchset yesterday that got partially pulled in, and part of that was a set of changes to the kernel. If you have a hard-coded SRCREV, this isn't a problem, for the n450 that's not the case.

Quoted 5 lines

So how I figured out which ones to use was that I looked at the n450 machine branch and the meta branch and picked out the SRCREVs immediately preceding those changes.

Tom

It's interesting. I got the standard build to complete without any changes except the SRCREV statements. It booted on the Netbook just fine, but without networking. I went back to the bbappend file and added:

SRC_URI += "file://my_wifi.cfg"

Quoted 8 lines

Then created the my_wifi.cfg file to say:

CONFIG_ATH9K_PCI=y

after cleaning sstate and bitbake linux-yocto -c compile -f successfully, I couldn't seem to continue. That when I got the libperl error again like I did originally before I added the SRCREV.

Quoted 9 lines

OK, I have no idea what happened there, but I can say that that if you're seeing that message, you're seeing commits that you shouldn't be according to the SRCREV i.e. that libperl message was itself added as part of the patchset:

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.2/commit/?h=standard/base&id=18ad076590b30347af31224304ee58986bd178cf

Tom

Okay, for my experiment, I can just use the BSP tarballs. Thanks,

Jim A

Quoted 146 lines
Quoted 145 lines

Jim A

Quoted 142 lines
Quoted 142 lines

Jim A

Quoted 140 lines

Tom

Quoted 138 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#9 lore raw
In reply to Tom Zanussi
Quoted 58 lines · Tom Zanussi
Quoted 49 lines · jfabernathy
Quoted 37 lines · Tom Zanussi
Quoted 24 lines · jfabernathy
Quoted 23 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

Quoted 7 lines
Quoted 4 lines

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

So this fixes the issue, but I just want to know how you knew which commit strings to use is this case? I finally found them, but not sure why you pick these particular ones.

Well, it's kind of a long story already. Basically, there was a patchset yesterday that got partially pulled in, and part of that was a set of changes to the kernel. If you have a hard-coded SRCREV, this isn't a problem, for the n450 that's not the case.

Quoted 5 lines

So how I figured out which ones to use was that I looked at the n450 machine branch and the meta branch and picked out the SRCREVs immediately preceding those changes.

Tom

It's interesting. I got the standard build to complete without any changes except the SRCREV statements. It booted on the Netbook just fine, but without networking. I went back to the bbappend file and added:

SRC_URI += "file://my_wifi.cfg"

Quoted 8 lines

Then created the my_wifi.cfg file to say:

CONFIG_ATH9K_PCI=y

after cleaning sstate and bitbake linux-yocto -c compile -f successfully, I couldn't seem to continue. That when I got the libperl error again like I did originally before I added the SRCREV.

Quoted 9 lines

OK, I have no idea what happened there, but I can say that that if you're seeing that message, you're seeing commits that you shouldn't be according to the SRCREV i.e. that libperl message was itself added as part of the patchset:

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.2/commit/?h=standard/base&id=18ad076590b30347af31224304ee58986bd178cf

Tom

So you're really not going to like hearing this :-) I ran the default n450 build from the tarball BSPs same libperl error. I'm going to blow everything away including my download directory and start from the beginning of time.

Jim A

Quoted 146 lines
Quoted 145 lines

Jim A

Quoted 142 lines
Quoted 142 lines

Jim A

Quoted 140 lines

Tom

Quoted 138 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#10 lore raw
Quoted 64 lines · jfabernathy
Quoted 63 lines · Tom Zanussi
Quoted 49 lines · jfabernathy
Quoted 37 lines · Tom Zanussi
Quoted 24 lines · jfabernathy
Quoted 23 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

Quoted 7 lines
Quoted 4 lines

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

So this fixes the issue, but I just want to know how you knew which commit strings to use is this case? I finally found them, but not sure why you pick these particular ones.

Well, it's kind of a long story already. Basically, there was a patchset yesterday that got partially pulled in, and part of that was a set of changes to the kernel. If you have a hard-coded SRCREV, this isn't a problem, for the n450 that's not the case.

Quoted 5 lines

So how I figured out which ones to use was that I looked at the n450 machine branch and the meta branch and picked out the SRCREVs immediately preceding those changes.

Tom

It's interesting. I got the standard build to complete without any changes except the SRCREV statements. It booted on the Netbook just fine, but without networking. I went back to the bbappend file and added:

SRC_URI += "file://my_wifi.cfg"

Quoted 8 lines

Then created the my_wifi.cfg file to say:

CONFIG_ATH9K_PCI=y

after cleaning sstate and bitbake linux-yocto -c compile -f successfully, I couldn't seem to continue. That when I got the libperl error again like I did originally before I added the SRCREV.

OK, I have no idea what happened there, but I can say that that if you're seeing that message, you're seeing commits that you shouldn't be according to the SRCREV i.e. that libperl message was itself added as part of the patchset:

Quoted 9 lines
Quoted 4 lines

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.2/commit/?h=standard/base&id=18ad076590b30347af31224304ee58986bd178cf

Tom

So you're really not going to like hearing this :-) I ran the default n450 build from the tarball BSPs same libperl error. I'm going to blow everything away including my download directory and start from the beginning of time.

Actually, that would be expected - the n450 BSP is using whatever the latest SRCREVs from the kernel, regardless of whether the BSP itself is in a tarball or from a git repo or whatever - it's still pointing at the same kernel either way, and getting the same commits...

Tom

Quoted 151 lines

Jim A

Quoted 146 lines
Quoted 145 lines

Jim A

Quoted 142 lines
Quoted 142 lines

Jim A

Quoted 140 lines

Tom

Quoted 138 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#11 lore raw
Quoted 91 lines · Tom Zanussi
Quoted 9 lines · jfabernathy
Quoted 8 lines · Tom Zanussi
Quoted 7 lines · jfabernathy
Quoted 6 lines · Tom Zanussi
Quoted 5 lines · jfabernathy
Quoted 4 lines · Tom Zanussi
Quoted 3 lines · jfabernathy
Quoted 2 lines · Tom Zanussi
Quoted 1 line · jfabernathy

Something has changes very recently. I was building with a

fresh clone

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

of poky and meta-intel. checked out Denzil on both. only

modified to

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

support the meta-n450 layer, the parallel options and the local

download

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

directory.

Are you using a local clone of the kernel i.e. using AUTOREV?

There are

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal

builds at

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

the moment.

Tom

I have local kernels on the system, but I hope I'm not using

them. The

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone

of poky

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other

BSPs.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

SRCREV_machine_pn-linux-yocto_n450 =

9d32bb075e349cc69c7af42b60f6715c5d8c972e

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SRCREV_meta_pn-linux-yocto_n450 ?=

ee78519365bdb25287703bbc31c06b193263c654

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

This is exactly the reason it's not good to use floating kernel

SRCREVs.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

So this fixes the issue, but I just want to know how you knew which commit strings to use is this case? I finally found them, but not

sure

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

why you pick these particular ones.

Well, it's kind of a long story already. Basically, there was a patchset yesterday that got partially pulled in, and part of that

was a

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines

set of changes to the kernel. If you have a hard-coded SRCREV, this isn't a problem, for the n450 that's not the case.

So how I figured out which ones to use was that I looked at the n450 machine branch and the meta branch and picked out the SRCREVs immediately preceding those changes.

Tom

It's interesting. I got the standard build to complete without any changes except the SRCREV statements. It booted on the Netbook just fine, but without networking. I went back to the bbappend file and

added:

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

SRC_URI += "file://my_wifi.cfg"

Then created the my_wifi.cfg file to say:

CONFIG_ATH9K_PCI=y

after cleaning sstate and bitbake linux-yocto -c compile -f successfully, I couldn't seem to continue. That when I got the

libperl

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines

error again like I did originally before I added the SRCREV.

OK, I have no idea what happened there, but I can say that that if you're seeing that message, you're seeing commits that you shouldn't be according to the SRCREV i.e. that libperl message was itself added as part of the patchset:

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.2/commit/?h=standard/base&id=18ad076590b30347af31224304ee58986bd178cf

Quoted 8 lines
Quoted 3 lines

Tom

So you're really not going to like hearing this :-) I ran the default n450 build from the tarball BSPs same libperl error. I'm going to blow everything away including my download directory and start from the beginning of time.

Quoted 8 lines

Actually, that would be expected - the n450 BSP is using whatever the latest SRCREVs from the kernel, regardless of whether the BSP itself is in a tarball or from a git repo or whatever - it's still pointing at the same kernel either way, and getting the same commits...

Tom

I went back and added the SRCREVs but that didn't fix it. Maybe the cleansstate doesn't clean enough up to allow me to continue. I'll add the srcrevs to the tarball version when I restart my testing.

But this time, I've poured me a Blanton's bourbon, so it should go much better :-)

Jim A

Quoted 171 lines
Quoted 12 lines

Jim A

Quoted 9 lines
Quoted 9 lines

Jim A

Quoted 7 lines
Quoted 7 lines

Jim A

Quoted 5 lines

Tom

Quoted 3 lines

Jim A

Quoted 1 line
Quoted 1 line

I got an error compiling the kernel. It didn't fail yesterday

early,

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C

/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

CC=i586-poky-linux-gcc -m32 -march=core2 -msse3

-mtune=generic

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450 LD=i586-poky-linux-ld

--sysroot=/build/n450-denzil/tmp/sysroots/n450

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

prefix=/usr NO_NEWT=1 NO_DWARF=1
make: Entering directory

`/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Makefile:493: libperl not found, disables Perl scripting

support. Please

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

make: Entering directory

`/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Makefile:493: libperl not found, disables Perl scripting

support. Please

Quoted 84 lines
Quoted 84 lines
Quoted 84 lines
Quoted 84 lines
Quoted 84 lines
Quoted 84 lines
Quoted 84 lines
Quoted 84 lines
Quoted 84 lines

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

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

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

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

File

"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/command/build_ext.py",

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

line 16, in <module>
from distutils.sysconfig import customize_compiler,

get_python_version

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

File

"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py",

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

make: *** [python/perf.so] Error 1
make: Leaving directory `/build/n450-denziERROR: Function

failed:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

do_compile_perf (see

/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

for further information)

l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'

Quoted 9 lines
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#12 lore raw
Quoted 128 lines · James Abernathy

On Fri, Jul 6, 2012 at 4:01 PM, Tom Zanussi <[email protected]> wrote:
On Fri, 2012-07-06 at 15:48 -0400, jfabernathy wrote:
> On 07/06/2012 02:57 PM, Tom Zanussi wrote:
> > On Fri, 2012-07-06 at 14:48 -0400, jfabernathy wrote:
> >> On 07/06/2012 02:35 PM, Tom Zanussi wrote:
> >>> On Fri, 2012-07-06 at 13:36 -0400, jfabernathy wrote:
> >>>> On 07/06/2012 10:59 AM, Tom Zanussi wrote:
> >>>>> On Fri, 2012-07-06 at 10:47 -0400, jfabernathy wrote:
> >>>>>> On 07/06/2012 10:44 AM, Tom Zanussi wrote:
> >>>>>>> On Fri, 2012-07-06 at 10:20 -0400, jfabernathy wrote:
> >>>>>>>> Something has changes very recently. I was building with a fresh clone
> >>>>>>>> of poky and meta-intel. checked out Denzil on both. only modified to
> >>>>>>>> support the meta-n450 layer, the parallel options and the local download
> >>>>>>>> directory.
> >>>>>>>>
> >>>>>>> Are you using a local clone of the kernel i.e. using AUTOREV? There are
> >>>>>>> currently a few patches that you'd only get with AUTOREV that the
> >>>>>>> offical SRCREVs in the recipe prevent from getting into normal builds at
> >>>>>>> the moment.
> >>>>>>>
> >>>>>>> Tom
> >>>>>> I have local kernels on the system, but I hope I'm not using them. The
> >>>>>> last good build I did used a local kernel. However, I started by
> >>>>>> blowing away the poky dir and the /build dir. I did a new clone of poky
> >>>>>> and meta-intel and checkout the denzil branch in both (not tag)
> >>>>>>
> >>>>> Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs.
> >>>>> You can fix that locally by changing the empty SRCREVs in the n450
> >>>>> kernel recipe e.g.
> >>>>>
> >>>>> SRCREV_machine_pn-linux-yocto_n450 = 9d32bb075e349cc69c7af42b60f6715c5d8c972e
> >>>>> SRCREV_meta_pn-linux-yocto_n450 ?=
ee78519365bdb25287703bbc31c06b193263c654
> >>>>>
> >>>>> This is exactly the reason it's not good to use floating kernel SRCREVs.
> >>>> So this fixes the issue, but I just want to know how you knew which
> >>>> commit strings to use is this case? I finally found them, but not sure
> >>>> why you pick these particular ones.
> >>> Well, it's kind of a long story already. Basically, there was a
> >>> patchset yesterday that got partially pulled in, and part of that was a
> >>> set of changes to the kernel. If you have a hard-coded SRCREV, this
> >>> isn't a problem, for the n450 that's not the case. > >>>
> >>> So how I figured out which ones to use was that I looked at the n450
> >>> machine branch and the meta branch and picked out the SRCREVs
> >>> immediately preceding those changes.
> >>>
> >>> Tom
> >> It's interesting. I got the standard build to complete without any
> >> changes except the SRCREV statements. It booted on the Netbook just
> >> fine, but without networking. I went back to the bbappend file and added:
> >>
> >> SRC_URI += "file://my_wifi.cfg"
> >>
> >> Then created the my_wifi.cfg file to say:
> >>
> >> CONFIG_ATH9K_PCI=y
> >>
> >> after cleaning sstate and bitbake linux-yocto -c compile -f
> >> successfully, I couldn't seem to continue. That when I got the libperl
> >> error again like I did originally before I added the SRCREV.
> >>
> > OK, I have no idea what happened there, but I can say that that if
> > you're seeing that message, you're seeing commits that you shouldn't be
> > according to the SRCREV i.e. that libperl message was itself added as
> > part of the patchset:
> >
> >
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.2/commit/?h=standard/base&id=18ad076590b30347af31224304ee58986bd178cf
> >
> > Tom
> >
> So you're really not going to like hearing this :-) I ran the default
> n450 build from the tarball BSPs same libperl error. I'm going to blow
> everything away including my download directory and start from the
> beginning of time.
>

Actually, that would be expected - the n450 BSP is using whatever the
latest SRCREVs from the kernel, regardless of whether the BSP itself is
in a tarball or from a git repo or whatever - it's still pointing at the
same kernel either way, and getting the same commits...

Tom

Quoted 7 lines

I went back and added the SRCREVs but that didn't fix it. Maybe the cleansstate doesn't clean enough up to allow me to continue. I'll add the srcrevs to the tarball version when I restart my testing.

But this time, I've poured me a Blanton's bourbon, so it should go much better :-)

That should work. ;-)

You could also try the following changes that I've just started testing but I think might fix your problem on n450, if you wanted to try them out:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/perf-scripting-v2

Top 3 commits there..

Tom

Quoted 180 lines

Jim A

        > Jim A
        >
        >
        > >> Jim A
        > >>
        > >>>> Jim A
        > >>>>
        > >>>>> Tom
        > >>>>>
        > >>>>>> Jim A
        > >>>>>>
        > >>>>>>>> I got an error compiling the kernel.  It didn't
        fail yesterday early,
        > >>>>>>>> but now I get the same failure on Ubuntu 12.04 and
        Fedora 16.
        > >>>>>>>>
        > >>>>>>>> Jim A
        > >>>>>>>>
        > >>>>>>>>
        > >>>>>>>> NOTE: make -C
        >
        >>>>>>>> /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
        > >>>>>>>> make: Entering directory
        > >>>>>>>>
        `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739
        > >>>>>>>> for further information)
        > >>>>>>>> l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1
        +49f931bc294d5b6be60502bbd448cff5aa766235_1
        +8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
        > >>>>>>>> ERROR: oe_runmake failed
        > >>>>>>>> _______________________________________________
        > >>>>>>>> yocto mailing list
        > >>>>>>>> [email protected]
        > >>>>>>>> https://lists.yoctoproject.org/listinfo/yocto
        > >>
        > >
        >
        >
#13 lore raw
In reply to Tom Zanussi
Quoted 23 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

Quoted 6 lines

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

This is exactly the reason it's not good to use floating kernel SRCREVs.

Tom

I've also been seeing a number of build failures related to this error:

libperl not found, disables Perl scripting support. Please install libperl-dev or perl-devel

Is this part of the patches that are in transition?

Jim A

Quoted 140 lines
Quoted 139 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#14 lore raw
Quoted 27 lines · jfabernathy
Quoted 26 lines · Tom Zanussi
Quoted 12 lines · jfabernathy
Quoted 11 lines · Tom Zanussi
Quoted 5 lines · jfabernathy

Something has changes very recently. I was building with a fresh clone of poky and meta-intel. checked out Denzil on both. only modified to support the meta-n450 layer, the parallel options and the local download directory.

Are you using a local clone of the kernel i.e. using AUTOREV? There are currently a few patches that you'd only get with AUTOREV that the offical SRCREVs in the recipe prevent from getting into normal builds at the moment.

Quoted 6 lines
Quoted 1 line

Tom

I have local kernels on the system, but I hope I'm not using them. The last good build I did used a local kernel. However, I started by blowing away the poky dir and the /build dir. I did a new clone of poky and meta-intel and checkout the denzil branch in both (not tag)

Oh, I see now, 450 doesn't specify a kernel SRCREV like the other BSPs. You can fix that locally by changing the empty SRCREVs in the n450 kernel recipe e.g.

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

Quoted 9 lines
Quoted 3 lines

This is exactly the reason it's not good to use floating kernel SRCREVs.

Tom

I've also been seeing a number of build failures related to this error:

libperl not found, disables Perl scripting support. Please install libperl-dev or perl-devel

Yes, this is the same error you see below, isn't it?

Quoted 1 line

Is this part of the patches that are in transition?

Yes, and you should only be seeing it with n450 or if using meta-kernel-dev.

Tom

Quoted 145 lines

Jim A

Quoted 140 lines
Quoted 139 lines

Jim A

Quoted 136 lines
Quoted 136 lines

I got an error compiling the kernel. It didn't fail yesterday early, but now I get the same failure on Ubuntu 12.04 and Fedora 16.

Jim A

NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-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.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/temp/log.do_compile_perf.7739 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c-r1/linux/tools/perf'
ERROR: oe_runmake failed
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto