From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-da0-f50.google.com ([209.85.210.50]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UIPja-0006gk-Du for openembedded-core@lists.openembedded.org; Wed, 20 Mar 2013 21:35:43 +0100 Received: by mail-da0-f50.google.com with SMTP id t1so1192033dae.37 for ; Wed, 20 Mar 2013 13:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=afve5/WRTHt0XkaRslGPKfkPoFKDZjWj7pNePiRrq18=; b=NBsJWCQnW1snJKpVlekccl51g3HM5gyiFeYVymBml14cVXf2iuHrIJktqrBYcXwmb3 ViVA9LhufpvOrLNANlH0Ph2E/lX/vxCwzQcslORUCZafc36nmymdRMYhxT5BxohJ/jzA Qr4TwKjCI1OZq0a0UbZOuEVhyzZtVh4/48ubqfL4w7wdSq2dZ0d2vrokeJmDC2RoJ3N3 Vea2EHmZmmGwCQED1RKpbP6N5U6pEaqyflgc6BC67Qqpswhn0Ky5zB4jlxqCPeuBQ9OP ciRuj08FFo27VZCG2wnVlK70gB0GuYwTUzwLUkb+7JJ0jXYwKRPQew+EldXfU+VGha9X t30A== X-Received: by 10.66.27.136 with SMTP id t8mr10990129pag.209.1363810730229; Wed, 20 Mar 2013 13:18:50 -0700 (PDT) Received: from localhost (ip-62-24-80-7.net.upcbroadband.cz. [62.24.80.7]) by mx.google.com with ESMTPS id zm1sm3204662pbc.26.2013.03.20.13.18.46 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 20 Mar 2013 13:18:48 -0700 (PDT) Date: Wed, 20 Mar 2013 21:18:43 +0100 From: Martin Jansa To: Andreas Oberritter Message-ID: <20130320201843.GC3220@jama> References: <1363807567-27267-1-git-send-email-obi@opendreambox.org> MIME-Version: 1.0 In-Reply-To: <1363807567-27267-1-git-send-email-obi@opendreambox.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH/RFC] netbase: inherit allarch X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2013 20:35:51 -0000 X-Groupsio-MsgNum: 36843 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V88s5gaDVPzZ0KCq" Content-Disposition: inline --V88s5gaDVPzZ0KCq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Andreas Oberritter > --- > This causes the following error on my system. Notice the "r0" in the fail= ed > 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. > 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-lin= ux/netbase/netbase-1_5.0-r0/packages-split/netbase-dbg' >=20 > ERROR: The stack trace of python calls that resulted in this exception/fa= ilure was: > ERROR: File "do_package_ipk", line 194, in > ERROR:=20 > ERROR: File "do_package_ipk", line 45, in do_package_ipk > ERROR:=20 > 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: ] > ERROR: 0041: basedir =3D os.path.join(os.path.dirname(root)) > ERROR: 0042: arch =3D localdata.getVar('PACKAGE_ARCH', True) > ERROR: 0043: pkgoutdir =3D "%s/%s" % (outdir, arch) > ERROR: 0044: bb.mkdirhier(pkgoutdir) > ERROR: *** 0045: os.chdir(root) > ERROR: 0046: from glob import glob > ERROR: 0047: g =3D 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=3D) > File "buildstats.bbclass", line 5, in write_task_data(status=3D'failed'= , logfile=3D'/build/tmp/buildstats/netbase-qemumipsel/201303202017/netbase-= 1_5.0-r0/do_package_write_ipk', dev=3D'dm-1', e=3D) > IOError: [Errno 2] No such file or directory: '/build/tmp/buildstats/netb= ase-qemumipsel/201303202017/netbase-1_5.0-r0/do_package_write_ipk' >=20 > 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/netbas= e_5.0.bb, do_package_write_ipk) failed with exit code '1' >=20 > meta/recipes-core/netbase/netbase_5.0.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > 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 =3D "http://packages.debian.org/netbase" > SECTION =3D "base" > LICENSE =3D "GPLv2" > LIC_FILES_CHKSUM =3D "file://debian/copyright;md5=3D3dd6192d306f582dee76= 87da3d8748ab" > -PR =3D "r0" > +PR =3D "r1" > PE =3D "1" > =20 > SRC_URI =3D "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ > @@ -13,6 +13,8 @@ SRC_URI =3D "${DEBIAN_MIRROR}/main/n/netbase/netbase_${= PV}.tar.gz \ > SRC_URI[md5sum] =3D "a379d9199d44d817543eddc211a29b70" > SRC_URI[sha256sum] =3D "ac9424d3cb2bd3c07b6c5bc5875c434d3bc687a73cd7c54b= 7dc7122308afa9dc" > =20 > +inherit allarch > + > do_install () { > install -d ${D}/${mandir}/man8 ${D}${sysconfdir} > install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts > --=20 > 1.7.10.4 >=20 >=20 > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core --=20 Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com --V88s5gaDVPzZ0KCq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFKGaMACgkQN1Ujt2V2gBz40QCgoEw8AVai14KU4nFdkcStS1pp RTkAn0ezhcKZq3K2zb/vrMwLcZ647u7H =VppU -----END PGP SIGNATURE----- --V88s5gaDVPzZ0KCq--