Skip to contentSkip to conversation

libuser: Fix case where ${B} != ${S}

PATCH In review Richard Purdie 6 participants 27 messages Mar 21, 2013 – Mar 23, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/16 libuser: Fix case where ${B} != ${S}

Fix out of tree builds and a parallel make race, see the patch header for details.

---
 .../libuser/libuser/fixsepbuild.patch              |   26 ++++++++++++++++++++
 meta/recipes-extended/libuser/libuser_0.58.bb      |    3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-extended/libuser/libuser/fixsepbuild.patch
meta/recipes-extended/libuser/libuser/fixsepbuild.patch new file +26 -0
new file mode 100644
index 0000000..27e6bc6
@@ -0,0 +1,26 @@
+Fix out of tree build errors and parallel make issues. The mkdir commands 
+can race each other. The srcdir variable is a complete path so a ../ prefix makes
+no sense.
+
+Upstream-Status: Pending
+
+RP 2013/03/21
+
+Index: libuser/docs/Makefile.am
+===================================================================
+--- libuser/docs.orig/Makefile.am	2012-11-08 02:25:58.000000000 +0000
++++ libuser/docs/Makefile.am	2013-03-21 14:15:40.756950231 +0000
+@@ -13,9 +13,9 @@
+ 		< $(srcdir)/libuser.conf.5.in > $@
+ 
+ sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml
+-	[ -d sgml ] || mkdir sgml
+-	cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml
++	[ -d sgml ] || mkdir sgml || true
++	cd sgml; sgml2txt $(srcdir)/sgml/libuser.sgml
+ 
+ sgml/libuser.html: $(srcdir)/sgml/libuser.sgml
+-	[ -d sgml ] || mkdir sgml
+-	cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml
++	[ -d sgml ] || mkdir sgml || true
++	cd sgml; sgml2html $(srcdir)/sgml/libuser.sgml
meta/recipes-extended/libuser/libuser_0.58.bb +2 -1
index fbd3dd5..c1fe49d 100644
@@ -11,7 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
 
 SECTION = "base"
 
-SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz"
+SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \
+           file://fixsepbuild.patch"
 
 SRC_URI[md5sum] = "1fc3ef3f3a3955b2d78562ff4daed793"
 SRC_URI[sha256sum] = "12a0c09d016d80687e04227a00a89e3c056d3b48bfa2444a9028e6474d8e1dbd"
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/16 pam: Fix case where ${B} != ${S}

---
 meta/recipes-extended/pam/libpam/fixsepbuild.patch |   24 ++++++++++++++++++++
 meta/recipes-extended/pam/libpam_1.1.6.bb          |    1 +
 2 files changed, 25 insertions(+)
 create mode 100644 meta/recipes-extended/pam/libpam/fixsepbuild.patch
meta/recipes-extended/pam/libpam/fixsepbuild.patch new file +3 -0
new file mode 100644
index 0000000..8a9c3b2
@@ -0,0 +1,24 @@
+Fix the build error when a separate build directory is used:
+
+Making install in xtestsmake[1]: Entering directory `/media/build1/poky/build1/tmp/work/i586-poky-linux/libpam/1.1.6-r2/build/xtests'/usr/bin/install -c -d /media/build1/poky/build1/tmp/work/i586-poky-linux/libpam/1.1.6-r2/image/usr/share/Linux-PAM/xtestsfor file in run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd tst-pam_dispatch5.pamd tst-pam_cracklib1.pamd tst-pam_cracklib2.pamd tst-pam_unix1.pamd tst-pam_unix2.pamd tst-pam_unix3.pamd tst-pam_unix4.pamd tst-pam_unix1.sh tst-pam_unix2.sh tst-pam_unix3.sh tst-pam_unix4.sh access.conf tst-pam_access1.pamd tst-pam_access1.sh tst-pam_access2.pamd tst-pam_access2.sh tst-pam_access3.pamd tst-pam_access3.sh tst-pam_access4.pamd tst-pam_access4.sh limits.conf tst-pam_limits1.pamd tst-pam_limits1.sh tst-pam_succeed_if1.pamd tst-pam_succeed_if1.sh group.conf tst-pam_group1.pamd tst-pam_group1.sh tst-pam_authfail.pamd tst-pam_authsucceed.pamd tst-pam_substack1.pamd tst-pam_sub!

stack1a.pamd tst-pam_substack1.sh tst-pam_substack2.pamd tst-pam_substack2a.pamd tst-pam_substack2.sh tst-pam_substack3.pamd tst-pam_substack3a.pamd tst-pam_substack3.sh tst-pam_substack4.pamd tst-pam_substack4a.pamd tst-pam_substack4.sh tst-pam_substack5.pamd tst-pam_substack5a.pamd tst-pam_substack5.sh tst-pam_assemble_line1.pamd tst-pam_assemble_line1.sh tst-pam_pwhistory1.pamd tst-pam_pwhistory1.sh tst-pam_time1.pamd time.conf ; do \/usr/bin/install -c $file /media/build1/poky/build1/tmp/work/i586-poky-linux/libpam/1.1.6-r2/image/usr/share/Linux-PAM/xtests ; \ done
+/usr/bin/install: cannot stat run-xtests.sh': No such file or directory +/usr/bin/install: cannot stat tst-pam_dispatch1.pamd': No such file or directory +/usr/bin/install: cannot stat `tst-pam_dispatch2.pamd': No such file or directory +
+Upstream-Status: Pending
+
+RP 2013/03/21
+
+Index: Linux-PAM-1.1.6/xtests/Makefile.am

+===================================================================
+--- Linux-PAM-1.1.6.orig/xtests/Makefile.am	2013-03-08 12:26:30.360266000 +0000

++++ Linux-PAM-1.1.6/xtests/Makefile.am 2013-03-21 11:39:58.557166650 +0000
+@@ -59,7 +59,7 @@
+ install_xtests:
+ $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/xtests
+ for file in $(EXTRA_DIST) ; do \
+- $(INSTALL) $$file $(DESTDIR)$(pkgdatadir)/xtests ; \
++ $(INSTALL) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \
+ done
+ for file in $(XTESTS); do \
+ $(INSTALL) .libs/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \

meta/recipes-extended/pam/libpam_1.1.6.bb +1 -0
index 93c98c0..9a49c50 100644
@@ -14,6 +14,7 @@ SRC_URI = "http://linux-pam.org/library/Linux-PAM-${PV}.tar.bz2 \
            file://pam.d/* \
            file://libpam-xtests.patch \
            file://destdirfix.patch \
+           file://fixsepbuild.patch \
           "
 SRC_URI[md5sum] = "7b73e58b7ce79ffa321d408de06db2c4"
 SRC_URI[sha256sum] = "bab887d6280f47fc3963df3b95735a27a16f0f663636163ddf3acab5f1149fc2"
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 3/16 watchdog: Fix case where ${B} != ${S}

In reply to Richard Purdie
---
 .../watchdog/files/fixsepbuild.patch               |   27 ++++++++++++++++++++
 meta/recipes-extended/watchdog/watchdog_5.13.bb    |    1 +
 2 files changed, 28 insertions(+)
 create mode 100644 meta/recipes-extended/watchdog/files/fixsepbuild.patch
meta/recipes-extended/watchdog/files/fixsepbuild.patch new file +27 -0
new file mode 100644
index 0000000..2fad3a1
@@ -0,0 +1,27 @@
+Fix out of tree build support:
+
+| installing /etc/watchdog.conf
+|  /bin/mkdir -p '/media/build1/poky/build/tmp/work/i586-poky-linux/watchdog/5.13-r0/image/usr/share/man/man5'
+|  /bin/mkdir -p '/media/build1/poky/build/tmp/work/i586-poky-linux/watchdog/5.13-r0/image/usr/share/man/man8'
+|  /usr/bin/install -c -m 644 /media/build1/poky/build/tmp/work/i586-poky-linux/watchdog/5.13-r0/watchdog-5.13/watchdog.conf.5 '/media/build1/poky/build/tmp/work/i586-poky-linux/watchdog/5.13-r0/image/usr/share/man/man5'
+|  /usr/bin/install -c -m 644 /media/build1/poky/build/tmp/work/i586-poky-linux/watchdog/5.13-r0/watchdog-5.13/watchdog.8 /media/build1/poky/build/tmp/work/i586-poky-linux/watchdog/5.13-r0/watchdog-5.13/wd_keepalive.8 /media/build1/poky/build/tmp/work/i586-poky-linux/watchdog/5.13-r0/watchdog-5.13/wd_identify.8 '/media/build1/poky/build/tmp/work/i586-poky-linux/watchdog/5.13-r0/image/usr/share/man/man8'
+| /usr/bin/install: cannot stat `watchdog.conf': No such file or directory
+| make[2]: *** [install-etc-local] Error 1
+
+Upstream-Status: Pending
+
+RP 2013/03/21
+
+Index: watchdog-5.13/Makefile.am
+===================================================================
+--- watchdog-5.13.orig/Makefile.am	2013-02-01 11:15:44.000000000 +0000
++++ watchdog-5.13/Makefile.am	2013-03-21 11:59:35.637139031 +0000
+@@ -16,7 +16,7 @@
+ 	else \
+ 	        echo "installing $(CONFIG_FILENAME)"; \
+ 		$(mkinstalldirs) `dirname $(DESTDIR)$(CONFIG_FILENAME)`; \
+-	        $(INSTALL_DATA) watchdog.conf $(DESTDIR)$(CONFIG_FILENAME); \
++	        $(INSTALL_DATA) $(srcdir)/watchdog.conf $(DESTDIR)$(CONFIG_FILENAME); \
+ 	fi
+ 
+ install-data-local: install-etc-local
meta/recipes-extended/watchdog/watchdog_5.13.bb +1 -0
index 610e473..b9e29d2 100644
@@ -9,6 +9,7 @@ LICENSE = "GPL-2.0+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ecc0551bf54ad97f6b541720f84d6569"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \
+           file://fixsepbuild.patch \
 	   file://fix-ping-failure.patch"
 SRC_URI[md5sum] = "153455f008f1cf8f65f6ad9586a21ff1"
 SRC_URI[sha256sum] = "141e0faf3ee4d8187a6ff4e00b18ef7b7a4ce432a2d4c8a6e6fdc62507fc6eb0"
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 4/16 texinfo: Fix case where ${B} != ${S}

In reply to Richard Purdie

The install function needs to reference generated files in ${B}.

---
 meta/recipes-extended/texinfo/texinfo_4.13a.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/texinfo/texinfo_4.13a.bb +1 -1
index 960cc5e..febb85a 100644
@@ -43,7 +43,7 @@ do_compile_prepend() {
 
 do_install_append() {
 	mkdir -p ${D}${datadir}/${tex_texinfo}
-	install -p -m644 doc/texinfo.tex doc/txi-??.tex ${D}${datadir}/${tex_texinfo} 	
+	install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo} 	
 }
 do_install_append_class-native() {
 	install -m 755 info/makedoc ${D}${bindir}
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 5/16 xinted: Fix case where ${B} != ${S}

In reply to Richard Purdie

do_install needs to reference files in ${B} and we need to run do_configuze in ${S}.

---
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +3 -3
index 87ea2b1..7976570 100644
@@ -34,7 +34,7 @@ PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers"
 do_configure() {
 	# Looks like configure.in is broken, so we are skipping
 	# rebuilding configure and are just using the shipped one
-	gnu-configize --force
+	( cd ${S}; gnu-configize --force )
 	oe_runconf
 }
 
@@ -49,8 +49,8 @@ do_install() {
 	install -m 644 "${WORKDIR}/xinetd.conf" "${D}${sysconfdir}"
 	install -m 755 "${WORKDIR}/xinetd.init" "${D}${sysconfdir}/init.d/xinetd"
 	install -m 644 "${WORKDIR}/xinetd.default" "${D}${sysconfdir}/default/xinetd"
-	install -m 755 "${S}/xinetd/xinetd" "${D}${sbindir}"
-	install -m 755 "${S}/xinetd/itox" "${D}${sbindir}"
+	install -m 755 "${B}/xinetd/xinetd" "${D}${sbindir}"
+	install -m 755 "${B}/xinetd/itox" "${D}${sbindir}"
 }
 
 CONFFILES_${PN} = "${sysconfdir}/xinetd.conf"
Signature · 1 line
1.7.10.4
#5 lore raw

PATCH 6/16 dpkg: Fix case where ${B} != ${S}

In reply to Richard Purdie

Add missing path component to make out of tree builds work.

---
 meta/recipes-devtools/dpkg/dpkg.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/dpkg/dpkg.inc +1 -1
index cdecd19..6bb1e16 100644
@@ -30,7 +30,7 @@ EXTRA_OECONF = "--without-static-progs \
 		--without-sgml-doc"
 
 do_configure () {
-    echo >> m4/compiler.m4
+    echo >> ${S}/m4/compiler.m4
     sed -i -e 's#PERL_LIBDIR=.*$#PERL_LIBDIR="${libdir}/perl"#' ${S}/configure
     autotools_do_configure
 }
Signature · 1 line
1.7.10.4
#6 lore raw

PATCH 7/16 python-pygtk: Fix case where ${B} != ${S}

In reply to Richard Purdie

Fix out of tree builds by adding missing path component.

---
 meta/recipes-devtools/python/python-pygtk_2.24.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python-pygtk_2.24.0.bb +1 -1
index 624d924..0342f82 100644
@@ -35,7 +35,7 @@ do_configure_prepend() {
 		-e s:'`$PKG_CONFIG --variable codegendir pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/codegen\":g \
 		-e s:'`$PKG_CONFIG --variable=fixxref pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/xsl/fixxref.py\":g \
 		${S}/configure.ac
-	sed -i 's:tests docs:tests:' Makefile.am
+	sed -i 's:tests docs:tests:' ${S}/Makefile.am
 }
 
 # dirty fix #1: remove dependency on python-pygobject-dev
Signature · 1 line
1.7.10.4
#7 lore raw

PATCH 8/16 rpm: Fix case where ${B} != ${S}

In reply to Richard Purdie

We need to run sutogen.sh in the correct directory (${S}).

---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/rpm/rpm_5.4.9.bb +1 -1
index 6286771..ba24111 100644
@@ -360,7 +360,7 @@ do_configure() {
 	# Disable tests!
 	echo "all:" > ${S}/tests/Makefile.am
 
-	${S}/autogen.sh
+	( cd ${S}; ${S}/autogen.sh )
 
 	# NASTY hack to make sure configure files the right pkg-config file...
 	sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \
Signature · 1 line
1.7.10.4
#8 lore raw

PATCH 9/16 pm-utils: Fix case where ${B} != ${S}

In reply to Richard Purdie

Change to the correct directory to execute gnu-configize.

---
 meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb +1 -1
index faa0e4e..961d7dd 100644
@@ -19,7 +19,7 @@ inherit pkgconfig autotools
 RDEPENDS_${PN} = "grep"
 
 do_configure_prepend () {
-	autoreconf -f -i -s
+	( cd ${S}; autoreconf -f -i -s )
 }
 
 FILES_${PN} += "${libdir}/${BPN}/*"
Signature · 1 line
1.7.10.4
#9 lore raw

PATCH 10/16 lzop: Fix case where ${B} != ${S}

In reply to Richard Purdie

Remove path assumptions and ensure out of tree builds work.

---
 meta/recipes-support/lzop/lzop_1.03.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/lzop/lzop_1.03.bb +1 -1
index 63a2a62..8b5756a 100644
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "c1425b8c77d49f5a679d5a126c90ea6ad99585a55e335a613cae59e909
 inherit autotools
 
 do_configure () {
-    ln -sf ../acinclude.m4
+    ln -sf  ../acinclude.m4 ${S}/acinclude.m4
     autotools_do_configure
 }
 
Signature · 1 line
1.7.10.4
#10 lore raw

PATCH 11/16 pth: Fix case where ${B} != ${S}

In reply to Richard Purdie

Ensure the autotools commands are executed in ${S} to allow out of tree builds to work.

---
 meta/recipes-support/pth/pth_2.0.7.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/pth/pth_2.0.7.bb +2 -2
index fc9ed16..8cbab7d 100644
@@ -23,7 +23,7 @@ PARALLEL_MAKE=""
 inherit autotools binconfig pkgconfig
 
 do_configure() {
-	gnu-configize
-	autoconf
+	( cd ${S}; gnu-configize )
+	( cd ${S}; autoconf )
 	oe_runconf
 }
Signature · 1 line
1.7.10.4
#11 lore raw

PATCH 12/16 mtdev: Fix case where ${B} != ${S}

In reply to Richard Purdie

Add patch to allow out of tree builds to work.

---
 .../wayland/mtdev/fixsepbuild.patch                |   24 ++++++++++++++++++++
 meta/recipes-graphics/wayland/mtdev_1.1.2.bb       |    3 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-graphics/wayland/mtdev/fixsepbuild.patch
meta/recipes-graphics/wayland/mtdev/fixsepbuild.patch new file +24 -0
new file mode 100644
index 0000000..00a5c27
@@ -0,0 +1,24 @@
+Fix separate build directory builds to avoid the error:
+
+| make[2]: Entering directory `/media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/build/test'
+| i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/media/build1/poky/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -I/media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/mtdev-1.1.2/test -I.. -I/media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/mtdev-1.1.2/include/    -O2 -pipe -g -feliminate-unused-debug-types -c /media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/mtdev-1.1.2/test/mtdev-matching.c
+| /media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/mtdev-1.1.2/test/mtdev-matching.c:29:23: fatal error: src/match.h: No such file or directory
+| compilation terminated.
+
+Upstream-Status: Pending
+
+RP 2013/03/21
+
+Index: mtdev/test/Makefile.am
+===================================================================
+--- mtdev/test.orig/Makefile.am	2010-12-22 18:10:41.000000000 +0000
++++ mtdev/test/Makefile.am	2013-03-21 11:47:21.557160981 +0000
+@@ -1,7 +1,7 @@
+ noinst_PROGRAMS = mtdev-mapgen mtdev-matching mtdev-kernel
+ bin_PROGRAMS = mtdev-test
+ 
+-INCLUDES=-I$(top_srcdir)/include/
++INCLUDES=-I$(top_srcdir)/include/ -I$(top_srcdir)
+ 
+ mtdev_mapgen_SOURCES = mtdev-mapgen.c
+ 
meta/recipes-graphics/wayland/mtdev_1.1.2.bb +2 -1
index 95d99ee..6918f3e 100644
@@ -13,7 +13,8 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ea6bd0268bb0fcd6b27698616ceee5d6"
 
-SRC_URI = "http://bitmath.org/code/mtdev/mtdev-1.1.2.tar.bz2"
+SRC_URI = "http://bitmath.org/code/mtdev/mtdev-1.1.2.tar.bz2 \
+           file://fixsepbuild.patch"
 SRC_URI[md5sum] = "d9c7700918fc392e29da7477ae20c5c2"
 SRC_URI[sha256sum] = "698dd11ca08b3a73ad33d8a5076f6d9e018d97afad3eba36f540b8ea7b775a30"
 
Signature · 1 line
1.7.10.4
#12 lore raw

PATCH 13/16 directfb: Fix case where ${B} != ${S}

In reply to Richard Purdie

Add patch to allow out of tree builds to work.

---
 .../directfb/directfb/fixsepbuild.patch             |   19 +++++++++++++++++++
 meta/recipes-graphics/directfb/directfb_1.6.1.bb    |    3 ++-
 2 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-graphics/directfb/directfb/fixsepbuild.patch
meta/recipes-graphics/directfb/directfb/fixsepbuild.patch new file +19 -0
new file mode 100644
index 0000000..94a9ba5
@@ -0,0 +1,19 @@
+Fix out of tree builds
+
+Upstream-Status: Pending
+
+RP 2013/03/21
+
+Index: DirectFB-1.6.1/configure.in
+===================================================================
+--- DirectFB-1.6.1.orig/configure.in	2013-03-19 01:38:28.174004720 +0000
++++ DirectFB-1.6.1/configure.in	2013-03-21 12:18:10.253113675 +0000
+@@ -111,7 +111,7 @@
+ AC_PATH_TOOL(FLUXCOMP, fluxcomp)
+ AC_SUBST(FLUXCOMP)
+ if test -z "$FLUXCOMP"; then
+-  if ! test -e src/core/CoreDFB.cpp; then
++  if ! test -e $srcdir/src/core/CoreDFB.cpp; then
+     AC_MSG_ERROR([
+ *** DirectFB compilation requires fluxcomp ***
+ 
meta/recipes-graphics/directfb/directfb_1.6.1.bb +2 -1
index 6c48a86..1230d12 100644
@@ -6,7 +6,8 @@ PR = "${INC_PR}.2"
 DEPENDS += "sysfsutils"
 
 SRC_URI += "file://fix-compilation-with-zlib.patch \
-            file://rename-no-instrument-function-macro.patch"
+            file://rename-no-instrument-function-macro.patch \
+            file://fixsepbuild.patch"
 
 EXTRA_OECONF = "\
   --enable-freetype=yes \
Signature · 1 line
1.7.10.4
#13 lore raw

PATCH 14/16 dhcp: Fix case where ${B} != ${S}

In reply to Richard Purdie

Add patch to allow out of tree builds to work.

---
 .../dhcp/dhcp-4.2.5/fixsepbuild.patch              |   90 ++++++++++++++++++++
 meta/recipes-connectivity/dhcp/dhcp_4.2.5.bb       |    1 +
 2 files changed, 91 insertions(+)
 create mode 100644 meta/recipes-connectivity/dhcp/dhcp-4.2.5/fixsepbuild.patch
meta/recipes-connectivity/dhcp/dhcp-4.2.5/fixsepbuild.patch new file +90 -0
new file mode 100644
index 0000000..e686afd
@@ -0,0 +1,90 @@
+Fix out of tree builds
+
+Upstream-Status: Pending
+
+RP 2013/03/21
+
+Index: dhcp-4.2.5/common/Makefile.am
+===================================================================
+--- dhcp-4.2.5.orig/common/Makefile.am	2013-03-21 12:54:11.345063519 +0000
++++ dhcp-4.2.5/common/Makefile.am	2013-03-21 12:54:11.805063510 +0000
+@@ -1,4 +1,4 @@
+-AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
++AM_CPPFLAGS = -I$(top_srcdir)/includes -I$(top_srcdir) -DLOCALSTATEDIR='"@localstatedir@"'
+ AM_CFLAGS = $(LDAP_CFLAGS)
+ 
+ noinst_LIBRARIES = libdhcp.a
+Index: dhcp-4.2.5/dst/Makefile.am
+===================================================================
+--- dhcp-4.2.5.orig/dst/Makefile.am	2013-03-21 12:54:11.345063519 +0000
++++ dhcp-4.2.5/dst/Makefile.am	2013-03-21 12:54:11.805063510 +0000
+@@ -1,4 +1,4 @@
+-AM_CPPFLAGS = -DMINIRES_LIB -DHMAC_MD5
++AM_CPPFLAGS = -DMINIRES_LIB -DHMAC_MD5 -I$(top_srcdir)/includes
+ 
+ lib_LIBRARIES = libdst.a
+ 
+Index: dhcp-4.2.5/omapip/Makefile.am
+===================================================================
+--- dhcp-4.2.5.orig/omapip/Makefile.am	2013-03-21 12:54:11.677063511 +0000
++++ dhcp-4.2.5/omapip/Makefile.am	2013-03-21 12:54:11.809063510 +0000
+@@ -1,3 +1,5 @@
++AM_CPPFLAGS = -I$(top_srcdir)/includes
++
+ lib_LIBRARIES = libomapi.a
+ noinst_PROGRAMS = svtest
+ 
+Index: dhcp-4.2.5/client/Makefile.am
+===================================================================
+--- dhcp-4.2.5.orig/client/Makefile.am	2013-03-21 12:54:11.677063511 +0000
++++ dhcp-4.2.5/client/Makefile.am	2013-03-21 12:54:11.809063510 +0000
+@@ -1,3 +1,5 @@
++AM_CPPFLAGS = -I$(top_srcdir)/includes
++
+ dist_sysconf_DATA = dhclient.conf.example
+ sbin_PROGRAMS = dhclient
+ dhclient_SOURCES = clparse.c dhclient.c dhc6.c \
+@@ -11,8 +13,8 @@
+ 
+ dhclient.o: dhclient.c
+ 	$(COMPILE) -DCLIENT_PATH='"PATH=$(sbindir):/sbin:/bin:/usr/sbin:/usr/bin"' \
+-		   -DLOCALSTATEDIR='"$(localstatedir)"' -c dhclient.c
++		   -DLOCALSTATEDIR='"$(localstatedir)"' -c $(srcdir)/dhclient.c
+ 
+ dhc6.o: dhc6.c
+ 	$(COMPILE) -DCLIENT_PATH='"PATH=$(sbindir):/sbin:/bin:/usr/sbin:/usr/bin"' \
+-		   -DLOCALSTATEDIR='"$(localstatedir)"' -c dhc6.c
++		   -DLOCALSTATEDIR='"$(localstatedir)"' -c $(srcdir)/dhc6.c
+Index: dhcp-4.2.5/dhcpctl/Makefile.am
+===================================================================
+--- dhcp-4.2.5.orig/dhcpctl/Makefile.am	2013-03-21 12:54:11.677063511 +0000
++++ dhcp-4.2.5/dhcpctl/Makefile.am	2013-03-21 12:54:11.809063510 +0000
+@@ -1,3 +1,5 @@
++AM_CPPFLAGS = -I$(top_srcdir)/includes -I$(top_srcdir)
++
+ bin_PROGRAMS = omshell
+ lib_LIBRARIES = libdhcpctl.a
+ noinst_PROGRAMS = cltest
+Index: dhcp-4.2.5/relay/Makefile.am
+===================================================================
+--- dhcp-4.2.5.orig/relay/Makefile.am	2013-03-21 12:54:11.677063511 +0000
++++ dhcp-4.2.5/relay/Makefile.am	2013-03-21 12:54:11.809063510 +0000
+@@ -1,4 +1,4 @@
+-AM_CPPFLAGS = -DLOCALSTATEDIR='"@localstatedir@"'
++AM_CPPFLAGS = -DLOCALSTATEDIR='"@localstatedir@"' -I$(top_srcdir)/includes
+ 
+ sbin_PROGRAMS = dhcrelay
+ dhcrelay_SOURCES = dhcrelay.c
+Index: dhcp-4.2.5/server/Makefile.am
+===================================================================
+--- dhcp-4.2.5.orig/server/Makefile.am	2013-03-21 12:54:11.677063511 +0000
++++ dhcp-4.2.5/server/Makefile.am	2013-03-21 12:55:01.509062081 +0000
+@@ -4,7 +4,7 @@
+ # production code. Sadly, we are not there yet.
+ SUBDIRS = . tests
+ 
+-AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
++AM_CPPFLAGS = -I$(top_srcdir) -DLOCALSTATEDIR='"@localstatedir@"' -I$(top_srcdir)/includes
+ 
+ dist_sysconf_DATA = dhcpd.conf.example
+ sbin_PROGRAMS = dhcpd
meta/recipes-connectivity/dhcp/dhcp_4.2.5.bb +1 -0
index 0f247ae..3ec9f3b 100644
@@ -6,6 +6,7 @@ SRC_URI += "file://fixincludes.patch \
             file://dhcp-3.0.3-dhclient-dbus.patch;striplevel=0 \
             file://fix-external-bind.patch \
             file://link-with-lcrypto.patch \
+            file://fixsepbuild.patch \
            "
 
 SRC_URI[md5sum] = "6489e919ac093d17249270ee9be1020e"
Signature · 1 line
1.7.10.4
#14 lore raw

PATCH 15/16 distro: Add separatebuilddir.inc

In reply to Richard Purdie

Going forward its going to be useful to separate build data from source data in those autotooled projects which support it. Unfortunately there is a lot of breakage so for now, this starts the creation of an opt in list which we can iterate over enable more recipes over time.

---
 meta/conf/distro/defaultsetup.conf            |    1 +
 meta/conf/distro/include/seperatebuilddir.inc |  772 +++++++++++++++++++++++++
 2 files changed, 773 insertions(+)
 create mode 100644 meta/conf/distro/include/seperatebuilddir.inc
meta/conf/distro/defaultsetup.conf +1 -0
index be28510..5eb6275 100644
@@ -1,6 +1,7 @@
 include conf/distro/include/default-providers.inc
 include conf/distro/include/default-versions.inc
 include conf/distro/include/default-distrovars.inc
+include conf/distro/include/seperatebuilddir.inc
 include conf/distro/include/world-broken.inc
 
 TCMODE ?= "default"
meta/conf/distro/include/seperatebuilddir.inc new file +772 -0

772 lines not on this page · raw message

Signature · 1 line
1.7.10.4
#15 lore raw

Re: [PATCH 15/16] distro: Add separatebuilddir.inc

Quoted 11 lines · Richard Purdie

Going forward its going to be useful to separate build data from source data in those autotooled projects which support it. Unfortunately there is a lot of breakage so for now, this starts the creation of an opt in list which we can iterate over enable more recipes over time.

---
 meta/conf/distro/defaultsetup.conf            |    1 +
 meta/conf/distro/include/seperatebuilddir.inc |  772 +++++++++++++++++++++++++
 2 files changed, 773 insertions(+)
 create mode 100644 meta/conf/distro/include/seperatebuilddir.inc

I should note that when we take this, it will break existing build directories due to the way autotools handles external builds. I can't find a good way to avoid this, hence waiting until I'd done a complete pass over the OE-Core tree before sending it out.

I have tested world builds with this patch applied and either disabled out of tree builds for broken recipes, or where possible fixed things up.

Cheers,

Richard

#17 lore raw

Re: [PATCH 15/16] distro: Add separatebuilddir.inc

Quoted 1 line · Chris Larson

Out of curiosity, what's with the pn-pn- overrides?

Erm, yes. I suspect a search and replace gone wrong.

I'll fix that and retest. Been staring at failures for too long...

Cheers,

Richard

#18 lore raw

Re: [PATCH 15/16] distro: Add separatebuilddir.inc

In reply to Richard Purdie
Quoted 17 lines · Richard Purdie

Going forward its going to be useful to separate build data from source data in those autotooled projects which support it. Unfortunately there is a lot of breakage so for now, this starts the creation of an opt in list which we can iterate over enable more recipes over time.

---
 meta/conf/distro/defaultsetup.conf            |    1 +
 meta/conf/distro/include/seperatebuilddir.inc |  772 +++++++++++++++++++++++++
 2 files changed, 773 insertions(+)
 create mode 100644 meta/conf/distro/include/seperatebuilddir.inc
meta/conf/distro/defaultsetup.conf +0 -0
index be28510..5eb6275 100644

meta/conf/distro/defaultsetup.conf line 4

Quoted 4 lines
meta/conf/distro/defaultsetup.conf +1 -0
@@ -1,6 +1,7 @@
 include conf/distro/include/default-providers.inc
 include conf/distro/include/default-versions.inc
 include conf/distro/include/default-distrovars.inc
+include conf/distro/include/seperatebuilddir.inc

Why not add .inc file without including it in defaultsetup.conf so that people who want to use it can play with it without influencing others?

meta/conf/distro/include/seperatebuilddir.inc line 4

Quoted 13 lines
meta/conf/distro/defaultsetup.conf +0 -0
 include conf/distro/include/world-broken.inc
 
 TCMODE ?= "default"
meta/conf/distro/include/seperatebuilddir.inc new file +4 -0
new file mode 100644
index 0000000..e1789e0
@@ -0,0 +1,772 @@
+# List of autotools recipes which support building with external build directories
+# i.e. ${B} != ${S}
+SEPB = "${WORKDIR}/build"
+

Is there some plan to move this information to recipes? It would be much easier to extend this list in layers. Something like set SEPB in recipe and then set B = "${SEPB}" in .inc if it's not empty.

Quoted 776 lines
meta/conf/distro/include/seperatebuilddir.inc new file +768 -0
+B_pn-pn-acl = "${SEPB}"
+B_pn-pn-acl-native = "${SEPB}"
+B_pn-pn-alsa-lib = "${SEPB}"
+B_pn-pn-alsa-lib-native = "${SEPB}"
+B_pn-pn-alsa-tools = "${SEPB}"
+B_pn-pn-alsa-utils = "${SEPB}"
+B_pn-pn-apache2 = "${SEPB}"
+B_pn-pn-apr = "${SEPB}"
+B_pn-pn-apr-native = "${SEPB}"
+B_pn-pn-apr-util = "${SEPB}"
+B_pn-pn-apr-util-native = "${SEPB}"
+B_pn-pn-apt = "${SEPB}"
+B_pn-pn-apt-native = "${SEPB}"
+B_pn-pn-aspell = "${SEPB}"
+B_pn-pn-at = "${SEPB}"
+B_pn-pn-atk = "${SEPB}"
+B_pn-pn-atk-native = "${SEPB}"
+B_pn-pn-attr = "${SEPB}"
+B_pn-pn-attr-native = "${SEPB}"
+B_pn-pn-augeas = "${SEPB}"
+B_pn-pn-autoconf = "${SEPB}"
+B_pn-pn-autoconf-native = "${SEPB}"
+B_pn-pn-autogen-native = "${SEPB}"
+B_pn-pn-automake = "${SEPB}"
+B_pn-pn-automake-native = "${SEPB}"
+B_pn-pn-avahi = "${SEPB}"
+B_pn-pn-avahi-ui = "${SEPB}"
+B_pn-pn-babeltrace = "${SEPB}"
+B_pn-pn-base-passwd = "${SEPB}"
+#B_pn-bash = "${SEPB}"
+B_pn-bc = "${SEPB}"
+B_pn-bdwgc = "${SEPB}"
+B_pn-bdwgc-native = "${SEPB}"
+B_pn-beecrypt = "${SEPB}"
+B_pn-beecrypt-native = "${SEPB}"
+B_pn-bigreqsproto = "${SEPB}"
+B_pn-bigreqsproto-native = "${SEPB}"
+#| make[3]: Entering directory `/media/build1/poky/build/tmp/work/i586-poky-linux/bind/9.8.1-r5/build/bin/named'
+#| i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/media/build1/poky/build/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types   -c -o named-symtbl.o named-symtbl.c
+#| named-symtbl.c:4:27: fatal error: isc/backtrace.h: No such file or directory
+#B_pn-bind = "${SEPB}"
+B_pn-bison = "${SEPB}"
+B_pn-bison-native = "${SEPB}"
+B_pn-blktool = "${SEPB}"
+# ln: failed to create symbolic link 'lib/bluetooth/bluetooth.h': File exists
+#B_pn-bluez4 = "${SEPB}"
+B_pn-bluez-hcidump = "${SEPB}"
+B_pn-byacc = "${SEPB}"
+B_pn-byacc-native = "${SEPB}"
+B_pn-bzip2 = "${SEPB}"
+B_pn-bzip2-native = "${SEPB}"
+B_pn-cairo = "${SEPB}"
+B_pn-cairo-native = "${SEPB}"
+B_pn-calibrateproto = "${SEPB}"
+B_pn-ccache = "${SEPB}"
+B_pn-ccache-native = "${SEPB}"
+B_pn-chrpath = "${SEPB}"
+B_pn-chrpath-native = "${SEPB}"
+B_pn-clutter-1.8 = "${SEPB}"
+B_pn-clutter-gst-1.8 = "${SEPB}"
+B_pn-clutter-gtk-1.8 = "${SEPB}"
+#B_pn-cmake = "${SEPB}"
+#B_pn-cmake-native = "${SEPB}"
+B_pn-cogl = "${SEPB}"
+B_pn-compositeproto = "${SEPB}"
+B_pn-compositeproto-native = "${SEPB}"
+#B_pn-connman = "${SEPB}"
+#B_pn-connman-gnome = "${SEPB}"
+B_pn-consolekit = "${SEPB}"
+B_pn-console-tools = "${SEPB}"
+B_pn-coreutils = "${SEPB}"
+B_pn-coreutils-native = "${SEPB}"
+B_pn-courier-authlib = "${SEPB}"
+B_pn-courier-imap = "${SEPB}"
+B_pn-cpio = "${SEPB}"
+B_pn-cracklib = "${SEPB}"
+B_pn-cronie = "${SEPB}"
+B_pn-cross-localedef-native = "${SEPB}"
+#No autoconf and no support for separate build
+#B_pn-cups = "${SEPB}"
+B_pn-curl = "${SEPB}"
+B_pn-curl-native = "${SEPB}"
+B_pn-damageproto = "${SEPB}"
+B_pn-damageproto-native = "${SEPB}"
+B_pn-db = "${SEPB}"
+B_pn-db-native = "${SEPB}"
+B_pn-dbus = "${SEPB}"
+B_pn-dbus-glib = "${SEPB}"
+B_pn-dbus-glib-native = "${SEPB}"
+B_pn-dbus-native = "${SEPB}"
+B_pn-dbus-ptest = "${SEPB}"
+B_pn-dbus-wait = "${SEPB}"
+B_pn-desktop-file-utils-native = "${SEPB}"
+B_pn-dhcp = "${SEPB}"
+B_pn-diffstat = "${SEPB}"
+B_pn-diffutils = "${SEPB}"
+B_pn-directfb = "${SEPB}"
+B_pn-directfb-examples = "${SEPB}"
+B_pn-distcc = "${SEPB}"
+B_pn-dmxproto = "${SEPB}"
+B_pn-docbook-utils-native = "${SEPB}"
+B_pn-dpkg = "${SEPB}"
+B_pn-dpkg-native = "${SEPB}"
+B_pn-dri2proto = "${SEPB}"
+B_pn-dropbear = "${SEPB}"
+## Makefile based not autotools
+##B_pn-dtc = "${SEPB}"
+##B_pn-dtc-native = "${SEPB}"
+B_pn-e2fsprogs = "${SEPB}"
+B_pn-e2fsprogs-native = "${SEPB}"
+B_pn-ed = "${SEPB}"
+B_pn-elfutils = "${SEPB}"
+B_pn-elfutils-native = "${SEPB}"
+B_pn-enchant = "${SEPB}"
+B_pn-encodings = "${SEPB}"
+B_pn-ethtool = "${SEPB}"
+B_pn-expat = "${SEPB}"
+B_pn-expat-native = "${SEPB}"
+B_pn-fetchmail = "${SEPB}"
+B_pn-file = "${SEPB}"
+B_pn-file-native = "${SEPB}"
+B_pn-findutils = "${SEPB}"
+B_pn-findutils-native = "${SEPB}"
+B_pn-fixesproto = "${SEPB}"
+B_pn-fixesproto-native = "${SEPB}"
+# /bin/bash: line 0: cd: api: No such file or directory
+#B_pn-flac = "${SEPB}"
+B_pn-flex = "${SEPB}"
+B_pn-flex-native = "${SEPB}"
+B_pn-font-alias = "${SEPB}"
+B_pn-fontconfig = "${SEPB}"
+B_pn-fontconfig-native = "${SEPB}"
+B_pn-fontsproto = "${SEPB}"
+B_pn-fontsproto-native = "${SEPB}"
+B_pn-font-util = "${SEPB}"
+B_pn-font-util-native = "${SEPB}"
+B_pn-foomatic-filters = "${SEPB}"
+## run.do_configure.4694: 88: cd: can't cd to builds/unix
+##B_pn-freetype = "${SEPB}"
+##B_pn-freetype-native = "${SEPB}"
+B_pn-fstests = "${SEPB}"
+B_pn-gaku = "${SEPB}"
+B_pn-gamin = "${SEPB}"
+B_pn-gawk = "${SEPB}"
+B_pn-gccmakedep = "${SEPB}"
+B_pn-gconf = "${SEPB}"
+B_pn-gconf-native = "${SEPB}"
+B_pn-gdb = "${SEPB}"
+B_pn-gdb-cross = "${SEPB}"
+B_pn-gdb-cross-canadian-i586 = "${SEPB}"
+B_pn-gdbm = "${SEPB}"
+B_pn-gdbm-native = "${SEPB}"
+B_pn-gdk-pixbuf = "${SEPB}"
+B_pn-gdk-pixbuf-native = "${SEPB}"
+B_pn-genext2fs = "${SEPB}"
+B_pn-genext2fs-native = "${SEPB}"
+B_pn-gettext = "${SEPB}"
+B_pn-gettext-native = "${SEPB}"
+#checking for system lcms2 library... checking for cmsCreateXYZProfile in -llcms2... no
+#checking for local lcms library source... configure: error: LittleCMS source not found!
+#B_pn-ghostscript = "${SEPB}"
+#B_pn-ghostscript-native = "${SEPB}"
+# No out of tree build support (manual makefile)
+#B_pn-git = "${SEPB}"
+#B_pn-git-native = "${SEPB}"
+B_pn-glew = "${SEPB}"
+B_pn-glib-2.0 = "${SEPB}"
+B_pn-glib-2.0-native = "${SEPB}"
+B_pn-glib-networking = "${SEPB}"
+B_pn-glproto = "${SEPB}"
+B_pn-gmp = "${SEPB}"
+B_pn-gmp-native = "${SEPB}"
+B_pn-gnome-common = "${SEPB}"
+B_pn-gnome-common-native = "${SEPB}"
+B_pn-gnome-desktop = "${SEPB}"
+#B_pn-gnome-doc-utils = "${SEPB}"
+#B_pn-gnome-doc-utils-native = "${SEPB}"
+B_pn-gnome-icon-theme = "${SEPB}"
+B_pn-gnome-keyring = "${SEPB}"
+B_pn-gnome-mime-data = "${SEPB}"
+B_pn-gnupg = "${SEPB}"
+## libtool: link: warning: library `.../usr/lib/libgcrypt.la' was moved.
+##B_pn-gnutls = "${SEPB}"
+B_pn-gnutls-native = "${SEPB}"
+B_pn-gperf = "${SEPB}"
+B_pn-gperf-native = "${SEPB}"
+B_pn-gpgme = "${SEPB}"
+B_pn-grep = "${SEPB}"
+B_pn-groff = "${SEPB}"
+B_pn-groff-native = "${SEPB}"
+B_pn-grub = "${SEPB}"
+B_pn-grub-efi-i586-native = "${SEPB}"
+B_pn-gsettings-desktop-schemas = "${SEPB}"
+#| ./config.status: line 2219: /media/build1/poky/build/tmp/work/i586-poky-linux/gst-ffmpeg/0.10.13-r4/build//media/build1/poky/build/tmp/work/i586-poky-linux/gst-ffmpeg/0.10.13-r4/gst-ffmpeg-0.10.13/gst-libs/ext/libav/configure: No such file or directory
+#| config.status: error: Failed to configure embedded Libav tree
+#B_pn-gst-ffmpeg = "${SEPB}"
+B_pn-gst-fluendo-mp3 = "${SEPB}"
+B_pn-gst-fluendo-mpegdemux = "${SEPB}"
+B_pn-gst-openmax = "${SEPB}"
+# Has races/confusion over file/symbolic link creation
+#B_pn-gst-plugin-bluetooth = "${SEPB}"
+B_pn-gst-plugins-bad = "${SEPB}"
+B_pn-gst-plugins-base = "${SEPB}"
+B_pn-gst-plugins-gl = "${SEPB}"
+B_pn-gst-plugins-good = "${SEPB}"
+B_pn-gst-plugins-ugly = "${SEPB}"
+B_pn-gstreamer = "${SEPB}"
+B_pn-gtk+ = "${SEPB}"
+B_pn-gtk+3 = "${SEPB}"
+B_pn-gtk-doc-stub = "${SEPB}"
+B_pn-gtk-doc-stub-native = "${SEPB}"
+B_pn-gtk-engines = "${SEPB}"
+B_pn-gtk+-native = "${SEPB}"
+##make[1]: *** No rule to make target `data/gtkrc', needed by `all-am'.  Stop
+##B_pn-gtk-sato-engine = "${SEPB}"
+B_pn-guile = "${SEPB}"
+B_pn-guile-native = "${SEPB}"
+B_pn-gzip = "${SEPB}"
+B_pn-gzip-native = "${SEPB}"
+B_pn-harfbuzz = "${SEPB}"
+B_pn-harfbuzz-native = "${SEPB}"
+B_pn-help2man-native = "${SEPB}"
+## Hand coded makefiles don't support out-of-tree
+##B_pn-hicolor-icon-theme = "${SEPB}"
+B_pn-icon-naming-utils-native = "${SEPB}"
+B_pn-icu = "${SEPB}"
+B_pn-icu-native = "${SEPB}"
+B_pn-imake = "${SEPB}"
+B_pn-imake-native = "${SEPB}"
+B_pn-inputproto = "${SEPB}"
+B_pn-inputproto-native = "${SEPB}"
+B_pn-intltool = "${SEPB}"
+B_pn-intltool-native = "${SEPB}"
+B_pn-iptables = "${SEPB}"
+#B_pn-irda-utils = "${SEPB}"
+B_pn-jpeg = "${SEPB}"
+B_pn-jpeg-native = "${SEPB}"
+#B_pn-js = "${SEPB}"
+B_pn-json-glib = "${SEPB}"
+B_pn-kbd = "${SEPB}"
+B_pn-kbd-native = "${SEPB}"
+B_pn-kbproto = "${SEPB}"
+B_pn-kbproto-native = "${SEPB}"
+B_pn-kconfig-frontends = "${SEPB}"
+B_pn-kconfig-frontends-native = "${SEPB}"
+##kexec-tools-2.0.3/kexec/arch/ppc/Makefile:4: kexec/arch/ppc/libfdt/Makefile.libfdt: No such file or directory
+##B_pn-kexec-tools = "${SEPB}"
+B_pn-kmod = "${SEPB}"
+B_pn-kmod-native = "${SEPB}"
+B_pn-lame = "${SEPB}"
+B_pn-leafpad = "${SEPB}"
+B_pn-less = "${SEPB}"
+B_pn-liba52 = "${SEPB}"
+#| cat /media/build1/poky/build/tmp/work/i586-poky-linux/libarchive/2.8.5-r0/libarchive-2.8.5/libarchive/test/test_*.c | grep DEFINE_TEST > libarchive/test/list.h
+#| cat /media/build1/poky/build/tmp/work/i586-poky-linux/libarchive/2.8.5-r0/libarchive-2.8.5/tar/test/test_*.c | grep DEFINE_TEST > tar/test/list.h
+#| cat /media/build1/poky/build/tmp/work/i586-poky-linux/libarchive/2.8.5-r0/libarchive-2.8.5/cpio/test/test_*.c | grep DEFINE_TEST > cpio/test/list.h
+#| /bin/bash: tar/test/list.h: No such file or directory
+#| /bin/bash: libarchive/test/list.h: No such file or directory
+#| /bin/bash: cpio/test/list.h: No such file or directory
+#B_pn-libarchive = "${SEPB}"
+B_pn-libart-lgpl = "${SEPB}"
+B_pn-libassuan = "${SEPB}"
+B_pn-libatomics-ops = "${SEPB}"
+B_pn-libcgroup = "${SEPB}"
+B_pn-libcheck = "${SEPB}"
+B_pn-libcroco = "${SEPB}"
+B_pn-libdaemon = "${SEPB}"
+B_pn-libdmx = "${SEPB}"
+B_pn-libdrm = "${SEPB}"
+B_pn-libevent = "${SEPB}"
+B_pn-libexif = "${SEPB}"
+B_pn-libfakekey = "${SEPB}"
+B_pn-libffi = "${SEPB}"
+B_pn-libffi-native = "${SEPB}"
+##i586-poky-linux-libtool: link: cannot find the library `/media/build1/poky/build/tmp/work/i586-poky-linux/libfm/1.1.0-r0/libfm-1.1.0/src/actions/libfmactions.la' or unhandled argument `/media/build1/poky/build/tmp/work/i586-poky-linux/libfm/1.1.0-r0/libfm-1.1.0/src/actions/libfmactions.la'
+##B_pn-libfm = "${SEPB}"
+B_pn-libfontenc = "${SEPB}"
+B_pn-libfontenc-native = "${SEPB}"
+B_pn-libgcc = "${SEPB}"
+#B_pn-libgcrypt = "${SEPB}"
+#B_pn-libgcrypt-native = "${SEPB}"
+B_pn-libglade = "${SEPB}"
+B_pn-libglu = "${SEPB}"
+B_pn-libgnome-keyring = "${SEPB}"
+B_pn-libgpg-error = "${SEPB}"
+B_pn-libgpg-error-native = "${SEPB}"
+B_pn-libice = "${SEPB}"
+B_pn-libice-native = "${SEPB}"
+B_pn-libid3tag = "${SEPB}"
+B_pn-libidn = "${SEPB}"
+B_pn-libjson = "${SEPB}"
+B_pn-libksba = "${SEPB}"
+B_pn-libmad = "${SEPB}"
+B_pn-libmatchbox = "${SEPB}"
+B_pn-libmpc = "${SEPB}"
+B_pn-libmpc-native = "${SEPB}"
+B_pn-libmusicbrainz = "${SEPB}"
+# Not automake and no support for out of tree
+#B_pn-libnewt = "${SEPB}"
+B_pn-libnfsidmap = "${SEPB}"
+# flex.real: could not create route/cls/ematch_grammar.c
+#B_pn-libnl = "${SEPB}"
+B_pn-libnss-mdns = "${SEPB}"
+B_pn-libogg = "${SEPB}"
+B_pn-liboil = "${SEPB}"
+B_pn-libomxil = "${SEPB}"
+B_pn-libowl = "${SEPB}"
+B_pn-libowl-av = "${SEPB}"
+B_pn-libpam = "${SEPB}"
+B_pn-libpcap = "${SEPB}"
+B_pn-libpciaccess = "${SEPB}"
+B_pn-libpcre = "${SEPB}"
+B_pn-libpcre-native = "${SEPB}"
+B_pn-libpng = "${SEPB}"
+B_pn-libpng-native = "${SEPB}"
+#B_pn-libproxy = "${SEPB}"
+B_pn-libpthread-stubs = "${SEPB}"
+B_pn-libpthread-stubs-native = "${SEPB}"
+B_pn-librsvg = "${SEPB}"
+B_pn-librsvg-native = "${SEPB}"
+B_pn-libsamplerate0 = "${SEPB}"
+B_pn-libsdl = "${SEPB}"
+B_pn-libsm = "${SEPB}"
+B_pn-libsm-native = "${SEPB}"
+B_pn-libsndfile1 = "${SEPB}"
+B_pn-libsoup-2.4 = "${SEPB}"
+B_pn-libtasn1 = "${SEPB}"
+B_pn-libtasn1-native = "${SEPB}"
+B_pn-libtelepathy = "${SEPB}"
+B_pn-libtheora = "${SEPB}"
+B_pn-libtirpc = "${SEPB}"
+B_pn-libtool = "${SEPB}"
+B_pn-libtool-cross = "${SEPB}"
+B_pn-libtool-native = "${SEPB}"
+B_pn-libunique = "${SEPB}"
+B_pn-libunistring = "${SEPB}"
+B_pn-libunistring-native = "${SEPB}"
+B_pn-liburcu = "${SEPB}"
+B_pn-libusb1 = "${SEPB}"
+B_pn-libusb1-native = "${SEPB}"
+B_pn-libusb-compat = "${SEPB}"
+B_pn-libusb-compat-native = "${SEPB}"
+B_pn-libuser = "${SEPB}"
+B_pn-libva-intel-driver = "${SEPB}"
+B_pn-libvorbis = "${SEPB}"
+B_pn-libx11 = "${SEPB}"
+B_pn-libx11-diet = "${SEPB}"
+B_pn-libx11-native = "${SEPB}"
+B_pn-libxau = "${SEPB}"
+B_pn-libxau-native = "${SEPB}"
+B_pn-libxcalibrate = "${SEPB}"
+B_pn-libxcb = "${SEPB}"
+B_pn-libxcb-native = "${SEPB}"
+B_pn-libxcomposite = "${SEPB}"
+B_pn-libxcomposite-native = "${SEPB}"
+B_pn-libxcursor = "${SEPB}"
+B_pn-libxcursor-native = "${SEPB}"
+B_pn-libxdamage = "${SEPB}"
+B_pn-libxdamage-native = "${SEPB}"
+B_pn-libxdmcp = "${SEPB}"
+B_pn-libxdmcp-native = "${SEPB}"
+B_pn-libxext = "${SEPB}"
+B_pn-libxext-native = "${SEPB}"
+B_pn-libxfixes = "${SEPB}"
+B_pn-libxfixes-native = "${SEPB}"
+B_pn-libxfont = "${SEPB}"
+B_pn-libxfont-native = "${SEPB}"
+B_pn-libxft = "${SEPB}"
+B_pn-libxft-native = "${SEPB}"
+B_pn-libxi = "${SEPB}"
+B_pn-libxinerama = "${SEPB}"
+B_pn-libxkbcommon = "${SEPB}"
+B_pn-libxkbfile = "${SEPB}"
+B_pn-libxkbfile-native = "${SEPB}"
+B_pn-libxml2 = "${SEPB}"
+B_pn-libxml2-native = "${SEPB}"
+B_pn-libxmu = "${SEPB}"
+B_pn-libxmu-native = "${SEPB}"
+B_pn-libxpm = "${SEPB}"
+B_pn-libxpm-native = "${SEPB}"
+B_pn-libxrandr = "${SEPB}"
+B_pn-libxrandr-native = "${SEPB}"
+B_pn-libxrender = "${SEPB}"
+B_pn-libxrender-native = "${SEPB}"
+B_pn-libxres = "${SEPB}"
+B_pn-libxscrnsaver = "${SEPB}"
+B_pn-libxsettings-client = "${SEPB}"
+B_pn-libxslt = "${SEPB}"
+B_pn-libxslt-native = "${SEPB}"
+B_pn-libxt = "${SEPB}"
+B_pn-libxt-native = "${SEPB}"
+B_pn-libxtst = "${SEPB}"
+B_pn-libxv = "${SEPB}"
+B_pn-libxvmc = "${SEPB}"
+B_pn-libxxf86dga = "${SEPB}"
+B_pn-libxxf86misc = "${SEPB}"
+B_pn-libxxf86vm = "${SEPB}"
+B_pn-lighttpd = "${SEPB}"
+# Doesn't use automake so no separate build support
+#B_pn-linuxdoc-tools-native = "${SEPB}"
+B_pn-lrzsz = "${SEPB}"
+# Doesn't use automake
+#B_pn-ltp = "${SEPB}"
+##/media/build1/poky/build1/tmp/work/i586-poky-linux/lttng-tools/v2.1.0-r0/git/tests/tools/health/health_check.c:20:25: fatal error: lttng/lttng.h: No such file or directory
+##B_pn-lttng-tools = "${SEPB}"
+B_pn-lttng-ust = "${SEPB}"
+B_pn-lzo = "${SEPB}"
+B_pn-lzo-native = "${SEPB}"
+B_pn-lzop = "${SEPB}"
+B_pn-lzop-native = "${SEPB}"
+B_pn-m4 = "${SEPB}"
+B_pn-m4-native = "${SEPB}"
+# Makefile only, no out of tree support
+#B_pn-mailx = "${SEPB}"
+B_pn-make = "${SEPB}"
+B_pn-makedepend = "${SEPB}"
+B_pn-makedepend-native = "${SEPB}"
+B_pn-make-native = "${SEPB}"
+B_pn-matchbox-config-gtk = "${SEPB}"
+B_pn-matchbox-desktop = "${SEPB}"
+B_pn-matchbox-desktop-sato = "${SEPB}"
+B_pn-matchbox-keyboard = "${SEPB}"
+B_pn-matchbox-panel-2 = "${SEPB}"
+B_pn-matchbox-terminal = "${SEPB}"
+B_pn-matchbox-theme-sato = "${SEPB}"
+B_pn-matchbox-wm = "${SEPB}"
+B_pn-mc = "${SEPB}"
+#makefile only, no out of tree support
+#B_pn-mdadm = "${SEPB}"
+B_pn-menu-cache = "${SEPB}"
+B_pn-mesa-demos = "${SEPB}"
+# src/mapi/mapi/stub.c:51:39: error: 'MAPI_TABLE_NUM_DYNAMIC' undeclared here (not in a function)
+#B_pn-mesa-dri = "${SEPB}"
+B_pn-minicom = "${SEPB}"
+# Not automake, no external tree support
+#B_pn-mkelfimage = "${SEPB}"
+#B_pn-mkelfimage-native = "${SEPB}"
+B_pn-mkfontdir = "${SEPB}"
+B_pn-mkfontdir-native = "${SEPB}"
+B_pn-mkfontscale = "${SEPB}"
+B_pn-mkfontscale-native = "${SEPB}"
+B_pn-mklibs-native = "${SEPB}"
+B_pn-mktemp = "${SEPB}"
+B_pn-mobile-broadband-provider-info = "${SEPB}"
+B_pn-mpeg2dec = "${SEPB}"
+B_pn-mpfr = "${SEPB}"
+B_pn-mpfr-native = "${SEPB}"
+B_pn-msmtp = "${SEPB}"
+B_pn-mtdev = "${SEPB}"
+B_pn-mtools = "${SEPB}"
+B_pn-mtools-native = "${SEPB}"
+B_pn-mx = "${SEPB}"
+B_pn-mxsldr = "${SEPB}"
+B_pn-mxsldr-native = "${SEPB}"
+# /media/build1/poky/build1/tmp/work/x86_64-linux/nasm-native/2.10.07-r0/nasm-2.10.07/compiler.h:47:21: fatal error: config.h: No such file or directory
+#B_pn-nasm = "${SEPB}"
+#B_pn-nasm-native = "${SEPB}"
+B_pn-nativesdk-alsa-lib = "${SEPB}"
+B_pn-nativesdk-autoconf = "${SEPB}"
+B_pn-nativesdk-automake = "${SEPB}"
+B_pn-nativesdk-bash = "${SEPB}"
+B_pn-nativesdk-bdwgc = "${SEPB}"
+B_pn-nativesdk-bigreqsproto = "${SEPB}"
+B_pn-nativesdk-bison = "${SEPB}"
+B_pn-nativesdk-bzip2 = "${SEPB}"
+B_pn-nativesdk-chrpath = "${SEPB}"
+B_pn-nativesdk-cmake = "${SEPB}"
+B_pn-nativesdk-curl = "${SEPB}"
+B_pn-nativesdk-db = "${SEPB}"
+B_pn-nativesdk-dbus = "${SEPB}"
+## Makefile based not autotools
+##B_pn-nativesdk-dtc = "${SEPB}"
+B_pn-nativesdk-eglibc = "${SEPB}"
+B_pn-nativesdk-eglibc-initial = "${SEPB}"
+B_pn-nativesdk-elfutils = "${SEPB}"
+B_pn-nativesdk-expat = "${SEPB}"
+B_pn-nativesdk-fixesproto = "${SEPB}"
+B_pn-nativesdk-flex = "${SEPB}"
+B_pn-nativesdk-gcc-runtime = "${SEPB}"
+B_pn-nativesdk-gdbm = "${SEPB}"
+B_pn-nativesdk-genext2fs = "${SEPB}"
+B_pn-nativesdk-gettext = "${SEPB}"
+B_pn-nativesdk-glib-2.0 = "${SEPB}"
+B_pn-nativesdk-glproto = "${SEPB}"
+B_pn-nativesdk-gmp = "${SEPB}"
+B_pn-nativesdk-inputproto = "${SEPB}"
+B_pn-nativesdk-kbproto = "${SEPB}"
+#B_pn-nativesdk-libarchive = "${SEPB}"
+B_pn-nativesdk-libffi = "${SEPB}"
+B_pn-nativesdk-libgcc = "${SEPB}"
+B_pn-nativesdk-libmpc = "${SEPB}"
+B_pn-nativesdk-libpcre = "${SEPB}"
+B_pn-nativesdk-libpng = "${SEPB}"
+B_pn-nativesdk-libpthread-stubs = "${SEPB}"
+B_pn-nativesdk-libsdl = "${SEPB}"
+B_pn-nativesdk-libtool = "${SEPB}"
+B_pn-nativesdk-libunistring = "${SEPB}"
+B_pn-nativesdk-libusb1 = "${SEPB}"
+B_pn-nativesdk-libusb-compat = "${SEPB}"
+B_pn-nativesdk-libx11 = "${SEPB}"
+B_pn-nativesdk-libxau = "${SEPB}"
+B_pn-nativesdk-libxcb = "${SEPB}"
+B_pn-nativesdk-libxdmcp = "${SEPB}"
+B_pn-nativesdk-libxext = "${SEPB}"
+B_pn-nativesdk-libxfixes = "${SEPB}"
+B_pn-nativesdk-libxml2 = "${SEPB}"
+B_pn-nativesdk-libxrandr = "${SEPB}"
+B_pn-nativesdk-libxrender = "${SEPB}"
+B_pn-nativesdk-lzo = "${SEPB}"
+B_pn-nativesdk-lzop = "${SEPB}"
+B_pn-nativesdk-m4 = "${SEPB}"
+B_pn-nativesdk-mpfr = "${SEPB}"
+B_pn-nativesdk-mxsldr = "${SEPB}"
+B_pn-nativesdk-ncurses = "${SEPB}"
+B_pn-nativesdk-opkg = "${SEPB}"
+B_pn-nativesdk-pixman = "${SEPB}"
+B_pn-nativesdk-pkgconfig = "${SEPB}"
+# run.do_compile: 89: cd: can't cd to Lib/plat-linux2
+#B_pn-nativesdk-python = "${SEPB}"
+##B_pn-nativesdk-qemu = "${SEPB}"
+B_pn-nativesdk-randrproto = "${SEPB}"
+B_pn-nativesdk-readline = "${SEPB}"
+B_pn-nativesdk-renderproto = "${SEPB}"
+B_pn-nativesdk-sqlite3 = "${SEPB}"
+B_pn-nativesdk-systemtap = "${SEPB}"
+# Not automake, no out of tree build support
+#B_pn-nativesdk-unfs-server = "${SEPB}"
+B_pn-nativesdk-util-macros = "${SEPB}"
+B_pn-nativesdk-xcb-proto = "${SEPB}"
+B_pn-nativesdk-xcmiscproto = "${SEPB}"
+B_pn-nativesdk-xextproto = "${SEPB}"
+B_pn-nativesdk-xproto = "${SEPB}"
+B_pn-nativesdk-xtrans = "${SEPB}"
+B_pn-ncurses = "${SEPB}"
+B_pn-ncurses-native = "${SEPB}"
+B_pn-neon = "${SEPB}"
+B_pn-neon-native = "${SEPB}"
+##Weird as configure exits with error code despite apparent success
+##B_pn-nfs-utils = "${SEPB}"
+B_pn-npth = "${SEPB}"
+#B_pn-nspr = "${SEPB}"
+B_pn-ofono = "${SEPB}"
+B_pn-oh-puzzles = "${SEPB}"
+## make[2]: openjade-1.3.2/grove/../Makefile.comm: No such file or directory
+##B_pn-openjade-native = "${SEPB}"
+B_pn-opensp = "${SEPB}"
+B_pn-opensp-native = "${SEPB}"
+##/media/build1/poky/build1/tmp/work/i586-poky-linux/openssh/6.1p1-r0/openssh-6.1p1/configure: line 5674: syntax error near unexpected token `-Wall'
+##/media/build1/poky/build1/tmp/work/i586-poky-linux/openssh/6.1p1-r0/openssh-6.1p1/configure: line 5674: `	OSSH_CHECK_CFLAG_COMPILE(-Wall)'
+##Configure failed. The contents of all config.log files follows to aid debugging
+#B_pn-openssh = "${SEPB}"
+B_pn-openvpn = "${SEPB}"
+B_pn-opkg = "${SEPB}"
+B_pn-opkg-native = "${SEPB}"
+#B_pn-oprofile = "${SEPB}"
+B_pn-oprofileui = "${SEPB}"
+B_pn-oprofileui-server = "${SEPB}"
+B_pn-ossp-uuid = "${SEPB}"
+B_pn-ossp-uuid-native = "${SEPB}"
+B_pn-owl-video = "${SEPB}"
+B_pn-pango = "${SEPB}"
+B_pn-pango-native = "${SEPB}"
+B_pn-parted = "${SEPB}"
+B_pn-parted-native = "${SEPB}"
+B_pn-patch = "${SEPB}"
+B_pn-pax = "${SEPB}"
+B_pn-pcmanfm = "${SEPB}"
+B_pn-pixman = "${SEPB}"
+B_pn-pixman-native = "${SEPB}"
+B_pn-pkgconfig = "${SEPB}"
+B_pn-pkgconfig-native = "${SEPB}"
+B_pn-pm-utils = "${SEPB}"
+B_pn-polkit = "${SEPB}"
+B_pn-polkit-gnome = "${SEPB}"
+B_pn-popt = "${SEPB}"
+B_pn-popt-native = "${SEPB}"
+#B_pn-ppp = "${SEPB}"
+B_pn-prelink = "${SEPB}"
+B_pn-prelink-native = "${SEPB}"
+# Makefile only, no out of tree support
+#B_pn-procps = "${SEPB}"
+B_pn-psmisc = "${SEPB}"
+B_pn-psplash = "${SEPB}"
+B_pn-pth = "${SEPB}"
+B_pn-pulseaudio = "${SEPB}"
+#B_pn-python = "${SEPB}"
+B_pn-python-dbus = "${SEPB}"
+B_pn-python-gst = "${SEPB}"
+B_pn-python-native = "${SEPB}"
+B_pn-python-pygobject = "${SEPB}"
+B_pn-python-pygobject-native = "${SEPB}"
+B_pn-python-pygtk = "${SEPB}"
+## Not autotools
+##B_pn-qemu = "${SEPB}"
+##B_pn-qemu-native = "${SEPB}"
+##| /bin/bash: ./git-desc: No such file or directory
+##| /usr/bin/find: `compat': No such file or directory
+##| /bin/bash: /media/build1/poky/build1/tmp/work/x86_64-linux/quilt-native/0.60-r0/build/test/test.quiltrc: No such file or directory
+##| make: *** No rule to make target `Makefile.in', needed by `Makefile'.  Stop.
+##B_pn-quilt = "${SEPB}"
+##B_pn-quilt-native = "${SEPB}"
+#B_pn-quota = "${SEPB}"
+B_pn-randrproto = "${SEPB}"
+B_pn-randrproto-native = "${SEPB}"
+B_pn-readline = "${SEPB}"
+B_pn-readline-native = "${SEPB}"
+B_pn-recordproto = "${SEPB}"
+B_pn-remake = "${SEPB}"
+B_pn-remake-native = "${SEPB}"
+B_pn-renderproto = "${SEPB}"
+B_pn-renderproto-native = "${SEPB}"
+B_pn-resourceproto = "${SEPB}"
+B_pn-rgb = "${SEPB}"
+B_pn-rpcbind = "${SEPB}"
+B_pn-rpm = "${SEPB}"
+B_pn-rpm-native = "${SEPB}"
+B_pn-rsync = "${SEPB}"
+B_pn-rxvt-unicode = "${SEPB}"
+B_pn-sato-icon-theme = "${SEPB}"
+B_pn-sato-screenshot = "${SEPB}"
+B_pn-sbc = "${SEPB}"
+B_pn-screen = "${SEPB}"
+B_pn-scrnsaverproto = "${SEPB}"
+B_pn-sed = "${SEPB}"
+B_pn-sed-native = "${SEPB}"
+# Wierd out of tree support, could probably be fixed
+#i586-poky-linux-gcc: error: setserial.c: No such file or directory
+#i586-poky-linux-gcc: fatal error: no input files
+#compilation terminated.
+#B_pn-setserial = "${SEPB}"
+B_pn-settings-daemon = "${SEPB}"
+B_pn-sgml-common = "${SEPB}"
+B_pn-sgml-common-native = "${SEPB}"
+B_pn-shadow = "${SEPB}"
+B_pn-shadow-native = "${SEPB}"
+B_pn-shared-mime-info = "${SEPB}"
+B_pn-shared-mime-info-native = "${SEPB}"
+##configure: error: "This software does not support configuring from another directory.   See the INSTALL file"
+##B_pn-slang = "${SEPB}"
+B_pn-socat = "${SEPB}"
+B_pn-speex = "${SEPB}"
+B_pn-sqlite3 = "${SEPB}"
+B_pn-sqlite3-native = "${SEPB}"
+B_pn-startup-notification = "${SEPB}"
+B_pn-strace = "${SEPB}"
+B_pn-strace-native = "${SEPB}"
+B_pn-subversion = "${SEPB}"
+B_pn-subversion-native = "${SEPB}"
+B_pn-sudo = "${SEPB}"
+B_pn-sysfsutils = "${SEPB}"
+B_pn-sysprof = "${SEPB}"
+# No automake, no separate build support
+#B_pn-sysstat = "${SEPB}"
+B_pn-systemtap = "${SEPB}"
+B_pn-systemtap-native = "${SEPB}"
+B_pn-tar = "${SEPB}"
+B_pn-tar-replacement-native = "${SEPB}"
+B_pn-tcl = "${SEPB}"
+B_pn-tcl-native = "${SEPB}"
+B_pn-telepathy-glib = "${SEPB}"
+B_pn-telepathy-idle = "${SEPB}"
+B_pn-telepathy-mission-control = "${SEPB}"
+B_pn-telepathy-python = "${SEPB}"
+B_pn-texi2html = "${SEPB}"
+B_pn-texinfo = "${SEPB}"
+B_pn-texinfo-native = "${SEPB}"
+B_pn-tiff = "${SEPB}"
+B_pn-tiff-native = "${SEPB}"
+B_pn-time = "${SEPB}"
+B_pn-tremor = "${SEPB}"
+B_pn-tslib = "${SEPB}"
+B_pn-udev = "${SEPB}"
+# Not automake, no out of tree build support
+#B_pn-unfs-server-native = "${SEPB}"
+B_pn-usbutils = "${SEPB}"
+B_pn-util-linux = "${SEPB}"
+B_pn-util-linux-native = "${SEPB}"
+B_pn-util-macros = "${SEPB}"
+B_pn-util-macros-native = "${SEPB}"
+B_pn-valgrind = "${SEPB}"
+B_pn-videoproto = "${SEPB}"
+B_pn-vte = "${SEPB}"
+B_pn-watchdog = "${SEPB}"
+B_pn-wayland = "${SEPB}"
+B_pn-wayland-native = "${SEPB}"
+# Not even going there
+#B_pn-webkit-gtk = "${SEPB}"
+B_pn-web-webkit = "${SEPB}"
+B_pn-weston = "${SEPB}"
+B_pn-wget = "${SEPB}"
+B_pn-which = "${SEPB}"
+B_pn-x11perf = "${SEPB}"
+#B_pn-x11vnc = "${SEPB}"
+B_pn-xauth = "${SEPB}"
+B_pn-xcb-proto = "${SEPB}"
+B_pn-xcb-proto-native = "${SEPB}"
+B_pn-xcb-util = "${SEPB}"
+B_pn-xcb-util-image = "${SEPB}"
+B_pn-xcb-util-keysyms = "${SEPB}"
+B_pn-xcb-util-renderutil = "${SEPB}"
+B_pn-xcb-util-wm = "${SEPB}"
+B_pn-xcmiscproto = "${SEPB}"
+B_pn-xcmiscproto-native = "${SEPB}"
+B_pn-xcursor-transparent-theme = "${SEPB}"
+# No out of tree support, no automake
+#/usr/bin/install: cannot stat `xdg-desktop-menu': No such file or directory
+#/usr/bin/install: cannot stat `xdg-desktop-icon': No such file or directory
+#/usr/bin/install: cannot stat `xdg-mime': No such file or directory
+#/usr/bin/install: cannot stat `xdg-icon-resource': No such file or directory
+#/usr/bin/install: cannot stat `xdg-open': No such file or directory
+#/usr/bin/install: cannot stat `xdg-email': No such file or directory
+#/usr/bin/install: cannot stat `xdg-screensaver': No such file or directory
+#make[1]: *** [install] Error 1
+#Probably fixable
+#B_pn-xdg-utils = "${SEPB}"
+B_pn-xdpyinfo = "${SEPB}"
+B_pn-xev = "${SEPB}"
+B_pn-xextproto = "${SEPB}"
+B_pn-xextproto-native = "${SEPB}"
+B_pn-xeyes = "${SEPB}"
+B_pn-xf86dgaproto = "${SEPB}"
+B_pn-xf86driproto = "${SEPB}"
+B_pn-xf86-input-evdev = "${SEPB}"
+B_pn-xf86-input-keyboard = "${SEPB}"
+B_pn-xf86-input-mouse = "${SEPB}"
+B_pn-xf86-input-synaptics = "${SEPB}"
+B_pn-xf86-input-vmmouse = "${SEPB}"
+B_pn-xf86miscproto = "${SEPB}"
+B_pn-xf86-video-fbdev = "${SEPB}"
+B_pn-xf86-video-imxfb = "${SEPB}"
+B_pn-xf86-video-intel = "${SEPB}"
+B_pn-xf86-video-mga = "${SEPB}"
+B_pn-xf86-video-modesetting = "${SEPB}"
+B_pn-xf86-video-omap = "${SEPB}"
+B_pn-xf86-video-omapfb = "${SEPB}"
+B_pn-xf86-video-vesa = "${SEPB}"
+B_pn-xf86-video-vmware = "${SEPB}"
+B_pn-xf86vidmodeproto = "${SEPB}"
+B_pn-xhost = "${SEPB}"
+B_pn-xineramaproto = "${SEPB}"
+B_pn-xinetd = "${SEPB}"
+B_pn-xinit = "${SEPB}"
+B_pn-xinput = "${SEPB}"
+B_pn-xkbcomp = "${SEPB}"
+B_pn-xkbcomp-native = "${SEPB}"
+B_pn-xkeyboard-config = "${SEPB}"
+B_pn-xmodmap = "${SEPB}"
+B_pn-xorg-cf-files = "${SEPB}"
+B_pn-xorg-cf-files-native = "${SEPB}"
+B_pn-xprop = "${SEPB}"
+B_pn-xproto = "${SEPB}"
+B_pn-xproto-native = "${SEPB}"
+B_pn-xrandr = "${SEPB}"
+B_pn-xrestop = "${SEPB}"
+B_pn-xserver-xorg = "${SEPB}"
+B_pn-xset = "${SEPB}"
+B_pn-xtrans = "${SEPB}"
+B_pn-xtrans-native = "${SEPB}"
+B_pn-xtscal = "${SEPB}"
+B_pn-xvideo-tests = "${SEPB}"
+B_pn-xvinfo = "${SEPB}"
+B_pn-xwininfo = "${SEPB}"
+B_pn-xz = "${SEPB}"
+B_pn-xz-native = "${SEPB}"
+B_pn-yasm = "${SEPB}"
+B_pn-yasm-native = "${SEPB}"
+B_pn-zaurusd = "${SEPB}"
+
Signature · 7 lines
1.7.10.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#19 lore raw

Re: [PATCH 15/16] distro: Add separatebuilddir.inc

Quoted 13 lines · Martin Jansa
Quoted 12 lines · Richard Purdie

Going forward its going to be useful to separate build data from source data in those autotooled projects which support it. Unfortunately there is a lot of breakage so for now, this starts the creation of an opt in list which we can iterate over enable more recipes over time.

---
 meta/conf/distro/defaultsetup.conf            |    1 +
 meta/conf/distro/include/seperatebuilddir.inc |  772 +++++++++++++++++++++++++
 2 files changed, 773 insertions(+)
 create mode 100644 meta/conf/distro/include/seperatebuilddir.inc
Quoted 12 lines

meta/conf/distro/defaultsetup.conf line 4

Quoted 9 lines
meta/conf/distro/defaultsetup.conf +1 -0
index be28510..5eb6275 100644
@@ -1,6 +1,7 @@
 include conf/distro/include/default-providers.inc
 include conf/distro/include/default-versions.inc
 include conf/distro/include/default-distrovars.inc
+include conf/distro/include/seperatebuilddir.inc

Why not add .inc file without including it in defaultsetup.conf so that people who want to use it can play with it without influencing others?

This change as it stands should be safe for everyone. My worry is that people won't test with it and the people using it will have to fix bugs as they get introduced. If we want to do the opt in approach, we can do that though (its plan B).

I didn't make the change universally apply since it will break meta-oe quite badly as things stand today and I know first hand the effort needed to clean up a batch of recipes.

I should also mention why this is important. With this code enabled, the build output is cleaned when a package reconfigures so builds become a bit more stable (e.g. the libpng issue doesn't occur with this applied).

Quoted 17 lines

meta/conf/distro/include/seperatebuilddir.inc line 4

Quoted 13 lines
meta/conf/distro/defaultsetup.conf +0 -0
 include conf/distro/include/world-broken.inc
 
 TCMODE ?= "default"
meta/conf/distro/include/seperatebuilddir.inc new file +4 -0
new file mode 100644
index 0000000..e1789e0
@@ -0,0 +1,772 @@
+# List of autotools recipes which support building with external build directories
+# i.e. ${B} != ${S}
+SEPB = "${WORKDIR}/build"
+

Is there some plan to move this information to recipes? It would be much easier to extend this list in layers. Something like set SEPB in recipe and then set B = "${SEPB}" in .inc if it's not empty.

That is something we need to think about. I'd really like to make separate B the default and then add information to the recipes about the exceptions which don't work. Its going to be a bit of work before we get there though so this is a stopgap solution.

Cheers,

Richard

#20 lore raw

Re: [PATCH 15/16] distro: Add separatebuilddir.inc

In reply to Richard Purdie
Quoted 4 lines · On 21 March 2013 16:55:14 Richard Purdie <[email protected]>…

Going forward its going to be useful to separate build data from source data in those autotooled projects which support it. Unfortunately there is a lot of breakage so for now, this starts the creation of an opt in list which we can iterate over enable more recipes over time.

This does not yet seem to cover the 'O=' family, right?

Cheers,

Sent with AquaMail for Android
http://www.aqua-mail.com

#21 lore raw

Re: [PATCH 15/16] distro: Add separatebuilddir.inc

Quoted 9 lines · Bernhard Reutner-Fischer
Quoted 4 lines · On 21 March 2013 16:55:14 Richard Purdie <[email protected]>…

Going forward its going to be useful to separate build data from source data in those autotooled projects which support it. Unfortunately there is a lot of breakage so for now, this starts the creation of an opt in list which we can iterate over enable more recipes over time.

This does not yet seem to cover the 'O=' family, right?

Correct. autotools seemed like the best place to start with that and the trick I mention above with the configure checksum change is only currently enabled there anyway.

We could extend this to other places if it makes sense although I'm not sure how many O= recipes we have...

Cheers,

Richard

#22 lore raw

Re: [PATCH 15/16] distro: Add separatebuilddir.inc

Quoted 10 lines · On 22 March 2013 00:21:52 Richard Purdie <[email protected]>…
Quoted 3 lines · Bernhard Reutner-Fischer
Quoted 1 line · On 21 March 2013 16:55:14 Richard Purdie <[email protected]>…

Going forward its going to be useful to separate build data from

source data

Quoted 5 lines
Quoted 3 lines

in those autotooled projects which support it. Unfortunately there is a lot of breakage so for now, this starts the creation of an opt in list which we can iterate over enable more recipes over time.

Quoted 8 lines
Quoted 1 line

This does not yet seem to cover the 'O=' family, right?

Correct. autotools seemed like the best place to start with that and the trick I mention above with the configure checksum change is only currently enabled there anyway.

We could extend this to other places if it makes sense although I'm not sure how many O= recipes we have...

There are not that many I suppose, yes (Linux, Busybox, uClibc come to mind). Thing is that the later two would be nice to have, IMHO..

I'll keep it in mind.
Cheers,

Sent with AquaMail for Android
http://www.aqua-mail.com

#23 lore raw

PATCH 16/16 scripts/qemu-testlib: Add more debugging information

In reply to Richard Purdie

This extra information should allow better forensics if the sanity tests fail as they're currently doing occasionaly on the autobuilder for unknown reasons.

The patch also tightens up certain checks to remove pointless noise and error output from the logs.

---
 scripts/qemuimage-testlib |   31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)
scripts/qemuimage-testlib +21 -10
index 11768d0..551011c 100755
@@ -69,7 +69,7 @@ Test_Update_IPSAVE()
 	local pid=$1
 	local ip_addr=$2
 
-	if [ "$TEST_SERIALIZE" -eq 1 ]; then
+	if [ "$TEST_SERIALIZE" -eq 1 -a "$pid" != "0" -a "$pid" != "" -a "$ip_addr" != "" -a "$ip_addr" != "" ]; then
 		echo "Saving $pid $ip_addr to $TARGET_IPSAVE"
 		echo "$pid $ip_addr" > $TARGET_IPSAVE
 	fi
@@ -234,15 +234,19 @@ Test_Kill_Qemu()
 	fi
 
 	if [ $k -eq 1 ]; then
-		running=`ps -wwfp $QEMUPID`
-		if [ $? -eq 0 ]; then
-			echo "killing $QEMUPID"
-			kill $QEMUPID
+		if [ "$QEMUPID" != "0" -a "$QEMUPID" != "" ]; then
+			running=`ps -wwfp $QEMUPID`
+			if [ $? -eq 0 ]; then
+				echo "killing $QEMUPID"
+				kill $QEMUPID
+			fi
 		fi
-		running=`ps -wwfp $XTERMPID`
-		if [ $? -eq 0 ]; then
-			echo "killing $XTERMPID"
-			kill $XTERMPID
+		if [ "$XTERMPID" != "0" -a "$XTERMPID" != "" ]; then
+			running=`ps -wwfp $XTERMPID`
+			if [ $? -eq 0 ]; then
+				echo "killing $XTERMPID"
+				kill $XTERMPID
+			fi
 		fi
 	fi
 
@@ -336,6 +340,11 @@ Test_Fetch_Target_IP()
 	local opid=$1
 	local ip_addr=0
 
+	if [ "$opid" = "0" -o "$opid" = "" ]; then
+		echo ""
+		return
+	fi
+
 	# Check if $1 pid exists and contains ipaddr of target
 	ip_addr=`ps -wwfp $opid | grep -o "192\.168\.7\.[0-9]*::" | awk -F":" '{print $1}'`
 
@@ -433,8 +442,10 @@ Test_Create_Qemu()
 	# Parse IP address of target from the qemu command line
 	TARGET_IPADDR=`Test_Fetch_Target_IP $QEMUPID`
 	echo "Target IP is ${TARGET_IPADDR}"
-	if [ -z ${TARGET_IPADDR} -o "${TARGET_IPADDR}" = "0" ]; then
+	if [ ${TARGET_IPADDR} = "" -o "${TARGET_IPADDR}" = "0" ]; then
 		Test_Info "There is no qemu process or qemu ip address found, return failed"
+		ps -wwf
+		ps axww -O ppid
 		return 1
 	fi
 
Signature · 1 line
1.7.10.4
#24 lore raw
In reply to Richard Purdie
Quoted 2 lines · Richard Purdie

Fix out of tree builds and a parallel make race, see the patch header for details.

As there's no cover letter, I'll reply to this. From a reading of the patches (no build testing) it looks good, so Acked-by: Ross Burton <[email protected]>.

Ross

#25 lore raw
Quoted 8 lines · Ross
Quoted 2 lines · Richard Purdie

Fix out of tree builds and a parallel make race, see the patch header for details.

As there's no cover letter, I'll reply to this. From a reading of the patches (no build testing) it looks good, so Acked-by: Ross Burton <[email protected]>.

on the contrary it broke my -j 20 build

| LinuxdocTools::process_file: Cannot find ./sgml/libuser.sgml. Aborting ...
| LinuxdocTools::process_file: Cannot find ./sgml/libuser.sgml. Aborting ...
| Processing file ./sgml/libuser.sgml
| Processing file ./sgml/libuser.sgml
| make[2]: *** [sgml/libuser.txt] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [sgml/libuser.html] Error 2
Quoted 7 lines

Ross

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#26 lore raw
Quoted 15 lines · Khem Raj
Quoted 8 lines · Ross
Quoted 2 lines · Richard Purdie

Fix out of tree builds and a parallel make race, see the patch header for details.

As there's no cover letter, I'll reply to this. From a reading of the patches (no build testing) it looks good, so Acked-by: Ross Burton <[email protected]>.

on the contrary it broke my -j 20 build

Quoted 9 lines
| LinuxdocTools::process_file: Cannot find ./sgml/libuser.sgml. Aborting ...
| LinuxdocTools::process_file: Cannot find ./sgml/libuser.sgml. Aborting ...
| Processing file ./sgml/libuser.sgml
| Processing file ./sgml/libuser.sgml
| make[2]: *** [sgml/libuser.txt] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [sgml/libuser.html] Error 2

posted a patch here

http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/037410.html

which should fix both cases of building in srctree and outside of srctree.

Quoted 8 lines
Quoted 7 lines

Ross

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core