Wind River Support Network

HomeDefectsLIN1019-1514
Not to be fixed

LIN1019-1514 : same wrlinux-image-std images from 2 projects are not reproducible

Created: Jun 16, 2019    Updated: Apr 28, 2021
Resolved Date: Apr 28, 2021
Found In Version: 10.19.45.1
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

Description

# build 2 projects with below commands,
$ setup.sh --machines=qemux86-64 --all-layers --dl-layers
$ source oe-init-build-env build1
$ 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 --- (1

$ cd ../; source oe-init-build-env build2
$ 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 --- (2

# compare image files from (1 and (2
The two projects with same configurations on a same server, there are several
files with different checksum

==
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