<div dir="ltr"><div>I believe I have identified and corrected the issues in the recipe and top level Makefile. However as an OE / bitibake newbie I am having some issues with building/testing on qemux86, and building for our internal purposes on ARM never seemed to show the problems. I am currently focused on this, expect to get some local assistance with the hurdles and hopefully will have some closure today.<br>
<br></div>Gary Robertson<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 11:08 PM, Saul Wold <span dir="ltr"><<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 05/09/2014 02:59 PM, Saul Wold wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 04/24/2014 03:09 PM, <a href="mailto:gary.robertson@linaro.org" target="_blank">gary.robertson@linaro.org</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Anders Roxell <<a href="mailto:anders.roxell@linaro.org" target="_blank">anders.roxell@linaro.org</a>><br>
<br>
cyclictest was updated to correct some problems with CPU affinity<br>
selection<br>
and display of help and/or execution details.<br>
These patches were accepted by the maintainer of the cyclictest utility.<br>
The changes were reflected in an updated release of rt-tests - v0.89<br>
The cyclictest changes were successfully tested on both an ARM v7 and<br>
x86_64<br>
host environment.<br>
The OE recipe was updated locally to incorporate the newer rt-tests<br>
release<br>
and the resulting builds were verified for the same ARM v7 target<br>
and for qemux86.<br>
Patch files obsoleted by the rt-tests 0.89 release were removed from<br>
the recipe<br>
deleted:<br>
meta/recipes-rt/rt-tests/<u></u>files/0001-rt-tests-Allow-for-<u></u>user-specified-PYLIB.patch<br>
<br>
deleted:<br>
meta/recipes-rt/rt-tests/<u></u>files/0002-rt-tests-Break-out-<u></u>install_hwlatdetect.patch<br>
<br>
</blockquote>
Did you test build hwlatdetect? This seems to break the install process<br>
for hwlatdetect which was part of this patch.<br>
<br>
There is also some additional files installed but not shipped in<br>
/usr/src/backfile.<br>
<br>
Please test with hwlatdetect also.<br>
<br>
</blockquote>
<br></div></div>
This issue has not been addressed yet and is causing build failures, can you please look into this.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ERROR: Function failed: do_install (log file is located at /home/pokybuild/yocto-<u></u>autobuilder/yocto-slave/<u></u>nightly-world/build/build/tmp/<u></u>work/x86-pokymllib32-linux/<u></u>lib32-hwlatdetect/0.85-r0/<u></u>temp/log.do_install.7871)<br>
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-<u></u>autobuilder/yocto-slave/<u></u>nightly-world/build/build/tmp/<u></u>work/x86-pokymllib32-linux/<u></u>lib32-hwlatdetect/0.85-r0/<u></u>temp/log.do_install.7871<br>
Log data follows:<br>
| DEBUG: Executing shell function do_install<br>
| NOTE: make -j 16 NUMA=0 PYLIB=/usr/lib/python2.7/dist-<u></u>packages install_hwlatdetect DESTDIR=/home/pokybuild/yocto-<u></u>autobuilder/yocto-slave/<u></u>nightly-world/build/build/tmp/<u></u>work/x86-pokymllib32-linux/<u></u>lib32-hwlatdetect/0.85-r0/<u></u>image SBINDIR=/usr/sbin MANDIR=/usr/share/man INCLUDEDIR=/usr/include<br>
| make: *** No rule to make target `install_hwlatdetect'. Stop.<br>
| ERROR: oe_runmake failed<br>
</blockquote>
<br>
<br>
Thanks<br>
Sau!<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks<br>
Sau!<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
deleted:<br>
meta/recipes-rt/rt-tests/<u></u>files/added-missing-<u></u>dependencies.patch<br>
<br>
Signed-off-by: Anders Roxell <<a href="mailto:anders.roxell@linaro.org" target="_blank">anders.roxell@linaro.org</a>><br>
Signed-off-by: Gary S. Robertson <<a href="mailto:gary.robertson@linaro.org" target="_blank">gary.robertson@linaro.org</a>><br>
---<br>
...1-rt-tests-Allow-for-user-<u></u>specified-PYLIB.patch | 35 ----------<br>
...02-rt-tests-Break-out-<u></u>install_hwlatdetect.patch | 68<br>
--------------------<br>
.../files/added-missing-<u></u>dependencies.patch | 50<br>
--------------<br>
meta/recipes-rt/rt-tests/rt-<u></u>tests.inc | 7 +-<br>
.../{<a href="http://rt-tests_0.87.bb" target="_blank">rt-tests_0.87.bb</a> => <a href="http://rt-tests_0.89.bb" target="_blank">rt-tests_0.89.bb</a>} | 0<br>
5 files changed, 2 insertions(+), 158 deletions(-)<br>
delete mode 100644<br>
meta/recipes-rt/rt-tests/<u></u>files/0001-rt-tests-Allow-for-<u></u>user-specified-PYLIB.patch<br>
<br>
delete mode 100644<br>
meta/recipes-rt/rt-tests/<u></u>files/0002-rt-tests-Break-out-<u></u>install_hwlatdetect.patch<br>
<br>
delete mode 100644<br>
meta/recipes-rt/rt-tests/<u></u>files/added-missing-<u></u>dependencies.patch<br>
rename meta/recipes-rt/rt-tests/{<a href="http://rt-tests_0.87.bb" target="_blank">rt-<u></u>tests_0.87.bb</a> =><br>
<a href="http://rt-tests_0.89.bb" target="_blank">rt-tests_0.89.bb</a>} (100%)<br>
<br>
diff --git<br>
a/meta/recipes-rt/rt-tests/<u></u>files/0001-rt-tests-Allow-for-<u></u>user-specified-PYLIB.patch<br>
b/meta/recipes-rt/rt-tests/<u></u>files/0001-rt-tests-Allow-for-<u></u>user-specified-PYLIB.patch<br>
<br>
deleted file mode 100644<br>
index 8b493eb..0000000<br>
---<br>
a/meta/recipes-rt/rt-tests/<u></u>files/0001-rt-tests-Allow-for-<u></u>user-specified-PYLIB.patch<br>
<br>
+++ /dev/null<br>
@@ -1,35 +0,0 @@<br>
-From 66765522b634952346f1a3ab7d00c7<u></u>222a1f9361 Mon Sep 17 00:00:00 2001<br>
-Message-Id:<br>
<<a href="mailto:66765522b634952346f1a3ab7d00c7222a1f9361.1347419597.git.dvhart@linux.intel.com" target="_blank">66765522b634952346f1a3ab7d00c<u></u>7222a1f9361.1347419597.git.<u></u>dvhart@linux.intel.com</a>><br>
<br>
-From: Darren Hart <<a href="mailto:dvhart@linux.intel.com" target="_blank">dvhart@linux.intel.com</a>><br>
-Date: Tue, 11 Sep 2012 15:19:30 -0700<br>
-Subject: [PATCH 1/2] rt-tests: Allow for user-specified PYLIB<br>
-<br>
-Upstream-Status: Submitted<br>
-<br>
-Allow users (build systems) to specify PYLIB. This allows for a<br>
-cross-build-system to specify the target PYLIB rather than the host<br>
-PYLIB.<br>
-<br>
-Signed-off-by: Darren Hart <<a href="mailto:dvhart@linux.intel.com" target="_blank">dvhart@linux.intel.com</a>><br>
-CC: Clark Williams <<a href="mailto:williams@redhat.com" target="_blank">williams@redhat.com</a>><br>
-CC: John Kacur <<a href="mailto:jkacur@redhat.com" target="_blank">jkacur@redhat.com</a>><br>
----<br>
- Makefile | 2 +-<br>
- 1 file changed, 1 insertion(+), 1 deletion(-)<br>
-<br>
-diff --git a/Makefile b/Makefile<br>
-index 3a82407..61e2f9f 100644<br>
---- a/Makefile<br>
-+++ b/Makefile<br>
-@@ -23,7 +23,7 @@ endif<br>
- CFLAGS ?= -D_GNU_SOURCE -Wall -Wno-nonnull -Isrc/include<br>
- LDFLAGS ?=<br>
-<br>
--PYLIB := $(shell python -c 'import distutils.sysconfig; print<br>
distutils.sysconfig.get_<u></u>python_lib()')<br>
-+PYLIB ?= $(shell python -c 'import distutils.sysconfig; print<br>
distutils.sysconfig.get_<u></u>python_lib()')<br>
-<br>
- ifndef DEBUG<br>
- CFLAGS += -O2<br>
---<br>
-1.7.11.4<br>
-<br>
diff --git<br>
a/meta/recipes-rt/rt-tests/<u></u>files/0002-rt-tests-Break-out-<u></u>install_hwlatdetect.patch<br>
b/meta/recipes-rt/rt-tests/<u></u>files/0002-rt-tests-Break-out-<u></u>install_hwlatdetect.patch<br>
<br>
deleted file mode 100644<br>
index bc6136f..0000000<br>
---<br>
a/meta/recipes-rt/rt-tests/<u></u>files/0002-rt-tests-Break-out-<u></u>install_hwlatdetect.patch<br>
<br>
+++ /dev/null<br>
@@ -1,68 +0,0 @@<br>
-From af93e580d005a2bba6ed36528003af<u></u>4cf631adb8 Mon Sep 17 00:00:00 2001<br>
-Message-Id:<br>
<<a href="mailto:af93e580d005a2bba6ed36528003af4cf631adb8.1347419597.git.dvhart@linux.intel.com" target="_blank">af93e580d005a2bba6ed36528003a<u></u>f4cf631adb8.1347419597.git.<u></u>dvhart@linux.intel.com</a>><br>
<br>
-In-Reply-To:<br>
<<a href="mailto:66765522b634952346f1a3ab7d00c7222a1f9361.1347419597.git.dvhart@linux.intel.com" target="_blank">66765522b634952346f1a3ab7d00c<u></u>7222a1f9361.1347419597.git.<u></u>dvhart@linux.intel.com</a>><br>
<br>
-References:<br>
<<a href="mailto:66765522b634952346f1a3ab7d00c7222a1f9361.1347419597.git.dvhart@linux.intel.com" target="_blank">66765522b634952346f1a3ab7d00c<u></u>7222a1f9361.1347419597.git.<u></u>dvhart@linux.intel.com</a>><br>
<br>
-From: Darren Hart <<a href="mailto:dvhart@linux.intel.com" target="_blank">dvhart@linux.intel.com</a>><br>
-Date: Tue, 11 Sep 2012 14:51:10 -0700<br>
-Subject: [PATCH 2/2] rt-tests: Break out install_hwlatdetect<br>
-<br>
-Upstream-Status: Submitted<br>
-<br>
-Allow hwlatdetect to be installed independently of the rest of the<br>
-tests. This is convenient for build systems that package it separately<br>
-due to the python dependency.<br>
-<br>
-Signed-off-by: Darren Hart <<a href="mailto:dvhart@linux.intel.com" target="_blank">dvhart@linux.intel.com</a>><br>
-CC: Clark Williams <<a href="mailto:williams@redhat.com" target="_blank">williams@redhat.com</a>><br>
-CC: John Kacur <<a href="mailto:jkacur@redhat.com" target="_blank">jkacur@redhat.com</a>><br>
----<br>
- Makefile | 18 +++++++++++-------<br>
- 1 file changed, 11 insertions(+), 7 deletions(-)<br>
-<br>
-diff --git a/Makefile b/Makefile<br>
-index 61e2f9f..636e63b 100644<br>
---- a/Makefile<br>
-+++ b/Makefile<br>
-@@ -119,21 +119,15 @@ changelog:<br>
- git log >ChangeLog<br>
-<br>
- .PHONY: install<br>
--install: all<br>
-+install: all install_hwlatdetect<br>
- mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man4"<br>
- mkdir -p "$(DESTDIR)$(srcdir)" "$(DESTDIR)$(mandir)/man8"<br>
- cp $(TARGETS) "$(DESTDIR)$(bindir)"<br>
-- if test -n "$(PYLIB)" ; then \<br>
-- install -D -m 755 src/hwlatdetect/hwlatdetect.py<br>
$(DESTDIR)$(PYLIB)/<u></u>hwlatdetect.py ; \<br>
-- rm -f "$(DESTDIR)$(bindir)/<u></u>hwlatdetect" ; \<br>
-- ln -s $(PYLIB)/hwlatdetect.py<br>
"$(DESTDIR)$(bindir)/<u></u>hwlatdetect" ; \<br>
-- fi<br>
- install -D -m 644 src/backfire/backfire.c<br>
"$(DESTDIR)$(srcdir)/backfire/<u></u>backfire.c"<br>
- install -m 644 src/backfire/Makefile<br>
"$(DESTDIR)$(srcdir)/backfire/<u></u>Makefile"<br>
- gzip src/backfire/backfire.4 -c<br>
>"$(DESTDIR)$(mandir)/man4/<u></u>backfire.4.gz"<br>
- gzip src/cyclictest/cyclictest.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/<u></u>cyclictest.8.gz"<br>
- gzip src/pi_tests/pi_stress.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/pi_<u></u>stress.8.gz"<br>
-- gzip src/hwlatdetect/hwlatdetect.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/<u></u>hwlatdetect.8.gz"<br>
- gzip src/ptsematest/ptsematest.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/<u></u>ptsematest.8.gz"<br>
- gzip src/sigwaittest/sigwaittest.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/<u></u>sigwaittest.8.gz"<br>
- gzip src/svsematest/svsematest.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/<u></u>svsematest.8.gz"<br>
-@@ -141,6 +135,16 @@ install: all<br>
- gzip src/backfire/sendme.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/<u></u>sendme.8.gz"<br>
- gzip src/hackbench/hackbench.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/<u></u>hackbench.8.gz"<br>
-<br>
-+.PHONY: install_hwlatdetect<br>
-+install_hwlatdetect: hwlatdetect<br>
-+ if test -n "$(PYLIB)" ; then \<br>
-+ mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man8" ; \<br>
-+ install -D -m 755 src/hwlatdetect/hwlatdetect.py<br>
$(DESTDIR)$(PYLIB)/<u></u>hwlatdetect.py ; \<br>
-+ rm -f "$(DESTDIR)$(bindir)/<u></u>hwlatdetect" ; \<br>
-+ ln -s $(PYLIB)/hwlatdetect.py<br>
"$(DESTDIR)$(bindir)/<u></u>hwlatdetect" ; \<br>
-+ gzip src/hwlatdetect/hwlatdetect.8 -c<br>
>"$(DESTDIR)$(mandir)/man8/<u></u>hwlatdetect.8.gz" ; \<br>
-+ fi<br>
-+<br>
- .PHONY: release<br>
- release: clean changelog<br>
- mkdir -p releases<br>
---<br>
-1.7.11.4<br>
-<br>
diff --git<br>
a/meta/recipes-rt/rt-tests/<u></u>files/added-missing-<u></u>dependencies.patch<br>
b/meta/recipes-rt/rt-tests/<u></u>files/added-missing-<u></u>dependencies.patch<br>
deleted file mode 100644<br>
index e420282..0000000<br>
--- a/meta/recipes-rt/rt-tests/<u></u>files/added-missing-<u></u>dependencies.patch<br>
+++ /dev/null<br>
@@ -1,50 +0,0 @@<br>
-From 82d28701486ba5a699544a168448bf<u></u>93b1ccd7b1 Mon Sep 17 00:00:00 2001<br>
-From: Jackie Huang <<a href="mailto:jackie.huang@windriver.com" target="_blank">jackie.huang@windriver.com</a>><br>
-Date: Thu, 6 Dec 2012 11:26:14 +0800<br>
-Subject: [PATCH] Added missing dependencies<br>
-<br>
-Upstream-Status: Submitted [linux-rt-users]<br>
-<br>
-The following targets missed dependency on librttest.a:<br>
-pi_stress<br>
-rt-migrate-test<br>
-hackbench<br>
-<br>
-Signed-off-by: Jackie Huang <<a href="mailto:jackie.huang@windriver.com" target="_blank">jackie.huang@windriver.com</a>><br>
----<br>
- Makefile | 6 +++---<br>
- 1 file changed, 3 insertions(+), 3 deletions(-)<br>
-<br>
-diff --git a/Makefile b/Makefile<br>
-index fd3cdb3..60707a7 100644<br>
---- a/Makefile<br>
-+++ b/Makefile<br>
-@@ -68,14 +68,14 @@ cyclictest: cyclictest.o librttest.a<br>
- signaltest: signaltest.o librttest.a<br>
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)<br>
-<br>
--pi_stress: pi_stress.o<br>
-+pi_stress: pi_stress.o librttest.a<br>
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)<br>
-<br>
- hwlatdetect: src/hwlatdetect/hwlatdetect.py<br>
- chmod +x src/hwlatdetect/hwlatdetect.py<br>
- ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect<br>
-<br>
--rt-migrate-test: rt-migrate-test.o<br>
-+rt-migrate-test: rt-migrate-test.o librttest.a<br>
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)<br>
-<br>
- ptsematest: ptsematest.o librttest.a<br>
-@@ -96,7 +96,7 @@ sendme: sendme.o librttest.a<br>
- pip_stress: pip_stress.o librttest.a<br>
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)<br>
-<br>
--hackbench: hackbench.o<br>
-+hackbench: hackbench.o librttest.a<br>
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)<br>
-<br>
- librttest.a: rt-utils.o error.o rt-get_cpu.o<br>
---<br>
-1.7.9.5<br>
-<br>
diff --git a/meta/recipes-rt/rt-tests/rt-<u></u>tests.inc<br>
b/meta/recipes-rt/rt-tests/rt-<u></u>tests.inc<br>
index 81f4f2b..1d876b0 100644<br>
--- a/meta/recipes-rt/rt-tests/rt-<u></u>tests.inc<br>
+++ b/meta/recipes-rt/rt-tests/rt-<u></u>tests.inc<br>
@@ -1,10 +1,7 @@<br>
-# Version v0.87<br>
-SRCREV = "<u></u>b0413ae5ed802004fb0c4af74a1757<u></u>381fd2b91f"<br>
+# Version v0.89<br>
+SRCREV = "<u></u>9164ec4db2645f52ffdd20e6d1b72b<u></u>b0411ab40e"<br>
<br>
SRC_URI =<br>
"git://<a href="http://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git" target="_blank">git.kernel.org/pub/scm/<u></u>linux/kernel/git/clrkwllms/rt-<u></u>tests.git</a> \<br>
- file://0001-rt-tests-Allow-<u></u>for-user-specified-PYLIB.patch \<br>
- file://0002-rt-tests-Break-<u></u>out-install_hwlatdetect.patch \<br>
- file://added-missing-<u></u>dependencies.patch \<br>
file://hackbench-fix-error-<u></u>check.patch \<br>
"<br>
<br>
diff --git a/meta/recipes-rt/rt-tests/<a href="http://rt-tests_0.87.bb" target="_blank">rt-<u></u>tests_0.87.bb</a><br>
b/meta/recipes-rt/rt-tests/<a href="http://rt-tests_0.89.bb" target="_blank">rt-<u></u>tests_0.89.bb</a><br>
similarity index 100%<br>
rename from meta/recipes-rt/rt-tests/<a href="http://rt-tests_0.87.bb" target="_blank">rt-<u></u>tests_0.87.bb</a><br>
rename to meta/recipes-rt/rt-tests/<a href="http://rt-tests_0.89.bb" target="_blank">rt-<u></u>tests_0.89.bb</a><br>
<br>
</blockquote></blockquote>
</div></div></blockquote></div><br></div>