Bug 14172 - man-db reproducibility failure
Summary: man-db reproducibility failure
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: 3.3
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-12-31 05:29 UTC by Naveen Saini
Modified: 2021-01-03 11:59 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naveen Saini 2020-12-31 05:29:10 UTC
Reproducibility failure in man-db package in oe-selftest-fedora (master-next).

name: fedora33-ty-1
host:  Fedora Core 33 worker 1
version:  2020.11.19



Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/reproducible.py", line 347, in test_reproducible_builds
    self.fail('\n'.join(fails))
  File "/usr/lib64/python3.9/unittest/case.py", line 670, in fail
    raise self.failureException(msg)
AssertionError: The following deb packages are missing or different and not in exclusion list: /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-482178/reproducibleB/tmp/deploy/deb/./core2-64/man-db_2.9.3-r1_amd64.deb
The following ipk packages are missing or different and not in exclusion list: /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-482178/reproducibleB/tmp/deploy/ipk/./core2-64/man-db_2.9.3-r1_core2-64.ipk

Snip from diff-html:

18	-rwsr-sr-x···0········6·······12···502424·2020-06-22·20:22:20.000000·./usr/bin/man	
18	-rwsr-sr-x···0·man··········(6)·man·········(12)···502424·2020-06-22·20:22:20.000000·./usr/bin/man

and 

20	-rwsr-sr-x···0········6·······12···491904·2020-06-22·20:22:20.000000·./usr/bin/mandb	
20	-rwsr-sr-x···0·man··········(6)·man·········(12)···491904·2020-06-22·20:22:20.000000·./usr/bin/mandb

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1715

https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201230-cmrpjzcp/packages/diff-html/
Comment 1 Richard Purdie 2021-01-01 13:56:18 UTC
The issue is that the files are owned by "6/12" instead of "man/man". The build on fedora33-ty-1 correctly builds as "man/man", worryingly everything else appears to be building as "6/12". The IDs are in base-passwd by default and there is a recipe dependency on base-passwd.
Comment 2 Richard Purdie 2021-01-02 17:07:08 UTC
Reproducer locally is:

bitbake man-db
bitbake man-db -c clean
bitbake man-db -c package_write_deb -f

after which the resulting deb is 6/12 ownership instead of man/man.