Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: [PATCH] gcc-package-target: don't fail if the .la files we try to delete are not there to start with
Date: Tue, 19 Jul 2011 11:17:10 -0700	[thread overview]
Message-ID: <4E25CA26.6090601@linux.intel.com> (raw)
In-Reply-To: <1310976967-7251-1-git-send-email-koen@dominion.thruhere.net>

On 07/18/2011 01:16 AM, Koen Kooi wrote:
> This fixes:
>
> | rm: cannot remove `/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/gcc-4.5-r39.1+svnr175127/image/usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.4/*.la': No such file or directory
> | ERROR: Function 'do_install' failed (see /OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/gcc-4.5-r39.1+svnr175127/temp/log.do_install.19514 for further information)
> NOTE: package gcc-4.5-r39.1+svnr175127: task do_install: Failed
>
> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
> ---
>   meta/recipes-devtools/gcc/gcc-package-target.inc |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
> index 9a91a7f..e6105da 100644
> --- a/meta/recipes-devtools/gcc/gcc-package-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
> @@ -84,7 +84,7 @@ do_install () {
>   	# Cleanup some of the ${libdir}{,exec}/gcc stuff ...
>   	rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
>   	rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
> -	rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la
> +	rm -rf ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la
>
>   	# Hack around specs file assumptions
>   	test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs&&  sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs

Merged into OE-core

Thanks
	Sau!



      parent reply	other threads:[~2011-07-19 18:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18  8:16 [PATCH] gcc-package-target: don't fail if the .la files we try to delete are not there to start with Koen Kooi
2011-07-19  8:46 ` Koen Kooi
2011-07-19 18:17 ` Saul Wold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E25CA26.6090601@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=koen@dominion.thruhere.net \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox