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

Bug 833993

Summary: sci-electronics/gspiceui-1.2.87 calls g++ directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: RESOLVED FIXED    
Severity: normal CC: andrewammerlaan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-02-24 13:27:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-electronics/gspiceui-1.2.87 calls g++ 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 C++ implementation (like clang++). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-24 13:27:59 UTC
Created attachment 765766 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-02-24 13:28:01 UTC
Error(s) that match a know pattern:


/bin/sh: line 1: g++: command not found
Comment 3 Larry the Git Cow gentoo-dev 2022-02-24 13:55:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2679c27fcd64465c371a274e8bcb82dd96980bb1

commit 2679c27fcd64465c371a274e8bcb82dd96980bb1
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-02-24 13:55:43 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-02-24 13:55:50 +0000

    sci-electronics/gspiceui: respect CXX and fix build with clang
    
    Also update icon cache in postinst
    
    Closes: https://bugs.gentoo.org/833994
    Closes: https://bugs.gentoo.org/833993
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../gspiceui-1.2.87-respect-users-flags.patch      | 34 ++++++++++++++++++++--
 sci-electronics/gspiceui/gspiceui-1.2.87.ebuild    |  5 ++--
 2 files changed, 34 insertions(+), 5 deletions(-)