file permissions when stripping under fakeroot

Jonas Witschel diabonas@archlinux.org
Sat Feb 6 18:31:52 GMT 2021


Hi Siddhesh,

> Still no luck, could you share your binutils configuration too?

the binutils configuration that Arch Linux uses can be found at [1].

> Perhaps reverting the following patches could work, given that they're the
> other two patches from the set, other than the above that got reverted. It
> shouldn't affect permissions of the file, but could be an interesting
> experiment and could point to some other issue.

Unfortunately reverting commits 365f5fb6d0f0da83817431a275e99e6f6babbe04 and
1a1c3b4cc17687091cff5a368bd6f13742bcfdf8 on top of binutils-2_36_1 doesn't seem
to solve the issue according to my experiments.

Only after reverting commit 355e5f2ffbc0db0c6db77586d879553b72958187 (or
equivalently, re-applying 014cc7f849e8209623fc99264814bce7b3b6faf2), the
ownership is unchanged after running strip.

Kind regards,
Jonas

[1] https://github.com/archlinux/svntogit-packages/blob/383b00c338273fb37fc4b02e4b68750a1dc80d68/trunk/PKGBUILD#L42-L59

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20210206/fe1e9083/attachment.sig>


More information about the Binutils mailing list