Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id 804A860125 for ; Tue, 6 Nov 2018 01:41:33 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id wA61eQWw008596 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 5 Nov 2018 17:41:08 -0800 Received: from [128.224.162.179] (128.224.162.179) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.408.0; Mon, 5 Nov 2018 17:40:45 -0800 To: =?UTF-8?Q?Andreas_M=c3=bcller?= References: <20181105055915.148218-1-kai.kang@windriver.com> From: Kang Kai Message-ID: <180b349b-52ad-c4cf-2add-69f74e2c649d@windriver.com> Date: Tue, 6 Nov 2018 09:39:05 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Cc: openembeded-devel Subject: Re: [meta-xfce][PATCH] libunique: fix installed-vs-shipped qa issue X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 01:41:34 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US On 2018/11/5 下午4:30, Andreas Müller wrote: > On Mon, Nov 5, 2018 at 7:58 AM Kang Kai wrote: >> On 2018/11/5 下午1:59, kai.kang@windriver.com wrote: >>> From: Kai Kang >> >> Oops. Forgot prefix [meta-xfce] in the title. >> >> --Kai >> >> >>> libunique shows installed-vs-shipped QA issue if configure option >>> '--disable-introspection' is set by: >>> 1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not >>> supported by bsp and then not set in MACHINE_FEATURES >>> or: >>> 2) set in local.conf directly: >>> EXTRA_OECONF_append_pn-libunique = " --disable-introspection" >>> >>> Remove empty directory to fix the QA issue. >>> >>> Signed-off-by: Kai Kang >>> --- >>> meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++ >>> 1 file changed, 4 insertions(+) >>> >>> diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb >>> index 49ed07ad9..a6475cef6 100644 >>> --- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb >>> +++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb >>> @@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" >>> inherit autotools pkgconfig gobject-introspection distro_features_check gtk-doc >>> >>> REQUIRED_DISTRO_FEATURES = "x11" >>> + >>> +do_install_append () { >>> + rmdir --ignore-fail-on-non-empty ${D}${datadir} >>> +} > I think this breaks introspection - why not just pack Unique-1.0.gir? If configure option '--disable-introspection' is set rather than '--enable-introspection', no file Unique-1.0.gir is created and ${D}${datadir} is empty. Option '--ignore-fail-on-non-empty' of rmdir is to make sure not affect introspection. Regards, Kai > > Andreas > -- Regards, Neil | Kai Kang