[oe] [PATCH 12/69] atk: Update LICENSE field version

Maupin, Chase chase.maupin at ti.com
Mon May 14 17:49:26 UTC 2012


> -----Original Message-----
> From: Flanagan, Elizabeth [mailto:elizabeth.flanagan at intel.com]
> Sent: Monday, May 14, 2012 12:30 PM
> To: openembedded-devel at lists.openembedded.org
> Cc: Maupin, Chase
> Subject: Re: [oe] [PATCH 12/69] atk: Update LICENSE field version
> 
> On Mon, May 14, 2012 at 9:09 AM, Chase Maupin
> <Chase.Maupin at ti.com> wrote:
> > * Update LICENSE field version from generic LGPL to GPLv2+ and
> >  LGPLv2+ to reflect the real license version.
> > * This change was based on setting in oe-core as well as code
> >  inspection.
> >
> > Signed-off-by: Chase Maupin <Chase.Maupin at ti.com>
> > ---
> >  recipes/atk/atk_1.30.0.bb |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/recipes/atk/atk_1.30.0.bb
> b/recipes/atk/atk_1.30.0.bb
> > index b3505bf..23c6685 100644
> > --- a/recipes/atk/atk_1.30.0.bb
> > +++ b/recipes/atk/atk_1.30.0.bb
> > @@ -1,9 +1,9 @@
> >  DESCRIPTION = "An accessibility toolkit for GNOME."
> >  SECTION = "x11/libs"
> >  PRIORITY = "optional"
> > -LICENSE = "LGPL"
> > +LICENSE = "GPLv2+ LGPLv2+"
> 
> This should be:
> 
> LICENSE = "GPLv2+ & LGPLv2+"
> 
> or whatever the operator is (Most likely & or |)

I know that & works in oe-core, but when I use this in oe-classic I get build errors like:

NOTE: Running task 432 of 513 (ID: 1, /home/a0271661/projects/arago-4.7/arago-oe-dev/recipes/atk/atk_1.30.0.bb, do_patch)
ERROR: Function SRC_DISTRIBUTECOMMAND failed
NOTE: Task failed: ('function SRC_DISTRIBUTECOMMAND failed', '/home/a0271661/projects/arago-4.7/arago-tmp/work/armv7a-arago-linux-gnueabi/atk-1.30.0-r2/temp/log.SRC_DISTRIBUTECOMMAND.27742')
ERROR: Logfile of failure stored in: /home/a0271661/projects/arago-4.7/arago-tmp/work/armv7a-arago-linux-gnueabi/atk-1.30.0-r2/temp/log.SRC_DISTRIBUTECOMMAND.27742
Log data follows:
| /home/a0271661/projects/arago-4.7/arago-tmp/work/armv7a-arago-linux-gnueabi/atk-1.30.0-r2/temp/run.SRC_DISTRIBUTECOMMAND.27742: line 1288: /atk: No such file or directory
| ERROR: Function SRC_DISTRIBUTECOMMAND failed
NOTE: package atk-1.30.0-r2: task do_distribute_sources: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/a0271661/projects/arago-4.7/arago-oe-dev/recipes/atk/atk_1.30.0.bb do_distribute_sources failed
ERROR: Task 16 (/home/a0271661/projects/arago-4.7/arago-oe-dev/recipes/atk/atk_1.30.0.bb, do_distribute_sources) failed with exit code 1

The line (1288) that is causing this error looks like:

cd /home/a0271661/projects/arago-4.7/arago-tmp/deploy/glibc/sources/&/atk
SRC_DISTRIBUTECOMMAND

Looking at other recipes I noticed that when they had multiple licenses they used a space separated list and in the case of an or license option |.

Any input on this would be appreciated.  I don't believe / is right because that would make it look like a path for the classes that use the license.

> 
> The license field needs to be ast parsable in order for the
> license
> system to work.
> 
> -b
> 
> >
> > -PR = "r1"
> > +PR = "r2"
> >
> >  inherit gnome
> >
> > --
> > 1.7.0.4
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-
> bin/mailman/listinfo/openembedded-devel
> 
> 
> 
> --
> Elizabeth Flanagan
> Yocto Project
> Build and Release




More information about the Openembedded-devel mailing list