Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17235 - ttmkfdir compile failed using distcc crosscompile
Summary: ttmkfdir compile failed using distcc crosscompile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 12:21 UTC by Tom Ward
Modified: 2003-03-27 13:26 UTC (History)
1 user (show)

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


Attachments
patch to correct called name of gcc (ttmkfdir-3.0.4.ebuild-xdistcc.patch,214 bytes, patch)
2003-03-10 12:22 UTC, Tom Ward
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Ward 2003-03-10 12:21:53 UTC
for cross compile on heterogeneous distcc hosts, we require a fully specified compiler 
name (eg. powerpc-unknown-linux-g++ rather than g++).
Comment 1 Tom Ward 2003-03-10 12:22:57 UTC
Created attachment 9221 [details, diff]
patch to correct called name of gcc
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-10 21:55:48 UTC
Same as for your baselayout bug, you will rather change the call to make,
and set CC:

----------------------------------------------
Index: ttmkfdir-3.0.4.ebuild
===================================================================
RCS file: /home/cvsroot/gentoo-x86/x11-misc/ttmkfdir/ttmkfdir-3.0.4.ebuild,v
retrieving revision 1.6
diff -u -r1.6 ttmkfdir-3.0.4.ebuild
--- ttmkfdir-3.0.4.ebuild	21 Feb 2003 23:04:02 -0000	1.6
+++ ttmkfdir-3.0.4.ebuild	11 Mar 2003 02:54:25 -0000
@@ -20,7 +20,10 @@
 	sys-devel/libtool"
 
 src_compile() {
-	make OPTFLAGS="${CFLAGS}" DEBUG="" || die
+	[ -z "${CXX}" ] && CXX="g++"
+
+	make CXX="${CXX}" \
+		OPTFLAGS="${CFLAGS}" DEBUG="" || die
 }
 
 src_install() {
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2003-03-27 13:26:39 UTC
Fixed in 3.0.9, closing this bug.