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 limited

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 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 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 limited

[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

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 Elizabeth

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

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

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 Hatlemark.ha...@windriver.com wrote: On 5/27/11 1:25 PM, Khem Raj wrote: On Fri, May 27, 2011 at 11:15 AM,nitin.a.kam...@intel.com wrote: From: Nitin A

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] [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 elizabeth.flana...@intel.com 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

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.

[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

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

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

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

2011-05-28 Thread nitin . a . kamble
From: Nitin A Kamble nitin.a.kam...@intel.com 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