[oe] evince_2.30.0.bb: Problem with new style staging?

Khem Raj raj.khem at gmail.com
Tue Aug 17 22:50:56 UTC 2010


On Tue, Aug 17, 2010 at 12:30 AM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> Am Sonntag, den 15.08.2010, 20:45 +0200 schrieb Paul Menzel:
>> 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.
>
> I am stuck. Could someone take a look at this please and give me a hint
> on how to proceed? (I know the week just started.)
>
>

I fixed it. Update evince and see if it builds for you now.

> Thanks,
>
> Paul
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>




More information about the Openembedded-devel mailing list