All of lore.kernel.org
 help / color / mirror / Atom feed
* pcmciautils: fix build to use flex from sysroots, not from host
@ 2010-06-04 23:24 Khem Raj
  2010-06-06 11:00 ` Dmitry Eremin-Solenikov
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2010-06-04 23:24 UTC (permalink / raw)
  To: openembedded-devel; +Cc: dbaryshkov

Hi

This commit 

commit c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
Author:     Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
AuthorDate: Fri Jun 4 16:26:17 2010 +0400
Commit:     Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
CommitDate: Fri Jun 4 16:44:18 2010 +0400

    pcmciautils: fix build to use flex from sysroots, not from host
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>


breaks the build when I have flex-native in ASSUME_PROVIDED.
It there any specific reason why one should use flex from hosted sysroot ?
is the flex package on all distribution broken for some reason ?

Thanks
-Khem





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pcmciautils: fix build to use flex from sysroots, not from host
  2010-06-04 23:24 pcmciautils: fix build to use flex from sysroots, not from host Khem Raj
@ 2010-06-06 11:00 ` Dmitry Eremin-Solenikov
  2010-06-06 18:37   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Eremin-Solenikov @ 2010-06-06 11:00 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

Hello,

On Sat, Jun 5, 2010 at 3:24 AM, Khem Raj <raj.khem@gmail.com> wrote:
> Hi
>
> This commit
>
> commit c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
> Author:     Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> AuthorDate: Fri Jun 4 16:26:17 2010 +0400
> Commit:     Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> CommitDate: Fri Jun 4 16:44:18 2010 +0400
>
>    pcmciautils: fix build to use flex from sysroots, not from host
>
>    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>
>
> breaks the build when I have flex-native in ASSUME_PROVIDED.
> It there any specific reason why one should use flex from hosted sysroot ?
> is the flex package on all distribution broken for some reason ?

Then we either:
1) have to put flex in prerequisites, check it in sanity.bbclass (and
drop flex-native)
2) have to fix pcmciautils to detect path to flex
3) expand some class to autodetect the flex/bison/etc. programs

Because currently pcmciautils just failed for me because I was building them on
the box where I had no flex installed, but build (via some other dependancy)
in OE sysroot.

-- 
With best wishes
Dmitry



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pcmciautils: fix build to use flex from sysroots, not from host
  2010-06-06 11:00 ` Dmitry Eremin-Solenikov
@ 2010-06-06 18:37   ` Khem Raj
  2010-06-06 22:20     ` Dmitry Eremin-Solenikov
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2010-06-06 18:37 UTC (permalink / raw)
  To: Dmitry Eremin-Solenikov; +Cc: openembedded-devel

On Sun, Jun 6, 2010 at 4:00 AM, Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com> wrote:
> Hello,
>
> On Sat, Jun 5, 2010 at 3:24 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> Hi
>>
>> This commit
>>
>> commit c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
>> Author:     Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>> AuthorDate: Fri Jun 4 16:26:17 2010 +0400
>> Commit:     Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>> CommitDate: Fri Jun 4 16:44:18 2010 +0400
>>
>>    pcmciautils: fix build to use flex from sysroots, not from host
>>
>>    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>>
>>
>> breaks the build when I have flex-native in ASSUME_PROVIDED.
>> It there any specific reason why one should use flex from hosted sysroot ?
>> is the flex package on all distribution broken for some reason ?
>
> Then we either:
> 1) have to put flex in prerequisites, check it in sanity.bbclass (and
> drop flex-native)
> 2) have to fix pcmciautils to detect path to flex
> 3) expand some class to autodetect the flex/bison/etc. programs
>
> Because currently pcmciautils just failed for me because I was building them on
> the box where I had no flex installed, but build (via some other dependancy)
> in OE sysroot.

Well then you only need it in DEPENDS of pcmciautils thats all and not
hardcode it


>
> --
> With best wishes
> Dmitry
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pcmciautils: fix build to use flex from sysroots, not from host
  2010-06-06 18:37   ` Khem Raj
@ 2010-06-06 22:20     ` Dmitry Eremin-Solenikov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Eremin-Solenikov @ 2010-06-06 22:20 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

Hello,

On Sun, Jun 6, 2010 at 10:37 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Sun, Jun 6, 2010 at 4:00 AM, Dmitry Eremin-Solenikov
> <dbaryshkov@gmail.com> wrote:
>> Hello,
>>
>> On Sat, Jun 5, 2010 at 3:24 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>> Hi
>>>
>>> This commit
>>>
>>> commit c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
>>> Author:     Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>>> AuthorDate: Fri Jun 4 16:26:17 2010 +0400
>>> Commit:     Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>>> CommitDate: Fri Jun 4 16:44:18 2010 +0400
>>>
>>>    pcmciautils: fix build to use flex from sysroots, not from host
>>>
>>>    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>>>
>>>
>>> breaks the build when I have flex-native in ASSUME_PROVIDED.
>>> It there any specific reason why one should use flex from hosted sysroot ?
>>> is the flex package on all distribution broken for some reason ?
>>
>> Then we either:
>> 1) have to put flex in prerequisites, check it in sanity.bbclass (and
>> drop flex-native)
>> 2) have to fix pcmciautils to detect path to flex
>> 3) expand some class to autodetect the flex/bison/etc. programs
>>
>> Because currently pcmciautils just failed for me because I was building them on
>> the box where I had no flex installed, but build (via some other dependancy)
>> in OE sysroot.
>
> Well then you only need it in DEPENDS of pcmciautils thats all and not
> hardcode it

Fine with me. I'm commiting a patch which will drop the hardcoded path
and use just
LEX=flex. That should be fine for both our cases, shan't it?

>
>
>>
>> --
>> With best wishes
>> Dmitry
>>
>



-- 
With best wishes
Dmitry



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-06 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-04 23:24 pcmciautils: fix build to use flex from sysroots, not from host Khem Raj
2010-06-06 11:00 ` Dmitry Eremin-Solenikov
2010-06-06 18:37   ` Khem Raj
2010-06-06 22:20     ` Dmitry Eremin-Solenikov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.