[poppler] Poppler Qt4 - Yocto Project

Gustavo Walbon gustavowalbon at gmail.com
Tue Mar 18 10:52:01 PDT 2014


Hi,

When I tried this recipe for Poppler:

*DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0
code base."*
*HOMEPAGE = "http://poppler.freedesktop.org
<http://poppler.freedesktop.org/>"*

*LICENSE = "GPLv2"*
*LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"*
*PR = "r3"*

*SECTION = "x11/libs"*

*DEPENDS = "qt4-x11-free jpeg zlib cairo pth libassuan libksba"*
*RDEPENDS_${PN} = "poppler-data"*

*SRC_URI = "http://poppler.freedesktop.org/${BPN}-${PV}.tar.gz
<http://poppler.freedesktop.org/$%7BBPN%7D-$%7BPV%7D.tar.gz>"*

*SRC_URI[md5sum] = "a61e3b844061f5324512a16d6d16984c"*
*SRC_URI[sha256sum] =
"b4620f645319f4a8790465730bc472d5745155d0780809406fb29c62316d49a8"*

 *inherit autotools pkgconfig*

*EXTRA_OECONF = " --enable-xpdf-headers \*
*  --disable-gtk-test \*
*  --disable-qt4-test \*
*  --disable-qt-test \*
*  --enable-zlib \*
*        "*
*def get_poppler_fpu_setting(bb, d):*
*    if d.getVar('TARGET_FPU', 1) in [ 'soft' ]:*
*        return "--enable-fixedpoint"*
*    return ""*

*#check for TARGET_FPU=soft and inform configure of the result so it can
disable some floating points*
*EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}"*

*The error from bitbake was:*

*| make  all-am*
*| make[4]: Entering directory
`/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1/qt4/src'*
*| ../../arm-projectos-linux-gnueabi-libtool  --tag=CXX   --mode=link
arm-projectos-linux-gnueabi-g++  -march=armv7-a -mthumb-interwork
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a9
--sysroot=/project/dora/build/tmp/sysroots/imx6qsabrelite
-Dpoppler_qt4_EXPORTS -Wall -Woverloaded-virtual -Wnon-virtual-dtor
-Wcast-align -fno-exceptions -fno-check-new -fno-common  -O2 -pipe -g
-feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden
-ansi -version-info 4:0:0   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-o libpoppler-qt4.la <http://libpoppler-qt4.la/> -rpath /usr/lib
libpoppler_qt4_la-poppler-document.lo libpoppler_qt4_la-poppler-page.lo
libpoppler_qt4_la-poppler-fontinfo.lo
libpoppler_qt4_la-poppler-embeddedfile.lo
libpoppler_qt4_la-poppler-textbox.lo libpoppler_qt4_la-poppler-link.lo
libpoppler_qt4_la-poppler-annotation.lo
libpoppler_qt4_la-poppler-link-extractor.lo
libpoppler_qt4_la-poppler-optcontent.lo
libpoppler_qt4_la-poppler-page-transition.lo
libpoppler_qt4_la-poppler-sound.lo libpoppler_qt4_la-poppler-form.lo
libpoppler_qt4_la-poppler-base-converter.lo
libpoppler_qt4_la-poppler-ps-converter.lo
libpoppler_qt4_la-poppler-pdf-converter.lo
libpoppler_qt4_la-poppler-qiodeviceoutstream.lo
libpoppler_qt4_la-poppler-private.lo libpoppler_qt4_la-poppler-movie.lo
libpoppler_qt4_la-poppler-media.lo ../../poppler/libpoppler.la
<http://libpoppler.la/> ../../poppler/libpoppler-arthur.la
<http://libpoppler-arthur.la/> -lfontconfig  -lQtGui -lQtXml -lQtCore  -lz
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed*
*| arm-projectos-linux-gnueabi-libtool: link: cannot find the library `' or
unhandled argument `-DLINUX=1'*
*| make[4]: *** [libpoppler-qt4.la <http://libpoppler-qt4.la/>] Error 1*
*| make[4]: Leaving directory
`/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1/qt4/src'*
*| make[3]: *** [all] Error 2*
*| make[3]: Leaving directory
`/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1/qt4/src'*
*| make[2]: *** [all-recursive] Error 1*
*| make[2]: Leaving directory
`/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1/qt4'*
*| make[1]: *** [all-recursive] Error 1*
*| make[1]: Leaving directory
`/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1'*
*| make: *** [all] Error 2*
*| ERROR: oe_runmake failed*
*| WARNING: exit code 1 from a shell command.*
*| ERROR: Function failed: do_compile (log file is located at
/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/temp/log.do_compile.19063)*
*ERROR: Task 6
(/project/dora/meta-omnimed/common/recipes-libs/poppler/poppler_0.20.1.bb
<http://poppler_0.20.1.bb/>, do_compile) failed with exit code '1'*
*NOTE: Tasks Summary: Attempted 2274 tasks of which 2273 didn't need to be
rerun and 1 failed.*
*No currently running tasks (1704 of 2281)*

*Summary: 1 task failed:*
*  /project/dora/meta-omnimed/common/recipes-libs/poppler/poppler_0.20.1.bb
<http://poppler_0.20.1.bb/>, do_compile*
*Summary: There was 1 ERROR message shown, returning a non-zero exit code.*


In Dylan Branch this not happened, but in Dora Branch is the same recipe
and version of Poppler.

My application using Poppler + Qt.



Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20140318/d1d6c689/attachment.html>


More information about the poppler mailing list