Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729856 - app-misc/oneko calls cc directly
Summary: app-misc/oneko calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-27 13:49 UTC by Agostino Sarubbo
Modified: 2021-04-15 06:39 UTC (History)
0 users

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


Attachments
build.log (build.log,7.84 KB, text/plain)
2020-06-27 13:49 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-06-27 13:49:07 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: app-misc/oneko calls cc directly.
Discovered on: amd64

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 CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-27 13:49:13 UTC
Created attachment 646720 [details]
build.log

build log and emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-06-28 07:19:44 UTC

*** This bug has been marked as a duplicate of bug 729630 ***
Comment 3 Larry the Git Cow gentoo-dev 2021-04-15 06:39:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c51365112a65e3638e3d8469f20584419424b0

commit 41c51365112a65e3638e3d8469f20584419424b0
Author:     Ionen Wolkens <sudinave@gmail.com>
AuthorDate: 2021-04-14 06:10:08 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-04-15 06:38:50 +0000

    app-misc/oneko: fix build with -native-symlinks
    
    ebuild used an ld wrapper to try to work around this, but while this
    removed the QA notice it'd still fail on gcc (bug #729856).
    
    Wrapper could also cause an infinite loop if user sets LD=ld.
    
    Closes: https://bugs.gentoo.org/729856
    Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-misc/oneko/oneko-1.2_p6_p14-r1.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)