FS#64196 - openssh's Makefile does own stripping, making makepkg.conf's OPTION+=(!strip) useless.

Attached to Project: Arch Linux
Opened by Jorge Luis Martinez Gomez (jol) - Sunday, 20 October 2019, 21:20 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 21 October 2019, 19:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

openssh's Makefile does its own `strip`ping on `make install`. This causes the final executables to be stripped even when we configure OPTIONS+=(!strip) in /etc/makepkg.conf.

Additional info:
* package version(s)

openssh 8.1p1-1

* config and/or log files etc.

In /etc/makepkg.conf:

OPTIONS+=(!strip)

* link to upstream bug report, if any

It's not an issue with upstream.

Steps to reproduce:

1. disable stripping in /etc/makepkg.conf.
2. makepkg on openssh
3. check if resulting executables are stripped with `file`.

Fix:

Adding `--disable-strip` to configure options in the build() function of the PKGBUILD fixes this. Stripping is still done by makepkg when it's configured as so.

I've attached a patch of the change to PKGBUILD.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 21 October 2019, 19:10 GMT
Reason for closing:  Implemented
Additional comments about closing:  in SVN

Loading...