[oe] [meta-filesystems][PATCH] xfsprogs: remove redundant install rule in do_install

Hongxu Jia hongxu.jia at windriver.com
Mon Jun 26 08:34:00 UTC 2017


Since the recipe inherits autotools-brokensep, it has
`make install' in do_install by default. The extra one
is not required which may conflict with install-dev.

Occasionally build failure:
...
Installing include-install
Installing libxfs-install-dev
make[1]: *** No rule to make target '../inclu', needed by 'xfs_dir2.lo'.
Stop.
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:132: libxfs-install-dev] Error 2
...

It is hard to reproduce by manual build, so export BUILD_VERBOSE to
gain more debug info duiring the build.

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.10.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.10.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.10.0.bb
index 50ab987..b4f2c11 100644
--- a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.10.0.bb
+++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.10.0.bb
@@ -41,6 +41,7 @@ PACKAGECONFIG[readline] = "--enable-readline=yes,--enable-readline=no,readline"
 PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux"
 
 export DEBUG="-DNDEBUG"
+export BUILD_VERBOSE="1"
 
 EXTRA_OEMAKE = "DIST_ROOT='${D}'"
 
@@ -54,7 +55,7 @@ do_configure_prepend () {
 }
 
 do_install_append() {
-        oe_runmake 'DESTDIR=${D}' install install-dev
+        oe_runmake 'DESTDIR=${D}' install-dev
         rm ${D}${libdir}/*.la
         rmdir --ignore-fail-on-non-empty ${D}${libdir}
 }
-- 
2.8.1




More information about the Openembedded-devel mailing list