Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732276 - sys-fs/mdadm fails to compile when STRIP is set in the environment
Summary: sys-fs/mdadm fails to compile when STRIP is set in the environment
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-11 19:35 UTC by Agostino Sarubbo
Modified: 2020-12-14 18:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,33.22 KB, text/plain)
2020-07-11 19:35 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-11 19:35:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/mdadm fails to compile.
Discovered on: amd64  (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-11 19:35:53 UTC
Created attachment 648958 [details]
build.log

build log and emerge --info
Comment 2 Kenton Groombridge gentoo-dev 2020-12-14 16:59:43 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2020-12-14 18:29:45 UTC
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(-)