<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14172</bug_id>
          
          <creation_ts>2020-12-31 05:29:10 +0000</creation_ts>
          <short_desc>man-db reproducibility failure</short_desc>
          <delta_ts>2021-01-03 11:59:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>oe-core other</component>
          <version>3.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Naveen Saini">naveen.kumar.saini</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88836</commentid>
    <comment_count>0</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2020-12-31 05:29:10 +0000</bug_when>
    <thetext>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 &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/reproducible.py&quot;, line 347, in test_reproducible_builds
    self.fail(&apos;\n&apos;.join(fails))
  File &quot;/usr/lib64/python3.9/unittest/case.py&quot;, 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/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88844</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-01-01 13:56:18 +0000</bug_when>
    <thetext>The issue is that the files are owned by &quot;6/12&quot; instead of &quot;man/man&quot;. The build on fedora33-ty-1 correctly builds as &quot;man/man&quot;, worryingly everything else appears to be building as &quot;6/12&quot;. The IDs are in base-passwd by default and there is a recipe dependency on base-passwd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88846</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-01-02 17:07:08 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88847</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-01-03 11:59:37 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&amp;id=fb1fe1a60d93eb05010c7b6a8077eddd4f910e95</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>