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

Maxin B. John maxin.john at intel.com
Wed Jul 6 11:35:01 UTC 2016


Hi,

On Mon, Jul 04, 2016 at 06:13:11PM -0300, Fabio Berton wrote:
> 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

As mentioned in the below thread, remove-libtool class is supposed to be
distro inheritted and generally not a per-recipe one.

http://comments.gmane.org/gmane.comp.handhelds.openembedded/73840

Since this fixes a valid QA error, pushed to master-next.

>  PACKAGE_ARCH = "${TUNE_PKGARCH}"
>  
>  JARFILENAME = "RXTXcomm.jar"
> --

Best Regards,
Maxin



More information about the Openembedded-devel mailing list