[oe] [meta-browser] Browser blacklists

2016-06-16 Thread Gary Thomas

I notice that both firefox and chromium are currently blacklisted
as "fails to build with gcc-6".  What about those of us that aren't
using gcc-6?  This seems an overly broad blacklisting :-(

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser] Browser blacklists

2016-06-16 Thread Martin Jansa
On Thu, Jun 16, 2016 at 09:08:49AM +0200, Gary Thomas wrote:
> I notice that both firefox and chromium are currently blacklisted
> as "fails to build with gcc-6".  What about those of us that aren't
> using gcc-6?  This seems an overly broad blacklisting :-(

You can easily unblacklist them in your configuration where you also
change the gcc version, but they are broken in default configuration, so
they are blacklisted.

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


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH 1/2] libgphoto2: fix compatibility with libjpeg-turbo

2016-06-16 Thread Patrick Ohly
On Wed, 2016-06-15 at 17:08 +0200, Patrick Ohly wrote:
> +Upstream-Status: Submitted [https://github.com/gphoto/libgphoto2/pull/64]

FWIW, the patch was merged, so "Backported" is now more accurate.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] v4lutils: Update to latest upstream

2016-06-16 Thread Gary Thomas
Update to latest upstream version (1.10.1 2016-06-15).
Now builds with libjpeg-turbo so remove blacklist

Signed-off-by: Gary Thomas 
---
 .../v4l2apps/{v4l-utils_1.6.2.bb => v4l-utils_1.10.1.bb}  | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-multimedia/v4l2apps/{v4l-utils_1.6.2.bb => 
v4l-utils_1.10.1.bb} (82%)

diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.10.1.bb
similarity index 82%
rename from meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb
rename to meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.10.1.bb
index 1141bff..6148695 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.10.1.bb
@@ -17,8 +17,8 @@ SRC_URI = 
"http://linuxtv.org/downloads/v4l-utils/v4l-utils-${PV}.tar.bz2 \
file://mediactl-pkgconfig.patch \
file://export-mediactl-headers.patch \
   "
-SRC_URI[md5sum] = "9cb3c178f937954e65bf30920af433ef"
-SRC_URI[sha256sum] = 
"d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a16496be7d"
+SRC_URI[md5sum] = "936c9c58343840e91294e4dcec7dc05f"
+SRC_URI[sha256sum] = 
"6147ccc29fe7dd3c5c3994d613c4f2a099bac8b44694a96e5cf4d7caca8336c0"
 
 EXTRA_OECONF = "--disable-qv4l2 --enable-shared 
--with-udevdir=${base_libdir}/udev"
 
@@ -43,7 +43,3 @@ FILES_libv4l-dbg += "${libdir}/libv4l/.debug 
${libdir}/libv4l/plugins/.debug"
 FILES_libv4l-dev += "${includedir} ${libdir}/pkgconfig \
  ${libdir}/libv4l*${SOLIBSDEV} ${libdir}/*.la \
  ${libdir}/v4l*${SOLIBSDEV} ${libdir}/libv4l/*.la 
${libdir}/libv4l/plugins/*.la"
-
-# | ../../../v4l-utils-1.6.2/lib/libv4lconvert/jpeg_memsrcdest.h:4:1: error: 
conflicting types for 'jpeg_mem_src'
-# |  jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
-PNBLACKLIST[v4l-utils] ?= "Not compatible with libjpeg-turbo-1.5.0"
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/2] nginx: add group www-data

2016-06-16 Thread Martin Jansa
On Sun, Jun 12, 2016 at 05:57:50PM +0800, Robert Yang wrote:
> 
> Sorry, please hold on the two patches, base-passwd does provide
> www-data, I should not meet this orror in theory.

For some reason nostromo, nginx, sthttpd are now failing because of
www-data user group:
http://errors.yoctoproject.org/Errors/Build/17410/

Any idea why it happends? I suspect last sthttpd change.

> 
> // Robert
> 
> On 06/07/2016 04:21 PM, Robert Yang wrote:
> > Fixed:
> > Running useradd commands...
> > useradd: group 'www-data' does not exist
> >
> > Signed-off-by: Robert Yang 
> > ---
> >   meta-webserver/recipes-httpd/nginx/nginx.inc | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
> > b/meta-webserver/recipes-httpd/nginx/nginx.inc
> > index ebf926a..946db12 100644
> > --- a/meta-webserver/recipes-httpd/nginx/nginx.inc
> > +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
> > @@ -130,6 +130,7 @@ INITSCRIPT_NAME = "nginx"
> >   INITSCRIPT_PARAMS = "defaults 92 20"
> >
> >   USERADD_PACKAGES = "${PN}"
> > +GROUPADD_PARAM_${PN} = "--system www-data"
> >   USERADD_PARAM_${PN} = " \
> >   --system --no-create-home \
> >   --home ${NGINX_WWWDIR} \
> >
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Chromium build broken

2016-06-16 Thread Gary Thomas

On 2016-06-11 12:11, Gary Thomas wrote:

Building chromium is broken on my i.MX6 target.

Poky/Yocto info:
BB_VERSION= "1.31.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-15.10"
TARGET_SYS= "arm-amltd-linux-gnueabi"
MACHINE   = "teton-p0382"
DISTRO= "amltd"
DISTRO_VERSION= "2.1+snapshot-20160611"
TUNE_FEATURES = "arm armv7a vfp thumb neon   callconvention-hard   
cortexa9"
TARGET_FPU= "hard"
meta  = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
meta-teton-imx6-p0382 = "master:5f3d52b357c0b05e7ea5cfc309e04c8c3aad1260"
meta-fsl-arm  = "master:00b46e11e32f859a0d2dad5a5d53d5540be9c15e"
meta-fsl-arm-extra = "master:089ce85e2e2dd78e45b773b947643ab8f4e2b965"
meta-browser  = "master:825ea9349fe9b7da39f1de0c3e8e15d9d62f2774"

Error:
| ninja: Entering directory
`/local/p0382_2016-01-13/tmp/work/cortexa9hf-neon-mx6qdl-amltd-linux-gnueabi/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/out/Release'

| [1/9316] SOLINK lib/libnative_theme.so
| [2/9316] CXX obj/components/infobars/core/infobars_core.infobar_container.o
| [3/9316] CXX obj/components/infobars/core/infobars_core.infobars_switches.o
| [4/9316] CXX obj/components/infobars/core/infobars_core.infobar.o
| [5/9316] STAMP obj/ui/compositor/compositor.compile_depends.stamp
| [6/9316] CXX obj/ui/compositor/compositor.callback_layer_animation_observer.o
| FAILED: if [ ! -e lib/libnative_theme.so -o ! -e lib/libnative_theme.so.TOC 
]; then arm-amltd-linux-gnueabi-g++
-march=armv7-a -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9
--sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1 
-Wl,--hash-style=gnu -Wl,--as-needed
-Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC 
-Wl,--disable-new-dtags -L. -Wl,-O1
-Wl,--as-needed -Wl,--gc-sections -o lib/libnative_theme.so 
-Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp
&& { readelf -d lib/libnative_theme.so | grep SONAME ; 
arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so | cut
-f1-2 -d' '; } > lib/libnative_theme.so.TOC; else arm-amltd-linux-gnueabi-g++  
-march=armv7-a -marm -mfpu=neon
-mfloat-abi=hard -mcpu=cortex-a9 
--sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,defs 
-pthread -Wl,-z,noexecstack -fPIC
-Wl,--disable-new-dtags -L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o 
lib/libnative_theme.so
-Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp && { readelf -d 
lib/libnative_theme.so | grep SONAME ;
arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so | cut -f1-2 -d' '; } > 
lib/libnative_theme.so.tmp && if ! cmp
-s lib/libnative_theme.so.tmp lib/libnative_theme.so.TOC; then mv 
lib/libnative_theme.so.tmp lib/libnative_theme.so.TOC
; fi; fi
| obj/ui/native_theme/native_theme.common_theme.o: In function 
`_GLOBAL__sub_I_common_theme.cc':
| 
/usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273:
 undefined reference
to `gfx::kGoogleBlue500'
| 
/usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273:
 undefined reference
to `gfx::kGoogleBlue300'

Note: I'm still using GCC/4.9.x with the standard linker (not gold)



BTW, still broken on i.MX6 after update to meta-browser/1b4f1e588b

Was that change supposed to affect my issue?  If so, what am I missing?
If not, what [else] needs to happen?

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 2/2] libmad: add the recipe

2016-06-16 Thread Alexander Kanavin
The recipe has been removed from oe-core, see 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6020

Signed-off-by: Alexander Kanavin 
---
 .../libmad/libmad/add-pkgconfig.patch  | 70 ++
 .../libmad/libmad/automake-foreign.patch   | 12 
 .../libmad/fix_for_mips_with_gcc-4.5.0.patch   | 33 ++
 .../libmad/libmad/no-force-mem.patch   | 18 ++
 .../libmad/libmad/obsolete_automake_macros.patch   | 14 +
 .../recipes-multimedia/libmad/libmad_0.15.1b.bb| 36 +++
 6 files changed, 183 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/libmad/libmad/add-pkgconfig.patch
 create mode 100644 
meta-oe/recipes-multimedia/libmad/libmad/automake-foreign.patch
 create mode 100644 
meta-oe/recipes-multimedia/libmad/libmad/fix_for_mips_with_gcc-4.5.0.patch
 create mode 100644 meta-oe/recipes-multimedia/libmad/libmad/no-force-mem.patch
 create mode 100644 
meta-oe/recipes-multimedia/libmad/libmad/obsolete_automake_macros.patch
 create mode 100644 meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb

diff --git a/meta-oe/recipes-multimedia/libmad/libmad/add-pkgconfig.patch 
b/meta-oe/recipes-multimedia/libmad/libmad/add-pkgconfig.patch
new file mode 100644
index 000..b49dc8c
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libmad/libmad/add-pkgconfig.patch
@@ -0,0 +1,70 @@
+Here is a patch for adding pkg-config support to libmad.
+It would make life a bit easier for distro maintainers if this was applied.
+In case you didn't know, pkg-config is a tool for providing LDFLAGS and
+CFLAGS for packages using shared libraries. It's on freedesktop.org.
+Debian has already been distributing the pkg-config file mad.pc with
+libmad for some time, and people developing on debian (notably xmms2 
+developers) have started relying on this support being present, causing
+some confusion for people installing from source and on some BSDs which
+do not provide mad.pc (google: pkgconfig libmad).
+
+EMH
+
+Upstream-Status: Inappropriate [configuration]
+
+--h31gzZEtNLTqOjlF
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: attachment; 
filename="libmad-0.15.1b-pkgconfig.patch"
+
+diff -Naur libmad-0.15.1b.old/configure.ac libmad-0.15.1b/configure.ac
+--- libmad-0.15.1b.old/configure.ac2004-01-23 10:41:32.0 +0100
 libmad-0.15.1b/configure.ac2004-08-07 02:25:24.633462168 +0200
+@@ -429,5 +429,5 @@
+ dnl AC_SUBST(LTLIBOBJS)
+ 
+ AC_CONFIG_FILES([Makefile msvc++/Makefile  \
+-  libmad.list])
++  libmad.list mad.pc])
+ AC_OUTPUT
+diff -Naur libmad-0.15.1b.old/mad.pc.in libmad-0.15.1b/mad.pc.in
+--- libmad-0.15.1b.old/mad.pc.in   1970-01-01 01:00:00.0 +0100
 libmad-0.15.1b/mad.pc.in   2004-08-07 02:04:59.617692872 +0200
+@@ -0,0 +1,14 @@
++# libmad pkg-config source file
++
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: mad
++Description: MPEG Audio Decoder
++Version: @VERSION@
++Requires:
++Conflicts:
++Libs: -L${libdir} -lmad -lm
++Cflags: -I${includedir}
+diff -Naur libmad-0.15.1b.old/Makefile.am libmad-0.15.1b/Makefile.am
+--- libmad-0.15.1b.old/Makefile.am 2004-02-17 03:02:03.0 +0100
 libmad-0.15.1b/Makefile.am 2004-08-07 02:03:19.859858368 +0200
+@@ -24,6 +24,9 @@
+ SUBDIRS = 
+ DIST_SUBDIRS =msvc++
+ 
++pkgconfigdir =$(libdir)/pkgconfig
++pkgconfig_DATA =  mad.pc
++
+ lib_LTLIBRARIES = libmad.la
+ include_HEADERS = mad.h
+ 
+@@ -34,7 +37,8 @@
+ minimad_LDADD =   libmad.la
+ 
+ EXTRA_DIST =  mad.h.sed  \
+-  CHANGES COPYRIGHT CREDITS README TODO VERSION
++  CHANGES COPYRIGHT CREDITS README TODO VERSION \
++  mad.pc.in
+ 
+ exported_headers =version.h fixed.h bit.h timer.h stream.h frame.h  \
+   synth.h decoder.h
+
diff --git a/meta-oe/recipes-multimedia/libmad/libmad/automake-foreign.patch 
b/meta-oe/recipes-multimedia/libmad/libmad/automake-foreign.patch
new file mode 100644
index 000..3e54424
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libmad/libmad/automake-foreign.patch
@@ -0,0 +1,12 @@
+Pass foreign to AM_INIT_AUTOMAKE so it doesn't enforce GNU strictness.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton 
+
+diff --git a/configure.ac b/configure.ac
+index e602fd3..e075b86 100644
+--- a/configure.ac
 b/configure.ac
+@@ -29 +29 @@ AC_CONFIG_SRCDIR([decoder.h])
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
diff --git 
a/meta-oe/recipes-multimedia/libmad/libmad/fix_for_mips_with_gcc-4.5.0.patch 
b/meta-oe/recipes-multimedia/libmad/libmad/fix_for_mips_with_gcc-4.5.0.patch
new file mode 100644
index 000..01c7aa3
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libmad/libmad/fix_for_mips_with_gcc-4.5.0.patch
@@ -0,0 +1,33 @@
+gcc 4.4 did this: The MIPS port no longer recognizes the h  asm constraint. It 
was necessary to remove this constra

[oe] [PATCH 1/2] mpg123: remove the recipe

2016-06-16 Thread Alexander Kanavin
The recipe has been added to oe-core, see 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6020

Signed-off-by: Alexander Kanavin 
---
 .../recipes-multimedia/mpg123/mpg123_1.22.4.bb | 65 --
 1 file changed, 65 deletions(-)
 delete mode 100644 meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb

diff --git a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb 
b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb
deleted file mode 100644
index e6a912b..000
--- a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb
+++ /dev/null
@@ -1,65 +0,0 @@
-SUMMARY = "Audio decoder for MPEG-1 Layer 1/2/3"
-DESCRIPTION = "The core of mpg123 is an MPEG-1 Layer 1/2/3 decoding library, 
which can be used by other programs. \
-mpg123 also comes with a command-line tool which can playback using ALSA, 
PulseAudio, OSS, and several other APIs, \
-and also can write the decoded audio to WAV."
-HOMEPAGE = "http://mpg123.de/";
-BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/";
-SECTION = "multimedia"
-
-LICENSE = "LGPLv2.1"
-LICENSE_FLAGS = "commercial"
-LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3"
-
-DEPENDS = "audiofile"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/mpg123/mpg123/${PV}/${BP}.tar.bz2"
-
-SRC_URI[md5sum] = "2dfafae3bbc532b4c8b04a77c6a6de89"
-SRC_URI[sha256sum] = 
"5069e02e50138600f10cc5f7674e44e9bf6f1930af81d0e1d2f869b3c0ee40d2"
-
-inherit autotools pkgconfig
-
-# The options should be mutually exclusive for configuration script.
-# If both alsa and pulseaudio are specified (as in the default distro features)
-# pulseaudio takes precedence.
-PACKAGECONFIG_ALSA = "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', 
'', d)}"
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 
'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}"
-
-PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib"
-PACKAGECONFIG[esd] = ",,esound"
-PACKAGECONFIG[jack] = ",,jack"
-PACKAGECONFIG[openal] = ",,openal-soft"
-PACKAGECONFIG[portaudio] = ",,portaudio-v19"
-PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio"
-PACKAGECONFIG[sdl] = ",,libsdl"
-
-# Following are possible sound output modules:
-# alsa arts coreaudio dummy esd jack nas openal os2 oss portaudio pulse sdl 
sndio sun tinyalsa win32 win32_wasapi
-AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}"
-AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'esd', 'esd', '', d)}"
-AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'jack', 'jack', '', d)}"
-AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'openal', 'openal', '', 
d)}"
-AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'portaudio', 'portaudio', 
'', d)}"
-AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', 
d)}"
-AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}"
-
-EXTRA_OECONF = " \
---enable-shared \
---with-audio='${AUDIOMODS}' \
---with-module-suffix=.so \
-${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-cpu=neon', '', d)} \
-${@bb.utils.contains('TUNE_FEATURES', 'altivec', '--with-cpu=altivec', '', 
d)} \
-"
-
-# The x86 assembler optimisations contains text relocations and there are no
-# upstream plans to fix them: http://sourceforge.net/p/mpg123/bugs/168/
-INSANE_SKIP_${PN}_append_x86 = " textrel"
-
-# Fails to build with thumb-1 (qemuarm)
-#| {standard input}: Assembler messages:
-#| {standard input}:47: Error: selected processor does not support Thumb mode 
`smull r5,r6,r7,r4'
-#| {standard input}:48: Error: shifts in CMP/MOV instructions are only 
supported in unified syntax -- `mov r5,r5,lsr#24'
-#...
-#| make[3]: *** [equalizer.lo] Error 1
-ARM_INSTRUCTION_SET_armv4 = "arm"
-ARM_INSTRUCTION_SET_armv5 = "arm"
-- 
2.8.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Chromium build broken

2016-06-16 Thread Carlos Rafael Giani
This indicates a problem related to this patch: 
0012-Workaround-for-unused-variable-error-in-ui-gfx-color.patch
It is possible that the new .cc file needs to be linked in somewhere 
else as well.


I tried to do it differently by disabling the unused-variable warning 
inline, but it did not work.


On 2016-06-11 12:11, Gary Thomas wrote:

Building chromium is broken on my i.MX6 target.

Poky/Yocto info:
BB_VERSION= "1.31.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-15.10"
TARGET_SYS= "arm-amltd-linux-gnueabi"
MACHINE   = "teton-p0382"
DISTRO= "amltd"
DISTRO_VERSION= "2.1+snapshot-20160611"
TUNE_FEATURES = "arm armv7a vfp thumb neon 
callconvention-hard   cortexa9"

TARGET_FPU= "hard"
meta  = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
meta-teton-imx6-p0382 = "master:5f3d52b357c0b05e7ea5cfc309e04c8c3aad1260"
meta-fsl-arm  = "master:00b46e11e32f859a0d2dad5a5d53d5540be9c15e"
meta-fsl-arm-extra = "master:089ce85e2e2dd78e45b773b947643ab8f4e2b965"
meta-browser  = "master:825ea9349fe9b7da39f1de0c3e8e15d9d62f2774"

Error:
| ninja: Entering directory 
`/local/p0382_2016-01-13/tmp/work/cortexa9hf-neon-mx6qdl-amltd-linux-gnueabi/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/out/Release'

| [1/9316] SOLINK lib/libnative_theme.so
| [2/9316] CXX 
obj/components/infobars/core/infobars_core.infobar_container.o
| [3/9316] CXX 
obj/components/infobars/core/infobars_core.infobars_switches.o

| [4/9316] CXX obj/components/infobars/core/infobars_core.infobar.o
| [5/9316] STAMP obj/ui/compositor/compositor.compile_depends.stamp
| [6/9316] CXX 
obj/ui/compositor/compositor.callback_layer_animation_observer.o
| FAILED: if [ ! -e lib/libnative_theme.so -o ! -e 
lib/libnative_theme.so.TOC ]; then arm-amltd-linux-gnueabi-g++ 
-march=armv7-a -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9 
--sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared 
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro 
-Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags 
-L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o 
lib/libnative_theme.so -Wl,-soname=libnative_theme.so 
@lib/libnative_theme.so.rsp && { readelf -d lib/libnative_theme.so | 
grep SONAME ; arm-amltd-linux-gnueabi-nm -gD -f p 
lib/libnative_theme.so | cut -f1-2 -d' '; } > 
lib/libnative_theme.so.TOC; else arm-amltd-linux-gnueabi-g++  
-march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 
--sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared 
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro 
-Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags 
-L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o 
lib/libnative_theme.so -Wl,-soname=libnative_theme.so 
@lib/libnative_theme.so.rsp && { readelf -d lib/libnative_theme.so | 
grep SONAME ; arm-amltd-linux-gnueabi-nm -gD -f p 
lib/libnative_theme.so | cut -f1-2 -d' '; } > 
lib/libnative_theme.so.tmp && if ! cmp -s lib/libnative_theme.so.tmp 
lib/libnative_theme.so.TOC; then mv lib/libnative_theme.so.tmp 
lib/libnative_theme.so.TOC ; fi; fi
| obj/ui/native_theme/native_theme.common_theme.o: In function 
`_GLOBAL__sub_I_common_theme.cc':
| 
/usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273: 
undefined reference to `gfx::kGoogleBlue500'
| 
/usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273: 
undefined reference to `gfx::kGoogleBlue300'


Note: I'm still using GCC/4.9.x with the standard linker (not gold)



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Chromium build broken

2016-06-16 Thread Gary Thomas

On 2016-06-16 13:15, Carlos Rafael Giani wrote:

This indicates a problem related to this patch: 
0012-Workaround-for-unused-variable-error-in-ui-gfx-color.patch
It is possible that the new .cc file needs to be linked in somewhere else as 
well.

I tried to do it differently by disabling the unused-variable warning inline, 
but it did not work.



How can I help you diagnose this failure?


On 2016-06-11 12:11, Gary Thomas wrote:

Building chromium is broken on my i.MX6 target.

Poky/Yocto info:
BB_VERSION= "1.31.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-15.10"
TARGET_SYS= "arm-amltd-linux-gnueabi"
MACHINE   = "teton-p0382"
DISTRO= "amltd"
DISTRO_VERSION= "2.1+snapshot-20160611"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard   
cortexa9"
TARGET_FPU= "hard"
meta  = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
meta-teton-imx6-p0382 = "master:5f3d52b357c0b05e7ea5cfc309e04c8c3aad1260"
meta-fsl-arm  = "master:00b46e11e32f859a0d2dad5a5d53d5540be9c15e"
meta-fsl-arm-extra = "master:089ce85e2e2dd78e45b773b947643ab8f4e2b965"
meta-browser  = "master:825ea9349fe9b7da39f1de0c3e8e15d9d62f2774"

Error:
| ninja: Entering directory
`/local/p0382_2016-01-13/tmp/work/cortexa9hf-neon-mx6qdl-amltd-linux-gnueabi/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/out/Release'

| [1/9316] SOLINK lib/libnative_theme.so
| [2/9316] CXX obj/components/infobars/core/infobars_core.infobar_container.o
| [3/9316] CXX obj/components/infobars/core/infobars_core.infobars_switches.o
| [4/9316] CXX obj/components/infobars/core/infobars_core.infobar.o
| [5/9316] STAMP obj/ui/compositor/compositor.compile_depends.stamp
| [6/9316] CXX obj/ui/compositor/compositor.callback_layer_animation_observer.o
| FAILED: if [ ! -e lib/libnative_theme.so -o ! -e lib/libnative_theme.so.TOC 
]; then arm-amltd-linux-gnueabi-g++
-march=armv7-a -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9
--sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1 
-Wl,--hash-style=gnu -Wl,--as-needed
-Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC 
-Wl,--disable-new-dtags -L. -Wl,-O1
-Wl,--as-needed -Wl,--gc-sections -o lib/libnative_theme.so 
-Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp
&& { readelf -d lib/libnative_theme.so | grep SONAME ; 
arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so |
cut -f1-2 -d' '; } > lib/libnative_theme.so.TOC; else 
arm-amltd-linux-gnueabi-g++ -march=armv7-a -marm -mfpu=neon
-mfloat-abi=hard -mcpu=cortex-a9 
--sysroot=/local/p0382_2016-01-13/tmp/sysroots/teton-p0382 -shared -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,defs 
-pthread -Wl,-z,noexecstack -fPIC
-Wl,--disable-new-dtags -L. -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o 
lib/libnative_theme.so
-Wl,-soname=libnative_theme.so @lib/libnative_theme.so.rsp && { readelf -d 
lib/libnative_theme.so | grep SONAME ;
arm-amltd-linux-gnueabi-nm -gD -f p lib/libnative_theme.so | cut -f1-2 -d' '; } > 
lib/libnative_theme.so.tmp && if !
cmp -s lib/libnative_theme.so.tmp lib/libnative_theme.so.TOC; then mv 
lib/libnative_theme.so.tmp
lib/libnative_theme.so.TOC ; fi; fi
| obj/ui/native_theme/native_theme.common_theme.o: In function 
`_GLOBAL__sub_I_common_theme.cc':
| 
/usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273:
 undefined reference
to `gfx::kGoogleBlue500'
| 
/usr/src/debug/chromium/48.0.2548.0-r0/chromium-48.0.2548.0/ui/native_theme/common_theme.cc:273:
 undefined reference
to `gfx::kGoogleBlue300'

Note: I'm still using GCC/4.9.x with the standard linker (not gold)






--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser] Browser blacklists

2016-06-16 Thread Davis, Michael
I ran into this as well and had to spend some time figuring out how to get 
around it.
Some sort of note in the readme or even commit message about how to get around 
it would have been nice.

On a related side note it would be nice to get krogoth branch/tag before this 
blacklist.
I saw there isn't one currently and it would give people a working tag that 
isn't as old as jethro.


On Thursday, June 16, 2016 11:08:33 AM Martin Jansa wrote:
> On Thu, Jun 16, 2016 at 09:08:49AM +0200, Gary Thomas wrote:
> > I notice that both firefox and chromium are currently blacklisted
> > as "fails to build with gcc-6".  What about those of us that aren't
> > using gcc-6?  This seems an overly broad blacklisting :-(
> 
> You can easily unblacklist them in your configuration where you also
> change the gcc version, but they are broken in default configuration, so
> they are blacklisted.
> 
> 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] geis: add CFLAG to ignore misleading indentations

2016-06-16 Thread Khem Raj

> On Jun 8, 2016, at 6:28 PM, Derek Straka  wrote:
> 
> Signed-off-by: Derek Straka 
> ---
> meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb | 2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb 
> b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
> index bc88143..9b087a8 100644
> --- a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
> +++ b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
> @@ -24,6 +24,8 @@ SRC_URI[md5sum] = "2ff9d76a3ea5794516bb02c9d1924faf"
> SRC_URI[sha256sum] = 
> "8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb"
> 
> EXTRA_OECONF = "--disable-integration-tests"
> +TARGET_CFLAGS += "-Wno-error=misleading-indentation”

why not fix the code

> +

> 
> FILES_${PN}-bin = "${bindir}"
> RDEPENDS_${PN}-bin = " \
> --
> 1.9.1
> 
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel