All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: an error when adding "snappy" package
Date: Thu, 22 Aug 2013 13:30:54 -0600	[thread overview]
Message-ID: <521666EE.8070403@mlbassoc.com> (raw)
In-Reply-To: <CAGNTBAWeb_JRGvJ4B1awDeHhE+KOSPk1Ea-G_R7JqqOX=CpafQ@mail.gmail.com>

On 2013-08-21 16:03, Reeve Yang wrote:
> Hi Grus,
>
> I have been trying to add google snappy package into yocto (https://code.google.com/p/snappy/), here is my receipt file, nothing special:
>
> SUMMARY = "Snappy is a compression/decompression library."
> DESCRIPTION = "...."
> HOMEPAGE="https://code.google.com/p/snappy"
> SECTION = "console/utils"
> LICENSE = "BSD"
> LIC_FILES_CHKSUM = "file://COPYING;md5=b2c8cef4261c6377dcae51b2903d704b"
> PR = "r0"
> require ../uri.inc

What's in this file (uri.inc)?

> SRC_URI = "${URIPREFIX}/snappy-${PV}.tar.gz"
> SRC_URI[md5sum] = "c8f3ef29b5281e78f4946b2d739cea4f"
> SRC_URI[sha256sum] = "1fa82bc588bb93fa74dfc0e2e9b7d63b6e2a20ede323ef42bf0af0f947676160"
> inherit autotools
> BBCLASSEXTEND = "native"
> do_compile() {
>      oe_runmake all
> }
> do_install() {
>      oe_runmake DESTDIR=${D} install
> }
> BBCLASSEXTEND = "native"

Do you need this (is snappy-native used)?

>
> The package was built successfully, but when I try to build core-image-lsb (my own image but similar), I got following error:
>
> |  528:Installing libsnappy1      ######################################## [ 44%]
> | Traceback (most recent call last):
> |   File "/home2/reeve-ws/yocto-dylan-merge/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/smart/backends/rpm/pm.py", line 312, in __call__
> |     self._process_rpmout()
> |   File "/home2/reeve-ws/yocto-dylan-merge/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/smart/backends/rpm/pm.py", line 297, in _process_rpmout
> |     output = self.rpmout.read()
> |   File "/home2/reeve-ws/yocto-dylan-merge/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/codecs.py", line 477, in read
> |     newchars, decodedbytes = self.decode(data, self.errors)
> | UnicodeDecodeError: 'ascii' codec can't decode byte 0xa1 in position 740: ordinal not in range(128)
> |
> | Traceback (most recent call last):
> |   File "/home2/reeve-ws/yocto-dylan-merge/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/smart/backends/rpm/pm.py", line 312, in __call__
> |     self._process_rpmout()
> |   File "/home2/reeve-ws/yocto-dylan-merge/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/smart/backends/rpm/pm.py", line 297, in _process_rpmout
> |     output = self.rpmout.read()
> |   File "/home2/reeve-ws/yocto-dylan-merge/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/codecs.py", line 477, in read
> |     newchars, decodedbytes = self.decode(data, self.errors)
> | UnicodeDecodeError: 'ascii' codec can't decode byte 0xa1 in position 740: ordinal not in range(128)
> |
> | ERROR: Function failed: do_rootfs (see /home2/reeve-ws/yocto-dylan-merge/build/tmp/work/rp-poky-linux/core-image-ssr/1.0-r0/temp/log.do_rootfs.2751 for further information)
> ERROR: Task 7 (/home2/reeve-ws/yocto-dylan-merge/meta-ericsson-ssr-rp/recipes-core-image/core-image-ssr.bb <http://core-image-ssr.bb>, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 4128 tasks of which 4114 didn't need to be rerun and 1 failed.
> No currently running tasks (4128 of 4129)
>
> Can anyone help me out?
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  parent reply	other threads:[~2013-08-22 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 22:03 an error when adding "snappy" package Reeve Yang
2013-08-22 19:22 ` Reeve Yang
2013-08-22 19:30 ` Gary Thomas [this message]
2013-08-22 20:12   ` Gary Thomas
2013-08-23 20:36     ` Reeve Yang
2013-08-24 15:32       ` Gary Thomas

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=521666EE.8070403@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.