All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly
@ 2012-08-09  2:59 wenzong.fan
  2012-08-09  2:59 ` [PATCH 1/1] " wenzong.fan
  2012-08-16 18:59 ` [PATCH 0/1] " Saul Wold
  0 siblings, 2 replies; 6+ messages in thread
From: wenzong.fan @ 2012-08-09  2:59 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Wenzong Fan <wenzong.fan@windriver.com>

'at' needs flex to generate source file lex.yy.c, but it doesn't
depend on flex-native directly; This maybe cause a do_compile
failure if flex-native is not built or included in project.

Error message is:
    error: lex.yy.c: No such file or directory

Get 'at' depends on flex-native to fix this potential issue.

[YOCTO #2919]

The following changes since commit 2dec760b79bb7e2e79c33c5127fa64685bd86a18:

  foomatic: fix perl path for target (2012-08-08 10:06:00 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib wenzong/2919
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/2919

Wenzong Fan (1):
  at 3.1.13: get 'at' depends on 'flex-native' explicitly

 meta/recipes-extended/at/at_3.1.13.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
1.7.9.5




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

* [PATCH 1/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly
  2012-08-09  2:59 [PATCH 0/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly wenzong.fan
@ 2012-08-09  2:59 ` wenzong.fan
  2012-08-09 13:44   ` Paul Eggleton
                     ` (2 more replies)
  2012-08-16 18:59 ` [PATCH 0/1] " Saul Wold
  1 sibling, 3 replies; 6+ messages in thread
From: wenzong.fan @ 2012-08-09  2:59 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Wenzong Fan <wenzong.fan@windriver.com>

'at' needs flex to generate source file lex.yy.c, but it doesn't
depend on flex-native directly; This maybe cause a do_compile
failure if flex-native is not built or included in project.

Error message is:
    error: lex.yy.c: No such file or directory

Get 'at' depends on flex-native to fix this potential issue.

[YOCTO #2919]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-extended/at/at_3.1.13.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/at/at_3.1.13.bb b/meta/recipes-extended/at/at_3.1.13.bb
index ce9396a..a391d6e 100644
--- a/meta/recipes-extended/at/at_3.1.13.bb
+++ b/meta/recipes-extended/at/at_3.1.13.bb
@@ -4,14 +4,14 @@ the system load levels drop to a particular level."
 SECTION = "base"
 LICENSE="GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
-DEPENDS = "flex initscripts \
+DEPENDS = "flex flex-native initscripts \
 	${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}"
 PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits"
 
 RCONFLICTS_${PN} = "atd"
 RREPLACES_${PN} = "atd"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
     file://configure.patch \
-- 
1.7.9.5




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

* Re: [PATCH 1/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly
  2012-08-09  2:59 ` [PATCH 1/1] " wenzong.fan
@ 2012-08-09 13:44   ` Paul Eggleton
  2012-08-09 13:57   ` Saul Wold
       [not found]   ` <1880382.26omCZ6a7m@helios>
  2 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2012-08-09 13:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

On Thursday 09 August 2012 10:59:15 wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
> 
> 'at' needs flex to generate source file lex.yy.c, but it doesn't
> depend on flex-native directly; This maybe cause a do_compile
> failure if flex-native is not built or included in project.
> 
> Error message is:
>     error: lex.yy.c: No such file or directory
> 
> Get 'at' depends on flex-native to fix this potential issue.
> 
> [YOCTO #2919]
> 
> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> ---
>  meta/recipes-extended/at/at_3.1.13.bb |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-extended/at/at_3.1.13.bb
> b/meta/recipes-extended/at/at_3.1.13.bb index ce9396a..a391d6e 100644
> --- a/meta/recipes-extended/at/at_3.1.13.bb
> +++ b/meta/recipes-extended/at/at_3.1.13.bb
> @@ -4,14 +4,14 @@ the system load levels drop to a particular level."
>  SECTION = "base"
>  LICENSE="GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
> -DEPENDS = "flex initscripts \
> +DEPENDS = "flex flex-native initscripts \

Does it need flex for the target as well, or was it a case of "flex" being added 
instead of "flex-native" by mistake?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

* Re: [PATCH 1/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly
  2012-08-09  2:59 ` [PATCH 1/1] " wenzong.fan
  2012-08-09 13:44   ` Paul Eggleton
@ 2012-08-09 13:57   ` Saul Wold
       [not found]   ` <1880382.26omCZ6a7m@helios>
  2 siblings, 0 replies; 6+ messages in thread
From: Saul Wold @ 2012-08-09 13:57 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Zhenfeng.Zhao

On 08/09/2012 05:59 AM, wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
>
> 'at' needs flex to generate source file lex.yy.c, but it doesn't
> depend on flex-native directly; This maybe cause a do_compile
> failure if flex-native is not built or included in project.
>
> Error message is:
>      error: lex.yy.c: No such file or directory
>
> Get 'at' depends on flex-native to fix this potential issue.
>
> [YOCTO #2919]
>
> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> ---
>   meta/recipes-extended/at/at_3.1.13.bb |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-extended/at/at_3.1.13.bb b/meta/recipes-extended/at/at_3.1.13.bb
> index ce9396a..a391d6e 100644
> --- a/meta/recipes-extended/at/at_3.1.13.bb
> +++ b/meta/recipes-extended/at/at_3.1.13.bb
> @@ -4,14 +4,14 @@ the system load levels drop to a particular level."
>   SECTION = "base"
>   LICENSE="GPLv2+"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
> -DEPENDS = "flex initscripts \
> +DEPENDS = "flex flex-native initscripts \
Ok, I understand the flex-native dependency, that makes sense, but I 
wonder why there was a dependency on flex originally?  Is that actually 
needed?

Sau!

>   	${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
>   RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}"
>   PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits"
>
>   RCONFLICTS_${PN} = "atd"
>   RREPLACES_${PN} = "atd"
> -PR = "r2"
> +PR = "r3"
>
>   SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
>       file://configure.patch \
>



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

* Re: [PATCH 1/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly
       [not found]   ` <1880382.26omCZ6a7m@helios>
@ 2012-08-10  1:49     ` wenzong fan
  0 siblings, 0 replies; 6+ messages in thread
From: wenzong fan @ 2012-08-10  1:49 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core, Zhenfeng.Zhao, openembedded-core

On 08/09/2012 09:01 PM, Paul Eggleton wrote:
> On Thursday 09 August 2012 10:59:15 wenzong.fan@windriver.com wrote:
>> From: Wenzong Fan<wenzong.fan@windriver.com>
>>
>> 'at' needs flex to generate source file lex.yy.c, but it doesn't
>> depend on flex-native directly; This maybe cause a do_compile
>> failure if flex-native is not built or included in project.
>>
>> Error message is:
>>      error: lex.yy.c: No such file or directory
>>
>> Get 'at' depends on flex-native to fix this potential issue.
>>
>> [YOCTO #2919]
>>
>> Signed-off-by: Wenzong Fan<wenzong.fan@windriver.com>
>> ---
>>   meta/recipes-extended/at/at_3.1.13.bb |    4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-extended/at/at_3.1.13.bb
>> b/meta/recipes-extended/at/at_3.1.13.bb index ce9396a..a391d6e 100644
>> --- a/meta/recipes-extended/at/at_3.1.13.bb
>> +++ b/meta/recipes-extended/at/at_3.1.13.bb
>> @@ -4,14 +4,14 @@ the system load levels drop to a particular level."
>>   SECTION = "base"
>>   LICENSE="GPLv2+"
>>   LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
>> -DEPENDS = "flex initscripts \
>> +DEPENDS = "flex flex-native initscripts \
>
> Does it need flex for the target as well, or was it a case of "flex" being added
> instead of "flex-native" by mistake?

Yes, it is needed.

I removed 'flex' from DEPENDS, the build failed with:
---------------------------
i586-poky-linux-gcc  -m32   -march=i586 
--sysroot=/buildarea/wfan/at/tmp/sysroots/qemux86 -I. -O2 -pipe -g 
-feliminate-unused-debug-types -o at at.o panic.o perm.o posixtm.o 
y.tab.o lex.yy.o   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
| lex.yy.o: In function `yylex':
| 
/buildarea/wfan/at/tmp/work/i586-poky-linux/at-3.1.13-r2/at-3.1.13/lex.yy.c:1247: 
undefined reference to `yywrap'
| collect2: error: ld returned 1 exit status
---------------------------

Thanks
Wenzong

>
> Cheers,
> Paul
>



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

* Re: [PATCH 0/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly
  2012-08-09  2:59 [PATCH 0/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly wenzong.fan
  2012-08-09  2:59 ` [PATCH 1/1] " wenzong.fan
@ 2012-08-16 18:59 ` Saul Wold
  1 sibling, 0 replies; 6+ messages in thread
From: Saul Wold @ 2012-08-16 18:59 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Zhenfeng.Zhao

On 08/08/2012 07:59 PM, wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
>
> 'at' needs flex to generate source file lex.yy.c, but it doesn't
> depend on flex-native directly; This maybe cause a do_compile
> failure if flex-native is not built or included in project.
>
> Error message is:
>      error: lex.yy.c: No such file or directory
>
> Get 'at' depends on flex-native to fix this potential issue.
>
> [YOCTO #2919]
>
> The following changes since commit 2dec760b79bb7e2e79c33c5127fa64685bd86a18:
>
>    foomatic: fix perl path for target (2012-08-08 10:06:00 +0100)
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib wenzong/2919
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/2919
>
> Wenzong Fan (1):
>    at 3.1.13: get 'at' depends on 'flex-native' explicitly
>
>   meta/recipes-extended/at/at_3.1.13.bb |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
Merged into OE-Core

Thanks
	Sau!




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

end of thread, other threads:[~2012-08-16 19:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-09  2:59 [PATCH 0/1] at 3.1.13: get 'at' depends on 'flex-native' explicitly wenzong.fan
2012-08-09  2:59 ` [PATCH 1/1] " wenzong.fan
2012-08-09 13:44   ` Paul Eggleton
2012-08-09 13:57   ` Saul Wold
     [not found]   ` <1880382.26omCZ6a7m@helios>
2012-08-10  1:49     ` wenzong fan
2012-08-16 18:59 ` [PATCH 0/1] " Saul Wold

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.