All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: package_ipk.bbclass fails due to a wrong version of a package
Date: Thu, 02 Apr 2009 14:50:06 -0400	[thread overview]
Message-ID: <20090402185006.GA12552@denix.org> (raw)

Hi,

I've been debugging this issue for a while now w/o much success.

We have following recipes in play:
curl_7.19.0.bb
curl-native_7.18.2.bb
curl-sdk_7.18.2.bb

None of those set PV explicitly, so they are picked up from the filename.

Now, let's run this:
$ bitbake curl curl-sdk

And here is the error message:
NOTE: package curl-sdk-7.18.2-r0: task do_package_write_ipk: started
ERROR: Error, lockfile path does not exist!: /oe/tmp/work/i686-armv5te-sdk-none-linux-gnueabi/curl-7.19.0-r1/install
ERROR: Error in executing: /oe/openembedded/recipes/curl/curl-sdk_7.18.2.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing: /oe/openembedded/recipes/curl/curl-sdk_7.18.2.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Build of /oe/openembedded/recipes/curl/curl-sdk_7.18.2.bb do_package_write_ipk failed
ERROR: Task 867 (/oe/openembedded/recipes/curl/curl-sdk_7.18.2.bb, do_package_write_ipk) failed

The message comes from package_ipk.bbclass, line 161, bb.utils.lockfile():

        packages = bb.data.getVar('PACKAGES', d, True)
        for pkg in packages.split():
                localdata = bb.data.createCopy(d)
                pkgdest = bb.data.getVar('PKGDEST', d, 1)
                root = "%s/%s" % (pkgdest, pkg)

                lf = bb.utils.lockfile(root + ".lock")

For some reason it evaluates curl-sdk PV as 7.19.0 in there.

curl-sdk builds fine on its own, it only fails when it's built after the 
target one. I guess workaround would be to match the version numbers of 
target, native and sdk recipes...

Any ideas? Thanks in advance.

-- 
Denys



             reply	other threads:[~2009-04-02 18:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02 18:50 Denys Dmytriyenko [this message]
2009-04-02 19:11 ` package_ipk.bbclass fails due to a wrong version of a package Tom Rini
2009-04-02 20:38   ` Denys Dmytriyenko
2009-04-07 16:24     ` Denys Dmytriyenko
2009-04-07 21:34       ` Denys Dmytriyenko
2009-04-07 22:02         ` [PATCH] curl: move PACKAGES and FILES_* from the .inc file Denys Dmytriyenko
2009-04-07 22:27           ` Tom Rini
2009-04-07 23:24             ` Denys Dmytriyenko
2009-04-08  0:01               ` Tom Rini
2009-04-08 17:06         ` package_ipk.bbclass fails due to a wrong version of a package Otavio Salvador

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=20090402185006.GA12552@denix.org \
    --to=denis@denix.org \
    --cc=openembedded-devel@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 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.