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

Bug 754999

Summary: dev-java/jna-5.11.0 calls strip directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/25702
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-11-17 07:35:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/jna-4.2.2-r1 calls strip 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 STRIP implementation (like llvm-strip). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the STRIP variable to x86_64-pc-linux-gnu-strip.
Comment 1 Agostino Sarubbo gentoo-dev 2020-11-17 07:35:52 UTC
Created attachment 671716 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-11-17 07:35:55 UTC
Possible context of error(s):

     [exec] make: strip: No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2022-01-09 17:48:02 UTC
ci has reproduced this issue with version 5.10.0 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2022-05-12 07:19:31 UTC
ci has reproduced this issue with version 5.11.0 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2022-05-31 23:46:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14be4a0ea20880015e350f99b0f0140a10877736

commit 14be4a0ea20880015e350f99b0f0140a10877736
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-05-31 14:20:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-31 23:44:33 +0000

    dev-java/jna: do not call STRIP directly
    
    Closes: https://bugs.gentoo.org/754999
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/25702
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-java/jna/files/5.11.0-makefile-flags.patch | 34 ++++++++++++++++++++++++++
 dev-java/jna/jna-5.11.0.ebuild                 |  4 +--
 2 files changed, 36 insertions(+), 2 deletions(-)