Received: from mail.gw90.de ([188.40.100.199]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OkiDO-0007xH-A3 for openembedded-devel@lists.openembedded.org; Sun, 15 Aug 2010 20:45:51 +0200 Received: from f053041205.adsl.alicedsl.de ([78.53.41.205] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OkiD9-0002sU-UQ for openembedded-devel@lists.openembedded.org; Sun, 15 Aug 2010 18:45:36 +0000 From: Paul Menzel To: openembedded-devel@lists.openembedded.org In-Reply-To: <1281861970.3854.14.camel@mattotaupa> References: <1281861970.3854.14.camel@mattotaupa> Date: Sun, 15 Aug 2010 20:45:33 +0200 Message-ID: <1281897933.3693.41.camel@mattotaupa> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 X-SA-Exim-Connect-IP: 188.40.100.199 X-SA-Exim-Mail-From: paulepanter@users.sourceforge.net X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: evince_2.30.0.bb: Problem with new style staging? (was: warning: failed to load external entity "/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl") 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, 15 Aug 2010 18:45:52 -0000 X-Groupsio-MsgNum: 22208 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-1gbzALHNw4QDBFMPXOEe" --=-1gbzALHNw4QDBFMPXOEe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Sonntag, den 15.08.2010, 10:46 +0200 schrieb Paul Menzel: > I set up a basic build host with no GNOME installed and did `bitbake > beagleboard-demo-image` with the standard local.conf provided by > =C8=A6ngstr=C3=B6m and org.openembedded.dev. >=20 > Compile is failing because it is looking for a file on the build hosts > environment (and not stagang(?)). >=20 > xsltproc -o evince-C.omf --stringparam db2omf.basename evince --s= tringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD = DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.om= f_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help= " --stringparam db2omf.omf_in "/home/paul/oe/build/angstrom-dev/work/armv7a= -angstrom-linux-gnueabi/evince-2.30.0-r1/evince-2.30.0/help/evince.omf.in" = `/home/paul/oe/build/angstrom-dev/sysroots/i686-linux/usr/bin/pkg-config -= -variable db2omf gnome-doc-utils` C/evince.xml || { rm -f "evince-C.omf"; e= xit 1; } > warning: failed to load external entity "/usr/share/xml/gnome/xsl= t/docbook/omf/db2omf.xsl" > cannot parse /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl > make[2]: *** [evince-C.omf] Error 1 > make[2]: Leaving directory `/home/paul/oe/build/angstrom-dev/work= /armv7a-angstrom-linux-gnueabi/evince-2.30.0-r1/evince-2.30.0/help' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/paul/oe/build/angstrom-dev/work= /armv7a-angstrom-linux-gnueabi/evince-2.30.0-r1/evince-2.30.0' > make: *** [all] Error 2 > FATAL: oe_runmake failed > ERROR: Function do_compile failed >=20 > The call of `xsltproc` seems to point to the wrong location. Does anyone > know how to fix this error besides installing those files on the build > host? Judging from `run.do_compile.6321` `PKG_CONFIG_PATH` gets set incorrectly. export PKG_CONFIG_PATH=3D"/oe/build/angstrom-dev/sysroots/armv7a-an= gstrom-linux-gnueabi/usr/lib/pkgconfig:/oe/build/angstrom-dev/sysroots/armv= 7a-angstrom-linux-gnueabi/usr/share/pkgconfig" I checked `gnome-doc-utils.pc` in these directories and both point to `/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl`, which is incorrect (`datadir=3D/usr/share`) In the staging(?) path `/oe/build/angstrom-dev/sysroots/i686-linux/usr/lib/pkgconfig/` everything is set up correctly. datadir=3D/oe/build/angstrom-dev/sysroots/i686-linux/usr/share Also running=20 /oe/build/angstrom-dev/sysroots/i686-linux/usr/bin/pkg-config --var= iable db2omf gnome-doc-utils in a clean environment without exporting `PKG_CONFIG_PATH` works. Is this a problem with new style staging? Could you please provide a hint on how to fix this. Thanks, Paul --=-1gbzALHNw4QDBFMPXOEe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkxoNc0ACgkQPX1aK2wOHVjl0QCfUz6QfYAucxpUiMe6BwDuvg5D p6UAoIQg1V55XVhsyhkrb9+3w3Ixr9uY =TsSW -----END PGP SIGNATURE----- --=-1gbzALHNw4QDBFMPXOEe--