FS#63412 - [dhcpcd] Install permissions should be 755 or 644 to ensure stripping
Attached to Project:
Arch Linux
Opened by Austin Lund (aplund) - Friday, 09 August 2019, 02:41 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 June 2023, 02:35 GMT
Opened by Austin Lund (aplund) - Friday, 09 August 2019, 02:41 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 June 2023, 02:35 GMT
|
Details
Description:
The standard "make install" included upstream for dhcpcd doesn't set permissions to be user writable by default. This prevents some packaging features of makepkg from working (e.g. stripping debug symbols). Attached patch explicitly includes the install permissions and fixes the issue. Steps to reproduce: Run makepkg for dhcpcd with "strip" and "debug" set. No debugging package is made. |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 11 June 2023, 02:35 GMT
Reason for closing: Fixed
Additional comments about closing: Seems fine these days.
Sunday, 11 June 2023, 02:35 GMT
Reason for closing: Fixed
Additional comments about closing: Seems fine these days.
/usr/bin/dhcpcd: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=5f82b975b1d20bff7b47e06b48064bbd87e8b9ad, for GNU/Linux 3.2.0, not stripped
/usr/lib/dhcpcd/dev/udev.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0e2d99d805444b1e0cf7390a3ade67720af6bd5b, not stripped
Not that this is the biggest deal in the world considering the package size, but, these files are not getting stripped (which makepkg is supposed to do according to our standard makepkg.conf).
And sure, this would also mean if/when we start shipping official debug packages, dhcpcd would not be able to include splitdebug packages.