Received: from mail.gw90.de ([188.40.100.199]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Q1Fhj-0004Bt-2O for openembedded-devel@lists.openembedded.org; Sun, 20 Mar 2011 11:17:47 +0100 Received: from f053042114.adsl.alicedsl.de ([78.53.42.114] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q1Fg1-0000LK-Gl for openembedded-devel@lists.openembedded.org; Sun, 20 Mar 2011 10:16:01 +0000 From: Paul Menzel To: openembedded-devel@lists.openembedded.org In-Reply-To: <4D85835F.7070002@gmail.com> References: <1299591298.3785.126.camel@mattotaupa> <1300205205.4123.6.camel@mattotaupa> <1300364903.3950.21.camel@mattotaupa> <1300402006.17833.14.camel@mattotaupa> <1300449625.3830.47.camel@mattotaupa> <20110319183329.GA14868@sakrah.homelinux.org> <1300583444.7379.1.camel@mattotaupa> <4D85835F.7070002@gmail.com> Date: Sun, 20 Mar 2011 11:16:00 +0100 Message-ID: <1300616160.3950.4.camel@mattotaupa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Subject: Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth` X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 10:17:47 -0000 X-Groupsio-MsgNum: 30446 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-7i9uraLJwcp2VrpstLfr" --=-7i9uraLJwcp2VrpstLfr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Samstag, den 19.03.2011, 21:32 -0700 schrieb Khem Raj: > On 3/19/2011 6:10 PM, Paul Menzel wrote: > > Am Samstag, den 19.03.2011, 11:33 -0700 schrieb Khem Raj: > >> On (18/03/11 13:00), Paul Menzel wrote: > >>> Date: Fri, 18 Mar 2011 12:03:43 +0100 > >>> > >>> Xfce Session build depends on the executable `iceauth`, which fails w= hen cross compiling for a different architecture. > >>> > >>> checking if the linker (arm-oe-linux-gnueabi-ld --sysroot=3D= /oe/build-minimal-eglibc/minimal-dev/sysroots/armv5te-oe-linux-gnueabi) is = GNU ld... (cached) yes > >>> checking whether to build with profiling support... no > >>> checking whether to compile with coverage profiling instrume= ntation... no > >>> checking whether to disable assertions... no > >>> checking whether to build final version... yes > >>> checking whether arm-oe-linux-gnueabi-ld --sysroot=3D/oe/bui= ld-minimal-eglibc/minimal-dev/sysroots/armv5te-oe-linux-gnueabi accepts -O1= ... yes > >>> checking for iceauth... no > >>> configure: error: iceauth missing, please check your X11 ins= tallation > >>> > >>> As suggested by Khem Raj [1] pass the value =E2=80=93 `/usr/bin/iceau= th` is taken =E2=80=93 to the configure script so that the test is avoided. > >>> > >>> Therefore `iceauth` is removed from `DEPENDS` and the `PR` variable i= s incremented. > >>> > >>> This issue has been reported upstream as ticket #7420 [2]. > >>> > >>> [1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-Marc= h/031115.html > >>> [2] http://bugzilla.xfce.org/show_bug.cgi?id=3D7420 > >>> > >>> Signed-off-by: Paul Menzel > >>> --- > >>> recipes/xfce-base/xfce4-session_4.6.1.bb | 6 ++++-- > >>> recipes/xfce-base/xfce4-session_4.6.2.bb | 6 ++++-- > >>> 2 files changed, 8 insertions(+), 4 deletions(-) > >>> > >>> diff --git a/recipes/xfce-base/xfce4-session_4.6.1.bb b/recipes/xfce-= base/xfce4-session_4.6.1.bb > >>> index ba66ac1..5029b21 100644 > >>> --- a/recipes/xfce-base/xfce4-session_4.6.1.bb > >>> +++ b/recipes/xfce-base/xfce4-session_4.6.1.bb > >>> @@ -1,13 +1,15 @@ > >>> DESCRIPTION =3D "xfce4-session is a session manager for Xfce 4 Desk= top Environment" > >>> -DEPENDS =3D "lbwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils= " > >>> +DEPENDS =3D "lbwnck libxfcegui4 libxfce4util dbus xfce-utils" > >>> SECTION =3D "x11" > >>> > >>> -PR =3D "r4" > >>> +PR =3D "r5" > >>> > >>> inherit xfce46 > >>> > >>> RDEPENDS_${PN} =3D "iceauth xfce-utils xinit dbus-x11" > >>> > >>> +EXTRA_OECONF +=3D "ac_cv_path_ICEAUTH=3D/usr/bin/iceauth" > >> > >> Would it make sense to have iceauth-native instead ? > > > > It never really executes `iceauth` during compile time but just during > > configure to determine the runtime path. So `iceauth-native` is not > > needed and would be even result in the wrong path, I think. >=20 > weather it executes is during configure or during compile how does it=20 > matter ? That it is not a build time dependency and therefore only needed during runtime. I thought the pathes of programs during compile time do not matter since the build host and the host where it gets installed differ when cross compiling. > in the end it needs iceauth and it will mean that you will ask > folks to have iceauth on their build host No, they implemented it this way but it is wrong in my opinion. > which is what I am asking to avoid. I tried to do that. > Either cache the variable Is not my patch doing that? > or use iceauth-native so this dep is removed from build host packages. > > >>> FILES_${PN} +=3D "${libdir}/xfce4/splash/engines/*.so" > >>> FILES_${PN} +=3D "${datadir}/xfce4/tips/*" > >>> FILES_${PN} +=3D "${datadir}/themes/Default/balou/*" > >>> diff --git a/recipes/xfce-base/xfce4-session_4.6.2.bb b/recipes/xfce-= base/xfce4-session_4.6.2.bb > >>> index d7f768a..c937775 100644 > >>> --- a/recipes/xfce-base/xfce4-session_4.6.2.bb > >>> +++ b/recipes/xfce-base/xfce4-session_4.6.2.bb > >>> @@ -1,13 +1,15 @@ > >>> DESCRIPTION =3D "xfce4-session is a session manager for Xfce 4 Desk= top Environment" > >>> -DEPENDS =3D "libwnck libxfcegui4 libxfce4util dbus iceauth xfce-util= s" > >>> +DEPENDS =3D "libwnck libxfcegui4 libxfce4util dbus xfce-utils" > >>> SECTION =3D "x11" > >>> > >>> -PR =3D "r0" > >>> +PR =3D "r1" > >>> > >>> inherit xfce46 > >>> > >>> RDEPENDS_${PN} =3D "iceauth xfce-utils xinit dbus-x11" > >>> > >>> +EXTRA_OECONF +=3D "ac_cv_path_ICEAUTH=3D/usr/bin/iceauth" > >>> + > >>> FILES_${PN} +=3D "${libdir}/xfce4/splash/engines/*.so" > >>> FILES_${PN} +=3D "${datadir}/xfce4/tips/*" > >>> FILES_${PN} +=3D "${datadir}/themes/Default/balou/*" > >>> -- > >>> 1.7.4.1 --=-7i9uraLJwcp2VrpstLfr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk2F09MACgkQPX1aK2wOHVgn+gCfa8WAvLJoEfAaX/oGfckfh6Bb tkkAniC6I3iC9ov/sIbocnLQKqlIrMS0 =qrZx -----END PGP SIGNATURE----- --=-7i9uraLJwcp2VrpstLfr--