From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5D84CE00A4C; Tue, 16 Jun 2015 01:37:55 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.88 listed in list.dnswl.org] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5414BE009BD for ; Tue, 16 Jun 2015 01:37:52 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 16 Jun 2015 01:37:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,625,1427785200"; d="scan'208";a="588662597" Received: from unknown (HELO peggleto-mobl.ger.corp.intel.com) ([10.252.25.227]) by orsmga003.jf.intel.com with ESMTP; 16 Jun 2015 01:37:51 -0700 From: Paul Eggleton To: Gary Thomas Date: Tue, 16 Jun 2015 09:37:50 +0100 Message-ID: <1510925.QRRL9HzgZN@peggleto-mobl.ger.corp.intel.com> Organization: Intel Corporation User-Agent: KMail/4.14.7 (Linux/4.0.4-202.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <557F6B89.5010506@mlbassoc.com> References: <557ED498.50406@mlbassoc.com> <557F287D.6010406@mlbassoc.com> <557F6B89.5010506@mlbassoc.com> MIME-Version: 1.0 Cc: yocto@yoctoproject.org Subject: Re: sstate black hole? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 08:37:55 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Monday 15 June 2015 18:19:21 Gary Thomas wrote: > I followed this down to an i.MX6 specific package which is > in DEPENDS: > Variable PROVIDES value changed from > '${PN} virtual/wayland-egl virtual/libgal-x11 virtual/egl > virtual/libopenvg virtual/libg2d virtual/libgl virtual/libgles1 > virtual/libgles2' to > '${PN} virtual/wayland-egl virtual/libgal-x11 virtual/egl > virtual/libopenvg virtual/libg2d virtual/libgl virtual/libgles1 > virtual/libgles2 virtual/libgl virtual/libgles1 virtual/libgles2' > > Why aren't these considered the same (duplicate elements and/or order) > should not matter for PROVIDES. Is there some way we could get bitbake > to collapse this and remove the duplicates? > > I found that this happens in > meta-fsl-arm:recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc which contains > these lines: > PROVIDES += "virtual/wayland-egl virtual/libgal-x11 virtual/egl > virtual/libopenvg virtual/libg2d" > PROVIDES_append_mx6q = " virtual/libgl virtual/libgles1 virtual/libgles2" > PROVIDES_append_mx6dl = " virtual/libgl virtual/libgles1 virtual/libgles2" > PROVIDES_append_mx6sx = " virtual/libgl virtual/libgles1 virtual/libgles2" > > Some i.MX6 targets, nitrogen6x in particular, has overrides for both mx6q > and mx6dl, hence the duplication. > > Note: I removed the extra override (for testing) and found that > now the packages built by target A can be shared via sstate with > target B (at least the few I tested) I agree this would be nice, but for this to work we'd probably need to introduce a typing system within bitbake so that it can understand that this variable is a space-separated list. That is something we will probably do at some point for a variety of reasons, but I don't know that it's something we will get to soon. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre