Depending on whether the host umask is 0002 or 0022, the permissions of files in the target packages changes. In particular for example, makedevs.c in makedevs-src. A more complete lists of leakage: https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201121-x10g6tpd/packages/diff-html/ This was illustrated with a new fedora33 worker bringup with a umask of 0002 instead of the usual 0022 of the other workers. The issue is that package.bbclass copies in files using cpio but we don't appear to force the mode bits of debug/source files. fs-perms says: # Cleanup debug src /usr/src/debug 0755 root root true - root root Probably needs an fmode set? (the - above)
This was fixed in master with: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=670b1be774e19bbc0d4a93f4b7c1c5ba9efa7374 http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=451af0105bc934c6be239a79821193139e49ab1a but we probably want to backport these for gatesgarth and LTS?
Fixes cherry-picked to dunfell: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=433c03024126b79e796c9b823ab85eadc7499cb6 https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=9f697736e08a9c1cdc40b30898afb10e41f39655