[yocto] build error since commit: gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify
Nicolas Dechesne
ndec13 at gmail.com
Tue Nov 20 16:44:58 PST 2012
hello,
i was attempting a rebuild from scratch with today's master of poky, and i
was facing issues such as:
WARNING: Failed to fetch URL file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch,
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file
file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch anywhere. The paths that were
searched were:
/yocto/poky/meta/recipes-devtools/gcc/gcc-4.7.2
/yocto/build-poky-master/downloads
ERROR: Function failed: Fetcher failure for URL:
'file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch'. Unable to fetch URL from
any source.
This seems to be since this commit:
commit 90616875b432a932415063b08497266e70c49d75
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Mon Nov 19 21:18:52 2012 +0000
gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
and looking at a similar patch sent to oe-core (
http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/29668) not
merged yet, the following patch fixes my problem...
--- a/meta/recipes-devtools/gcc/gcc-4.7.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
@@ -18,6 +18,8 @@ PV = "4.7.2"
BINV = "4.7.2"
+FILESPATH = "${FILE_DIRNAME}/gcc-4.7"
+
DEPENDS =+ "mpfr gmp libmpc"
NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
without that, bitbake is looking for 'file://xxx' from recipe in the wrong
folder (e.g. gcc-4.7.2 instead of gcc-4.7)
is there anything that i am overlooking here?
cheers
nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121121/3e461bb0/attachment.html>
More information about the yocto
mailing list