From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3ED23C636D4 for ; Mon, 13 Feb 2023 07:01:36 +0000 (UTC) Subject: Re: Yocto Bug 14965 - Need info on rmeta hash To: openembedded-core@lists.openembedded.org From: "Sundeep KOKKONDA" X-Originating-Location: Hyderabad, Telangana, IN (183.83.146.233) X-Originating-Platform: Windows Chrome 110 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sun, 12 Feb 2023 23:01:32 -0800 References: In-Reply-To: Message-ID: <21754.1676271692934287086@lists.openembedded.org> Content-Type: multipart/alternative; boundary="e1Z0pZqNcY4S7vZ5WQa3" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 13 Feb 2023 07:01:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177086 --e1Z0pZqNcY4S7vZ5WQa3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Richard, As we discussed, I checked the build by removing the variables (RUST_BUILD_= SYS, RUST_HOST_SYS & RUST_TARGET_SYS) from BB_BASEHASH_IGNORE_VARS in meta/= conf/bitbake.conf file but this doesn't solve the issue, still 2 rmeta file= s generated. So, I did a re-check of my analysis w.r.t to commit id - ' e33afcd0dc=C2=A0= rust-common.bbclass: use built-in rust targets for -native builds '. The 2 = nd rmeta file is generating by this commit id only and as mentioned earlier= there is no diff in the generated sigdata files of libstd-rs & librsvg wit= h this change. May be removing vars form BB_BASEHASH_IGNORE_VARS is not a right fix? FYI... See below generated rmeta files with and without e33afcd0dc. >=20 > :/3565ea860a-> git reflog > 3565ea860a (HEAD) HEAD@{0}: checkout: moving from master to 3565ea860a > aa6cd06a9f (origin/master, origin/HEAD, master) HEAD@{1}: clone: from > git://git.yoctoproject.org/poky > :/3565ea860a-> ls > build/tmp/work/core2-64-poky-linux/librsvg/2.54.5-r0/recipe-sysroot/usr/l= ib/rustlib/x86_64-poky-linux-gnu/lib/ > | grep libcore > libcore- 5c7322bf8f654199.rlib > libcore- 5c7322bf8f654199.rmeta >=20 >=20 > :/e33afcd0dc-> git reflog > e33afcd0dc (HEAD) HEAD@{0}: checkout: moving from master to e33afcd0dc > aa6cd06a9f (origin/master, origin/HEAD, master) HEAD@{1}: clone: from > git://git.yoctoproject.org/poky > :/e33afcd0dc-> ls > build/tmp/work/core2-64-poky-linux/librsvg/2.54.5-r0/recipe-sysroot/usr/l= ib/rustlib/x86_64-poky-linux-gnu/lib/ > | grep libcore > libcore- c5fc82c620226960.rlib > libcore- c5fc82c620226960.rmeta >=20 Sigdata diff: >=20 > :/e33afcd0dc-> diff -ur build/tmp/stamps/core2-64-poky-linux/libstd-rs/ > ../3565ea860a/build/tmp/stamps/core2-64-poky-linux/libstd-rs/ > Binary files > build/tmp/stamps/core2-64-poky-linux/libstd-rs/1.64.0-r0.do_compile.sigda= ta.58c969bdc47351ac51bd19dd76f57855e14940a04ff9bdfbfc5cb92a27172da8 > and > ../3565ea860a/build/tmp/stamps/core2-64-poky-linux/libstd-rs/1.64.0-r0.do= _compile.sigdata.58c969bdc47351ac51bd19dd76f57855e14940a04ff9bdfbfc5cb92a27= 172da8 > differ > .... > .... > Binary files > build/tmp/stamps/core2-64-poky-linux/libstd-rs/1.64.0-r0.do_unpack.sigdat= a.1203b8d6806ffeb75970f492ece3eaa91c51a79eb411eb075946c482239a69d5 > and > ../3565ea860a/build/tmp/stamps/core2-64-poky-linux/libstd-rs/1.64.0-r0.do= _unpack.sigdata.1203b8d6806ffeb75970f492ece3eaa91c51a79eb411eb075946c482239= a69d5 > differ >=20 I checked the dumpsig of the above shown differences and the changes are on= ly in the name of build directory. Thanks, Sundeep K. --e1Z0pZqNcY4S7vZ5WQa3 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hello Richard,
 
As we discussed, I checked th= e build by removing the variables (RUST_BUILD_SYS, RUST_HOST_SYS & RUST= _TARGET_SYS) from BB_BASEHASH_IGNORE_VARS in meta/conf/bi= tbake.conf file but this doesn't solve the issue, still 2 rmeta f= iles generated.
 
So, I did a re-check of my analysis w.r.t to commit id - 'e33afcd0dc&n= bsp;rust-common.bbclass: use built-in rust targets for -native builds'= . The 2nd rmeta file is generating by this commit id only and as me= ntioned earlier there is no diff in the generated sigdata files of libs= td-rs & librsvg with this change.
=  
May be removing vars form BB_BASEHASH_= IGNORE_VARS is not a right fix?
=  
:/3565ea860a-> gi= t reflog
3565ea860a (HEAD) HEAD@{0}: checkout: moving= from master to 3565ea860a
aa6cd06a9f (origin/m= aster, origin/HEAD, master) HEAD@{1}: clone: from git://git.yoctoproject.or= g/poky
:/3565ea860a-> ls= build/tmp/work/core2-64-poky-linux/librsvg/2.54.5-r0/recipe-sysroot/usr/li= b/rustlib/x86_64-poky-linux-gnu/lib/ | grep libcore
libcore-5c7322bf8f654199.rlib
libcore-5c7322bf8f654199.rmeta
:/e33afcd0dc-> git re= flog
e33afcd0dc (HEAD) HEAD@{0}: checkout: moving fro= m master to e33afcd0dc
aa6cd06a9f (origin/maste= r, origin/HEAD, master) HEAD@{1}: clone: from git://git.yoctoproject.org/po= ky
:/e33afcd0dc-> ls bui= ld/tmp/work/core2-64-poky-linux/librsvg/2.54.5-r0/recipe-sysroot/usr/lib/ru= stlib/x86_64-poky-linux-gnu/lib/ | grep libcore
libcore-c5fc82c620226960.rlib
libcore-c5fc82c620226960.rmeta
Sigd= ata diff:
:/e33afcd0dc-> diff -ur build/tmp/stamps/core= 2-64-poky-linux/libstd-rs/ ../3565ea860a/build/tmp/stamps/core2-64-poky-lin= ux/libstd-rs/
Binary files build/tmp/stamps/core2-64-poky-linu= x/libstd-rs/1.64.0-r0.do_compile.sigdata.58c969bdc47351ac51bd19dd76f57855e1= 4940a04ff9bdfbfc5cb92a27172da8 and ../3565ea860a/build/tmp/stamps/core2-64-= poky-linux/libstd-rs/1.64.0-r0.do_compile.sigdata.58c969bdc47351ac51bd19dd7= 6f57855e14940a04ff9bdfbfc5cb92a27172da8 differ
....
....
Binary files build/tmp/stamps/core2-64-poky-linu= x/libstd-rs/1.64.0-r0.do_unpack.sigdata.1203b8d6806ffeb75970f492ece3eaa91c5= 1a79eb411eb075946c482239a69d5 and ../3565ea860a/build/tmp/stamps/core2-64-p= oky-linux/libstd-rs/1.64.0-r0.do_unpack.sigdata.1203b8d6806ffeb75970f492ece= 3eaa91c51a79eb411eb075946c482239a69d5 differ
I checked the dumpsig of the above sho= wn differences and the changes are only in the name of build directory.


Thanks,
Sundeep K.
 

=
--e1Z0pZqNcY4S7vZ5WQa3--