* [PATCH][jethro][RESEND 00/11] Backports for jethro
@ 2015-12-10 13:48 Martin Jansa
2015-12-10 13:48 ` [PATCH 01/11] icu: force arm mode Martin Jansa
` (11 more replies)
0 siblings, 12 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
The following changes since commit 224bcc2ead676600bcd9e290ed23d9b2ed2f481e:
rpcbind: Security Advisory - rpcbind - CVE-2015-7236 (2015-12-08 00:18:12 -0800)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/jethro-backports
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/jethro-backports
Martin Jansa (10):
icu: force arm mode
guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable
thumb where it fails for qemuarm
directfb: add fPIC to CFLAGS
libunwind: fix build for qemuarm
gstreamer1.0-plugins-{base,good}: update PACKAGECONFIGs
gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG
gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for
v4l2 and libv4l2
gst-plugins-bad: add PACKAGECONFIGs for voamrwbenc, voaacenc, resindvd
package_manager.py: define info_dir and status_file when OPKGLIBDIR
isn't the default
texinfo: don't create dependency on INHERIT variable
Ross Burton (1):
libsdl2: require GLES when building Wayland support
meta/lib/oe/package_manager.py | 19 +++++++
meta/recipes-devtools/gcc/gcc_4.9.bb | 5 +-
meta/recipes-devtools/guile/guile_2.0.11.bb | 4 ++
meta/recipes-devtools/opensp/opensp_1.5.2.bb | 4 ++
meta/recipes-extended/mailx/mailx_12.5-5.bb | 5 ++
meta/recipes-extended/texinfo/texinfo_6.0.bb | 2 +-
meta/recipes-graphics/directfb/directfb.inc | 3 +-
meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb | 2 +-
.../gstreamer/gstreamer1.0-libav_1.4.5.bb | 3 ++
.../gstreamer/gstreamer1.0-plugins-bad.inc | 13 ++---
.../gstreamer/gstreamer1.0-plugins-base.inc | 7 ++-
.../gstreamer/gstreamer1.0-plugins-good.inc | 14 ++---
meta/recipes-support/icu/icu_55.1.bb | 4 ++
...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 61 ++++++++++++++++++++++
meta/recipes-support/libunwind/libunwind_1.1.bb | 5 ++
15 files changed, 126 insertions(+), 25 deletions(-)
create mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
--
2.6.3
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 01/11] icu: force arm mode
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 02/11] guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it fails for qemuarm Martin Jansa
` (10 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
* otherwise it triggers following ICE:
ERROR: Function failed: do_compile (log file is located at /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/temp/log.do_compile.21570)
ERROR: Logfile of failure stored in: /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/temp/log.do_compile.21570
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make
| Note: rebuild with "make VERBOSE=1 " to show all compiler parameters.
| make[0]: Making `all' in `stubdata'
| make[1]: Entering directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/build/stubdata'
| make[1]: Nothing to be done for 'all'.
| make[1]: Leaving directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/build/stubdata'
| make[0]: Making `all' in `common'
| make[1]: Entering directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/build/common'
| arm-oe-linux-gnueabi-gcc ... /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common/ubidiwrt.c
| /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common/ubidiwrt.c: In function 'ubidi_writeReordered_53':
| /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common/ubidiwrt.c:643:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1275
| }
| ^
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| *** Failed compilation command follows: ----------------------------------------------------------
| arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb -mthumb-interwork -mtune=arm920t --sysroot=/OE/build/shr-core/tmp-eglibc/sysroots/om-gta02 -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -I/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common -DDEFAULT_ICU_PLUGINS="/usr/lib/icu" -DU_ATTRIBUTE_DEPRECATED= -DU_COMMON_IMPLEMENTATION -O2 -pipe -g -feliminate-unused-debug-types -std=c99 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -c -DPIC -fPIC -o ubidiwrt.o /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/common/ubidiwrt.c
| --- ( rebuild with "make VERBOSE=1 all" to show all parameters ) --------
| /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/icu/source/config/mh-linux:44: recipe for target 'ubidiwrt.o' failed
| make[1]: *** [ubidiwrt.o] Error 1
| make[1]: Leaving directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/build/common'
| Makefile:141: recipe for target 'all-recursive' failed
| make: *** [all-recursive] Error 2
| ERROR: oe_runmake failed
| WARNING: /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/temp/run.do_compile.21570:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/icu/53.1-r0/temp/log.do_compile.21570)
NOTE: recipe icu-53.1-r0: task do_compile: Failed
ERROR: Task 6803 (/OE/build/shr-core/openembedded-core/meta/recipes-support/icu/icu_53.1.bb, do_compile) failed with exit code '1'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-support/icu/icu_55.1.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-support/icu/icu_55.1.bb b/meta/recipes-support/icu/icu_55.1.bb
index 2661fd3..e91b6f3 100644
--- a/meta/recipes-support/icu/icu_55.1.bb
+++ b/meta/recipes-support/icu/icu_55.1.bb
@@ -8,6 +8,10 @@ def icu_download_version(d):
ICU_PV = "${@icu_download_version(d)}"
+# http://errors.yoctoproject.org/Errors/Details/20486/
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
+
BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV}-src.tgz"
SRC_URI = "${BASE_SRC_URI} \
file://icu-pkgdata-large-cmd.patch \
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 02/11] guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it fails for qemuarm
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
2015-12-10 13:48 ` [PATCH 01/11] icu: force arm mode Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 03/11] directfb: add fPIC to CFLAGS Martin Jansa
` (9 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/gcc/gcc_4.9.bb | 5 ++---
meta/recipes-devtools/guile/guile_2.0.11.bb | 4 ++++
meta/recipes-devtools/opensp/opensp_1.5.2.bb | 4 ++++
meta/recipes-extended/mailx/mailx_12.5-5.bb | 5 +++++
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb | 3 +++
meta/recipes-support/libunwind/libunwind_1.1.bb | 4 ++++
6 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc_4.9.bb b/meta/recipes-devtools/gcc/gcc_4.9.bb
index b84baae..a9dc612 100644
--- a/meta/recipes-devtools/gcc/gcc_4.9.bb
+++ b/meta/recipes-devtools/gcc/gcc_4.9.bb
@@ -1,10 +1,9 @@
require recipes-devtools/gcc/gcc-${PV}.inc
require gcc-target.inc
-# Building with thumb enabled on armv4t fails with
-# | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: R_ARM_THM_CALL against symbol `fancy_abort(char const*, int, char const*)' defined in .glue_7 section in linker stubs
-# | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output
+# http://errors.yoctoproject.org/Errors/Details/20497/
ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/guile/guile_2.0.11.bb b/meta/recipes-devtools/guile/guile_2.0.11.bb
index f455740..98b465b 100644
--- a/meta/recipes-devtools/guile/guile_2.0.11.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.11.bb
@@ -119,3 +119,7 @@ guile_sstate_postinst() {
find ${STAGING_DIR_TARGET}/${libdir}/guile/2.0/ccache -type f | xargs touch
fi
}
+
+# http://errors.yoctoproject.org/Errors/Details/20491/
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
diff --git a/meta/recipes-devtools/opensp/opensp_1.5.2.bb b/meta/recipes-devtools/opensp/opensp_1.5.2.bb
index a1f115c..60a7d2e 100644
--- a/meta/recipes-devtools/opensp/opensp_1.5.2.bb
+++ b/meta/recipes-devtools/opensp/opensp_1.5.2.bb
@@ -53,3 +53,7 @@ do_install_append_class-native() {
FILES_${PN} += "${datadir}/OpenSP/"
BBCLASSEXTEND = "native"
+
+# http://errors.yoctoproject.org/Errors/Details/20489/
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
diff --git a/meta/recipes-extended/mailx/mailx_12.5-5.bb b/meta/recipes-extended/mailx/mailx_12.5-5.bb
index ffa9049..c87c582 100644
--- a/meta/recipes-extended/mailx/mailx_12.5-5.bb
+++ b/meta/recipes-extended/mailx/mailx_12.5-5.bb
@@ -41,3 +41,8 @@ EXTRA_OEMAKE = "SENDMAIL=${sbindir}/sendmail IPv6=-DHAVE_IPv6_FUNCS PREFIX=/usr
# fio.c:56:17: fatal error: ssl.h: No such file or directory
# #include <ssl.h>
PARALLEL_MAKE = ""
+
+# Causes gcc to get stuck and eat all available memory in qemuarm builds
+# http://errors.yoctoproject.org/Errors/Details/20488/
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb
index 97fc7ec..5d74a2e 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb
@@ -25,3 +25,6 @@ LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
S = "${WORKDIR}/gst-libav-${PV}"
+# http://errors.yoctoproject.org/Errors/Details/20493/
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
diff --git a/meta/recipes-support/libunwind/libunwind_1.1.bb b/meta/recipes-support/libunwind/libunwind_1.1.bb
index 8282c1b..29bdf94 100644
--- a/meta/recipes-support/libunwind/libunwind_1.1.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.1.bb
@@ -10,3 +10,7 @@ SRC_URI += "\
SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"
SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a"
+
+# http://errors.yoctoproject.org/Errors/Details/20487/
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 03/11] directfb: add fPIC to CFLAGS
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
2015-12-10 13:48 ` [PATCH 01/11] icu: force arm mode Martin Jansa
2015-12-10 13:48 ` [PATCH 02/11] guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it fails for qemuarm Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 15:00 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 04/11] libunwind: fix build for qemuarm Martin Jansa
` (8 subsequent siblings)
11 siblings, 1 reply; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
* fPIC is missing when building directfb-csource.o
| arm-webos-linux-gnueabi-libtool: link: arm-webos-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/include/freetype2 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/include/libpng16 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration -O3 -g2 -ffast-math -pipe -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -std=gnu99 -Werror-implicit-function-declaration -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o directfb-csource directfb-csource.o /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/lib/libts.so /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/lib/libpng16.so -lz -lm -ldl -lrt -lpthread
| /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-webos-linux-gnueabi/gcc/arm-webos-linux-gnueabi/5.2.0/ld: error: directfb-csource.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
| collect2: error: ld returned 1 exit status
| make[2]: *** [directfb-csource] Error 1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/directfb/directfb.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc
index 446aaea..e00b59b 100644
--- a/meta/recipes-graphics/directfb/directfb.inc
+++ b/meta/recipes-graphics/directfb/directfb.inc
@@ -20,7 +20,8 @@ SRC_URI = "http://www.directfb.org/downloads/Core/DirectFB-1.7/DirectFB-${PV}.ta
S = "${WORKDIR}/DirectFB-${PV}"
-LDFLAGS_append =" -lts -lm"
+LDFLAGS_append = " -lts -lm"
+CFLAGS_append = " -fPIC"
BINCONFIG = "${bindir}/directfb-config"
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 04/11] libunwind: fix build for qemuarm
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (2 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 03/11] directfb: add fPIC to CFLAGS Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 05/11] gstreamer1.0-plugins-{base, good}: update PACKAGECONFIGs Martin Jansa
` (7 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 61 ++++++++++++++++++++++
meta/recipes-support/libunwind/libunwind_1.1.bb | 1 +
2 files changed, 62 insertions(+)
create mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
diff --git a/meta/recipes-support/libunwind/libunwind-1.1/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch b/meta/recipes-support/libunwind/libunwind-1.1/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
new file mode 100644
index 0000000..d552502
--- /dev/null
+++ b/meta/recipes-support/libunwind/libunwind-1.1/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
@@ -0,0 +1,61 @@
+From 24484e80b3e329c9edee1995e102f8612eedb79c Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Date: Tue, 13 May 2014 23:32:27 +0200
+Subject: [PATCH] Add AO_REQUIRE_CAS to fix build on ARM < v6
+
+ARM earlier than ARMv6, such as ARMv4 and ARMv5 do not provide
+optimize atomic operations in libatomic_ops. Since libunwind is using
+such operations, it should define AO_REQUIRE_CAS before including
+<atomic_ops.h> so that libatomic_ops knows it should use emulated
+atomic operations instead (even though they are obviously a lot more
+expensive).
+
+Also, while real atomic operations are all inline functions and
+therefore linking against libatomic_ops was not required, the emulated
+atomic operations actually require linking against libatomic_ops, so
+the commented AC_CHECK_LIB test in acinclude.m4 is uncommented to make
+sure we link against libatomic_ops.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Upstream-Status: Pending
+Taken from:
+https://raw.githubusercontent.com/rdnetto/teapot-buildroot/master/package/libunwind/libunwind-02-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
+
+---
+ acinclude.m4 | 8 +-------
+ include/libunwind_i.h | 1 +
+ 2 files changed, 2 insertions(+), 7 deletions(-)
+
+diff --git a/acinclude.m4 b/acinclude.m4
+index 497f7c2..9c15af1 100644
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -22,11 +22,5 @@ fi])
+ AC_DEFUN([CHECK_ATOMIC_OPS],
+ [dnl Check whether the system has the atomic_ops package installed.
+ AC_CHECK_HEADERS(atomic_ops.h)
+-#
+-# Don't link against libatomic_ops for now. We don't want libunwind
+-# to depend on libatomic_ops.so. Fortunately, none of the platforms
+-# we care about so far need libatomic_ops.a (everything is done via
+-# inline macros).
+-#
+-# AC_CHECK_LIB(atomic_ops, main)
++ AC_CHECK_LIB(atomic_ops, main)
+ ])
+diff --git a/include/libunwind_i.h b/include/libunwind_i.h
+index 23f615e..deabdfd 100644
+--- a/include/libunwind_i.h
++++ b/include/libunwind_i.h
+@@ -95,6 +95,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
+ (pthread_mutex_unlock != NULL ? pthread_mutex_unlock (l) : 0)
+
+ #ifdef HAVE_ATOMIC_OPS_H
++# define AO_REQUIRE_CAS
+ # include <atomic_ops.h>
+ static inline int
+ cmpxchg_ptr (void *addr, void *old, void *new)
+--
+1.9.2
+
diff --git a/meta/recipes-support/libunwind/libunwind_1.1.bb b/meta/recipes-support/libunwind/libunwind_1.1.bb
index 29bdf94..aa62bcc 100644
--- a/meta/recipes-support/libunwind/libunwind_1.1.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.1.bb
@@ -6,6 +6,7 @@ SRC_URI += "\
file://Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch \
file://Link-libunwind-to-libgcc_s-rather-than-libgcc.patch \
file://0001-Invalid-dwarf-opcodes-can-cause-references-beyond-th.patch \
+ file://Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch \
"
SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 05/11] gstreamer1.0-plugins-{base, good}: update PACKAGECONFIGs
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (3 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 04/11] libunwind: fix build for qemuarm Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 06/11] gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG Martin Jansa
` (6 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
* there are new libavc1394, libiec61883, libraw1394, cdparanoia recipes in meta-multimedia
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | 7 +++----
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc | 6 +-----
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
index 47f3f40..4909b10 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
@@ -25,13 +25,12 @@ PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg"
PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora"
PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis"
PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango"
+# libvisual do not seem to exist anywhere in OE
+PACKAGECONFIG[visual] = "--enable-libvisual,--disable-libvisual,libvisual"
+PACKAGECONFIG[cdparanoia] = "--enable-cdparanoia,--disable-cdparanoia,cdparanoia"
-
-# cdparanoia and libvisual do not seem to exist anywhere in OE
EXTRA_OECONF += " \
--disable-freetypetest \
- --disable-cdparanoia \
- --disable-libvisual \
"
FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
index 6e316de..0ce4b8f 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
@@ -31,10 +31,7 @@ PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex"
PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx"
PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
-
-# the 1394 plugins require both libraw1394 and libiec61883
-# the former is included in meta-oe, the latter isn't
-# -> disabled
+PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libraw1394 libiec61883 libavc1394"
EXTRA_OECONF += " \
--enable-oss \
@@ -51,7 +48,6 @@ EXTRA_OECONF += " \
--disable-libdv \
--disable-shout2 \
--disable-examples \
- --disable-dv1394 \
"
FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 06/11] gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (4 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 05/11] gstreamer1.0-plugins-{base, good}: update PACKAGECONFIGs Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 07/11] gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for v4l2 and libv4l2 Martin Jansa
` (5 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
* ERROR: gstreamer1.0-plugins-bad: gstreamer1.0-plugins-bad-uvch264 package isn't created when building with minimal dependencies?
* ERROR: gstreamer1.0-plugins-bad: gstreamer1.0-plugins-bad-uvch264-dev package isn't created when building with minimal dependencies?
* it's because it should depend on libgudev not udev:
configure: *** for plug-ins: uvch264 ***
checking linux/uvcvideo.h usability... yes
checking linux/uvcvideo.h presence... yes
checking for linux/uvcvideo.h... yes
checking for GST_VIDEO... yes
checking for G_UDEV... no
checking for LIBUSB... yes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index cdedb60..d7aefec 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -20,7 +20,7 @@ PACKAGECONFIG ??= " \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
- orc curl uvch264 neon sndfile \
+ orc curl neon sndfile \
hls sbc dash bz2 smoothstreaming \
"
@@ -38,7 +38,7 @@ PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus"
PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa"
PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv"
PACKAGECONFIG[wayland] = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland virtual/egl"
-PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 udev"
+PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev"
PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb"
PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon"
PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft"
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 07/11] gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for v4l2 and libv4l2
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (5 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 06/11] gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 08/11] gst-plugins-bad: add PACKAGECONFIGs for voamrwbenc, voaacenc, resindvd Martin Jansa
` (4 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
* WARN: gstreamer1.0-plugins-good: gstreamer1.0-plugins-good-video4linux2 rdepends on libcap, but it isn't a build dependency?
WARN: gstreamer1.0-plugins-good: gstreamer1.0-plugins-good-video4linux2 rdepends on libgudev, but it isn't a build dependency?
WARN: gstreamer1.0-plugins-good: gstreamer1.0-plugins-good-video4linux2 rdepends on libudev, but it isn't a build dependency?
WARN: gstreamer1.0-plugins-good: gstreamer1.0-plugins-good-video4linux2 rdepends on zlib, but it isn't a build dependency?
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
index 0ce4b8f..edaafe8 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
@@ -11,7 +11,7 @@ inherit gettext
PACKAGECONFIG ??= " \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
- orc cairo flac gdk-pixbuf gudev jpeg libpng soup speex taglib \
+ orc cairo flac gdk-pixbuf jpeg libpng soup speex taglib v4l2\
"
X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
@@ -22,7 +22,8 @@ PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo"
PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac"
PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
-PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,udev"
+PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev"
+PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,libv4l2"
PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
@@ -32,11 +33,10 @@ PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx"
PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libraw1394 libiec61883 libavc1394"
+PACKAGECONFIG[v4l2] = "--enable-gst_v4l2,--disable-gst_v4l2"
EXTRA_OECONF += " \
--enable-oss \
- --enable-gst_v4l2 \
- --without-libv4l2 \
--disable-directsound \
--disable-waveform \
--disable-oss4 \
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 08/11] gst-plugins-bad: add PACKAGECONFIGs for voamrwbenc, voaacenc, resindvd
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (6 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 07/11] gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for v4l2 and libv4l2 Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 09/11] libsdl2: require GLES when building Wayland support Martin Jansa
` (3 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
* allows to easily enable them and fixes:
WARNING: QA Issue: gstreamer1.0-plugins-bad: Files/directories were installed but not shipped in any package:
/usr/share/gstreamer-1.0
/usr/share/gstreamer-1.0/presets
/usr/share/gstreamer-1.0/presets/GstVoAmrwbEnc.prs
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
gstreamer1.0-plugins-bad: 3 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index d7aefec..b4f01af 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -55,6 +55,9 @@ PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1
PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump"
PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2"
+PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc"
+PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc"
+PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdnav libdvdread"
# these plugins have not been ported to 1.0 (yet):
# directdraw vcd apexsink dc1394 lv2 linsys musepack mythtv
@@ -66,8 +69,8 @@ PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2"
# these plugins have no corresponding library in OE-core or meta-openembedded:
# openni2 winks direct3d directdraw directsound winscreencap osx_video
# apple_media android_media avc chromaprint daala dts gme gsm kate ladspa mimic
-# mpeg2enc mplex ofa openjpeg opensles pvr resindvd rtmp soundtouch spandsp spc
-# srtp vdpau voaacenc voamrwbenc wasapi zbar
+# mpeg2enc mplex ofa openjpeg opensles pvr rtmp soundtouch spandsp spc
+# srtp vdpau wasapi zbar
EXTRA_OECONF += " \
--enable-dvb \
@@ -106,7 +109,6 @@ EXTRA_OECONF += " \
--disable-osx_video \
--disable-pvr \
--disable-quicktime \
- --disable-resindvd \
--disable-sdl \
--disable-sdltest \
--disable-sndio \
@@ -118,8 +120,6 @@ EXTRA_OECONF += " \
--disable-timidity \
--disable-vcd \
--disable-vdpau \
- --disable-voaacenc \
- --disable-voamrwbenc \
--disable-wasapi \
--disable-wildmidi \
--disable-wininet \
@@ -133,3 +133,4 @@ ARM_INSTRUCTION_SET = "arm"
FILES_gstreamer1.0-plugins-bad-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*"
+FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs"
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 09/11] libsdl2: require GLES when building Wayland support
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (7 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 08/11] gst-plugins-bad: add PACKAGECONFIGs for voamrwbenc, voaacenc, resindvd Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 10/11] package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default Martin Jansa
` (2 subsequent siblings)
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
From: Ross Burton <ross.burton@intel.com>
The Wayland support requires GLES2 to be enabled as otherwise the EGL support
code in SDL2 isn't enabled.
| In file included from .../SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:34:0:
| .../SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c: In function 'Wayland_CreateDevice':
| .../SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:38:38: error: 'SDL_EGL_GetSwapInterval' undeclared (first use in this function)
| #define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
Solve this by adding gles2 to the Wayland PACKAGECONFIG option.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb
index 97f64f3..f138f97 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb
@@ -39,7 +39,7 @@ PACKAGECONFIG ??= " \
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
"
PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib,"
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 10/11] package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (8 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 09/11] libsdl2: require GLES when building Wayland support Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 11/11] texinfo: don't create dependency on INHERIT variable Martin Jansa
2015-12-18 18:09 ` [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
* without this the do_rootfs task doesn't respect OPKGLIBDIR and
info, status are created in different directory than opkg on
target expects
* people who modify OPKGLIBDIR need to make sure that opkg.conf included
in opkg package also sets info_dir and status_file options
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/lib/oe/package_manager.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 964fddc..b9fa6d8 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1471,6 +1471,16 @@ class OpkgPM(PackageManager):
self.d.getVar('FEED_DEPLOYDIR_BASE_URI', True),
arch))
+ if self.opkg_dir != '/var/lib/opkg':
+ # There is no command line option for this anymore, we need to add
+ # info_dir and status_file to config file, if OPKGLIBDIR doesn't have
+ # the default value of "/var/lib" as defined in opkg:
+ # libopkg/opkg_conf.h:#define OPKG_CONF_DEFAULT_INFO_DIR "/var/lib/opkg/info"
+ # libopkg/opkg_conf.h:#define OPKG_CONF_DEFAULT_STATUS_FILE "/var/lib/opkg/status"
+ cfg_file.write("option info_dir %s\n" % os.path.join(self.d.getVar('OPKGLIBDIR', True), 'opkg', 'info'))
+ cfg_file.write("option status_file %s\n" % os.path.join(self.d.getVar('OPKGLIBDIR', True), 'opkg', 'status'))
+
+
def _create_config(self):
with open(self.config_file, "w+") as config_file:
priority = 1
@@ -1486,6 +1496,15 @@ class OpkgPM(PackageManager):
config_file.write("src oe-%s file:%s\n" %
(arch, pkgs_dir))
+ if self.opkg_dir != '/var/lib/opkg':
+ # There is no command line option for this anymore, we need to add
+ # info_dir and status_file to config file, if OPKGLIBDIR doesn't have
+ # the default value of "/var/lib" as defined in opkg:
+ # libopkg/opkg_conf.h:#define OPKG_CONF_DEFAULT_INFO_DIR "/var/lib/opkg/info"
+ # libopkg/opkg_conf.h:#define OPKG_CONF_DEFAULT_STATUS_FILE "/var/lib/opkg/status"
+ config_file.write("option info_dir %s\n" % os.path.join(self.d.getVar('OPKGLIBDIR', True), 'opkg', 'info'))
+ config_file.write("option status_file %s\n" % os.path.join(self.d.getVar('OPKGLIBDIR', True), 'opkg', 'status'))
+
def insert_feeds_uris(self):
if self.feed_uris == "":
return
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 11/11] texinfo: don't create dependency on INHERIT variable
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (9 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 10/11] package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default Martin Jansa
@ 2015-12-10 13:48 ` Martin Jansa
2015-12-18 18:09 ` [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
11 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 13:48 UTC (permalink / raw)
To: Robert Yang, openembedded-core
* we don't want the do_package signature depending on INHERIT variable
* e.g. just adding the own-mirrors causes texinfo to rebuild:
# bitbake-diffsigs BUILD/sstate-diff/*/*/texinfo/*do_package.sig*
basehash changed from 015df2fd8e396cc1e15622dbac843301 to 9f1d06c4f238c70a99ccb6d8da348b6a
Variable INHERIT value changed from
' rm_work blacklist blacklist report-error ${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST} sanity'
to
' rm_work own-mirrors blacklist blacklist report-error ${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST} sanity'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-extended/texinfo/texinfo_6.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/texinfo/texinfo_6.0.bb b/meta/recipes-extended/texinfo/texinfo_6.0.bb
index 8fb715a..a8702cf 100644
--- a/meta/recipes-extended/texinfo/texinfo_6.0.bb
+++ b/meta/recipes-extended/texinfo/texinfo_6.0.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
PROVIDES_append_class-native = " texinfo-replacement-native"
def compress_pkg(d):
- if "compress_doc" in (d.getVar("INHERIT", True) or "").split():
+ if bb.data.inherits_class('compress_doc', d):
compress = d.getVar("DOC_COMPRESS", True)
if compress == "gz":
return "gzip"
--
2.6.3
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 03/11] directfb: add fPIC to CFLAGS
2015-12-10 13:48 ` [PATCH 03/11] directfb: add fPIC to CFLAGS Martin Jansa
@ 2015-12-10 15:00 ` Martin Jansa
0 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2015-12-10 15:00 UTC (permalink / raw)
To: Robert Yang, openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2315 bytes --]
On Thu, Dec 10, 2015 at 02:48:24PM +0100, Martin Jansa wrote:
> * fPIC is missing when building directfb-csource.o
> | arm-webos-linux-gnueabi-libtool: link: arm-webos-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/include/freetype2 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/include/libpng16 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration -O3 -g2 -ffast-math -pipe -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -std=gnu99 -Werror-implicit-function-declaration -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o directfb-csource directfb-csource.o /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/lib/libts.so /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/lib/libpng16.so -lz -lm -ldl -lrt -lpthread
> | /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-webos-linux-gnueabi/gcc/arm-webos-linux-gnueabi/5.2.0/ld: error: directfb-csource.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
> | collect2: error: ld returned 1 exit status
> | make[2]: *** [directfb-csource] Error 1
Please cherry-pick c075d6e514b0a4511007844baf96ad44d7513399 instead of
this one.
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> meta/recipes-graphics/directfb/directfb.inc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc
> index 446aaea..e00b59b 100644
> --- a/meta/recipes-graphics/directfb/directfb.inc
> +++ b/meta/recipes-graphics/directfb/directfb.inc
> @@ -20,7 +20,8 @@ SRC_URI = "http://www.directfb.org/downloads/Core/DirectFB-1.7/DirectFB-${PV}.ta
>
> S = "${WORKDIR}/DirectFB-${PV}"
>
> -LDFLAGS_append =" -lts -lm"
> +LDFLAGS_append = " -lts -lm"
> +CFLAGS_append = " -fPIC"
>
> BINCONFIG = "${bindir}/directfb-config"
>
> --
> 2.6.3
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH][jethro][RESEND 00/11] Backports for jethro
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
` (10 preceding siblings ...)
2015-12-10 13:48 ` [PATCH 11/11] texinfo: don't create dependency on INHERIT variable Martin Jansa
@ 2015-12-18 18:09 ` Martin Jansa
2015-12-18 18:23 ` Burton, Ross
11 siblings, 1 reply; 15+ messages in thread
From: Martin Jansa @ 2015-12-18 18:09 UTC (permalink / raw)
To: Robert Yang, openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2493 bytes --]
On Thu, Dec 10, 2015 at 02:48:21PM +0100, Martin Jansa wrote:
> The following changes since commit 224bcc2ead676600bcd9e290ed23d9b2ed2f481e:
>
> rpcbind: Security Advisory - rpcbind - CVE-2015-7236 (2015-12-08 00:18:12 -0800)
>
> are available in the git repository at:
>
> git://git.openembedded.org/openembedded-core-contrib jansa/jethro-backports
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/jethro-backports
>
> Martin Jansa (10):
> icu: force arm mode
> guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable
> thumb where it fails for qemuarm
> directfb: add fPIC to CFLAGS
> libunwind: fix build for qemuarm
> gstreamer1.0-plugins-{base,good}: update PACKAGECONFIGs
> gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG
> gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for
> v4l2 and libv4l2
> gst-plugins-bad: add PACKAGECONFIGs for voamrwbenc, voaacenc, resindvd
> package_manager.py: define info_dir and status_file when OPKGLIBDIR
> isn't the default
> texinfo: don't create dependency on INHERIT variable
>
> Ross Burton (1):
> libsdl2: require GLES when building Wayland support
PING
> meta/lib/oe/package_manager.py | 19 +++++++
> meta/recipes-devtools/gcc/gcc_4.9.bb | 5 +-
> meta/recipes-devtools/guile/guile_2.0.11.bb | 4 ++
> meta/recipes-devtools/opensp/opensp_1.5.2.bb | 4 ++
> meta/recipes-extended/mailx/mailx_12.5-5.bb | 5 ++
> meta/recipes-extended/texinfo/texinfo_6.0.bb | 2 +-
> meta/recipes-graphics/directfb/directfb.inc | 3 +-
> meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb | 2 +-
> .../gstreamer/gstreamer1.0-libav_1.4.5.bb | 3 ++
> .../gstreamer/gstreamer1.0-plugins-bad.inc | 13 ++---
> .../gstreamer/gstreamer1.0-plugins-base.inc | 7 ++-
> .../gstreamer/gstreamer1.0-plugins-good.inc | 14 ++---
> meta/recipes-support/icu/icu_55.1.bb | 4 ++
> ...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 61 ++++++++++++++++++++++
> meta/recipes-support/libunwind/libunwind_1.1.bb | 5 ++
> 15 files changed, 126 insertions(+), 25 deletions(-)
> create mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
>
> --
> 2.6.3
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH][jethro][RESEND 00/11] Backports for jethro
2015-12-18 18:09 ` [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
@ 2015-12-18 18:23 ` Burton, Ross
0 siblings, 0 replies; 15+ messages in thread
From: Burton, Ross @ 2015-12-18 18:23 UTC (permalink / raw)
To: Martin Jansa; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
On 18 December 2015 at 18:09, Martin Jansa <martin.jansa@gmail.com> wrote:
> PING
>
I think Robert is on leave until Christmas, hopefully he'll notice this
when he returns.
Ross
[-- Attachment #2: Type: text/html, Size: 602 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2015-12-18 18:23 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
2015-12-10 13:48 ` [PATCH 01/11] icu: force arm mode Martin Jansa
2015-12-10 13:48 ` [PATCH 02/11] guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it fails for qemuarm Martin Jansa
2015-12-10 13:48 ` [PATCH 03/11] directfb: add fPIC to CFLAGS Martin Jansa
2015-12-10 15:00 ` Martin Jansa
2015-12-10 13:48 ` [PATCH 04/11] libunwind: fix build for qemuarm Martin Jansa
2015-12-10 13:48 ` [PATCH 05/11] gstreamer1.0-plugins-{base, good}: update PACKAGECONFIGs Martin Jansa
2015-12-10 13:48 ` [PATCH 06/11] gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG Martin Jansa
2015-12-10 13:48 ` [PATCH 07/11] gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for v4l2 and libv4l2 Martin Jansa
2015-12-10 13:48 ` [PATCH 08/11] gst-plugins-bad: add PACKAGECONFIGs for voamrwbenc, voaacenc, resindvd Martin Jansa
2015-12-10 13:48 ` [PATCH 09/11] libsdl2: require GLES when building Wayland support Martin Jansa
2015-12-10 13:48 ` [PATCH 10/11] package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default Martin Jansa
2015-12-10 13:48 ` [PATCH 11/11] texinfo: don't create dependency on INHERIT variable Martin Jansa
2015-12-18 18:09 ` [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
2015-12-18 18:23 ` Burton, Ross
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.