From: Martin Jansa <martin.jansa@gmail.com>
To: Andreas Oberritter <obi@opendreambox.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH/RFC] netbase: inherit allarch
Date: Wed, 20 Mar 2013 21:22:06 +0100 [thread overview]
Message-ID: <20130320202206.GD3220@jama> (raw)
In-Reply-To: <20130320201843.GC3220@jama>
[-- Attachment #1: Type: text/plain, Size: 4812 bytes --]
On Wed, Mar 20, 2013 at 09:18:43PM +0100, Martin Jansa wrote:
> On Wed, Mar 20, 2013 at 08:26:07PM +0100, Andreas Oberritter wrote:
> > It doesn't ship any binaries, so it should use allarch,
> > now that ifupdown has been moved to another recipe.
> >
> > Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> > ---
> > This causes the following error on my system. Notice the "r0" in the failed
> > path. Running "bitbake -ccleansstate netbase" doesn't help.
>
> You need to remove tmpdir-eglibc/pkgdata for netbase too and don't
> forget to remove all .ipk files from deploy/ipk too, because opkg will
> prefer "higher" architecture instead of higher version, so you'll get
> different (older) netbase installed in do_rootfs and then upgraded on
> target on first opkg upgrade, sigh.
Ah and also netbase stamps.
I've reported the same when netbase was changed from MACHINE_ARCH to
TUNE_PKGARCH:
http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg34318.html
> > ERROR: Error executing a python function in /build/openembedded-core/meta/recipes-core/netbase/netbase_5.0.bb:
> > OSError: [Errno 2] No such file or directory: '/build/tmp/work/all-oe-linux/netbase/netbase-1_5.0-r0/packages-split/netbase-dbg'
> >
> > ERROR: The stack trace of python calls that resulted in this exception/failure was:
> > ERROR: File "do_package_ipk", line 194, in <module>
> > ERROR:
> > ERROR: File "do_package_ipk", line 45, in do_package_ipk
> > ERROR:
> > ERROR: The code that was being executed was:
> > ERROR: 0190: bb.utils.unlockfile(lf)
> > ERROR: 0191:
> > ERROR: 0192:
> > ERROR: 0193:
> > ERROR: *** 0194:do_package_ipk(d)
> > ERROR: 0195:
> > ERROR: [From file: 'do_package_ipk', lineno: 194, function: <module>]
> > ERROR: 0041: basedir = os.path.join(os.path.dirname(root))
> > ERROR: 0042: arch = localdata.getVar('PACKAGE_ARCH', True)
> > ERROR: 0043: pkgoutdir = "%s/%s" % (outdir, arch)
> > ERROR: 0044: bb.mkdirhier(pkgoutdir)
> > ERROR: *** 0045: os.chdir(root)
> > ERROR: 0046: from glob import glob
> > ERROR: 0047: g = glob('*')
> > ERROR: 0048: try:
> > ERROR: 0049: del g[g.index('CONTROL')]
> > ERROR: [From file: 'do_package_ipk', lineno: 45, function: do_package_ipk]
> > ERROR: Function failed: do_package_ipk
> > ERROR: Execution of event handler 'run_buildstats' failed
> > Traceback (most recent call last):
> > File "run_buildstats(e)", line 104, in run_buildstats(e=<bb.build.TaskFailed object at 0x73d7810>)
> > File "buildstats.bbclass", line 5, in write_task_data(status='failed', logfile='/build/tmp/buildstats/netbase-qemumipsel/201303202017/netbase-1_5.0-r0/do_package_write_ipk', dev='dm-1', e=<bb.build.TaskFailed object at 0x73d7810>)
> > IOError: [Errno 2] No such file or directory: '/build/tmp/buildstats/netbase-qemumipsel/201303202017/netbase-1_5.0-r0/do_package_write_ipk'
> >
> > ERROR: Logfile of failure stored in: /build/tmp/work/all-oe-linux/netbase/netbase-1_5.0-r1/temp/log.do_package_write_ipk.27140
> > ERROR: Task 13 (/build/openembedded-core/meta/recipes-core/netbase/netbase_5.0.bb, do_package_write_ipk) failed with exit code '1'
> >
> > meta/recipes-core/netbase/netbase_5.0.bb | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-core/netbase/netbase_5.0.bb b/meta/recipes-core/netbase/netbase_5.0.bb
> > index 03fdc38..673a139 100644
> > --- a/meta/recipes-core/netbase/netbase_5.0.bb
> > +++ b/meta/recipes-core/netbase/netbase_5.0.bb
> > @@ -4,7 +4,7 @@ HOMEPAGE = "http://packages.debian.org/netbase"
> > SECTION = "base"
> > LICENSE = "GPLv2"
> > LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
> > -PR = "r0"
> > +PR = "r1"
> > PE = "1"
> >
> > SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \
> > @@ -13,6 +13,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \
> > SRC_URI[md5sum] = "a379d9199d44d817543eddc211a29b70"
> > SRC_URI[sha256sum] = "ac9424d3cb2bd3c07b6c5bc5875c434d3bc687a73cd7c54b7dc7122308afa9dc"
> >
> > +inherit allarch
> > +
> > do_install () {
> > install -d ${D}/${mandir}/man8 ${D}${sysconfdir}
> > install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts
> > --
> > 1.7.10.4
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-03-20 20:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-20 19:26 [PATCH/RFC] netbase: inherit allarch Andreas Oberritter
2013-03-20 20:18 ` Martin Jansa
2013-03-20 20:22 ` Martin Jansa [this message]
2013-04-03 10:14 ` [RFC][PATCH 1/2] packagedata: show error when there are multiple pkgdata directories Martin Jansa
2013-04-03 10:14 ` [RFC][PATCH 2/2] packagedata: Show error when trying to change PE/PV/PR from runtime/pkgdata Martin Jansa
2013-04-04 15:39 ` [RFC][PATCH 1/2] packagedata: show error when there are multiple pkgdata directories Martin Jansa
2013-04-04 15:48 ` Paul Eggleton
2013-04-04 15:58 ` Richard Purdie
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=20130320202206.GD3220@jama \
--to=martin.jansa@gmail.com \
--cc=obi@opendreambox.org \
--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