diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-10-02 22:16:52 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-10-05 18:21:13 +0200 |
commit | 63707b56b5352ed72f1c5291967455b78f50fb7d (patch) | |
tree | f1e48c42ae5b4988eb6f889ac40e5ad7120359fc /meta-multimedia | |
parent | 8b68ed985b36a01d23d83330cb8d0576d6ad13fb (diff) | |
download | meta-openembedded-63707b56b5352ed72f1c5291967455b78f50fb7d.tar.gz |
gst-plugins-base: fix rare but annoying build errors
As mentioned long ago in [1] for me gst-plugins-base failed when rebuilding.
Before this patch I had no other choice but to build from scratch.
When error occured I saw
in config.log:
GLIB_CFLAGS='-pthread line /home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2/usr/include/glib-2.0 -I/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2/usr/lib/glib-2.0/include'
and build failed with:
| arm-angstrom-linux-gnueabi-gcc: error: line: No such file or directory
[1] http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106528.html
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia')
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-base-0.10.36/0001-aclocal.m4-don-t-do-crazy-things-to-GLIB_CFLAGS.patch b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-base-0.10.36/0001-aclocal.m4-don-t-do-crazy-things-to-GLIB_CFLAGS.patch new file mode 100644 index 000000000..29fbec5f8 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-base-0.10.36/0001-aclocal.m4-don-t-do-crazy-things-to-GLIB_CFLAGS.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 5478eafecf618cd8e742cc1b96d688a2c7ce5a79 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Sun, 2 Oct 2016 21:49:33 +0200 | ||
4 | Subject: [PATCH] gst-glib2.m4: don't do crazy things to GLIB_CFLAGS | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | we are definitely not one of those poor souls mentioned | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
14 | --- | ||
15 | common/m4/gst-glib2.m4 | 1 - | ||
16 | 1 file changed, 1 deletion(-) | ||
17 | |||
18 | diff --git a/common/m4/gst-glib2.m4 b/common/m4/gst-glib2.m4 | ||
19 | index b01f02f..4569ae5 100644 | ||
20 | --- a/common/m4/gst-glib2.m4 | ||
21 | +++ b/common/m4/gst-glib2.m4 | ||
22 | @@ -69,7 +69,6 @@ AC_DEFUN([AG_GST_GLIB_CHECK], | ||
23 | fi | ||
24 | |||
25 | dnl for the poor souls who for example have glib in /usr/local | ||
26 | - AS_SCRUB_INCLUDE(GLIB_CFLAGS) | ||
27 | |||
28 | AC_SUBST(GLIB_EXTRA_CFLAGS) | ||
29 | ]) | ||
30 | -- | ||
31 | 2.5.5 | ||
32 | |||
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-base_0.10.36.bb b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-base_0.10.36.bb index e2dbb1737..eefd993e1 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-base_0.10.36.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-base_0.10.36.bb | |||
@@ -11,6 +11,7 @@ DEPENDS += "alsa-lib libogg libvorbis libtheora util-linux tremor glib-2.0-nativ | |||
11 | SRC_URI += "file://gst-plugins-base-tremor.patch \ | 11 | SRC_URI += "file://gst-plugins-base-tremor.patch \ |
12 | file://configure.ac-fix-subparse-plugin.patch \ | 12 | file://configure.ac-fix-subparse-plugin.patch \ |
13 | file://audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch \ | 13 | file://audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch \ |
14 | file://0001-aclocal.m4-don-t-do-crazy-things-to-GLIB_CFLAGS.patch \ | ||
14 | " | 15 | " |
15 | 16 | ||
16 | SRC_URI[md5sum] = "776c73883e567f67b9c4a2847d8d041a" | 17 | SRC_URI[md5sum] = "776c73883e567f67b9c4a2847d8d041a" |