[Bug 877694] New: fdupes file sorting is not deterministic between OBS build runs
https://bugzilla.novell.com/show_bug.cgi?id=877694 https://bugzilla.novell.com/show_bug.cgi?id=877694#c0 Summary: fdupes file sorting is not deterministic between OBS build runs Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: stefan.bruens@rwth-aachen.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 fdupes is used to remove/symlink duplicate files during %install in several packages. This process has to be deterministic regarding which file is the "original", otherwise the rpm comparision of the current build result and a previous run will have the false result. fdupes 1.40 had a SUSE specific patch to sort by filename. This patch was dropped for fdupes-1.50, which sorts by mtime, which was considered good enough. Unfortunately mtime sorting is not stable, as files may be created in parallel during the build. Reproducible: Always Steps to Reproduce: 1. build a package on obs Actual Results: This is as excerpt from a Mesa build log: [ 1289s] /usr/share/man/man3/glColorTableParameter.3gl.gz 2 (none) 100444 root root 0 4294967295 [ 1289s] -/usr/share/man/man3/glColorTableParameterfv.3gl.gz 2 (none) 100444 root root 0 4294967295 [ 1289s] -/usr/share/man/man3/glColorTableParameteriv.3gl.gz 2 (none) 120777 root root 0 4294967295 glColorTableParameterfv.3gl.gz [ 1289s] +/usr/share/man/man3/glColorTableParameterfv.3gl.gz 2 (none) 120777 root root 0 4294967295 glColorTableParameteriv.3gl.gz [ 1289s] +/usr/share/man/man3/glColorTableParameteriv.3gl.gz 2 (none) 100444 root root 0 4294967295 [ 1289s] /usr/share/man/man3/glConvolutionFilter1D.3gl.gz 2 (none) 100444 root root 0 4294967295 glColorTableParameterfv.3gl.gz and glColorTableParameteriv.3gl.gz are identical, but the symlink direction has changed. Expected Results: Symlink direction should be deterministic. A patched fdupes (optional sorting by filename, activated in the %fdupes macro by default) is available in the utilities:fdupes repository Affects openSUSE 12.3 and 13.1. fdupes should be updated in 12.3 and 13.1 as it reduces rebuilds on obs and avoids unnecessary package updates/downloads for users having additional repositories. (e.g. Tumbleweed, KDE:Current ...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=877694
https://bugzilla.novell.com/show_bug.cgi?id=877694#c1
--- Comment #1 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=877694
https://bugzilla.novell.com/show_bug.cgi?id=877694#c
Xiyuan Liu
https://bugzilla.novell.com/show_bug.cgi?id=877694
https://bugzilla.novell.com/show_bug.cgi?id=877694#c2
Matthias Grießmeier
https://bugzilla.novell.com/show_bug.cgi?id=877694
https://bugzilla.novell.com/show_bug.cgi?id=877694#c3
--- Comment #3 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com