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

Bug 248762

Summary: net-misc/ssh-askpass-fullscreen-0.4-r1 doesn't compile anything because it found no gcc
Product: Gentoo Linux Reporter: Cedric Godin <cedric.godin>
Component: Current packagesAssignee: Jeremy Olexa (darkside) (RETIRED) <darkside>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/net-misc/ssh-askpass-fullscreen-0.4-r1/temp/environment file

Description Cedric Godin 2008-11-25 09:40:44 UTC
when trying to emerge net-misc/ssh-askpass-fullscreen-0.4-r1, i have the following output :
>>> Unpacking source...
>>> Unpacking ssh-askpass-fullscreen-0.4.tar.gz to /var/tmp/portage/net-misc/ssh-askpass-fullscreen-0.4-r1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/ssh-askpass-fullscreen-0.4-r1/work/ssh-askpass-fullscreen-0.4 ...
/var/tmp/portage/net-misc/ssh-askpass-fullscreen-0.4-r1/temp/environment: line 85: tc-getCC: command not found
make LDFLAGS=-Wl,-z,now
march=pentium4 -O2 -pipe -ggdb -o ssh-askpass-fullscreen ssh-askpass-fullscreen.c `pkg-config --libs gtk+-2.0` `pkg-config --cflags gtk+-2.0`-Wl,-z,now
/bin/sh: -O2: command not found
make: [all] Error 127 (ignored)
>>> Source compiled.

after looking into the /var/tmp/portage/net-misc/ssh-askpass-fullscreen-0.4-r1/temp/environment (posted) i see that there is a sed command that replaces the gcc by a (tc-getCC) in the src_compile sub.


Reproducible: Always

Steps to Reproduce:
1. emerge =net-misc/ssh-askpass-fullscreen-0.4-r1
2.
3.
Comment 1 Cedric Godin 2008-11-25 09:41:45 UTC
Created attachment 173312 [details]
/var/tmp/portage/net-misc/ssh-askpass-fullscreen-0.4-r1/temp/environment file
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2008-11-25 09:53:08 UTC
Depends on #247700 and the missing inherit of toolchain-funcs in the tree ebuild.

--- /usr/portage/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r1.ebuild	2008-11-20 16:56:38.000000000 +0100
+++ /usr/portage/local/private-overlay-dev/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r1.ebuild	2008-11-20 13:59:13.000000000 +0100
@@ -1,6 +1,8 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r1.ebuild,v 1.1 2008/11/20 15:56:38 darkside Exp $
+# $Header: $
+
+inherit toolchain-funcs
 
 DESCRIPTION="A small SSH Askpass replacement written with GTK2."
 HOMEPAGE="https://www.cgabriel.org/software/wiki/SshAskpassFullscreen"
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-25 15:47:32 UTC
thanks for the comment. Silly me. fixed now.