From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UHfk7-0006tl-QE for bitbake-devel@lists.openembedded.org; Mon, 18 Mar 2013 20:29:12 +0100 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id r2IJCMLE010068 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 18 Mar 2013 12:12:22 -0700 (PDT) Received: from Marks-MacBook-Pro.local (172.25.36.234) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.342.3; Mon, 18 Mar 2013 12:12:22 -0700 Message-ID: <51476713.8050506@windriver.com> Date: Mon, 18 Mar 2013 14:12:19 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: Subject: Bitbake / oe-core anomaly with multilibs X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 19:29:14 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit I found a strange situation today and I'm looking for an explanation to see if it's a bug or not. Between a .bb and .bbappend file, I end up with a situation where "reproducer.bb" and "reproducer.bbappend" get the following: RDEPENDS_${PN} += "hello1" RDEPENDS_reproducer += "hello2" When evaluatated (bitbake -e reproducer) I get: # # $RDEPENDS_reproducer [2 operations] # append /home/mhatle/git/oss/oe-core/local/recipes-sample/hello/reproducer_1.0.bb:16 # "hello2" # rename from RDEPENDS_${PN} data.py:161 [expandKeys] # " hello1" # computed: # " hello1" RDEPENDS_reproducer="hello1" So that tells me that it was initially set to "hello2", and then the ${PN} expansion occurred, causing it to be set to "hello1". So my first question is, should this be "hello1", "hello2", "hello1 hello2" or "hello2 hello1"? The second issue is a bit stranger.. if I change the build from "reproducer" to "lib32-reproducer", I get a different result: # $RDEPENDS_lib32-reproducer [3 operations] # rename from RDEPENDS_${PN} data.py:161 [expandKeys] # " hello1" # rename from RDEPENDS_reproducer classextend.py:95 [rename_package_variables] # " hello2" # set classextend.py:71 [map_depends_variable] # "lib32-hello2" # computed: # "lib32-hello2" RDEPENDS_lib32-reproducer="lib32-hello2" This time the system pulled in the ${PN} version first (obviously expanded it), and then turned out and found the RDEPENDS_reproducer, and remapped it to RDEPENDS_lib32-reproducer replacing the origin ${PN} version. So I have two concerns, the first is the value is 'different' from the non-multilib version, and second, what should the expected output be for this item? Thanks for any insight! --Mark