<p>While working on reproducible builds for openSUSE, I found that<br>
our poco package build had variations in the resulting <code>poco-devel</code> rpms<br>
in the <code>DEPENDSDICT</code> header.<br>
Likely from build/rpmfc.c rpmfcGenerateDepends function.</p>
<p>Steps To Reproduce:</p>
<div class="highlight highlight-source-shell"><pre>osc co openSUSE:Factory/poco <span class="pl-k">&&</span> <span class="pl-c1">cd</span> <span class="pl-smi">$_</span>
osc build --no-service --vm-type=kvm --keep-pkgs=RPMS
rpm -qp --qf <span class="pl-s"><span class="pl-pds">'</span>%{DEPENDSDICT}\n<span class="pl-pds">'</span></span> RPMS/poco-devel-1.9.3-<span class="pl-k">*</span>.x86_64.rpm </pre></div>
<p>Diff looks thus:</p>
<div class="highlight highlight-source-diff"><pre>filterdiff printrpmtags RPMS*/*devel*
<span class="pl-md"><span class="pl-md">-</span>DEPENDSDICT=1342177287</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>DEPENDSDICT=1342177291</span></pre></div>
<p>When building on a filesystem without variations in readdir order (e.g. disorderfs in order mode or ext4 with dir_index disabled), differences go away.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/issues/1056?email_source=notifications&email_token=ADLPZU6PVSRC4FBTGJS76KTRBPUORA5CNFSM4KQ2ZI42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILPGJ4Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU34XVYM6N7GGGY2M4DRBPUORANCNFSM4KQ2ZI4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU4INFPEY4KKX76FEYTRBPUORA5CNFSM4KQ2ZI42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILPGJ4Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/issues/1056?email_source=notifications\u0026email_token=ADLPZU6PVSRC4FBTGJS76KTRBPUORA5CNFSM4KQ2ZI42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILPGJ4Q",
"url": "https://github.com/rpm-software-management/rpm/issues/1056?email_source=notifications\u0026email_token=ADLPZU6PVSRC4FBTGJS76KTRBPUORA5CNFSM4KQ2ZI42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILPGJ4Q",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>