build failure on denzil-7.0 n450 part 2
Since I started over on my build from the long thread on this subject, I thought I'd start another thread on the issue.
I took the tarball for poky-denzil-7.0 and extracted it into my home directory. After cd'ing into poky-denzil-7.0, I extracted the n450-denzil-7.0 tarball.
I setup to run a standard default n450 core-image-sato, only changing the linux-yocto_3.2.bbappend by adding in:
SRCREV_machine_pn-linux-yocto_n450 = "9d32bb075e349cc69c7af42b60f6715c5d8c972e" SRCREV_meta_pn-linux-yocto_n450 ?= "ee78519365bdb25287703bbc31c06b193263c654"
I still get build errors similar to the ones I got with the git repository cloned poky. Log file below:
NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf CC=i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450 LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450 prefix=/usr NO_NEWT=1 NO_DWARF=1
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. Please install libperl-dev or perl-develPERF_VERSION = 3.2.11.629.g382eda3
make: Leaving directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. Please install libperl-dev or perl-devel
GEN common-cmds.h
* new build flags or prefix
CC perf.o
CC builtin-annotate.o
CC builtin-bench.o
CC bench/sched-messaging.o
CC bench/sched-pipe.o
CC bench/mem-memcpy.o
CC builtin-diff.o
CC builtin-evlist.o
CC builtin-help.o
CC builtin-sched.o
CC builtin-buildid-list.o
CC builtin-buildid-cache.o
CC builtin-list.o
CC builtin-record.o
CC builtin-report.o
CC builtin-stat.o
CC builtin-timechart.o
CC builtin-top.o
CC builtin-script.o
CC builtin-probe.o
CC builtin-kmem.o
CC builtin-lock.o
CC builtin-kvm.o
CC builtin-test.o
CC builtin-inject.o
CC util/abspath.o
CC util/alias.o
CC util/annotate.o
CC util/build-id.o
CC util/config.o
CC util/ctype.o
CC util/debugfs.o
CC util/environment.o
CC util/event.o
CC util/evlist.o
CC util/evsel.o
CC util/exec_cmd.o
CC util/help.o
CC util/levenshtein.o
CC util/parse-options.o
CC util/parse-events.o
CC util/path.o
CC util/rbtree.o
CC util/bitmap.o
CC util/hweight.o
CC util/run-command.o
CC util/quote.o
CC util/strbuf.o
CC util/string.o
CC util/strlist.o
CC util/strfilter.o
CC util/top.o
CC util/usage.o
CC util/wrapper.o
CC util/sigchain.o
CC util/symbol.o
CC util/color.o
CC util/pager.o
CC util/header.o
CC util/callchain.o
CC util/values.o
CC util/debug.o
CC util/map.o
CC util/pstack.o
CC util/session.o
CC util/thread.o
CC util/thread_map.o
CC util/trace-event-parse.o
CC util/trace-event-read.o
CC util/trace-event-info.o
CC util/trace-event-scripting.o
CC util/svghelper.o
CC util/sort.o
CC util/hist.o
CC util/probe-event.o
CC util/util.o
CC util/xyarray.o
CC util/cpumap.o
CC util/cgroup.o
CC arch/x86/util/header.o
CC util/scripting-engines/trace-event-python.o
CC scripts/python/Perf-Trace-Util/Context.o
AR libperf.a
LINK perf
GEN perf-archive
GEN python/perf.so
Traceback (most recent call last):
File "util/setup.py", line 6, in <module>
from distutils.command.build_ext import build_ext as _build_ext
File
"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/command/build_ext.py", line 16, in <module>
from distutils.sysconfig import customize_compiler, get_python_version
File
"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 22, in <module>
PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
TypeError: expected a character buffer object
cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
make: *** [python/perf.so] Error 1
make: Leaving directory `/build/n450-denziERROR: Function failed: do_compile_perf (see /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
ERROR: oe_runmake failed
Quoted 28 lines · jfabernathy
Since I started over on my build from the long thread on this subject, I thought I'd start another thread on the issue.
I took the tarball for poky-denzil-7.0 and extracted it into my home directory. After cd'ing into poky-denzil-7.0, I extracted the n450-denzil-7.0 tarball.
I setup to run a standard default n450 core-image-sato, only changing the linux-yocto_3.2.bbappend by adding in:
SRCREV_machine_pn-linux-yocto_n450 =
"9d32bb075e349cc69c7af42b60f6715c5d8c972e"
SRCREV_meta_pn-linux-yocto_n450 ?=
"ee78519365bdb25287703bbc31c06b193263c654"I still get build errors similar to the ones I got with the git repository cloned poky. Log file below:
NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf
CC=i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic
-mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450
LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450
prefix=/usr NO_NEWT=1 NO_DWARF=1
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. Please
Quoted 8 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.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. Please
install libperl-dev or perl-devel
Yeah, you're still getting the new kernel commits, though you shouldn't be, I'll try the same thing here...
Tom
Quoted 114 lines
GEN
common-cmds.h
* new build flags or prefix
CC perf.o
CC builtin-annotate.o
CC builtin-bench.o
CCbench/sched-messaging.o
CCbench/sched-pipe.o
CCbench/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
CCutil/abspath.o
CCutil/alias.o
CCutil/annotate.o
CCutil/build-id.o
CCutil/config.o
CCutil/ctype.o
CCutil/debugfs.o
CCutil/environment.o
CCutil/event.o
CCutil/evlist.o
CCutil/evsel.o
CCutil/exec_cmd.o
CCutil/help.o
CCutil/levenshtein.o
CCutil/parse-options.o
CCutil/parse-events.o
CCutil/path.o
CCutil/rbtree.o
CCutil/bitmap.o
CCutil/hweight.o
CCutil/run-command.o
CCutil/quote.o
CCutil/strbuf.o
CCutil/string.o
CCutil/strlist.o
CCutil/strfilter.o
CCutil/top.o
CCutil/usage.o
CCutil/wrapper.o
CCutil/sigchain.o
CCutil/symbol.o
CCutil/color.o
CCutil/pager.o
CCutil/header.o
CCutil/callchain.o
CCutil/values.o
CCutil/debug.o
CCutil/map.o
CCutil/pstack.o
CCutil/session.o
CCutil/thread.o
CCutil/thread_map.o
CCutil/trace-event-parse.o
CCutil/trace-event-read.o
CCutil/trace-event-info.o
CCutil/trace-event-scripting.o
CCutil/svghelper.o
CCutil/sort.o
CCutil/hist.o
CCutil/probe-event.o
CCutil/util.o
CCutil/xyarray.o
CCutil/cpumap.o
CCutil/cgroup.o
CCarch/x86/util/header.o
CCutil/scripting-engines/trace-event-python.o
CCscripts/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 importbuild_extas_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 importcustomize_compiler,get_python_version
File
"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 22, in <module>PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"),os.getenv("HOST_SYS"))
TypeError: expected a character buffer object
cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
make: *** [python/perf.so] Error 1
make: Leaving directory `/build/n450-denziERROR: Function failed:do_compile_perf(see /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
ERROR:oe_runmakefailed_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 39 lines · Tom Zanussi
Quoted 28 lines · jfabernathy
Since I started over on my build from the long thread on this subject, I thought I'd start another thread on the issue.
I took the tarball for poky-denzil-7.0 and extracted it into my home directory. After cd'ing into poky-denzil-7.0, I extracted the n450-denzil-7.0 tarball.
I setup to run a standard default n450 core-image-sato, only changing the linux-yocto_3.2.bbappend by adding in:
SRCREV_machine_pn-linux-yocto_n450 =
"9d32bb075e349cc69c7af42b60f6715c5d8c972e"
SRCREV_meta_pn-linux-yocto_n450 ?=
"ee78519365bdb25287703bbc31c06b193263c654"I still get build errors similar to the ones I got with the git repository cloned poky. Log file below:
NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf
CC=i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic
-mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450
LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450
prefix=/usr NO_NEWT=1 NO_DWARF=1
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. PleaseQuoted 8 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.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. Please
install libperl-dev or perl-devel
Quoted 3 lines
Yeah, you're still getting the new kernel commits, though you shouldn't be, I'll try the same thing here...
I tried the same thing here, poky denzil and n450 denzil and it built fine with no changes at all.
Somehow your setup is causing the last SRCREVS to be picked up instead of what should be - since n450 specifies no SRCREVs, the default SRCREVs from linux-yocto_3.2.bb should be getting picked up, and you should see those in the build directory name for the kernel as well:
recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_meta ?= "b14a08f5c7b469a5077c10942f4e1aec171faa9d" recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_machine ?= "01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a"
build/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+b14a08f5c7b469a5077c10942f4e1aec171faa9d_1+01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a-r1
Since the default SRCREVs use ?= to assign, the likely problem is that you already have them assigned to something else before those.
Tom
Quoted 117 lines
Tom
Quoted 114 lines
GEN
common-cmds.h
* new build flags or prefix
CC perf.o
CC builtin-annotate.o
CC builtin-bench.o
CCbench/sched-messaging.o
CCbench/sched-pipe.o
CCbench/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
CCutil/abspath.o
CCutil/alias.o
CCutil/annotate.o
CCutil/build-id.o
CCutil/config.o
CCutil/ctype.o
CCutil/debugfs.o
CCutil/environment.o
CCutil/event.o
CCutil/evlist.o
CCutil/evsel.o
CCutil/exec_cmd.o
CCutil/help.o
CCutil/levenshtein.o
CCutil/parse-options.o
CCutil/parse-events.o
CCutil/path.o
CCutil/rbtree.o
CCutil/bitmap.o
CCutil/hweight.o
CCutil/run-command.o
CCutil/quote.o
CCutil/strbuf.o
CCutil/string.o
CCutil/strlist.o
CCutil/strfilter.o
CCutil/top.o
CCutil/usage.o
CCutil/wrapper.o
CCutil/sigchain.o
CCutil/symbol.o
CCutil/color.o
CCutil/pager.o
CCutil/header.o
CCutil/callchain.o
CCutil/values.o
CCutil/debug.o
CCutil/map.o
CCutil/pstack.o
CCutil/session.o
CCutil/thread.o
CCutil/thread_map.o
CCutil/trace-event-parse.o
CCutil/trace-event-read.o
CCutil/trace-event-info.o
CCutil/trace-event-scripting.o
CCutil/svghelper.o
CCutil/sort.o
CCutil/hist.o
CCutil/probe-event.o
CCutil/util.o
CCutil/xyarray.o
CCutil/cpumap.o
CCutil/cgroup.o
CCarch/x86/util/header.o
CCutil/scripting-engines/trace-event-python.o
CCscripts/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 importbuild_extas_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 importcustomize_compiler,get_python_version
File
"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 22, in <module>PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"),os.getenv("HOST_SYS"))
TypeError: expected a character buffer object
cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
make: *** [python/perf.so] Error 1
make: Leaving directory `/build/n450-denziERROR: Function failed:do_compile_perf(see /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
ERROR:oe_runmakefailed_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 55 lines · Tom Zanussi
Quoted 39 lines · Tom Zanussi
Quoted 28 lines · jfabernathy
Since I started over on my build from the long thread on this subject, I thought I'd start another thread on the issue.
I took the tarball for poky-denzil-7.0 and extracted it into my home directory. After cd'ing into poky-denzil-7.0, I extracted the n450-denzil-7.0 tarball.
I setup to run a standard default n450 core-image-sato, only changing the linux-yocto_3.2.bbappend by adding in:
SRCREV_machine_pn-linux-yocto_n450 =
"9d32bb075e349cc69c7af42b60f6715c5d8c972e"
SRCREV_meta_pn-linux-yocto_n450 ?=
"ee78519365bdb25287703bbc31c06b193263c654"I still get build errors similar to the ones I got with the git repository cloned poky. Log file below:
NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf
CC=i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic
-mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450
LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450
prefix=/usr NO_NEWT=1 NO_DWARF=1
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. PleaseQuoted 8 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.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. Please
install libperl-dev or perl-develQuoted 3 lines
Yeah, you're still getting the new kernel commits, though you shouldn't be, I'll try the same thing here...
I tried the same thing here, poky denzil and n450 denzil and it built fine with no changes at all.
Somehow your setup is causing the last SRCREVS to be picked up instead of what should be - since n450 specifies no SRCREVs, the default SRCREVs from linux-yocto_3.2.bb should be getting picked up, and you should see those in the build directory name for the kernel as well:
recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_meta ?= "
b14a08f5c7b469a5077c10942f4e1aec171faa9d" recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_machine ?= "01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a"
Quoted 7 lines
build/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+b14a08f5c7b469a5077c10942f4e1aec171faa9d_1+01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a-r1
Since the default SRCREVs use ?= to assign, the likely problem is that you already have them assigned to something else before those.
Tom
Well, that is strange. Before I started I deleted the /build directory, so there are no previous build on the computer. I deleted the common download area, so there are no previous downloads. I started with the BSP tarballs for poky denzil and n450 denzil.
Not sure where it could be getting assigned. I'm using Ubuntu 12.04.
Jim A
Quoted 119 lines
Quoted 117 lines
Tom
Quoted 114 lines
GEN
common-cmds.h
* new build flags or prefix
CC perf.o
CC builtin-annotate.o
CC builtin-bench.o
CCbench/sched-messaging.o
CCbench/sched-pipe.o
CCbench/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
CCutil/abspath.o
CCutil/alias.o
CCutil/annotate.o
CCutil/build-id.o
CCutil/config.o
CCutil/ctype.o
CCutil/debugfs.o
CCutil/environment.o
CCutil/event.o
CCutil/evlist.o
CCutil/evsel.o
CCutil/exec_cmd.o
CCutil/help.o
CCutil/levenshtein.o
CCutil/parse-options.o
CCutil/parse-events.o
CCutil/path.o
CCutil/rbtree.o
CCutil/bitmap.o
CCutil/hweight.o
CCutil/run-command.o
CCutil/quote.o
CCutil/strbuf.o
CCutil/string.o
CCutil/strlist.o
CCutil/strfilter.o
CCutil/top.o
CCutil/usage.o
CCutil/wrapper.o
CCutil/sigchain.o
CCutil/symbol.o
CCutil/color.o
CCutil/pager.o
CCutil/header.o
CCutil/callchain.o
CCutil/values.o
CCutil/debug.o
CCutil/map.o
CCutil/pstack.o
CCutil/session.o
CCutil/thread.o
CCutil/thread_map.o
CCutil/trace-event-parse.o
CCutil/trace-event-read.o
CCutil/trace-event-info.o
CCutil/trace-event-scripting.o
CCutil/svghelper.o
CCutil/sort.o
CCutil/hist.o
CCutil/probe-event.o
CCutil/util.o
CCutil/xyarray.o
CCutil/cpumap.o
CCutil/cgroup.o
CCarch/x86/util/header.o
CCutil/scripting-engines/trace-event-python.o
CCscripts/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 importbuild_extas_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 importcustomize_compiler,get_python_version
File
"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 22, in <module>PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"),os.getenv("HOST_SYS"))
TypeError: expected a character buffer object
cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
make: *** [python/perf.so] Error 1
make: Leaving directory `/build/n450-denziERROR: Function failed:do_compile_perf(see /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
ERROR:oe_runmakefailed_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 55 lines · Tom Zanussi
Quoted 39 lines · Tom Zanussi
Quoted 28 lines · jfabernathy
Since I started over on my build from the long thread on this subject, I thought I'd start another thread on the issue.
I took the tarball for poky-denzil-7.0 and extracted it into my home directory. After cd'ing into poky-denzil-7.0, I extracted the n450-denzil-7.0 tarball.
I setup to run a standard default n450 core-image-sato, only changing the linux-yocto_3.2.bbappend by adding in:
SRCREV_machine_pn-linux-yocto_n450 =
"9d32bb075e349cc69c7af42b60f6715c5d8c972e"
SRCREV_meta_pn-linux-yocto_n450 ?=
"ee78519365bdb25287703bbc31c06b193263c654"I still get build errors similar to the ones I got with the git repository cloned poky. Log file below:
NOTE: make -C /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf
CC=i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic
-mfpmath=sse --sysroot=/build/n450-denzil/tmp/sysroots/n450
LD=i586-poky-linux-ld --sysroot=/build/n450-denzil/tmp/sysroots/n450
prefix=/usr NO_NEWT=1 NO_DWARF=1
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. PleaseQuoted 8 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.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
make: Entering directory `/build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf' Makefile:493: libperl not found, disables Perl scripting support. Please
install libperl-dev or perl-develQuoted 3 lines
Yeah, you're still getting the new kernel commits, though you shouldn't be, I'll try the same thing here...
I tried the same thing here, poky denzil and n450 denzil and it built fine with no changes at all.
Somehow your setup is causing the last SRCREVS to be picked up instead of what should be - since n450 specifies no SRCREVs, the default SRCREVs from linux-yocto_3.2.bb should be getting picked up, and you should see those in the build directory name for the kernel as well:
recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_meta ?= "
b14a08f5c7b469a5077c10942f4e1aec171faa9d" recipes-kernel/linux/linux-yocto_3.2.bb:SRCREV_machine ?= "01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a"
Quoted 7 lines
build/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+b14a08f5c7b469a5077c10942f4e1aec171faa9d_1+01e948c2bdf7f5ad9f2b30047a8d3493a1a2880a-r1
Since the default SRCREVs use ?= to assign, the likely problem is that you already have them assigned to something else before those.
Tom
I really started over this time. Formatted all 3 drives in my system and did a complete install of Ubuntu 12.04 LTS Desktop x64.
I installed the required tools listed in the current 1.2 version of the QS Guide.
Installed poky-denzil and the n450-denzil from the tarballs.
This time the n450 built correctly.
So the remaining question is what in the host setup, tools or environment variables, could cause this problem. The previous testing complete removed any previous BSP, poky versions, downloads, and builds. very strange!
Jim A
Quoted 119 lines
Quoted 117 lines
Tom
Quoted 114 lines
GEN
common-cmds.h
* new build flags or prefix
CC perf.o
CC builtin-annotate.o
CC builtin-bench.o
CCbench/sched-messaging.o
CCbench/sched-pipe.o
CCbench/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
CCutil/abspath.o
CCutil/alias.o
CCutil/annotate.o
CCutil/build-id.o
CCutil/config.o
CCutil/ctype.o
CCutil/debugfs.o
CCutil/environment.o
CCutil/event.o
CCutil/evlist.o
CCutil/evsel.o
CCutil/exec_cmd.o
CCutil/help.o
CCutil/levenshtein.o
CCutil/parse-options.o
CCutil/parse-events.o
CCutil/path.o
CCutil/rbtree.o
CCutil/bitmap.o
CCutil/hweight.o
CCutil/run-command.o
CCutil/quote.o
CCutil/strbuf.o
CCutil/string.o
CCutil/strlist.o
CCutil/strfilter.o
CCutil/top.o
CCutil/usage.o
CCutil/wrapper.o
CCutil/sigchain.o
CCutil/symbol.o
CCutil/color.o
CCutil/pager.o
CCutil/header.o
CCutil/callchain.o
CCutil/values.o
CCutil/debug.o
CCutil/map.o
CCutil/pstack.o
CCutil/session.o
CCutil/thread.o
CCutil/thread_map.o
CCutil/trace-event-parse.o
CCutil/trace-event-read.o
CCutil/trace-event-info.o
CCutil/trace-event-scripting.o
CCutil/svghelper.o
CCutil/sort.o
CCutil/hist.o
CCutil/probe-event.o
CCutil/util.o
CCutil/xyarray.o
CCutil/cpumap.o
CCutil/cgroup.o
CCarch/x86/util/header.o
CCutil/scripting-engines/trace-event-python.o
CCscripts/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 importbuild_extas_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 importcustomize_compiler,get_python_version
File
"/build/n450-denzil/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 22, in <module>PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"),os.getenv("HOST_SYS"))
TypeError: expected a character buffer object
cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
make: *** [python/perf.so] Error 1
make: Leaving directory `/build/n450-denziERROR: Function failed:do_compile_perf(see /build/n450-denzil/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/temp/log.do_compile_perf.11461 for further information) l/tmp/work/n450-poky-linux/linux-yocto-3.2.11+git1+ee78519365bdb25287703bbc31c06b193263c654_1+9d32bb075e349cc69c7af42b60f6715c5d8c972e-r1/linux/tools/perf'
ERROR:oe_runmakefailed_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto