Summary: | sys-fs/mdadm fails to compile when STRIP is set in the environment | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2020-07-11 19:35:46 UTC
Created attachment 648958 [details]
build.log
build log and emerge --info
Looks like the root cause of this is bad usage of STRIP. I was able to reproduce this with a gcc toolchain by setting STRIP in make.conf. Unsetting STRIP and building with clang was successful. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7874f59d18ef92104d413b396989fd40c268d42b commit 7874f59d18ef92104d413b396989fd40c268d42b Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-12-14 18:29:09 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-12-14 18:29:09 +0000 sys-fs/mdadm: set STRIP to blank The Makefile passes STRIP strip to the "install" command. It should either be empty, or set to "-s". Closes: https://bugs.gentoo.org/732276 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-fs/mdadm/mdadm-4.1.ebuild | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) |