From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXVqJ-0001Lh-13 for qemu-devel@nongnu.org; Wed, 10 Aug 2016 11:54:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXVqE-0006z6-Sg for qemu-devel@nongnu.org; Wed, 10 Aug 2016 11:54:54 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:34656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXVqE-0006yd-LY for qemu-devel@nongnu.org; Wed, 10 Aug 2016 11:54:50 -0400 Received: by mail-wm0-x242.google.com with SMTP id q128so10396073wma.1 for ; Wed, 10 Aug 2016 08:54:50 -0700 (PDT) Sender: Paolo Bonzini References: <1470756748-18933-1-git-send-email-berrange@redhat.com> <20160809170333.131781.95394@ex-std-node742.prod.rhcloud.com> <20160809171151.GO1530@redhat.com> <20160810014140.GD11351@al.usersys.redhat.com> <20160810080634.GC13393@redhat.com> <20160810081310.GB19064@al.usersys.redhat.com> <20160810082445.GD13393@redhat.com> <20160810083921.GD19064@al.usersys.redhat.com> From: Paolo Bonzini Message-ID: Date: Wed, 10 Aug 2016 17:54:48 +0200 MIME-Version: 1.0 In-Reply-To: <20160810083921.GD19064@al.usersys.redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.8 v1 00/60] Modular build of trace event files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , "Daniel P. Berrange" Cc: qemu-devel@nongnu.org, stefanha@redhat.com On 10/08/2016 10:39, Fam Zheng wrote: > Then the script needs to be updated to work with different package management > systems (rpm and deb). For now they only call standard Linux commands. That's > least of the problem, though. > > The more tricky question is how the script can tell which packages are relevant > (or, used). I assume the number of packages in a docker image is quite limited > (fedora has 396, ubuntu 574), but dumping the whole list is still noisy > nevertheless. Also, depending on the configure option, a submodule can be used > instead, or a local built library. Not that we have a lot of these now, but > it's a factor of complication. > > On the other hand, configure knows when to use pkg-config --modversion, or git > describe, or something else, depending on how and where it discovers the > compiler and -devel libs etc.. Can you include a description of how to reproduce with "make docker-test-FOO@BAR DEBUG=1"? Thanks, Paolo