[Bug 1180984] New: dwz: breaks with hardlink binaries
https://bugzilla.suse.com/show_bug.cgi?id=1180984 Bug ID: 1180984 Summary: dwz: breaks with hardlink binaries Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: tdevries@suse.com Reporter: amajer@suse.com QA Contact: qa-bugs@suse.de CC: christian.voegl@suse.com, pth@suse.com, tdevries@suse.com Found By: --- Blocker: --- Created attachment 845164 --> https://bugzilla.suse.com/attachment.cgi?id=845164&action=edit strace When the binaries are hardlinked, dwt is failing (ie. at least not cleaning up after itself)
osc co -r 2 devel:libraries:c_c++/libdeflate
[ 146s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 146s] Recommends: libdeflate-debugsource(x86-64) = 1.7-2.1 [ 146s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/libdeflate-1.7-2.1.x86_64 [ 146s] error: Installed (but unpackaged) file(s) found: [ 146s] /usr/lib/debug/usr/bin/libdeflate-gzip-1.7-2.1.x86_64.debug.#dwz#.OEYOXp [ 146s] [ 146s] [ 146s] RPM build errors: [ 146s] Empty %files file /home/abuild/rpmbuild/BUILD/libdeflate-1.7/debugsourcefiles.list [ 146s] Installed (but unpackaged) file(s) found: [ 146s] /usr/lib/debug/usr/bin/libdeflate-gzip-1.7-2.1.x86_64.debug.#dwz#.OEYOXp
The files are not removed because rename() returns success but does nothing when the destination and source are hardlinked together. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1180984 https://bugzilla.suse.com/show_bug.cgi?id=1180984#c1 --- Comment #1 from Adam Majer <amajer@suse.com> --- 12:29 < fvogt> The issue is that libdeflate-gzip is a hardlink to libdeflate-gunzip 12:29 < fvogt> find-debuginfo.sh is smart enough to notice that and creates a libdeflate-gunzip.debug hardlink as well 12:30 < fvogt> dwz however doesn't like working with hardlinks -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1180984 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1180984 https://bugzilla.suse.com/show_bug.cgi?id=1180984#c2 --- Comment #2 from Tom de Vries <tdevries@suse.com> --- This is a well-known issue with dwz. Upstream PR is https://sourceware.org/bugzilla/show_bug.cgi?id=24275 . I've submitted a fix that will hopefully go into the upcoming 0.14 release. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1180984 https://bugzilla.suse.com/show_bug.cgi?id=1180984#c3 --- Comment #3 from Tom de Vries <tdevries@suse.com> --- (In reply to Tom de Vries from comment #2)
This is a well-known issue with dwz.
Upstream PR is https://sourceware.org/bugzilla/show_bug.cgi?id=24275 .
I've submitted a fix that will hopefully go into the upcoming 0.14 release.
Upstream fix committed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com