Wind River Support Network

HomeDefectsLINCD-342
Fixed

LINCD-342 : different file outputs between 2 projects

Created: Nov 14, 2019    Updated: Aug 14, 2020
Resolved Date: Jul 24, 2020
Found In Version: 10.20.3.0
Fix Version: 10.20.33.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

# build 2 projects with below commands,
$ setup.sh --machines=qemux86-64 --all-layers --dl-layers && source oe-init-build-env
$ echo 'INHERIT += "reproducible_build_simple reproducible_build"' >>conf/local.conf
$ bitbake wrlinux-image-std

# then untar file tmp-glibc/deploy/images/qemux86-64/wrlinux-image-std-qemux86-64.tar.bz2 and compare image files

Built 2 projects with same configurations on a same server, most of the files in both images can match in checksum(sha256), but I still can find several files which can't,
 ==
 systemd
 ------
 /lib/systemd/libsystemd-shared-242.so
 /lib/systemd/systemd-timesyncd
 ------

wget
 ------
 /usr/bin/wget.wget
 ------

libdnf
 ------
 /usr/lib64/libdnf.so.2
 /usr/lib64/python3.7/site-packages/hawkey/_hawkey.so
 /usr/lib64/python3.7/site-packages/libdnf/_common_types.so
 /usr/lib64/python3.7/site-packages/libdnf/_conf.so
 /usr/lib64/python3.7/site-packages/libdnf/_module.so
 /usr/lib64/python3.7/site-packages/libdnf/_repo.so
 /usr/lib64/python3.7/site-packages/libdnf/_smartcols.so
 /usr/lib64/python3.7/site-packages/libdnf/_transaction.so
 /usr/lib64/python3.7/site-packages/libdnf/_utils.so
 ------

nss
 ------
 /usr/lib64/libfreebl3.chk
 /usr/lib64/libnssdbm3.chk
 /usr/lib64/libsoftokn3.chk
 ------

libgcrypt
 ------
 /usr/lib64/libgcrypt.so.20.2.4
 ------

lvm2
 ------
 /usr/lib64/liblvm2cmd.so.2.03
 ------

libsolv
 ------
 /usr/lib64/libsolvext.so.1
 ------

python/2.7.16
 ------
 /usr/lib64/python2.7/_sysconfigdata.pyc
 ------

libcomps
 ------
 /usr/lib64/python3.7/site-packages/libcomps/_libpycomps.so
 ------

librepo
 ------
 /usr/lib64/python3.7/site-packages/librepo/_librepo.so
 ------

lvm2
 ------
 /usr/sbin/lvm
 ------

vim
 ------
 /usr/share/applications/vim.desktop
 ------
 ==

Steps to Reproduce

\# build 2 projects with below commands,
$ setup.sh --machines=qemux86-64 --all-layers --dl-layers && source oe-init-build-env
$ echo 'INHERIT += "reproducible_build_simple reproducible_build"' >>conf/local.conf
$ bitbake wrlinux-image-std

\# then untar file tmp-glibc/deploy/images/qemux86-64/wrlinux-image-std-qemux86-64.tar.bz2 and compare image files
Live chat
Online