Build of prelink_git.bb fails
Hello,
when building poky-image-sato-sdk in recent versions the build fails with:
ERROR: 'virtual:native:/opt/poky/git/poky/work/meta/recipes-devtools/prelink/prelink_git.bb' failed
ERROR: Function 'do_compile' failed (see /opt/poky/build/mainline-test/tmp/work/x86_64-linux/prelink-native-1.0+git1+909470ee441237563d6236c505cb2d02ddc48704-r0/temp/log.do_compile.10035 for further information)
It appears that's because some "fancyheadings.sty" cannot be found:
from log.do_compile.10035:
...
(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def)) (/usr/share/texmf/tex/latex/type1cm/type1cm.sty) (/usr/share/texmf/tex/generic/thumbpdf/thumbpdf.sty
Package thumbpdf Warning: Thumbnail data file `prelink.tpt' not found.
) (/usr/share/texmf/tex/plain/misc/pdfcolor.tex) (/usr/share/texmf/tex/latex/eso-pic/eso-pic.sty (/usr/share/texmf/tex/latex/everyshi/everyshi.sty) (/usr/share/texmf/tex/latex/graphics/keyval.sty)) (/usr/share/texmf/tex/latex/graphics/color.sty (/usr/share/texmf/tex/latex/config/color.cfg))
! LaTeX Error: File `fancyheadings.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.116 \pagestyle
{fancy}^^M! ==> Fatal error occurred, no output PDF file produced!
Transcript written on prelink.log.
make[2]: *** [prelink.pdf] Error 1
make[2]: Leaving directory `/opt/poky/build/mainline-test/tmp/work/x86_64-linux/prelink-native-1.0+git1+909470ee441237563d6236c505cb2d02ddc48704-r0/git/trunk/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/poky/build/mainline-test/tmp/work/x86_64-linux/prelink-native-1.0+git1+909470ee441237563d6236c505cb2d02ddc48704-r0/git/trunk'
make: *** [all] Error 2
FATAL: oe_runmFunction 'do_compile' failed (see /opt/poky/build/mainline-test/tmp/work/x86_64-linux/prelink-native-1.0+git1+909470ee441237563d6236c505cb2d02ddc48704-r0/temp/log.do_compile.10035 for further information)
This must be because one of the recently added changes (within the last 48 hors or so).
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] "We don't have to protect the environment -- the Second Coming is at hand." - James Watt
Something is wrong with your host system. Nothing has changed with the prelink integration since late December.
The failure seems to indicate a broken latex, tetex and/or tex2pdf installation.
--Mark
Quoted 55 lines · Wolfgang Denk
Hello,
when building poky-image-sato-sdk in recent versions the build fails with:
ERROR: 'virtual:native:/opt/poky/git/poky/work/meta/recipes-devtools/prelink/prelink_git.bb' failed
ERROR: Function 'do_compile' failed (see/opt/poky/build/mainline-test/tmp/work/x86_64-linux/prelink-native-1.0+git1+909470ee441237563d6236c505cb2d02ddc48704-r0/temp/log.do_compile.10035for further information)It appears that's because some "fancyheadings.sty" cannot be found:
from log.do_compile.10035:
...
(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def)) (/usr/share/texmf/tex/latex/type1cm/type1cm.sty) (/usr/share/texmf/tex/generic/thumbpdf/thumbpdf.styPackage thumbpdf Warning: Thumbnail data file `prelink.tpt' not found.
) (
/usr/share/texmf/tex/plain/misc/pdfcolor.tex) (/usr/share/texmf/tex/latex/eso-pic/eso-pic.sty(/usr/share/texmf/tex/latex/everyshi/everyshi.sty) (/usr/share/texmf/tex/latex/graphics/keyval.sty)) (/usr/share/texmf/tex/latex/graphics/color.sty(/usr/share/texmf/tex/latex/config/color.cfg))! LaTeX Error: File `fancyheadings.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)Enter file name:
! Emergency stop.
<read *>l.116 \pagestyle
{fancy}^^M! ==> Fatal error occurred, no output PDF file produced!
Transcript written on prelink.log.
make[2]: *** [prelink.pdf] Error 1
make[2]: Leaving directory `/opt/poky/build/mainline-test/tmp/work/x86_64-linux/prelink-native-1.0+git1+909470ee441237563d6236c505cb2d02ddc48704-r0/git/trunk/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/poky/build/mainline-test/tmp/work/x86_64-linux/prelink-native-1.0+git1+909470ee441237563d6236c505cb2d02ddc48704-r0/git/trunk'
make: *** [all] Error 2
FATAL:oe_runmFunction'do_compile' failed (see/opt/poky/build/mainline-test/tmp/work/x86_64-linux/prelink-native-1.0+git1+909470ee441237563d6236c505cb2d02ddc48704-r0/temp/log.do_compile.10035for further information)This must be because one of the recently added changes (within the last 48 hors or so).
Best regards,
Wolfgang Denk
Quoted 4 lines · Mark Hatle
Something is wrong with your host system. Nothing has changed with the prelink integration since late December.
The failure seems to indicate a broken latex, tetex and/or tex2pdf installation.
Nothing changed in prelink but we did add some doc tools of various kinds which might have triggered this.
Wolfgang - can you share a list of other native packages which have been built? You can see this by looking for do_populate_sysroot* stamps in the tmp/stamps/<native system>/ directory.
Cheers,
Richard
Dear Richard Purdie,
Quoted 4 lines · In message <1296744208.1544.9277.camel@rex> you wrote:
Quoted 3 lines · Mark Hatle
Something is wrong with your host system. Nothing has changed with the prelink integration since late December.
Quoted 8 lines
Quoted 1 line
The failure seems to indicate a broken latex, tetex and/or tex2pdf installation.
Nothing changed in prelink but we did add some doc tools of various kinds which might have triggered this.
Wolfgang - can you share a list of other native packages which have been built? You can see this by looking for do_populate_sysroot* stamps in the tmp/stamps/<native system>/ directory.
$ ls tmp/stamps/x86_64-linux/*do_populate_sysroot* tmp/stamps/x86_64-linux/acl-native-2.2.49-r1.do_populate_sysroot tmp/stamps/x86_64-linux/attr-native-2.4.44-r2.do_populate_sysroot tmp/stamps/x86_64-linux/autoconf-native-2.65-r2.do_populate_sysroot tmp/stamps/x86_64-linux/automake-native-1.11.1-r1.do_populate_sysroot tmp/stamps/x86_64-linux/bigreqsproto-native-1_1.1.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/binutils-native-2.21-r0.do_populate_sysroot tmp/stamps/x86_64-linux/bison-native-2.4.3-r1.do_populate_sysroot tmp/stamps/x86_64-linux/boost-jam-native-3.1.18-r0.do_populate_sysroot tmp/stamps/x86_64-linux/bzip2-native-1.0.6-r3.do_populate_sysroot tmp/stamps/x86_64-linux/cmake-native-2.8.3-r0.do_populate_sysroot tmp/stamps/x86_64-linux/cross-localedef-native-2.12-r1.do_populate_sysroot tmp/stamps/x86_64-linux/curl-native-7.21.2-r1.do_populate_sysroot tmp/stamps/x86_64-linux/db-native-5.1.19-r1.do_populate_sysroot tmp/stamps/x86_64-linux/dbus-glib-native-0.92-r0.do_populate_sysroot tmp/stamps/x86_64-linux/dbus-native-1.4.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/desktop-file-utils-native-0.15-r0.do_populate_sysroot tmp/stamps/x86_64-linux/e2fsprogs-native-1.41.12-r20.do_populate_sysroot tmp/stamps/x86_64-linux/eggdbus-native-0.6-r1.do_populate_sysroot tmp/stamps/x86_64-linux/elfutils-native-0.148-r1.do_populate_sysroot tmp/stamps/x86_64-linux/expat-native-2.0.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/file-native-5.04-r1.do_populate_sysroot tmp/stamps/x86_64-linux/flex-native-2.5.35-r2.do_populate_sysroot tmp/stamps/x86_64-linux/font-util-native-1.2.0-r2.1.do_populate_sysroot tmp/stamps/x86_64-linux/freetype-native-2.4.4-r0.do_populate_sysroot tmp/stamps/x86_64-linux/gconf-dbus-native-2.16.0+svnr705-r0.do_populate_sysroot tmp/stamps/x86_64-linux/genext2fs-native-1.4.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/gettext-native-0.17-r5.do_populate_sysroot tmp/stamps/x86_64-linux/git-native-1.7.3.4-r0.do_populate_sysroot tmp/stamps/x86_64-linux/glib-2.0-native-1_2.26.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/gmp-native-5.0.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/gnome-doc-utils-native-0.20.4-r0.do_populate_sysroot tmp/stamps/x86_64-linux/gnu-config-native-0.1+cvs20080123-r1.do_populate_sysroot tmp/stamps/x86_64-linux/gperf-native-3.0.4-r0.do_populate_sysroot tmp/stamps/x86_64-linux/gtk-doc-native-1.0-r4.do_populate_sysroot tmp/stamps/x86_64-linux/guilt-native-0.33-r0.do_populate_sysroot tmp/stamps/x86_64-linux/gzip-native-1.4-r0.do_populate_sysroot tmp/stamps/x86_64-linux/icon-naming-utils-native-0.8.7-r1.do_populate_sysroot tmp/stamps/x86_64-linux/icu-native-3.6-r6.do_populate_sysroot tmp/stamps/x86_64-linux/inputproto-native-1_2.0.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/intltool-native-0.40.6-r1.do_populate_sysroot tmp/stamps/x86_64-linux/kbproto-native-1_1.0.5-r0.do_populate_sysroot tmp/stamps/x86_64-linux/kern-tools-native-0.1+git1+fde7ef8fa8043607752563b9b7908f487eb2f7dd-r10.do_populate_sysroot tmp/stamps/x86_64-linux/ldconfig-native-2.5-r1.do_populate_sysroot tmp/stamps/x86_64-linux/libfontenc-native-1_1.1.0-r1.do_populate_sysroot tmp/stamps/x86_64-linux/libice-native-1_1.0.7-r0.do_populate_sysroot tmp/stamps/x86_64-linux/libmpc-native-0.8.2-r0.do_populate_sysroot tmp/stamps/x86_64-linux/libpcre-native-8.10-r4.do_populate_sysroot tmp/stamps/x86_64-linux/libsm-native-1_1.2.0-r1.do_populate_sysroot tmp/stamps/x86_64-linux/libtasn1-native-2.9-r0.do_populate_sysroot tmp/stamps/x86_64-linux/libtool-native-2.4-r1.do_populate_sysroot tmp/stamps/x86_64-linux/libx11-native-1_1.3.4-r0.do_populate_sysroot tmp/stamps/x86_64-linux/libxau-native-1_1.0.6-r0.do_populate_sysroot tmp/stamps/x86_64-linux/libxdmcp-native-1_1.1.0-r0.do_populate_sysroot tmp/stamps/x86_64-linux/libxkbfile-native-1_1.0.7-r0.do_populate_sysroot tmp/stamps/x86_64-linux/libxml-parser-perl-native-2.36-r0.do_populate_sysroot tmp/stamps/x86_64-linux/libxml-simple-perl-native-2.18-r1.do_populate_sysroot tmp/stamps/x86_64-linux/libxml2-native-2.7.7-r4.do_populate_sysroot tmp/stamps/x86_64-linux/libxslt-native-1.1.26-r0.do_populate_sysroot tmp/stamps/x86_64-linux/lzo-native-2.04-r0.do_populate_sysroot tmp/stamps/x86_64-linux/m4-native-1.4.15-r0.do_populate_sysroot tmp/stamps/x86_64-linux/makedevs-native-1.0.0-r7.do_populate_sysroot tmp/stamps/x86_64-linux/mkfontdir-native-1_1.0.6-r0.do_populate_sysroot tmp/stamps/x86_64-linux/mkfontscale-native-1.0.8-r0.do_populate_sysroot tmp/stamps/x86_64-linux/mpfr-native-3.0.0-r0.do_populate_sysroot tmp/stamps/x86_64-linux/ncurses-native-5.7-r0.do_populate_sysroot tmp/stamps/x86_64-linux/openssl-native-0.9.8p-r2.do_populate_sysroot tmp/stamps/x86_64-linux/opkg-native-1_0.1.8+svnr596-r1.do_populate_sysroot tmp/stamps/x86_64-linux/pax-utils-native-0.2.2-r0.do_populate_sysroot tmp/stamps/x86_64-linux/perl-native-5.12.2-r4.do_populate_sysroot tmp/stamps/x86_64-linux/pkgconfig-native-0.25-r0.do_populate_sysroot tmp/stamps/x86_64-linux/popt-native-1.16-r0.do_populate_sysroot tmp/stamps/x86_64-linux/pseudo-native-0.0+git1+bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8-r17.do_populate_sysroot tmp/stamps/x86_64-linux/python-native-2.6.6-nk0.0.do_populate_sysroot tmp/stamps/x86_64-linux/python-pyrex-native-0.9.9-r1.do_populate_sysroot tmp/stamps/x86_64-linux/qemu-helper-native-1.0-r1.do_populate_sysroot tmp/stamps/x86_64-linux/qemu-native-0.13.0-r0.do_populate_sysroot tmp/stamps/x86_64-linux/qt4-tools-native-4.7.1-r11.0.do_populate_sysroot tmp/stamps/x86_64-linux/quilt-native-0.48-r0.do_populate_sysroot tmp/stamps/x86_64-linux/readline-native-6.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/rpm-native-5.4.0-r10.do_populate_sysroot tmp/stamps/x86_64-linux/shared-mime-info-native-0.80-r0.do_populate_sysroot tmp/stamps/x86_64-linux/sqlite3-native-3.7.3-r0.do_populate_sysroot tmp/stamps/x86_64-linux/tcl-native-8.5.9-r0.do_populate_sysroot tmp/stamps/x86_64-linux/tzcode-native-2009r-r0.do_populate_sysroot tmp/stamps/x86_64-linux/unifdef-native-2.6.18+git-r0.do_populate_sysroot tmp/stamps/x86_64-linux/update-rc.d-native-0.7-r3.do_populate_sysroot tmp/stamps/x86_64-linux/util-linux-native-2.17.2-r4.do_populate_sysroot tmp/stamps/x86_64-linux/util-macros-native-1_1.11.0-r0.do_populate_sysroot tmp/stamps/x86_64-linux/xcb-proto-native-1.6-r0.do_populate_sysroot tmp/stamps/x86_64-linux/xcmiscproto-native-1_1.2.1-r0.do_populate_sysroot tmp/stamps/x86_64-linux/xextproto-native-1_7.1.2-r0.do_populate_sysroot tmp/stamps/x86_64-linux/xf86bigfontproto-native-1_1.2.0-r1.do_populate_sysroot tmp/stamps/x86_64-linux/xkbcomp-native-1.2.0-r0.do_populate_sysroot tmp/stamps/x86_64-linux/xproto-native-1_7.0.20-r0.do_populate_sysroot tmp/stamps/x86_64-linux/xtrans-native-1_1.2.6-r0.do_populate_sysroot tmp/stamps/x86_64-linux/zlib-native-1.2.5-r0.do_populate_sysroot
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] "I go on working for the same reason a hen goes on laying eggs." - H. L. Mencken
Dear Mark,
Quoted 2 lines · In message <[email protected]> you wrote:
Something is wrong with your host system. Nothing has changed with the prelink integration since late December.
Hm... I was able to complete a build of top of tree two days ago, on the same system.
This is Fedora 14 on a x86_64 box.
Quoted 1 line
The failure seems to indicate a broken latex, tetex and/or tex2pdf installation.
Do you happen to know which package is supposed to provide "fancyheadings.sty" ? I cannot find this file on any of my Fedora boxen...
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Inside every old person is a young person wondering what happened. - Terry Pratchett, _Moving Pictures_
On my Fedora 14 machine, I am now receiving the same error. So it is something that changed overnight, unrelated to the prelinker.
I also attempted to find the fancyheadings.sty, and was unable to find it on my host.
It appears the docbook native patch that went in to fix the integration triggered this failure. The issue is that with a host-tool docbook, we're no longer able to build the documentation, so prelink no longer works.
I suspect the issue is in docbook, but I don't know that for sure. Until then the following hack will disable documentation and allow your build to continue:
meta/recipes-devtools/prelink/prelink_git.bb +5 -0
@@ -27,6 +27,11 @@ BBCLASSEXTEND = "native" EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \ --with-bugurl=http://bugzilla.pokylinux.org/" +do_configure_prepend () { + # Disable documentation! + echo "all:" > ${S}/doc/Makefile.am +} + do_install_append () { install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf
--Mark
Quoted 21 lines · Wolfgang Denk
Dear Mark,
Quoted 2 lines · In message <[email protected]> you wrote:
Something is wrong with your host system. Nothing has changed with the prelink integration since late December.
Hm... I was able to complete a build of top of tree two days ago, on the same system.
This is Fedora 14 on a
x86_64box.Quoted 1 line
The failure seems to indicate a broken latex, tetex and/or tex2pdf installation.
Do you happen to know which package is supposed to provide "fancyheadings.sty" ? I cannot find this file on any of my Fedora boxen...
Best regards,
Wolfgang Denk