Summary: | app-backup/mirdir: pre-stripped files found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | QA | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 239866 | ||
Attachments: | Patch to mirdir-2.1.ebuild to add a sed command to fix various QA issues |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 179592 [details, diff]
Patch to mirdir-2.1.ebuild to add a sed command to fix various QA issues
The upstream build system overwrites user CFLAGS in the configure script. Upstream failed to ship their configure.ac, so fixing it in configure is a nuisance. Instead, patch Makefile.in by appending the value of $CFLAGS before running the configure script. Also, delete the build rules for mirdir, since those rules stripped the resulting binary.
As a convenience, move the resulting binary from bin/mirdir to ./mirdir so that the GNU make implicit rule handles it correctly.
This bug has been fixed in app-backup/mirdir-2.1-r1. (In reply to comment #1) > The upstream build system overwrites user CFLAGS in the configure script. > Upstream failed to ship their configure.ac, so fixing it in configure is a > nuisance. Instead, patch Makefile.in by appending the value of $CFLAGS before > running the configure script. Also, delete the build rules for mirdir, since > those rules stripped the resulting binary. My CFLAGS were not be overridden by the configure script so I can't confirm that. Thanks for your help! |