[oe] pygtksourceview-2.10.1: task compile fails, because $(srcdir) not substituted with staging directory
Paul Menzel
paulepanter at users.sourceforge.net
Tue Mar 15 13:10:47 UTC 2011
Dear OE folks,
task compile of `pygtksourceview-2.10.1.bb` fails with the following
error.
+ do_compile
+ base_do_compile
+ '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
+ oe_runmake
+ oenote make -j4
+ echo NOTE: 'make -j4'
NOTE: make -j4
+ make -j4
make all-recursive
make[1]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pygtksourceview-2.10.1-r0/pygtksourceview-2.10.1'
Making all in test
make[2]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pygtksourceview-2.10.1-r0/pygtksourceview-2.10.1/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pygtksourceview-2.10.1-r0/pygtksourceview-2.10.1/test'
Making all in docs
make[2]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pygtksourceview-2.10.1-r0/pygtksourceview-2.10.1/docs'
/oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/bin/python -c 'import datetime; print datetime.date.today()' > reference/builddate.xml
/oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/bin/xsltproc --nonet --xinclude -o ../docs/html/ \
--path ../docs/reference:./reference \
--stringparam gtkdoc.bookname "pygtksourceview2" \
--stringparam gtkdoc.version . \
/usr/share/pygobject/xsl/ref-html-style.xsl ./reference/gtksourceview2-ref.xml
warning: failed to load external entity "/usr/share/pygobject/xsl/ref-html-style.xsl"
cannot parse /usr/share/pygobject/xsl/ref-html-style.xsl
make[2]: *** [build_stamp] Error 4
make[2]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pygtksourceview-2.10.1-r0/pygtksourceview-2.10.1/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pygtksourceview-2.10.1-r0/pygtksourceview-2.10.1'
make: *** [all] Error 2
+ die 'oe_runmake failed'
Apparently in
$ more docs/Makefile.am
[…]
build_stamp: $(REFERENCE_DEPS)reference/builddate.xml
xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \
--path $(BUILDDIR)/reference:$(srcdir)/reference \
--stringparam gtkdoc.bookname "pygtksourceview2" \
--stringparam gtkdoc.version ${REF_VERSION} \
$(HTML_STYLE) $(srcdir)/reference/gtksourceview2-ref.xml
$(PYGOBJECT_FIXXREF) -i $(PYGOBJECT_PYGDOCS) $(BUILDDIR)/html
touch $@
[…]
`$(srcdir)` is not set to the staging directory.
angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pygtksourceview-2.10.1-r0/pygtksourceview-2.10.1/Makefile:srcdir = .
How is that dealt with in OE? Or should something else be used in
`Makefile.am`?
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/20110315/cca951b4/attachment-0002.sig>
More information about the Openembedded-devel
mailing list