Hi Steve,

I know ubuntu2204 has been causing concern for dunfell builds with vim
and reproducibility. Since I have a local ubuntu 22.04 machine I took a
look and sure enough, dunfell vim builds 'fail'.

The difference is that in one case, iconv runs during do_compile and in
the other it does not. The shipped ru.cp1251.po has "CP1521" but if
rebuilt, it is replaced with "cp1251". The question is therefore why
iconv runs in one case and not the other.

Comparing my master build with the dunfell one, with the same vim
versions and just "vim -c unpack":

richard@jet:/media/build/poky-dunfell/build/tmp/work/core2-64-poky-linux/vim/9.0.2048-r0/git/src/po$
 ls -la ru* --full-time
-rw-r--r-- 1 richard richard 415845 2023-11-13 15:25:43.623938196 +0000 
ru.cp1251.po
-rw-r--r-- 1 richard richard 546691 2023-11-13 15:25:43.623938196 +0000 ru.po


richard@jet:/media/build/poky/build/tmp/work/armv5e-poky-linux-gnueabi/vim/9.0.2048/git/src/po$
 ls -la ru* --full-time
-rw-r--r-- 1 richard richard 415845 2023-11-13 15:25:53.219945033 +0000 
ru.cp1251.po
-rw-r--r-- 1 richard richard 546691 2023-11-13 15:25:53.223945035 +0000 ru.po

and again just to be sure:

richard@jet:/media/build/poky-dunfell/build/tmp/work/core2-64-poky-linux/vim/9.0.2048-r0/git/src/po$
 ls -la ru* --full-time
-rw-r--r-- 1 richard richard 415845 2023-11-13 15:32:03.736202888 +0000 
ru.cp1251.po
-rw-r--r-- 1 richard richard 546691 2023-11-13 15:32:03.736202888 +0000 ru.po

richard@jet:/media/build/poky/build/tmp/work/armv5e-poky-linux-gnueabi/vim/9.0.2048/git/src/po$
 ls -la ru* --full-time
-rw-r--r-- 1 richard richard 415845 2023-11-13 15:32:04.896203681 +0000 
ru.cp1251.po
-rw-r--r-- 1 richard richard 546691 2023-11-13 15:32:04.900203684 +0000 ru.po

so for some reason the ru*.po files have the same timestamp. This
triggers make to rebuild it. Why? Not sure. git is from the distro in
both cases.

I did isolate the steps from do_unpack to these in dunfell and master:

DEST=/media/build/poky/build/tmp/work/armv5e-poky-linux-gnueabi/vim/9.0.2048
rm $DEST/git/ -rf
git -c gc.autoDetach=false -c core.pager=cat clone -n -s 
/media/sources//git2/github.com.vim.vim.git/ $DEST/git/
git -C $DEST/git/ -c gc.autoDetach=false -c core.pager=cat checkout -B master 
982ef16059bd163a77271107020defde0740bbd6
ls -la $DEST/git/src/po/ru* --full-time

DEST=/media/build/poky-dunfell/build/tmp/work/core2-64-poky-linux/vim/9.0.2048-r0
rm $DEST/git/ -rf
git -c core.fsyncobjectfiles=0 clone -s -n 
/media/sources//git2/github.com.vim.vim.git/ $DEST/git/
git -C $DEST/git/ -c core.fsyncobjectfiles=0 checkout -B master 
982ef16059bd163a77271107020defde0740bbd6
ls -la $DEST/git/src/po/ru* --full-time

and I was sometimes able to see the same timestamps, sometimes not in
both cases so I suspect this issue could affect master too.

Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190479): 
https://lists.openembedded.org/g/openembedded-core/message/190479
Mute This Topic: https://lists.openembedded.org/mt/102564399/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to