From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] classes/buildhistory: fix expansion of escape sequences
Date: Wed, 05 Feb 2014 22:13:18 +0000 [thread overview]
Message-ID: <5155905.zpccSNMN1P@peggleto-mobl5.ger.corp.intel.com> (raw)
In-Reply-To: <52F29080.9080200@linux.intel.com>
On Wednesday 05 February 2014 11:26:56 Saul Wold wrote:
> There still might be an issue:
> > ERROR: Error executing a python function in
> > /srv/hdd/poky/meta/recipes-support/ca-certificates/ca-certificates_201306
> > 10.bb:
> >
> > The stack trace of python calls that resulted in this exception/failure
> > was: File: 'buildhistory_emit_pkghistory', lineno: 220, function:
> > <module>>
> > 0216:
> > 0217: write_pkghistory(pkginfo, d)
> > 0218:
> >
> > 0219:
> > *** 0220:buildhistory_emit_pkghistory(d)
> >
> > 0221:
> > File: 'buildhistory_emit_pkghistory', lineno: 217, function:
> > buildhistory_emit_pkghistory>
> > 0213: pkginfo.filelist = " ".join(filelist)
> > 0214:
> > 0215: pkginfo.size = int(pkgdata['PKGSIZE'])
> >
> > 0216:
> > *** 0217: write_pkghistory(pkginfo, d)
> >
> > 0218:
> > 0219:
> > 0220:buildhistory_emit_pkghistory(d)
> >
> > 0221:
> > File: 'buildhistory.bbclass', lineno: 38, function: write_pkghistory
> >
> > 0034: if pkginfo.rconflicts:
> > 0035: f.write("RCONFLICTS = %s\n" % pkginfo.rconflicts)
> > 0036: f.write("PKGSIZE = %d\n" % pkginfo.size)
> > 0037: f.write("FILES = %s\n" % pkginfo.files)
> >
> > *** 0038: f.write("FILELIST = %s\n" % pkginfo.filelist)
> >
> > 0039:
> > 0040: for filevar in pkginfo.filevars:
> > 0041: filevarpath = os.path.join(pkgpath, "latest.%s" %
> > filevar)
> > 0042: val = pkginfo.filevars[filevar]
> >
> > Exception: UnicodeEncodeError: 'ascii' codec can't encode character
> > u'\xed' in position 337: ordinal not in range(128)
>
> I tried to delete the buildhistory for ca-certs and rebuild without any
> sstate, but it still failed to build. correctly.
I've now reproduced this, working on a fix.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
prev parent reply other threads:[~2014-02-05 22:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-25 21:25 [PATCH] classes/buildhistory: fix expansion of escape sequences Paul Eggleton
2014-01-25 22:10 ` Khem Raj
2014-02-05 19:26 ` Saul Wold
2014-02-05 22:13 ` Paul Eggleton [this message]
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=5155905.zpccSNMN1P@peggleto-mobl5.ger.corp.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=sgw@linux.intel.com \
/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