From: Mike Looijmans <mike.looijmans@topic.nl>
To: openembedded-core@lists.openembedded.org
Subject: Re: package_write_ipk somehow looks into the wrong path
Date: Fri, 17 May 2013 13:39:04 +0200 [thread overview]
Message-ID: <519616D8.9040608@topic.nl> (raw)
In-Reply-To: <519610E1.1030607@topic.nl>
On 05/17/2013 01:13 PM, Mike Looijmans wrote:
> On 05/17/2013 01:11 PM, Mike Looijmans wrote:
>> On 05/17/2013 12:15 PM, Martin Jansa wrote:
>>> On Fri, May 17, 2013 at 11:43:22AM +0200, Mike Looijmans wrote:
>>>>
>>>> I got this very weird build failure. It builds fine for one machine
>>>> (zedboard), but it craps out in a really weird way on the "zynq-zc702"
>>>> machine.
>>>>
>>>> Somehow the "package_write_ipk" task wants to find files in a directory
>>>> with "1-r0" (a version that has once existed a long long time ago) in
>>>> the version part, instead of the proper git hashed name.
>>>>
>>>> I've tried a "cleansstate" but that did not help. The "compile" step in
>>>> this recipe takes about 1,5 hour on my i7 system, so debugging this
>>>> recipe is painfully slow...
>>>>
>>>> I've attached the recipes, pasted the log below.
>>>
>>> try it with 2/2 patch from
>>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=4102
>>
>> Okay, I just manually applied those changes. Then I get:
>>
>> ERROR: Recipe fpga-image is trying to change PV from
>> '2.AUTOINC-bfd37feb034919cc11b3879745f2770810a4e796' to '1'. This will
>> cause do_package_write_ipk failing to find right workdir.
>>
>>
>> That helps, but I still don't have the faintest idea what is going on
>> here. What's wrong with my recipe?
>
> As a last resort, I tried just putting PV="3" into the recipe. WTF?
>
>
> ERROR: Recipe fpga-image is trying to change PV from '3' to '1'. This
> will cause do_package_write_ipk failing to find right workdir.
> ERROR: Function failed: read_subpackage_metadata
> ERROR: Logfile of failure stored in:
> /home/mike/zynq/build/tmp-eglibc/work/zynq-zc702-oe-linux-gnueabi/fpga-image/3-r0/temp/log.do_package_write_ipk.13519
>
> ERROR: Task 12
> (/home/mike/zynq/meta-zynq/recipes-bsp/fpga/fpga-image.bb,
> do_package_write_ipk) failed with exit code '1'
>
>
> Who's touching my PV?
And found the problem at last. As a long time user of "classic" OE, I added:
PACKAGE_ARCH = "${MACHINE}"
this was causing the failure, replacing it with
PACKAGE_ARCH = "${MACHINE_ARCH}"
as other recipes appear to do fixed it.
Mike.
next prev parent reply other threads:[~2013-05-17 11:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 7:26 [PATCH] util-linux: replace package files Zhang Xiao
2013-05-16 7:26 ` Zhang Xiao
2013-05-16 9:59 ` zhangxiao
2013-05-17 7:04 ` Saul Wold
2013-05-17 9:43 ` package_write_ipk somehow looks into the wrong path Mike Looijmans
2013-05-17 10:15 ` Martin Jansa
2013-05-17 10:51 ` Mike Looijmans
2013-05-17 11:04 ` Mike Looijmans
2013-05-17 13:23 ` Martin Jansa
2013-05-17 11:11 ` Mike Looijmans
2013-05-17 11:13 ` Mike Looijmans
2013-05-17 11:39 ` Mike Looijmans [this message]
2013-05-21 1:44 ` [PATCH] util-linux: replace package files zhangxiao
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=519616D8.9040608@topic.nl \
--to=mike.looijmans@topic.nl \
--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