Re: [OE-core] [upgrades 0/4] devel/toolchain recipe upgrades

2011-05-28 Thread Khem Raj
On Sat, 2011-05-28 at 20:22 -0700, nitin.a.kam...@intel.com wrote: > From: Nitin A Kamble > > I could build meta-toolchain & sato-sdk image for qemuppc with these commits. > > I had to fix the autoconf's config-site patch to avoid lots of errors as site > files were not getting parsed earlier. >

Re: [OE-core] [upgrades 1/4] m4: upgrade from 1.4.15 to 1.4.16

2011-05-28 Thread Khem Raj
On Sat, 2011-05-28 at 20:22 -0700, nitin.a.kam...@intel.com wrote: > From: Nitin A Kamble > > Signed-off-by: Nitin A Kamble > --- > .../{m4-native_1.4.15.bb => m4-native_1.4.16.bb} |0 > .../m4/{m4_1.4.15.bb => m4_1.4.16.bb} |6 +++--- > 2 files changed, 3 insertions(+),

[OE-core] [upgrades 0/4] devel/toolchain recipe upgrades

2011-05-28 Thread nitin . a . kamble
From: Nitin A Kamble I could build meta-toolchain & sato-sdk image for qemuppc with these commits. I had to fix the autoconf's config-site patch to avoid lots of errors as site files were not getting parsed earlier. The following changes since commit 1169f1b066d0028bd2ef7915440450bd42ef165e:

[OE-core] [upgrades 3/4] bison: upgrade from 2.4.3 to 2.5

2011-05-28 Thread nitin . a . kamble
From: Nitin A Kamble This version of bison needs m4 1.4.16 or newer Signed-off-by: Nitin A Kamble --- meta/recipes-devtools/bison/bison/m4.patch | 131 .../bison/bison/uclibc-sched_param-def.patch | 21 --- .../bison/{bison_2.4.3.bb => bison_2.5.bb}

[OE-core] [upgrades 2/4] autoconf: upgrade from 2.65 to 2.68

2011-05-28 Thread nitin . a . kamble
From: Nitin A Kamble And rebase the patches to the newer code. Signed-off-by: Nitin A Kamble --- .../{autoconf-2.65 => autoconf}/autoconf-x.patch |0 .../autoheader-nonfatal-warnings.patch |0 .../autoreconf-exclude.patch |0 .../autoreconf-forei

[OE-core] [upgrades 1/4] m4: upgrade from 1.4.15 to 1.4.16

2011-05-28 Thread nitin . a . kamble
From: Nitin A Kamble Signed-off-by: Nitin A Kamble --- .../{m4-native_1.4.15.bb => m4-native_1.4.16.bb} |0 .../m4/{m4_1.4.15.bb => m4_1.4.16.bb} |6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/m4/{m4-native_1.4.15.bb => m4-native

[OE-core] [upgrades 4/4] genttext-0.16.1: mark upstream status for gplv2 recipe's patches

2011-05-28 Thread nitin . a . kamble
From: Nitin A Kamble Signed-off-by: Nitin A Kamble --- .../gettext/gettext-0.16.1/disable_java.patch |2 ++ .../gettext-0.16.1/fix_aclocal_version.patch |2 ++ .../gettext-0.16.1/fix_gnu_source_circular.patch |2 ++ .../gettext/gettext-0.16.1/fixchicken.patch|

[OE-core] [PATCH 1/1] license.bbclass: Infinite recursion of or nodes

2011-05-28 Thread Elizabeth Flanagan
This fixes two bugs. When populate_lic was hitting | it was going into an infinite recursion of the node. Also, some LICENSE fields may start with "(". We want to avoid invalid python syntax here, so we strip out the whitespace. Signed-off-by: Beth Flanagan --- meta/classes/license.bbclass |

[OE-core] [PATCH 0/1] license.bbclass: Fix for infinite recursion and bad license_type

2011-05-28 Thread Elizabeth Flanagan
- Fixing LicenseVisitor so it forks at a BitOr instead of infinitely checking the node. - Fixing the bad license_type syntax by lstriping it so it's valid python. - Moved the bb.warn that we're using a SPDXLICENSEMAP to a note. The following changes since commit 1169f1b066d0028bd2ef7915440450bd

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Elizabeth Flanagan
On 05/28/2011 01:57 PM, Khem Raj wrote: On 5/28/2011 10:54 AM, Elizabeth Flanagan wrote: In this case, elfutils should probably be changes as well as license.bbclass. As do_populate_lic is looking for valid python to make a syntax tree from, this will fail. Solution: 1. Fix license.bbclass to

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Khem Raj
On 5/28/2011 10:54 AM, Elizabeth Flanagan wrote: In this case, elfutils should probably be changes as well as license.bbclass. As do_populate_lic is looking for valid python to make a syntax tree from, this will fail. Solution: 1. Fix license.bbclass to check LICENSE and massage it a bit more. 2

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Otavio Salvador
On Fri, May 27, 2011 at 22:13, Elizabeth Flanagan wrote: ... > Beth Flanagan (1): >  license.bbclass: Sane Parsing of licenses ... The change itself was OK and really an improvement but please pay some attention to whitespaces. It is nice to avoid useless whitespaces into new code. -- Otavio Sa

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Elizabeth Flanagan
In this case, elfutils should probably be changes as well as license.bbclass. As do_populate_lic is looking for valid python to make a syntax tree from, this will fail. Solution: 1. Fix license.bbclass to check LICENSE and massage it a bit more. 2. Fix elfutils to be GPLv2* (unless it's the GCC

Re: [OE-core] [bugfix 1/2] gcc-4.6.0: fix ICE with armv7 target

2011-05-28 Thread Khem Raj
On 5/27/2011 12:41 PM, Mark Hatle wrote: On 5/27/11 2:36 PM, Khem Raj wrote: On Fri, May 27, 2011 at 12:15 PM, Mark Hatle wrote: On 5/27/11 1:25 PM, Khem Raj wrote: On Fri, May 27, 2011 at 11:15 AM, wrote: From: Nitin A Kamble This fixes an internal compiler error for gcc 4.6.0 for armv7

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Khem Raj
On 5/28/2011 2:16 AM, Koen Kooi wrote: Op 28 mei 2011, om 00:13 heeft Elizabeth Flanagan het volgende geschreven: Using python abstract syntax trees as a parser and an ast visitor class, I've begun the first steps to being able to put some sanity to license selection. One note. License modif

Re: [OE-core] [PATCH 1/1][v3] license.bbclass: Sane Parsing of licenses

2011-05-28 Thread Khem Raj
On 5/27/2011 3:13 PM, Elizabeth Flanagan wrote: This is a first pass at sane license parsing, using python abstract syntax trees. A few notes on this since ast is not generally used. I massage the LICENSE field to be more pythonesque and then create an ast. I then dump the ast and using a Lice

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Koen Kooi
Here you go :) Op 28 mei 2011, om 15:21 heeft Elizabeth Flanagan het volgende geschreven: > Could you send me the log. That's odd and shouldn't have happened (the > license is only two licenses...) > > -b > > On 05/28/2011 02:16 AM, Koen Kooi wrote: >> >> Op 28 mei 2011, om 00:13 heeft Eliza

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Elizabeth Flanagan
Could you send me the log. That's odd and shouldn't have happened (the license is only two licenses...) -b On 05/28/2011 02:16 AM, Koen Kooi wrote: Op 28 mei 2011, om 00:13 heeft Elizabeth Flanagan het volgende geschreven: Using python abstract syntax trees as a parser and an ast visitor c

[OE-core] [RFC][PATCH] sysvinit: make pidof usuable in a standalone setting

2011-05-28 Thread Koen Kooi
Currently it's a symlink to killall5: $ dpkg-deb -c sysvinit-pidof_2.88dsf-r1_armv7a.ipk | grep pidof lrwxrwxrwx root/root 0 2011-05-27 11:05 ./bin/pidof.sysvinit -> /sbin/killall5 The point of the pidof subpackage was to have a pidof without needing sysvinit, this restores that behavi

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Koen Kooi
Op 28 mei 2011, om 00:13 heeft Elizabeth Flanagan het volgende geschreven: > > Using python abstract syntax trees as a parser and an ast visitor class, I've > begun the first steps to being able to put some sanity to license selection. > > One note. License modifiers have traditionally been lim

Re: [OE-core] [PATCH 2/2] package.bbclass, prserv.bbclass: Compare USE_PR_SERV with "1" or "0"

2011-05-28 Thread Martin Jansa
On Sat, May 28, 2011 at 09:50:09AM +0200, Koen Kooi wrote: > > Op 28 mei 2011, om 04:44 heeft Khem Raj het volgende geschreven: > > > Value of USE_PR_SERV is either "1" or "0" looking at > > settings in bitbake.conf > > USE_PR_SERV = "${@[1,0][(bb.data.getVar('PRSERV_HOST',d,1) is None) or > > (

Re: [OE-core] [PATCH 1/1] xserver: force to use libdl

2011-05-28 Thread Richard Purdie
On Sat, 2011-05-28 at 12:45 +0800, Yu Ke wrote: > The marco in question is in xorg-server-1.10.1/configure.ac > " > AC_CHECK_FUNC([dlopen], [], > AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) > AC_SUBST(DLOPEN_LIBS) > " > > Ideally, the dlopen test should fail since dlopen is not availabl

Re: [OE-core] [PATCH 2/2] package.bbclass, prserv.bbclass: Compare USE_PR_SERV with "1" or "0"

2011-05-28 Thread Koen Kooi
Op 28 mei 2011, om 04:44 heeft Khem Raj het volgende geschreven: > Value of USE_PR_SERV is either "1" or "0" looking at > settings in bitbake.conf > USE_PR_SERV = "${@[1,0][(bb.data.getVar('PRSERV_HOST',d,1) is None) or > (bb.data.getVar('PRSERV_PORT',d,1) is None)]}" > So we compare the strings

Re: [OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

2011-05-28 Thread Koen Kooi
Op 28 mei 2011, om 00:13 heeft Elizabeth Flanagan het volgende geschreven: > > Using python abstract syntax trees as a parser and an ast visitor class, I've > begun the first steps to being able to put some sanity to license selection. > > One note. License modifiers have traditionally been lim