Openembedded Core Discussions
 help / color / mirror / Atom feed
* flex wrapper returns wrong version
@ 2013-05-09 13:03 Martin Jansa
  2013-05-09 14:31 ` [PATCH] flex: fix reported executable name caused by OE wrapper Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2013-05-09 13:03 UTC (permalink / raw)
  To: Kevin Tian; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

Flex wrapper was added with:
commit d835488c526aa61163ade503c6586eaa59509a07
Author: Kevin Tian <kevin.tian@intel.com>
Date:   Wed Jan 5 10:26:36 2011 +0800

    flex-native: create a wrapper script for sstate installation

    flex-native encodes M4 staging path in its binary, which breaks sstate
    installation in a new build environment. Use create_wrapper to create
    a wrapper script which explicitly set M4 environmental variable to the
    new path

and --version returns `basename $0` --version, so in my case:
sysroots/x86_64-linux/usr/bin/flex --version
flex.real 2.5.35

Which isn't parsed correctly e.g. in newer webkit
|   Could NOT find FLEX: Found unsuitable version "flex.real 2.5.35", but
|   required is at least "2.5.34" (found
|   /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/flex)

we can probably work around it by changing regexp in
/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindFLEX.cmake

but it would be nice to fix it in flex.

Cheers,

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2013-05-10 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 13:03 flex wrapper returns wrong version Martin Jansa
2013-05-09 14:31 ` [PATCH] flex: fix reported executable name caused by OE wrapper Martin Jansa
2013-05-09 17:55   ` Saul Wold
2013-05-10 10:21     ` [PATCHv2] " Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox