| Submitter | Nitin A Kamble |
|---|---|
| Date | Jan. 18, 2012, 11:32 p.m. |
| Message ID | <19d739c1ea85da2d374665924b8d004f06a2f30e.1326929307.git.nitin.a.kamble@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/19665/ |
| State | New |
| Headers | show |
Comments
On 01/18/2012 03:32 PM, nitin.a.kamble@intel.com wrote: > From: Nitin A Kamble<nitin.a.kamble@intel.com> > > libunistring recipe is needed by guile. > And guile is needed by autogen. > > Signed-off-by: Nitin A Kamble<nitin.a.kamble@intel.com> > --- > .../libunistring/libunistring_0.9.3.bb | 27 ++++++++++++++++++++ > 1 files changed, 27 insertions(+), 0 deletions(-) > create mode 100644 meta/recipes-support/libunistring/libunistring_0.9.3.bb > > diff --git a/meta/recipes-support/libunistring/libunistring_0.9.3.bb b/meta/recipes-support/libunistring/libunistring_0.9.3.bb > new file mode 100644 > index 0000000..7d09761 > --- /dev/null > +++ b/meta/recipes-support/libunistring/libunistring_0.9.3.bb > @@ -0,0 +1,27 @@ > +SUMMARY = "libunistring provides functions for manipulating according to the Unicode standard." > + > +DESCRIPTION = "Text files are nowadays usually encoded in Unicode, and may consist of very\ > + different scripts – from Latin letters to Chinese Hanzi –, with many kinds of special\ > + characters – accents, right-to-left writing marks, hyphens, Roman numbers, and much\ > + more. But the POSIX platform APIs for text do not contain adequate functions for\ > + dealing with particular properties of many Unicode characters. In fact, the POSIX\ > + APIs for text have several assumptions at their base which don't hold for Unicode\ > + text. \ > + This library provides functions for manipulating Unicode strings and for manipulating\ > + C strings according to the Unicode standard." > + > +HOMEPAGE = "http://www.gnu.org/software/libunistring/" > +SECTION = "devel" > +LICENSE = "GPLv3&LGPLv3" > +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ > + file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" > + > +SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz" > + > +SRC_URI[md5sum] = "db8eca3b64163abadf8c40e5cecc261f" > +SRC_URI[sha256sum] = "610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3" > + > +PR = "r0" > + > +inherit autotools > +BBCLASSEXTEND = "native nativesdk" Nitin, Still seeing, the following: NOTE: package libunistring-0.9.3-r1: task do_package_write_deb: Started ERROR: Error executing a python function in /intel/poky/distro/meta/recipes-support/libunistring/libunistring_0.9.3.bb: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 96: ordinal not in range(128) ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "do_package_deb", line 194, in <module> ERROR: ERROR: File "do_package_deb", line 119, in do_package_deb ERROR: ERROR: The code that was being executed was: ERROR: 0190: bb.utils.prunedir(controldir) ERROR: 0191: bb.utils.unlockfile(lf) ERROR: 0192: ERROR: 0193: ERROR: *** 0194:do_package_deb(d) ERROR: 0195: ERROR: (file: 'do_package_deb', lineno: 194, function: <module>) ERROR: 0115: summary = localdata.getVar('SUMMARY', True) or localdata.getVar('DESCRIPTION', True) or "." ERROR: 0116: description = localdata.getVar('DESCRIPTION', True) or "." ERROR: 0117: description = textwrap.dedent(description).strip() ERROR: 0118: ctrlfile.write('Description: %s\n' % unicode(summary)) ERROR: *** 0119: ctrlfile.write('%s\n' % unicode(textwrap.fill(description, width=74, initial_indent=' ', subsequent_indent=' '))) ERROR: 0120: else: ERROR: 0121: ctrlfile.write(unicode(c % tuple(pullData(fs, localdata)))) ERROR: 0122: except KeyError: ERROR: 0123: import sys ERROR: (file: 'do_package_deb', lineno: 119, function: do_package_deb) ERROR: Function failed: do_package_deb ERROR: Logfile of failure stored in: /intel/poky/builds/world/tmp/work/i586-poky-linux/libunistring-0.9.3-r1/temp/log.do_package_write_deb.31745 NOTE: package libunistring-0.9.3-r1: task do_package_write_deb: Failed ERROR: Task 646 (/intel/poky/distro/meta/recipes-support/libunistring/libunistring_0.9.3.bb, do_package_write_deb) failed with exit code '1'
> -----Original Message----- > From: Saul Wold [mailto:sgw@linux.intel.com] > Sent: Wednesday, January 18, 2012 5:16 PM > To: Patches and discussions about the oe-core layer > Cc: Kamble, Nitin A > Subject: Re: [OE-core] [PATCHv3 3/7] libunistring: new recipe for > autogen > > On 01/18/2012 03:32 PM, nitin.a.kamble@intel.com wrote: > > From: Nitin A Kamble<nitin.a.kamble@intel.com> > > > > libunistring recipe is needed by guile. > > And guile is needed by autogen. > > > > Signed-off-by: Nitin A Kamble<nitin.a.kamble@intel.com> > > --- > > .../libunistring/libunistring_0.9.3.bb | 27 > ++++++++++++++++++++ > > 1 files changed, 27 insertions(+), 0 deletions(-) > > create mode 100644 meta/recipes- > support/libunistring/libunistring_0.9.3.bb > > > > diff --git a/meta/recipes-support/libunistring/libunistring_0.9.3.bb > b/meta/recipes-support/libunistring/libunistring_0.9.3.bb > > new file mode 100644 > > index 0000000..7d09761 > > --- /dev/null > > +++ b/meta/recipes-support/libunistring/libunistring_0.9.3.bb > > @@ -0,0 +1,27 @@ > > +SUMMARY = "libunistring provides functions for manipulating > according to the Unicode standard." > > + > > +DESCRIPTION = "Text files are nowadays usually encoded in Unicode, > and may consist of very\ > > + different scripts – from Latin letters to Chinese Hanzi –, with > many kinds of special\ > > + characters – accents, right-to-left writing marks, hyphens, Roman > numbers, and much\ > > + more. But the POSIX platform APIs for text do not contain adequate > functions for\ > > + dealing with particular properties of many Unicode characters. In > fact, the POSIX\ > > + APIs for text have several assumptions at their base which don't > hold for Unicode\ > > + text. \ > > + This library provides functions for manipulating Unicode strings > and for manipulating\ > > + C strings according to the Unicode standard." > > + > > +HOMEPAGE = "http://www.gnu.org/software/libunistring/" > > +SECTION = "devel" > > +LICENSE = "GPLv3&LGPLv3" > > +LIC_FILES_CHKSUM = > "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ > > + > file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" > > + > > +SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz" > > + > > +SRC_URI[md5sum] = "db8eca3b64163abadf8c40e5cecc261f" > > +SRC_URI[sha256sum] = > "610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3" > > + > > +PR = "r0" > > + > > +inherit autotools > > +BBCLASSEXTEND = "native nativesdk" > > Nitin, > > Still seeing, the following: Rootcaused this as some Unicode characters present in the DESCRIPTION field. Fixed it an updated the contrib branch nitin/misc for that. Nitin > > NOTE: package libunistring-0.9.3-r1: task do_package_write_deb: Started > ERROR: Error executing a python function in > /intel/poky/distro/meta/recipes- > support/libunistring/libunistring_0.9.3.bb: > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position > 96: > ordinal not in range(128) > > ERROR: The stack trace of python calls that resulted in this > exception/failure was: > ERROR: File "do_package_deb", line 194, in <module> > ERROR: > ERROR: File "do_package_deb", line 119, in do_package_deb > ERROR: > ERROR: The code that was being executed was: > ERROR: 0190: bb.utils.prunedir(controldir) > ERROR: 0191: bb.utils.unlockfile(lf) > ERROR: 0192: > ERROR: 0193: > ERROR: *** 0194:do_package_deb(d) > ERROR: 0195: > ERROR: (file: 'do_package_deb', lineno: 194, function: <module>) > ERROR: 0115: summary = > localdata.getVar('SUMMARY', True) or localdata.getVar('DESCRIPTION', > True) or "." > ERROR: 0116: description = > localdata.getVar('DESCRIPTION', True) or "." > ERROR: 0117: description = > textwrap.dedent(description).strip() > ERROR: 0118: ctrlfile.write('Description: > %s\n' > % unicode(summary)) > ERROR: *** 0119: ctrlfile.write('%s\n' % > unicode(textwrap.fill(description, width=74, initial_indent=' ', > subsequent_indent=' '))) > ERROR: 0120: else: > ERROR: 0121: ctrlfile.write(unicode(c % > tuple(pullData(fs, localdata)))) > ERROR: 0122: except KeyError: > ERROR: 0123: import sys > ERROR: (file: 'do_package_deb', lineno: 119, function: do_package_deb) > ERROR: Function failed: do_package_deb > ERROR: Logfile of failure stored in: > /intel/poky/builds/world/tmp/work/i586-poky-linux/libunistring-0.9.3- > r1/temp/log.do_package_write_deb.31745 > NOTE: package libunistring-0.9.3-r1: task do_package_write_deb: Failed > ERROR: Task 646 > (/intel/poky/distro/meta/recipes- > support/libunistring/libunistring_0.9.3.bb, > do_package_write_deb) failed with exit code '1'
Patch
diff --git a/meta/recipes-support/libunistring/libunistring_0.9.3.bb b/meta/recipes-support/libunistring/libunistring_0.9.3.bb new file mode 100644 index 0000000..7d09761 --- /dev/null +++ b/meta/recipes-support/libunistring/libunistring_0.9.3.bb @@ -0,0 +1,27 @@ +SUMMARY = "libunistring provides functions for manipulating according to the Unicode standard." + +DESCRIPTION = "Text files are nowadays usually encoded in Unicode, and may consist of very\ + different scripts – from Latin letters to Chinese Hanzi –, with many kinds of special\ + characters – accents, right-to-left writing marks, hyphens, Roman numbers, and much\ + more. But the POSIX platform APIs for text do not contain adequate functions for\ + dealing with particular properties of many Unicode characters. In fact, the POSIX\ + APIs for text have several assumptions at their base which don't hold for Unicode\ + text. \ + This library provides functions for manipulating Unicode strings and for manipulating\ + C strings according to the Unicode standard." + +HOMEPAGE = "http://www.gnu.org/software/libunistring/" +SECTION = "devel" +LICENSE = "GPLv3&LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" + +SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz" + +SRC_URI[md5sum] = "db8eca3b64163abadf8c40e5cecc261f" +SRC_URI[sha256sum] = "610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3" + +PR = "r0" + +inherit autotools +BBCLASSEXTEND = "native nativesdk"