From patchwork Mon Feb 6 20:46:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/5] qemu: Inherit pkgconfig X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 93487 Message-Id: <20170206204616.26245-1-raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org Date: Mon, 6 Feb 2017 12:46:12 -0800 From: Khem Raj List-Id: Patches and discussions about the oe-core layer Fixes | ERROR: pkg-config binary 'pkg-config' not found | Signed-off-by: Khem Raj --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index e3af5c21c0..ef5d75c450 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -6,7 +6,7 @@ RDEPENDS_${PN}_class-target += "bash" RDEPENDS_${PN}-ptest = "bash make" require qemu-targets.inc -inherit autotools ptest +inherit autotools pkgconfig ptest BBCLASSEXTEND = "native nativesdk" # QEMU_TARGETS is overridable variable From patchwork Mon Feb 6 20:46:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/5] latencytop: Inherit pkgconfig X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 93488 Message-Id: <20170206204616.26245-2-raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org Date: Mon, 6 Feb 2017 12:46:13 -0800 From: Khem Raj List-Id: Patches and discussions about the oe-core layer When pkg-config is not installed on buildhost errors like below pop up | /bin/sh: 1: pkg-config: not found | latencytop.c:34:18: fatal error: glib.h: No such file or directory | #include | ^ | compilation terminated. | make: *** [latencytop.o] Error 1 Signed-off-by: Khem Raj --- meta/recipes-kernel/latencytop/latencytop_0.5.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.11.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-kernel/latencytop/latencytop_0.5.bb b/meta/recipes-kernel/latencytop/latencytop_0.5.bb index f31f1bb7ab..bad27b5d6a 100644 --- a/meta/recipes-kernel/latencytop/latencytop_0.5.bb +++ b/meta/recipes-kernel/latencytop/latencytop_0.5.bb @@ -4,7 +4,8 @@ HOMEPAGE = "http://www.latencytop.org/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://latencytop.c;endline=23;md5=ee9ea9b1415356e5734adad4a87dc7fa" -DEPENDS = "virtual/libintl ncurses glib-2.0" +inherit pkgconfig +DEPENDS += "virtual/libintl ncurses glib-2.0" PR = "r3" From patchwork Mon Feb 6 20:46:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/5] pcmciautils: Inherit pkgconfig X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 93489 Message-Id: <20170206204616.26245-3-raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org Date: Mon, 6 Feb 2017 12:46:14 -0800 From: Khem Raj List-Id: Patches and discussions about the oe-core layer Fixes ERROR: pcmciautils-018-r1 do_package: QA Issue: pcmciautils: Files/directories were installed but not shipped in any package: /pcmcia-socket-startup /pcmcia-check-broken-cis /rules.d /rules.d/60-pcmcia.rules Since we do not have pkg-config in native sysroot it is not computing paths correctly and causes above error Signed-off-by: Khem Raj --- meta/recipes-bsp/pcmciautils/pcmciautils.inc | 2 ++ 1 file changed, 2 insertions(+) -- 2.11.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/pcmciautils/pcmciautils.inc b/meta/recipes-bsp/pcmciautils/pcmciautils.inc index 581bff417b..0524980509 100644 --- a/meta/recipes-bsp/pcmciautils/pcmciautils.inc +++ b/meta/recipes-bsp/pcmciautils/pcmciautils.inc @@ -12,6 +12,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/pcmcia/${BP}.tar.xz" S = "${WORKDIR}/pcmciautils-${PV}" +inherit pkgconfig + export HOSTCC = "${BUILD_CC}" export etcdir = "${sysconfdir}" export sbindir = "${base_sbindir}" From patchwork Mon Feb 6 20:46:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4/5] iproute2: Inherit pkgconfig X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 93490 Message-Id: <20170206204616.26245-4-raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org Date: Mon, 6 Feb 2017 12:46:15 -0800 From: Khem Raj List-Id: Patches and discussions about the oe-core layer Fixes ERROR: iproute2-4.9.0-r0 do_package: QA Issue: iproute2: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/tc Signed-off-by: Khem Raj --- meta/recipes-connectivity/iproute2/iproute2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc index 63e7ca9e83..ce64888a05 100644 --- a/meta/recipes-connectivity/iproute2/iproute2.inc +++ b/meta/recipes-connectivity/iproute2/iproute2.inc @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ DEPENDS = "flex-native bison-native iptables elfutils" -inherit update-alternatives bash-completion +inherit update-alternatives bash-completion pkgconfig EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" From patchwork Mon Feb 6 20:46:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [5/5] pong-clock: Inherit pkgconfig X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 93491 Message-Id: <20170206204616.26245-5-raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org Date: Mon, 6 Feb 2017 12:46:16 -0800 From: Khem Raj List-Id: Patches and discussions about the oe-core layer Fixes | /mnt/oe/openembedded-core/build/tmp-glibc/work/core2-64-oe-linux/pong-clock/1.0-r0/temp/run.do_compile.13350: 1: /mnt/oe/openembedded-core/build/tmp-glibc/work/core2-64-oe-linux/pong-clock/1.0-r0/temp/run.do_compile.13350: pkg-config: not found | /tmp/ccanXWsA.o: In function `draw_rect': | /usr/src/debug/pong-clock/1.0-r0/pong-clock-no-flicker.c:93: undefined reference to `XFillRectangle' | /tmp/ccanXWsA.o: In function `draw_digit': Signed-off-by: Khem Raj --- meta/recipes-graphics/pong-clock/pong-clock_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb b/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb index 6c3bcd831c..cdfe38a221 100644 --- a/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb +++ b/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb @@ -2,7 +2,7 @@ SUMMARY = "A clock combined with a game of pong" LICENSE = "GPLv2+" DEPENDS = "virtual/libx11 xdmcp xau" -inherit distro_features_check +inherit distro_features_check pkgconfig # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11"