[oe] [meta-java][PATCH] rxtx: Add remove-libtool class to remove all .la files

Fabio Berton fabio.berton at ossystems.com.br
Mon Jul 4 21:13:11 UTC 2016


Class remove-libtool adds a postfunc to do_install to remove all .la
files installed by libtool, so that they are absent from both the
sysroots and target packages.

Fix error:
ERROR: rxtx-2.2.0-r2 do_populate_sysroot: QA Issue: librxtxRaw.la
  failed sanity test (workdir) in path
  ../build/tmp/work/cortexa9hf-neon-emcontrols-linux-gnueabi/
  rxtx/2.2.0-r2/sysroot-destdir/usr/lib/jni [la]
ERROR: rxtx-2.2.0-r2 do_populate_sysroot: QA staging was broken by the
  package built above
ERROR: rxtx-2.2.0-r2 do_populate_sysroot: Function failed: do_qa_staging

Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
 recipes-extended/rxtx/rxtx_2.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/rxtx/rxtx_2.2.0.bb b/recipes-extended/rxtx/rxtx_2.2.0.bb
index 564df32..c3fbc13 100644
--- a/recipes-extended/rxtx/rxtx_2.2.0.bb
+++ b/recipes-extended/rxtx/rxtx_2.2.0.bb
@@ -28,7 +28,7 @@ S = "${WORKDIR}/rxtx-2.2pre2"
 
 INSANE_SKIP_${JPN} += "dev-so"
 
-inherit autotools-brokensep java-library
+inherit autotools-brokensep java-library remove-libtool
 PACKAGE_ARCH = "${TUNE_PKGARCH}"
 
 JARFILENAME = "RXTXcomm.jar"
-- 
2.1.4




More information about the Openembedded-devel mailing list