Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 856487

Summary: app-forensics/aflplusplus-4.01c calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED FIXED    
Severity: normal CC: alex.miller
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26252
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-07-05 05:56:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-forensics/aflplusplus-4.01c calls ar directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-05 05:56:34 UTC
CC'ing also the author of the commit (4c38bde47bbac4eaf8654581b9806a11780b298f)
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-05 05:56:35 UTC
Created attachment 790115 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2022-07-05 05:56:37 UTC
Error(s) that match a know pattern:


make[1]: ar: No such file or directory
/usr/lib/llvm/14/include/llvm/Support/Error.h: In member function ‘void llvm::Error::setChecked(bool)’:
Comment 4 Larry the Git Cow gentoo-dev 2022-07-07 03:13:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1898df7eb336d42b908246c95ac241077534b996

commit 1898df7eb336d42b908246c95ac241077534b996
Author:     Alexander Miller <alex.miller@gmx.de>
AuthorDate: 2022-07-07 00:30:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-07 03:13:14 +0000

    app-forensics/aflplusplus: Respect AR, add missing LDFLAGS instance
    
    Closes: https://bugs.gentoo.org/856487
    Closes: https://bugs.gentoo.org/856490
    Signed-off-by: Alexander Miller <alex.miller@gmx.de>
    Closes: https://github.com/gentoo/gentoo/pull/26252
    Signed-off-by: Sam James <sam@gentoo.org>

 ...lus-4.01c.ebuild => aflplusplus-4.01c-r1.ebuild} |  0
 .../files/aflplusplus-4.01c-respect-flags.patch     | 21 ++++++++++++++++-----
 2 files changed, 16 insertions(+), 5 deletions(-)