All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] poppler: fix ambiguity on math functions related to gcc-6
@ 2016-06-17 19:40 Derek Straka
  2016-06-17 19:40 ` [meta-oe][PATCH 2/2] Remove blacklisted recipes due to poppler build failures Derek Straka
  0 siblings, 1 reply; 4+ messages in thread
From: Derek Straka @ 2016-06-17 19:40 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Derek Straka

Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../poppler/0002-fix-gcc-6-math-ambiguous-errors.patch        | 11 +++++++++++
 meta-oe/recipes-support/poppler/poppler_0.43.0.bb             |  4 +---
 2 files changed, 12 insertions(+), 3 deletions(-)
 create mode 100644 meta-oe/recipes-support/poppler/poppler/0002-fix-gcc-6-math-ambiguous-errors.patch

diff --git a/meta-oe/recipes-support/poppler/poppler/0002-fix-gcc-6-math-ambiguous-errors.patch b/meta-oe/recipes-support/poppler/poppler/0002-fix-gcc-6-math-ambiguous-errors.patch
new file mode 100644
index 0000000..406009f
--- /dev/null
+++ b/meta-oe/recipes-support/poppler/poppler/0002-fix-gcc-6-math-ambiguous-errors.patch
@@ -0,0 +1,11 @@
+--- poppler-0.45.0/poppler/CairoOutputDev.cc.orig	2016-06-17 14:23:35.399083929 -0400
++++ poppler-0.45.0/poppler/CairoOutputDev.cc	2016-06-17 14:36:53.351097825 -0400
+@@ -42,7 +42,7 @@
+ #endif
+ 
+ #include <string.h>
+-#include <math.h>
++#include <cmath>
+ #include <assert.h>
+ #include <cairo.h>
+ 
diff --git a/meta-oe/recipes-support/poppler/poppler_0.43.0.bb b/meta-oe/recipes-support/poppler/poppler_0.43.0.bb
index 743e0aa..9abcd2c 100644
--- a/meta-oe/recipes-support/poppler/poppler_0.43.0.bb
+++ b/meta-oe/recipes-support/poppler/poppler_0.43.0.bb
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 SRC_URI = " \
     http://poppler.freedesktop.org/${BP}.tar.xz \
     file://0001-add-manadatory-options-to-find-qt4-qt5-moc.patch \
+    file://0002-fix-gcc-6-math-ambiguous-errors.patch \
 "
 SRC_URI[md5sum] = "1d2b001663119855cdfbc0713dbfb9c6"
 SRC_URI[sha256sum] = "c720e26a26ee10b7ebc9e256d2ee7adcdb536cf85f9f1c4777a38f7f81fb2456"
@@ -53,6 +54,3 @@ FILES_libpoppler = "${libdir}/libpoppler.so.*"
 FILES_libpoppler-glib = "${libdir}/libpoppler-glib.so.*"
 
 RDEPENDS_libpoppler = "poppler-data"
-
-# http://errors.yoctoproject.org/Errors/Details/68605/
-PNBLACKLIST[poppler] ?= "BROKEN: fails to build with gcc-6"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-oe][PATCH 2/2] Remove blacklisted recipes due to poppler build failures
  2016-06-17 19:40 [meta-oe][PATCH 1/2] poppler: fix ambiguity on math functions related to gcc-6 Derek Straka
@ 2016-06-17 19:40 ` Derek Straka
  2016-06-22 19:35   ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Derek Straka @ 2016-06-17 19:40 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Derek Straka

Signed-off-by: Derek Straka <derek@asterius.io>
---
 meta-efl/recipes-efl/efl/epdf_svn.bb                 | 2 --
 meta-gnome/recipes-gnome/evince/evince_3.18.2.bb     | 2 --
 meta-gnome/recipes-support/tracker/tracker_0.14.2.bb | 2 --
 meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb         | 2 --
 meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb     | 2 --
 5 files changed, 10 deletions(-)

diff --git a/meta-efl/recipes-efl/efl/epdf_svn.bb b/meta-efl/recipes-efl/efl/epdf_svn.bb
index a4c7d49..e32a5fd 100644
--- a/meta-efl/recipes-efl/efl/epdf_svn.bb
+++ b/meta-efl/recipes-efl/efl/epdf_svn.bb
@@ -25,5 +25,3 @@ EXTRA_OECONF = "\
 
 # Some upgrade path tweaking, as in evas
 AUTO_LIBNAME_PKGS = ""
-
-PNBLACKLIST[epdf] ?= "Depends on broken poppler"
diff --git a/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb b/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
index 4fa11a5..fe63093 100644
--- a/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
@@ -46,5 +46,3 @@ FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \
                           ${libdir}/evince/*/backends/*.a"
 FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
 FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so"
-
-PNBLACKLIST[evince] ?= "Depends on broken poppler"
diff --git a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
index 7e6c400..ff53669 100644
--- a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
+++ b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
@@ -83,5 +83,3 @@ FILES_${PN}-nautilus-extension += "${libdir}/nautilus/extensions-2.0/*.so"
 
 SRC_URI[md5sum] = "f3a871beeebf86fd752863ebd22af9ac"
 SRC_URI[sha256sum] = "9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1"
-
-PNBLACKLIST[tracker] ?= "Depends on broken poppler"
diff --git a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
index 3c134bb..29ed4d9 100644
--- a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
+++ b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
@@ -30,5 +30,3 @@ CFLAGS += "-fPIC"
 
 FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug"
 FILES_${PN}  += "${datadir}/appdata"
-
-PNBLACKLIST[gimp] ?= "Depends on broken poppler"
diff --git a/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb b/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
index 5a0fc6d..66385a4 100644
--- a/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
+++ b/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
@@ -27,5 +27,3 @@ FILES_${PN}-dbg += "${libdir}/tumbler-1/.debug \
                     ${libdir}/tumbler-1/plugins/.debug \
                     ${libdir}/tumbler-1/plugins/cache/.debug \
 "
-
-PNBLACKLIST[tumbler] ?= "Depends on broken poppler"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCH 2/2] Remove blacklisted recipes due to poppler build failures
  2016-06-17 19:40 ` [meta-oe][PATCH 2/2] Remove blacklisted recipes due to poppler build failures Derek Straka
@ 2016-06-22 19:35   ` Martin Jansa
  2016-06-22 19:46     ` Derek Straka
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2016-06-22 19:35 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Derek Straka

[-- Attachment #1: Type: text/plain, Size: 3707 bytes --]

On Fri, Jun 17, 2016 at 03:40:09PM -0400, Derek Straka wrote:
> Signed-off-by: Derek Straka <derek@asterius.io>
> ---
>  meta-efl/recipes-efl/efl/epdf_svn.bb                 | 2 --
>  meta-gnome/recipes-gnome/evince/evince_3.18.2.bb     | 2 --
>  meta-gnome/recipes-support/tracker/tracker_0.14.2.bb | 2 --
>  meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb         | 2 --
>  meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb     | 2 --
>  5 files changed, 10 deletions(-)
> 
> diff --git a/meta-efl/recipes-efl/efl/epdf_svn.bb b/meta-efl/recipes-efl/efl/epdf_svn.bb
> index a4c7d49..e32a5fd 100644
> --- a/meta-efl/recipes-efl/efl/epdf_svn.bb
> +++ b/meta-efl/recipes-efl/efl/epdf_svn.bb
> @@ -25,5 +25,3 @@ EXTRA_OECONF = "\
>  
>  # Some upgrade path tweaking, as in evas
>  AUTO_LIBNAME_PKGS = ""
> -
> -PNBLACKLIST[epdf] ?= "Depends on broken poppler"
> diff --git a/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb b/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
> index 4fa11a5..fe63093 100644
> --- a/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
> +++ b/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
> @@ -46,5 +46,3 @@ FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \
>                            ${libdir}/evince/*/backends/*.a"
>  FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
>  FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so"
> -
> -PNBLACKLIST[evince] ?= "Depends on broken poppler"

evince is broken on it's own:

| ../../evince-3.18.2/libdocument/ev-document-misc.c: In function 'ev_document_misc_format_date':
| ../../evince-3.18.2/libdocument/ev-document-misc.c:534:33: error: '%c' yields only last 2 digits of year in some locales [-Werror=format-y2k]
|   len = strftime (s, sizeof (s), fmt_hack, &t);
|                                  ^~~~~~~~


> diff --git a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
> index 7e6c400..ff53669 100644
> --- a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
> +++ b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
> @@ -83,5 +83,3 @@ FILES_${PN}-nautilus-extension += "${libdir}/nautilus/extensions-2.0/*.so"
>  
>  SRC_URI[md5sum] = "f3a871beeebf86fd752863ebd22af9ac"
>  SRC_URI[sha256sum] = "9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1"
> -
> -PNBLACKLIST[tracker] ?= "Depends on broken poppler"
> diff --git a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
> index 3c134bb..29ed4d9 100644
> --- a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
> +++ b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
> @@ -30,5 +30,3 @@ CFLAGS += "-fPIC"
>  
>  FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug"
>  FILES_${PN}  += "${datadir}/appdata"
> -
> -PNBLACKLIST[gimp] ?= "Depends on broken poppler"
> diff --git a/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb b/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
> index 5a0fc6d..66385a4 100644
> --- a/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
> +++ b/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
> @@ -27,5 +27,3 @@ FILES_${PN}-dbg += "${libdir}/tumbler-1/.debug \
>                      ${libdir}/tumbler-1/plugins/.debug \
>                      ${libdir}/tumbler-1/plugins/cache/.debug \
>  "
> -
> -PNBLACKLIST[tumbler] ?= "Depends on broken poppler"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCH 2/2] Remove blacklisted recipes due to poppler build failures
  2016-06-22 19:35   ` Martin Jansa
@ 2016-06-22 19:46     ` Derek Straka
  0 siblings, 0 replies; 4+ messages in thread
From: Derek Straka @ 2016-06-22 19:46 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

Patch to fix evince coming shortly

On Wed, Jun 22, 2016 at 3:35 PM, Martin Jansa <martin.jansa@gmail.com>
wrote:

> On Fri, Jun 17, 2016 at 03:40:09PM -0400, Derek Straka wrote:
> > Signed-off-by: Derek Straka <derek@asterius.io>
> > ---
> >  meta-efl/recipes-efl/efl/epdf_svn.bb                 | 2 --
> >  meta-gnome/recipes-gnome/evince/evince_3.18.2.bb     | 2 --
> >  meta-gnome/recipes-support/tracker/tracker_0.14.2.bb | 2 --
> >  meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb         | 2 --
> >  meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb     | 2 --
> >  5 files changed, 10 deletions(-)
> >
> > diff --git a/meta-efl/recipes-efl/efl/epdf_svn.bb
> b/meta-efl/recipes-efl/efl/epdf_svn.bb
> > index a4c7d49..e32a5fd 100644
> > --- a/meta-efl/recipes-efl/efl/epdf_svn.bb
> > +++ b/meta-efl/recipes-efl/efl/epdf_svn.bb
> > @@ -25,5 +25,3 @@ EXTRA_OECONF = "\
> >
> >  # Some upgrade path tweaking, as in evas
> >  AUTO_LIBNAME_PKGS = ""
> > -
> > -PNBLACKLIST[epdf] ?= "Depends on broken poppler"
> > diff --git a/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
> b/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
> > index 4fa11a5..fe63093 100644
> > --- a/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
> > +++ b/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb
> > @@ -46,5 +46,3 @@ FILES_${PN}-staticdev +=
> "${libdir}/nautilus/extensions-2.0/*.a \
> >                            ${libdir}/evince/*/backends/*.a"
> >  FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
> >  FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so"
> > -
> > -PNBLACKLIST[evince] ?= "Depends on broken poppler"
>
> evince is broken on it's own:
>
> | ../../evince-3.18.2/libdocument/ev-document-misc.c: In function
> 'ev_document_misc_format_date':
> | ../../evince-3.18.2/libdocument/ev-document-misc.c:534:33: error: '%c'
> yields only last 2 digits of year in some locales [-Werror=format-y2k]
> |   len = strftime (s, sizeof (s), fmt_hack, &t);
> |                                  ^~~~~~~~
>
>
> > diff --git a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
> b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
> > index 7e6c400..ff53669 100644
> > --- a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
> > +++ b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
> > @@ -83,5 +83,3 @@ FILES_${PN}-nautilus-extension +=
> "${libdir}/nautilus/extensions-2.0/*.so"
> >
> >  SRC_URI[md5sum] = "f3a871beeebf86fd752863ebd22af9ac"
> >  SRC_URI[sha256sum] =
> "9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1"
> > -
> > -PNBLACKLIST[tracker] ?= "Depends on broken poppler"
> > diff --git a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
> b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
> > index 3c134bb..29ed4d9 100644
> > --- a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
> > +++ b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
> > @@ -30,5 +30,3 @@ CFLAGS += "-fPIC"
> >
> >  FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug"
> >  FILES_${PN}  += "${datadir}/appdata"
> > -
> > -PNBLACKLIST[gimp] ?= "Depends on broken poppler"
> > diff --git a/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
> b/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
> > index 5a0fc6d..66385a4 100644
> > --- a/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
> > +++ b/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.31.bb
> > @@ -27,5 +27,3 @@ FILES_${PN}-dbg += "${libdir}/tumbler-1/.debug \
> >                      ${libdir}/tumbler-1/plugins/.debug \
> >                      ${libdir}/tumbler-1/plugins/cache/.debug \
> >  "
> > -
> > -PNBLACKLIST[tumbler] ?= "Depends on broken poppler"
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-22 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-17 19:40 [meta-oe][PATCH 1/2] poppler: fix ambiguity on math functions related to gcc-6 Derek Straka
2016-06-17 19:40 ` [meta-oe][PATCH 2/2] Remove blacklisted recipes due to poppler build failures Derek Straka
2016-06-22 19:35   ` Martin Jansa
2016-06-22 19:46     ` Derek Straka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.