Le jeu. 19 oct. 2023 à 01:22, Jose Quaresma <quaresma.j...@gmail.com> a écrit :
> Hi Yoann,

Hi!

> I have found the same for BBLAYERS that was fixed [1] expanding any relative 
> path that could exist.
> Maybe it would be better to also expand BB_LOGCONFIG when the newbuilddir 
> argument is present.
>
> [1] 
> https://git.yoctoproject.org/poky/commit/id=f5f465ff5777eb99941db3dda84e65d4699d97f7

OOOooohh That is interesting, Thanks!

For reference, I've had to fix the URL:
https://git.yoctoproject.org/poky/commit/?id=f5f465ff5777eb99941db3dda84e65d4699d97f7

And thank you for updating the bug :)

> Jose
>
> Yoann Congal <yoann.con...@smile.fr> escreveu no dia quarta, 18/10/2023 à(s) 
> 23:28:
>>
>> For the reproducible-meta-oe builder, workaround the bug #15241 [1], by
>> passing BB_LOGCONFIG through "readlink -f" to avoid relative reference
>> to the main build dir.
>>
>> Also, switch from BBPATH to BUILDDIR to reference the main build dir.
>>
>> [1]: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15241
>>
>> Signed-off-by: Yoann Congal <yoann.con...@smile.fr>
>> ---
>>  config.json | 20 ++++++++++----------
>>  1 file changed, 10 insertions(+), 10 deletions(-)
>>
>> diff --git a/config.json b/config.json
>> index c01a453..84da67b 100644
>> --- a/config.json
>> +++ b/config.json
>> @@ -303,7 +303,7 @@
>>              ],
>>              "step1" : {
>>                  "shortname" : "Repro meta-oe/meta-filesystems",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-filesystems/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-filesystems -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-filesystems/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-filesystems -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe",
>>                      "${BUILDDIR}/../meta-openembedded/meta-python",
>> @@ -323,7 +323,7 @@
>>              },
>>              "step2" : {
>>                  "shortname" : "Repro meta-oe/meta-gnome",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-gnome/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-gnome -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-gnome/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-gnome -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe",
>>                      "${BUILDDIR}/../meta-openembedded/meta-python",
>> @@ -343,14 +343,14 @@
>>              },
>>              "step3" : {
>>                  "shortname" : "Repro meta-oe/meta-initramfs",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-initramfs/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-initramfs -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-initramfs/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-initramfs -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-initramfs"
>>                  ]
>>              },
>>              "step4" : {
>>                  "shortname" : "Repro meta-oe/meta-multimedia",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-multimedia/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-multimedia -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-multimedia/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-multimedia -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe",
>>                      "${BUILDDIR}/../meta-openembedded/meta-python",
>> @@ -367,7 +367,7 @@
>>              },
>>              "step5" : {
>>                  "shortname" : "Repro meta-oe/meta-networking",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-networking/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-networking -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-networking/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-networking -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe",
>>                      "${BUILDDIR}/../meta-openembedded/meta-networking"
>> @@ -382,7 +382,7 @@
>>              },
>>              "step6" : {
>>                  "shortname" : "Repro meta-oe/meta-oe",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-oe/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-oe -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-oe/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-oe -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe"
>>                  ],
>> @@ -393,7 +393,7 @@
>>              },
>>              "step7" : {
>>                  "shortname" : "Repro meta-oe/meta-perl",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-perl/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-perl -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-perl/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-perl -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe",
>>                      "${BUILDDIR}/../meta-openembedded/meta-perl"
>> @@ -408,7 +408,7 @@
>>              },
>>              "step8" : {
>>                  "shortname" : "Repro meta-oe/meta-python",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-python/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-python -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-python/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-python -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe",
>>                      "${BUILDDIR}/../meta-openembedded/meta-python"
>> @@ -419,7 +419,7 @@
>>              },
>>              "step9" : {
>>                  "shortname" : "Repro meta-oe/meta-webserver",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-webserver/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-webserver -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-webserver/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-webserver -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe",
>>                      "${BUILDDIR}/../meta-openembedded/meta-webserver"
>> @@ -433,7 +433,7 @@
>>              },
>>              "step10" : {
>>                  "shortname" : "Repro meta-oe/meta-xfce",
>> -                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-xfce/
>>  DISPLAY=:1 oe-selftest --newbuilddir $BBPATH/build-st-meta-xfce -r 
>> reproducible"],
>> +                "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; 
>> OEQA_DEBUGGING_SAVED_OUTPUT=${BASE_SHAREDDIR}/pub/repro-fail-openembedded/meta-xfce/
>>  DISPLAY=:1 BB_LOGCONFIG=$(readlink -f $BB_LOGCONFIG) oe-selftest 
>> --newbuilddir $BUILDDIR/build-st-meta-xfce -r reproducible"],
>>                  "ADDLAYER" : [
>>                      "${BUILDDIR}/../meta-openembedded/meta-oe",
>>                      "${BUILDDIR}/../meta-openembedded/meta-python",
>> --
>> 2.30.2
>>
>>
>> 
>>
>
>
> --
> Best regards,
>
> José Quaresma



-- 
Yoann Congal
Smile ECS - Tech expert
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61407): https://lists.yoctoproject.org/g/yocto/message/61407
Mute This Topic: https://lists.yoctoproject.org/mt/102049703/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to