From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCHv3 3/7] libunistring: new recipe for autogen
Date: Wed, 18 Jan 2012 17:16:10 -0800 [thread overview]
Message-ID: <4F176EDA.2040305@linux.intel.com> (raw)
In-Reply-To: <19d739c1ea85da2d374665924b8d004f06a2f30e.1326929307.git.nitin.a.kamble@intel.com>
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'
next prev parent reply other threads:[~2012-01-19 1:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 23:30 [PATCHv3 0/7] Commits to get grub-efi-native recipe working nitin.a.kamble
2012-01-18 23:32 ` [PATCHv3 1/7] site/ix86-common: fix an error nitin.a.kamble
2012-01-18 23:32 ` [PATCHv3 2/7] bdwgc: new recipe for autogen nitin.a.kamble
2012-01-19 1:15 ` Saul Wold
2012-01-19 1:25 ` Kamble, Nitin A
2012-01-18 23:32 ` [PATCHv3 3/7] libunistring: " nitin.a.kamble
2012-01-19 1:16 ` Saul Wold [this message]
2012-01-19 1:43 ` Kamble, Nitin A
2012-01-18 23:32 ` [PATCHv3 4/7] guile: " nitin.a.kamble
2012-01-18 23:32 ` [PATCHv3 5/7] autogen-native: new recipe for grub-efi-native nitin.a.kamble
2012-01-18 23:32 ` [PATCHv3 6/7] grub-efi-native: fix errors with automake 1.11.2 nitin.a.kamble
2012-01-18 23:32 ` [PATCHv3 7/7] distro-tracking: add data for newer recipes nitin.a.kamble
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F176EDA.2040305@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox