Re: [oe] [PATCH 0/2] poppler nightmare
On Wed, Apr 4, 2018 at 6:51 AM, Bill Randle wrote: > I recently tried to cross build the current version of poppler for an > embedded ARM system. This was not under the Yocto/OE build > environment, but I never could get quite the right cmake config file > to get the thing to build. Since I just needed it for the pdftoraster > cups filter, I punted and built ghostscript instead. cmake may be fine > for native builds, but at least in this case, it was a pain to use for > cross-compilation. > > -Bill > Currently I see two issues: 1. Resetting al compiler flags was never a good idea for cross compiling. I've sent dozens of patches like this to many projects but at poppler I had to learn my marketing/skills/patience were not good enough [1] 2. on some environments (I can build 0.63.0 perfectly fine - but...) linking poppler-glib does not find libpoppler. Maybe some CMake experts around willing to help out? [1] https://bugs.freedesktop.org/show_bug.cgi?id=105852 Regards Andreas -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 0/2] poppler nightmare
I recently tried to cross build the current version of poppler for an embedded ARM system. This was not under the Yocto/OE build environment, but I never could get quite the right cmake config file to get the thing to build. Since I just needed it for the pdftoraster cups filter, I punted and built ghostscript instead. cmake may be fine for native builds, but at least in this case, it was a pain to use for cross-compilation. -Bill On Tue, Apr 3, 2018 at 8:28 PM, Andreas Müller wrote: > On Wed, Apr 4, 2018 at 3:32 AM, akuster808 wrote: >> Andreas, >> >> >> >> On 04/03/2018 04:15 PM, Andreas Müller wrote: >>> Not convinced that I'll get support at poppler project. Let's see what >>> autobuilder says. If it fails, please unroll back to 0.57.0 - I am sure >>> that disable glib causes trouble for evince. >> >> this didn't make it into the current world build. I built it @ home a >> getting the same errors: >> >> | >> /build/build_artifacts/master/tmp-glibc/work/core2-64-oe-linux/poppler/0.63.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/7.3.0/ld: >> warning: libpoppler.so.74, needed by ./libpoppler-glib.so, not found >> (try using -rpath or -rpath-link) >> >> - armin > Thanks Armin for quick response. As written - I suggest to keep > poppler at 0.57.0 and forget the updates for a while. > > Sigh - from the moment I saw the announcement that poppler changes > from autotools to cmake I thought there might be trouble is ahead. Now > I know. > > Andreas > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 0/2] poppler nightmare
On Wed, Apr 4, 2018 at 3:32 AM, akuster808 wrote: > Andreas, > > > > On 04/03/2018 04:15 PM, Andreas Müller wrote: >> Not convinced that I'll get support at poppler project. Let's see what >> autobuilder says. If it fails, please unroll back to 0.57.0 - I am sure >> that disable glib causes trouble for evince. > > this didn't make it into the current world build. I built it @ home a > getting the same errors: > > | > /build/build_artifacts/master/tmp-glibc/work/core2-64-oe-linux/poppler/0.63.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/7.3.0/ld: > warning: libpoppler.so.74, needed by ./libpoppler-glib.so, not found > (try using -rpath or -rpath-link) > > - armin Thanks Armin for quick response. As written - I suggest to keep poppler at 0.57.0 and forget the updates for a while. Sigh - from the moment I saw the announcement that poppler changes from autotools to cmake I thought there might be trouble is ahead. Now I know. Andreas -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 0/2] poppler nightmare
Andreas, On 04/03/2018 04:15 PM, Andreas Müller wrote: > Not convinced that I'll get support at poppler project. Let's see what > autobuilder says. If it fails, please unroll back to 0.57.0 - I am sure > that disable glib causes trouble for evince. this didn't make it into the current world build. I built it @ home a getting the same errors: | /build/build_artifacts/master/tmp-glibc/work/core2-64-oe-linux/poppler/0.63.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/7.3.0/ld: warning: libpoppler.so.74, needed by ./libpoppler-glib.so, not found (try using -rpath or -rpath-link) - armin > > Andreas Müller (2): > poppler: Rework patch fixing do_configure > poppler: update 0.62.0- > 0.63.0 > > ...0001-Do-not-overwrite-all-our-build-flags.patch | 36 > -- > .../{poppler_0.62.0.bb => poppler_0.63.0.bb} | 4 +-- > 2 files changed, 21 insertions(+), 19 deletions(-) > rename meta-oe/recipes-support/poppler/{poppler_0.62.0.bb => > poppler_0.63.0.bb} (93%) > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 0/2] poppler nightmare
Not convinced that I'll get support at poppler project. Let's see what autobuilder says. If it fails, please unroll back to 0.57.0 - I am sure that disable glib causes trouble for evince. Andreas Müller (2): poppler: Rework patch fixing do_configure poppler: update 0.62.0- > 0.63.0 ...0001-Do-not-overwrite-all-our-build-flags.patch | 36 -- .../{poppler_0.62.0.bb => poppler_0.63.0.bb} | 4 +-- 2 files changed, 21 insertions(+), 19 deletions(-) rename meta-oe/recipes-support/poppler/{poppler_0.62.0.bb => poppler_0.63.0.bb} (93%) -- 2.14.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel