From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 6FA526D5A4 for ; Fri, 8 Nov 2013 08:26:55 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id rA88QsHp020419 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 8 Nov 2013 00:26:55 -0800 (PST) Received: from [128.224.162.200] (128.224.162.200) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.2.347.0; Fri, 8 Nov 2013 00:26:54 -0800 Message-ID: <527CA04C.8060408@windriver.com> Date: Fri, 8 Nov 2013 16:26:52 +0800 From: wenzong fan User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Richard Purdie References: <527C9C6F.4050509@windriver.com> <1383898719.6271.293.camel@ted> In-Reply-To: <1383898719.6271.293.camel@ted> Cc: OE-core Subject: Re: [PATCH 0/1] udev: ship source files to related dbg package X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 08:26:56 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 11/08/2013 04:18 PM, Richard Purdie wrote: > On Fri, 2013-11-08 at 16:10 +0800, wenzong fan wrote: >> On 11/07/2013 07:12 PM, Burton, Ross wrote: >>> On 7 November 2013 11:03, wrote: >>>> From: Wenzong Fan >>>> >>>> Just ship these sources to their own dbg packages instead of udev-dbg: >>>> >>>> libudev* -> libudev-dbg >>>> gudev* -> libgudev-dbg >>>> others -> udev-dbg >>> >>> Why do this? Multiple -dbg packages could make sense in a recipe >>> which builds a multi-gigabyte -dbg package (such as webkit) but what's >>> the rationale for doing this in udev? >> >> Actually I don't know clear about why it needs three -dbg packages, >> looks they have been there since very early commits of udev. I suspect >> that udev/libudev/libgudev are independent each other, so they are >> shipped into different packages (base/-dev/-dbg). This patch only ships >> their source code to -dbg packages accordingly. > > We don't support multiple -dbg packages and this looks like an error. What about the -dev packages? So the correct fix is removing below configs, at least -dbg configs, right? + FILES_libudev = "${base_libdir}/libudev.so.*" + FILES_libudev-dbg = "${base_libdir}/.debug/libudev.so.*" + FILES_libudev-dev = "${includedir}/libudev.h ${libdir}/libudev.so ${libdir}/libudev.la \ ${libdir}/libudev.a ${libdir}/pkgconfig/libudev.pc" + FILES_libgudev = "${base_libdir}/libgudev*.so.* ${libdir}/libgudev*.so.*" + FILES_libgudev-dbg = "${base_libdir}/.debug/libgudev*.so.* ${libdir}/.debug/libgudev*.so.*" + FILES_libgudev-dev = "${includedir}/gudev* ${libdir}/libgudev*.so ${libdir}/libgudev*.la \ ${libdir}/libgudev*.a ${libdir}/pkgconfig/gudev*.pc" Thanks Wenzong > > Cheers, > > Richard > > >