Backports for jethro
cover Backports for jethro
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
Signature · 1 line
2.6.3
PATCH 1/11 icu: force arm mode
* 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'
--- meta/recipes-support/icu/icu_55.1.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-support/icu/icu_55.1.bb +4 -0
@@ -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 \
Signature · 1 line
2.6.3
PATCH 2/11 guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it fails for qemuarm
In reply to Martin Jansa--- 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(-)
meta/recipes-devtools/gcc/gcc_4.9.bb +2 -3
@@ -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"
meta/recipes-devtools/guile/guile_2.0.11.bb +4 -0
@@ -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"
meta/recipes-devtools/opensp/opensp_1.5.2.bb +4 -0
@@ -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"
meta/recipes-extended/mailx/mailx_12.5-5.bb +5 -0
@@ -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"
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb +3 -0
@@ -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"
meta/recipes-support/libunwind/libunwind_1.1.bb +4 -0
@@ -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"
Signature · 1 line
2.6.3
PATCH 3/11 directfb: add fPIC to CFLAGS
In reply to Martin Jansa* 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
--- meta/recipes-graphics/directfb/directfb.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-graphics/directfb/directfb.inc +2 -1
@@ -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"
Signature · 1 line
2.6.3
PATCH 4/11 libunwind: fix build for qemuarm
In reply to Martin Jansa--- ...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
meta/recipes-support/libunwind/libunwind-1.1/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch new file +61 -0
@@ -0,0 +1,61 @@ +From 24484e80b3e329c9edee1995e102f8612eedb79c Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <[email protected]> +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 <[email protected]> + +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 +
meta/recipes-support/libunwind/libunwind_1.1.bb +1 -0
@@ -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"
Signature · 1 line
2.6.3
PATCH 5/11 gstreamer1.0-plugins-{base, good}: update PACKAGECONFIGs
In reply to Martin Jansa* there are new libavc1394, libiec61883, libraw1394, cdparanoia recipes in meta-multimedia
--- 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(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc +3 -4
@@ -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"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc +1 -5
@@ -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"
Signature · 1 line
2.6.3
PATCH 6/11 gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG
In reply to Martin Jansa* 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
--- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +2 -2
@@ -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"
Signature · 1 line
2.6.3
PATCH 7/11 gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for v4l2 and libv4l2
In reply to Martin Jansa* 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?
--- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc +4 -4
@@ -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 \
Signature · 1 line
2.6.3
PATCH 8/11 gst-plugins-bad: add PACKAGECONFIGs for voamrwbenc, voaacenc, resindvd
In reply to Martin Jansa* 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]
--- .../recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +6 -5
@@ -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"
Signature · 1 line
2.6.3
PATCH 9/11 libsdl2: require GLES when building Wayland support
In reply to Martin JansaFrom: Ross Burton <[email protected]>
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.
--- meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb +1 -1
@@ -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,"
Signature · 1 line
2.6.3
PATCH 10/11 package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default
In reply to Martin Jansa* 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
--- meta/lib/oe/package_manager.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
meta/lib/oe/package_manager.py +19 -0
@@ -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
Signature · 1 line
2.6.3
PATCH 11/11 texinfo: don't create dependency on INHERIT variable
In reply to Martin Jansa* 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'--- meta/recipes-extended/texinfo/texinfo_6.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/texinfo/texinfo_6.0.bb +1 -1
@@ -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"
Signature · 1 line
2.6.3
Re: [PATCH 03/11] directfb: add fPIC to CFLAGS
In reply to Martin JansaQuoted 5 lines · Martin Jansa
* 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.
Quoted 23 lines
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-graphics/directfb/directfb.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta/recipes-graphics/directfb/directfb.inc +2
-1@@ -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"Signature · 1 line
2.6.3
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 24 lines · Martin Jansa
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-contribjansa/jethro-backports
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/jethro-backportsMartin 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, resindvdpackage_manager.py: defineinfo_dirandstatus_filewhen OPKGLIBDIR
isn't the default
texinfo: don't create dependency on INHERIT variable
Quoted 2 lines
Ross Burton (1):
libsdl2: require GLES when building Wayland support
PING
Quoted 21 lines
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.patchSignature · 1 line
2.6.3
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 2 lines · Martin Jansa
PING
I think Robert is on leave until Christmas, hopefully he'll notice this when he returns.
Ross