Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Thilo Fromm <t.fromm@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] vim-7.2: remove quotes from CC in configure.in
Date: Thu, 30 Sep 2010 18:49:15 +0200	[thread overview]
Message-ID: <4CA4BF8B.6050509@dresearch.de> (raw)
In-Reply-To: <1285859228.3805.115.camel@mattotaupa>

Hello Paul,

>> upstream: OE-only
>
> Please remove this again.

I will. Same thing as with the other patches: I learned the right place 
for this tag after this patch went out.

>> configure.in features quotes around some calls to $CC (i.e. it calls
>> "$CC"). CC is, however, not always just the compiler name. In OpenEmbedded
>> CC looks more like "arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb".
>>
[...]
>> configure: creating ./config.status
>> config.status: creating auto/config.mk
>> config.status: creating auto/config.h
>>
>> So the configure step had errors, but didn't report any in the return code.
>>
>> This patch removes the quotes around the CC variable in configure.in, which unbreaks the configure step.
>
> I have the same questions as before. Do you know if something similar is
> needed upstream? I think it is not OE only since other frameworks have
> similar values for `CC`.

Hmmm, do you think? I found this a way too tiny issue to report back 
upstream. But allright, I'll report it to the Vim developer's mailing 
list tomorrow, and refer to the e-mail thread in the upstream tag.

>> diff --git a/recipes/vim/files/configure.in_remove_CC_quotes.patch b/recipes/vim/files/configure.in_remove_CC_quotes.patch
>> new file mode 100644
>> index 0000000..db9fb07
>> --- /dev/null
>> +++ b/recipes/vim/files/configure.in_remove_CC_quotes.patch
>
> Please add the appropriate patch header.

I'm getting the idea now. Don't give up yet :)

>>
>>   addtask applypatch after do_unpack before do_patch
>
> Besides that I build tested your patch and it worked for
> `angstrom-2008.1`, `minimal-{eglibc,libc,uclibc}` and `MACHINE =
> "beagleboard"`.

It worked? Well, then your default minimal build includes X libraries. 
Target vim-7.2 fails in a clean build without X libraries, because the 
recipe is still broken. Another patch fixes this, it's already in the 
queue. Anyway, thanks for testing!

Regards,
Thilo

-- 
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Developer
DResearch Digital Media Systems GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228   mailto:t.fromm@dresearch.de
Fax: +49 (30) 515 932 77    http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB:54412
Ust.-IDNr. DE169013825; WEEE Reg.-Nr. DE 85995642
Geschäftsführer: Dr. M. Weber, W. Mögle



  reply	other threads:[~2010-09-30 16:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29 17:59 [PATCH] vim-7.2: remove quotes from CC in configure.in Thilo Fromm
2010-09-30 15:07 ` Paul Menzel
2010-09-30 16:49   ` Thilo Fromm [this message]
2010-10-01 10:25   ` [PATCH v2] " Thilo Fromm

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=4CA4BF8B.6050509@dresearch.de \
    --to=t.fromm@dresearch.de \
    --cc=openembedded-devel@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