[oe] 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")
Paul Menzel
paulepanter at users.sourceforge.net
Sun Aug 15 18:45:33 UTC 2010
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
> Ȧngström and org.openembedded.dev.
>
> Compile is failing because it is looking for a file on the build hosts
> environment (and not stagang(?)).
>
> xsltproc -o evince-C.omf --stringparam db2omf.basename evince --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_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"; exit 1; }
> warning: failed to load external entity "/usr/share/xml/gnome/xslt/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
>
> 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="/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig:/oe/build/angstrom-dev/sysroots/armv7a-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=/usr/share`)
In the staging(?) path
`/oe/build/angstrom-dev/sysroots/i686-linux/usr/lib/pkgconfig/`
everything is set up correctly.
datadir=/oe/build/angstrom-dev/sysroots/i686-linux/usr/share
Also running
/oe/build/angstrom-dev/sysroots/i686-linux/usr/bin/pkg-config --variable 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100815/ca4329b1/attachment-0002.sig>
More information about the Openembedded-devel
mailing list