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 [details]
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: