[oe] [meta-qt5] Why is GLib disabled?
Hello, in most Qt5 builds, I have seen GLib support enabled. But in meta-qt5, the corresponding packageconfig is disabled by default. Is there a reason for this? It does cause problems when interfacing with libraries that make use of the GLib mainloop (for example, GStreamer). -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [OE-core] State of bitbake world, Failed tasks 2015-10-26
On Tue, Oct 27, 2015 at 01:01:53PM +0100, Martin Jansa wrote: > On Mon, Oct 26, 2015 at 11:49:18PM +0100, Andreas Müller wrote: > > On Mon, Oct 26, 2015 at 9:47 PM, Martin Jansa> > wrote: > > > > > === common (2) === > > > * /meta-openembedded/meta-oe/recipes-graphics/gerbil/gerbil_git.bb, > > > do_compile > > > * /openembedded-core/meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb, > > > do_compile > > ^ Hope I find time for this one. What DISTRO features were set: x11 and > > wayland? > > yes, both are in > > OE qemuarm@ ~/oe/world/shr-core $ grep ^DISTRO_FEATURES= env.libsdl2 > DISTRO_FEATURES="alsa argp bluetooth ext2 irda largefile pcmcia usbgadget > usbhost wifi xattr nfs zeroconf pci 3g nfc x11 ipv4 ipv6 libc-backtrace > libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt > libc-crypt-ufc libc-db-aliases > libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse > libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales > libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd > libc-rtld-debug libc-spawn libc-streams libc-sunrpc > libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar > libc-posix-regexp libc-posix-regexp-glibc > libc-posix-wchar-io ld-is-gold systemd opengl wayland pulseaudio bluez5" > > OE qemuarm@ ~/oe/world/shr-core $ grep ^PACKAGECONFIG= env.libsdl2 > > > PACKAGECONFIG=" opengl alsa pulseaudio wayland x11 " I can also confirm that adding: PACKAGECONFIG_remove_pn-libsdl2 = "wayland" fixes the build for me. -- 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] [PATCH][meta-oe] Revert "luajit: Upgrade to 2.1 beta1"
On Mon, Nov 9, 2015 at 1:43 AM, Martin Jansawrote: > On Sun, Nov 08, 2015 at 07:41:28PM -0800, Khem Raj wrote: >> Martin >> >> The build failures are not due to luajit, they are due to lua itself >> being upgraded beyond 5.1 and its ABI incompatible. Its being >> highlighted >> by luajit 2.1 most probbably, If the lua 5.1 reintroduction patch has >> been applied then we can look into the fact that lua 5.1 is chosen for >> these packages. > > It's failing with this commit even without lua 5.2 upgrade. > > And it's beta anyway, so I would like to revert this for jethro branch > and then it can be re-applied in master when sysdig and devilspie are > working correctly with it, ok? for jethro thats fine, let me see this week if I can come up with a fix I was not getting the compile issues in my env so obviously I am missing something. > >> >> and yes the 32bit host dependencies has always been a requirement for luajit. >> >> On Sun, Nov 8, 2015 at 12:50 PM, Martin Jansa wrote: >> > Was it needed for 2.0 as well? If yes, then I'll re-add it. >> > >> > On Sun, Nov 8, 2015 at 9:32 PM, Andreas Müller >> > > >> wrote: >> > >> >> On Sun, Nov 8, 2015 at 12:07 PM, Martin Jansa >> >> wrote: >> >> > This reverts commit 2ce3086aa859178fb5f7d6db9876229c8ed5a6eb. >> >> > >> >> > Causes sysdig and devilspie2 build failures. >> >> > >> >> > Signed-off-by: Martin Jansa >> >> > --- >> >> > ...p-automatically-this-leaves-the-stripping.patch | 33 +++ >> >> > meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb| 56 >> >> ++ >> >> > meta-oe/recipes-devtools/luajit/luajit_2.1.bb | 67 >> >> -- >> >> > 3 files changed, 89 insertions(+), 67 deletions(-) >> >> > create mode 100644 >> >> meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch >> >> > create mode 100644 meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb >> >> > delete mode 100644 meta-oe/recipes-devtools/luajit/luajit_2.1.bb >> >> > >> >> > diff --git >> >> a/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch >> >> b/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch >> >> > new file mode 100644 >> >> > index 000..f123b3f >> >> > --- /dev/null >> >> > +++ >> >> b/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch >> >> > @@ -0,0 +1,33 @@ >> >> > +From 528009f5ca0685c95ef27f6c8957160499c0576a Mon Sep 17 00:00:00 2001 >> >> > +From: Khem Raj >> >> > +Date: Fri, 10 May 2013 10:42:45 -0700 >> >> > +Subject: [PATCH] Do not strip automatically, this leaves the stripping >> >> > + busines to OE >> >> > + >> >> > +Upstream-Status: Inappropriate [OE-Specific] >> >> > + >> >> > +Signed-off-by: Khem Raj >> >> > +--- >> >> > + src/Makefile |2 -- >> >> > + 1 file changed, 2 deletions(-) >> >> > + >> >> > +diff --git a/src/Makefile b/src/Makefile >> >> > +index 278324a..5ecd6d5 100644 >> >> > +--- a/src/Makefile >> >> > b/src/Makefile >> >> > +@@ -665,12 +665,10 @@ $(LUAJIT_A): $(LJVMCORE_O) >> >> > + $(LUAJIT_SO): $(LJVMCORE_O) >> >> > + $(E) "DYNLINK $@" >> >> > + $(Q)$(TARGET_LD) $(TARGET_ASHLDFLAGS) -o $@ $(LJVMCORE_DYNO) >> >> $(TARGET_ALIBS) >> >> > +- $(Q)$(TARGET_STRIP) $@ >> >> > + >> >> > + $(LUAJIT_T): $(TARGET_O) $(LUAJIT_O) $(TARGET_DEP) >> >> > + $(E) "LINK $@" >> >> > + $(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) >> >> $(TARGET_O) $(TARGET_ALIBS) >> >> > +- $(Q)$(TARGET_STRIP) $@ >> >> > + $(E) "OKSuccessfully built LuaJIT" >> >> > + >> >> > + >> >> ## >> >> > +-- >> >> > +1.7.9.5 >> >> > + >> >> > diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb >> >> b/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb >> >> > new file mode 100644 >> >> > index 000..4a15a4e >> >> > --- /dev/null >> >> > +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb >> >> > @@ -0,0 +1,56 @@ >> >> > +SUMMARY = "Just-In-Time Compiler for Lua" >> >> > +LICENSE = "MIT" >> >> > +LIC_FILES_CHKSUM = >> >> "file://COPYRIGHT;md5=3992f1fbae3b8b061f9056b7fcda8cc6" >> >> > +HOMEPAGE = "http://luajit.org; >> >> > + >> >> > +SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ >> >> > + >> >> file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ >> >> > +" >> >> > +SRC_URI[md5sum] = "dd9c38307f2223a504cbfb96e477eca0" >> >> > +SRC_URI[sha256sum] = >> >> "620fa4eb12375021bef6e4f237cbd2dd5d49e56beb414bee052c746beef1807d" >> >> > + >> >> > +S = "${WORKDIR}/LuaJIT-${PV}" >> >> > + >> >> > +inherit pkgconfig binconfig >> >> > + >> >> > +BBCLASSEXTEND = "native" >> >> > + >> >> >
[oe] [meta-browser][PATCH] cef3: rework "fix build with gcc 4.9.4"
The link errors addressed with commit '7887e66d5df998b91d4df24a150c32a692784451 fix build with gcc 4.9.4' occur only when linking with gold. Thus apply the fix only if distro features contain ld-is-gold. Signed-off-by: Max KrummenacherUpstream-Status: Inappropriate configuration --- recipes-browser/chromium/cef3_280796.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Hi This addresses the review comment by Khem http://lists.openembedded.org/pipermail/openembedded-devel/2015-November/104408.html Max diff --git a/recipes-browser/chromium/cef3_280796.bb b/recipes-browser/chromium/cef3_280796.bb index 079e820..d827b8e 100644 --- a/recipes-browser/chromium/cef3_280796.bb +++ b/recipes-browser/chromium/cef3_280796.bb @@ -35,7 +35,7 @@ export BUILD_TARGET_ARCH="${TARGET_ARCH}" export GYP_DEFINES="${GYP_ARCH_DEFINES} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''" EXTRA_OEGYP = " \ --Ddisable_fatal_linker_warnings=1 \ +${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '-Ddisable_fatal_linker_warnings=1', '', d)} \ " do_configure_prepend() { -- 1.8.4.5 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] OE Changelog since 2015-11-01 until 2015-11-08
Changelog since 2015-11-01 until 2015-11-08. Projects included in this report: bitbake: git://git.openembedded.org/bitbake openembedded-core: git://git.openembedded.org/openembedded-core meta-openembedded: git://git.openembedded.org/meta-openembedded meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git meta-arago: git://arago-project.org/git/meta-arago.git meta-atmel: https://github.com/linux4sam/meta-atmel.git meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git meta-browser: git://github.com/OSSystems/meta-browser.git meta-bug: git://github.com/buglabs/meta-bug.git meta-chicken: git://github.com/OSSystems/meta-chicken meta-efikamx: git://github.com/kraj/meta-efikamx.git meta-ettus: http://github.com/koenkooi/meta-ettus.git meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git meta-gumstix: git://github.com/gumstix/meta-gumstix.git meta-gumstix-community: https://github.com/schnitzeltony/meta-gumstix-community.git meta-handheld: git://git.openembedded.org/meta-handheld meta-igep: http://github.com/ebutera/meta-igep.git meta-intel: git://git.yoctoproject.org/meta-intel meta-ivi: git://git.yoctoproject.org/meta-ivi meta-java: git://github.com/woglinde/meta-java meta-jetson-tk1: https://github.com/cubicool/meta-jetson-tk1.git meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git meta-micro: git://git.openembedded.org/meta-micro meta-mono: git://git.yoctoproject.org/meta-mono.git meta-netbookpro: git://github.com/tworaz/meta-netbookpro meta-nodejs: https://github.com/imyller/meta-nodejs.git meta-nslu2: git://github.com/kraj/meta-nslu2 meta-opie: git://git.openembedded.org/meta-opie meta-qt3: git://git.yoctoproject.org/meta-qt3 meta-qt5: git://github.com/meta-qt5/meta-qt5.git meta-slugos: git://github.com/kraj/meta-slugos meta-systemd: git://git.yoctoproject.org/meta-systemd meta-raspberrypi: git://github.com/djwillis/meta-raspberrypi.git meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git meta-ti: git://git.yoctoproject.org/meta-ti meta-webos: git://github.com/openwebos/meta-webos.git meta-xilinx: git://git.yoctoproject.org/meta-xilinx meta-yocto: git://git.yoctoproject.org/meta-yocto openembedded: git://git.openembedded.org/openembedded Changelog for bitbake: Changelog for openembedded-core: Richard Purdie (2): build-appliance-image: Update to jethro head revision build-appliance-image: Update to jethro head revision Ross Burton (1): vte: fix DoS from malicious escape sequence (CVE-2012-2738) Tudor Florea (1): unzip: CVE-2015-7696, CVE-2015-7697 Changelog for meta-openembedded: Andre McCurdy (1): ninja-native: add initial recipe, ninja 1.6.0 Andreas Müller (19): python-lxml: do not overwrite inherited DEPENDS xfce4-vala: unbreak by telling configure vala API version xfce-polkit: initial add 0.2 packagegroup-xfce-extended: xfce-polkit gparted: update to 0.24.0 gparted: add gtk-icon-cache to inherit gparted: add polkit support gnulib: move meta-networking -> meta-oe autotools-bootstrap.bbclass: initial add netcf: use autotools-bootstrap.bbclass gnulib: add native extend fontforge: use autotools-bootstrap.bbclass uthash: add native extend fontforge: avoid cloning uthash during do_compile xfce4-whiskermenu-plugin: update to 1.5.1 cdrkit: initial add 1.1.11 luajit: drop a note for build machine requirements samba: add cups to DEPENDS samba: install pam libraries to base_libdir Dan McGregor (3): python-html5lib: import recipe from meta-openstack gateone: update to latest git tmux: update to 2.1 Fabio Berton (1): python-cffi: Update to version 1.3.0 George McCollister (1): apache2: fix config_vars.mk path contamination Hongxu Jia (2): gvfs: add missing libgudev to DEPENDS wipe: add version 0.23 Jackie Huang (3): waf-samba.bbclass: add missing qemu options libssh2: specify the search dir to avoid host contamination libtevent: add missing dependency on libcap Jens Rehsack (2): samba: add support for sysvinit via lsb-init-functions rrdtool: fix compile error Kai Kang (2): mousepad: inherit gsettings libsmi: add configure file Manuel Bachmann (1): lightmediascanner: Update to 0.5.1, improve Martin Jansa (2): konkretcmpi: depend on swig-native nodejs: use oe_runmake to respect PARALLEL_MAKE Philip Balister (1): python-pyqt: Fix build for aarch64. Rafaël Carré (4): VLC: depends on gst-plugins-bad only if gst is enabled VLC: add an optional dependency on libdvbpsi VLC: make gnome-vfs configurable Add libdvbpsi 1.3.0 Randy MacLeod (1): mariadb: update to 5.5.46 Roy Li (2): libx86-1: add the recipe
[oe] [meta-perl][PATCH] libnet-ssleay-perl: fix test failures with openssl
Backport two patches from uptream to fix test failure with openssl 1.0.2b or above. Signed-off-by: Hongxu Jia--- ...ay-perl-Disable-test-that-fails-with-open.patch | 70 ...2-betas-have-dropped-the-SSLv3_method-fun.patch | 75 ++ .../recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 2 + 3 files changed, 147 insertions(+) create mode 100644 meta-perl/recipes-perl/libnet/files/0001-libnet-ssleay-perl-Disable-test-that-fails-with-open.patch create mode 100644 meta-perl/recipes-perl/libnet/files/0002-Recent-1.0.2-betas-have-dropped-the-SSLv3_method-fun.patch diff --git a/meta-perl/recipes-perl/libnet/files/0001-libnet-ssleay-perl-Disable-test-that-fails-with-open.patch b/meta-perl/recipes-perl/libnet/files/0001-libnet-ssleay-perl-Disable-test-that-fails-with-open.patch new file mode 100644 index 000..393ee19 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/files/0001-libnet-ssleay-perl-Disable-test-that-fails-with-open.patch @@ -0,0 +1,70 @@ +From e7a2d3a57fd51f0d4d5b3fcb6669b1876d4b18d2 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Tue, 10 Nov 2015 01:23:18 -0500 +Subject: [PATCH 1/2] libnet-ssleay-perl: Disable test that fails with + openssl-1.0.2b or above + +Run testsuits: +t/local/33_x509_create_certNOK 39/123 +not ok 39 - PEM_get_string_PrivateKey+passwd+enc_alg +| Failed test 'PEM_get_string_PrivateKey+passwd+enc_alg' +| at t/local/33_x509_create_cert.t line 104. +| undef +| doesn't match '(?^:-BEGIN (ENCRYPTED|RSA) PRIVATE KEY-)' + +This is due to the following change in OpenSSL: +(git://git.openssl.org/openssl.git) +.. +4d9dc0c269be87b92da188df1fbd8bfee4700eb3 is the first bad commit +commit 4d9dc0c269be87b92da188df1fbd8bfee4700eb3 +Author: Dr. Stephen Henson +Date: Thu May 28 15:44:20 2015 +0100 + +check for error when creating PKCS#8 structure + +Reviewed-by: Rich Salz +(cherry picked from commit 2849707fa65d2803e6d1c1603fdd3fd1fdc4c6cc) +.. + +Upstream-Status: Backport from upstream latest 1.72: +http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.72.tar.gz + +Signed-off-by: Hongxu Jia +--- + t/local/33_x509_create_cert.t | 13 - + 1 file changed, 8 insertions(+), 5 deletions(-) + +diff --git a/t/local/33_x509_create_cert.t b/t/local/33_x509_create_cert.t +index 2f2c013..3e653ce 100755 +--- a/t/local/33_x509_create_cert.t b/t/local/33_x509_create_cert.t +@@ -2,7 +2,7 @@ + + use strict; + use warnings; +-use Test::More tests => 123; ++use Test::More tests => 121; + use Net::SSLeay qw/MBSTRING_ASC MBSTRING_UTF8 EVP_PK_RSA EVP_PKT_SIGN EVP_PKT_ENC/; + use File::Spec; + use utf8; +@@ -99,10 +99,13 @@ is(Net::SSLeay::X509_NAME_cmp($ca_issuer, $ca_subject), 0, "X509_NAME_cmp"); + } + ok(my $alg1 = Net::SSLeay::EVP_get_cipherbyname("DES-EDE3-CBC"), "EVP_get_cipherbyname"); + like(my $key_pem3 = Net::SSLeay::PEM_get_string_PrivateKey($pk,"password",$alg1), qr/-BEGIN (ENCRYPTED|RSA) PRIVATE KEY-/, "PEM_get_string_PrivateKey+passwd+enc_alg"); +- +- ok(my $alg2 = Net::SSLeay::EVP_get_cipherbyname("DES-EDE3-OFB"), "EVP_get_cipherbyname"); +- like(my $key_pem4 = Net::SSLeay::PEM_get_string_PrivateKey($pk,"password",$alg2), qr/-BEGIN (ENCRYPTED|RSA) PRIVATE KEY-/, "PEM_get_string_PrivateKey+passwd+enc_alg"); +- ++ ++# DES-EDE3-OFB has no ASN1 support, detected by changes to do_pk8pkey as of openssl 1.0.1n ++# https://git.openssl.org/?p=openssl.git;a=commit;h=4d9dc0c269be87b92da188df1fbd8bfee4700eb3 ++# this test now fails ++# ok(my $alg2 = Net::SSLeay::EVP_get_cipherbyname("DES-EDE3-OFB"), "EVP_get_cipherbyname"); ++# like(my $key_pem4 = Net::SSLeay::PEM_get_string_PrivateKey($pk,"password",$alg2), qr/-BEGIN (ENCRYPTED|RSA) PRIVATE KEY-/, "PEM_get_string_PrivateKey+passwd+enc_alg"); ++ + is(Net::SSLeay::X509_NAME_print_ex($name), "O=Company Name,C=UK,CN=Common name text X509", "X509_NAME_print_ex"); + + # 2014-06-06: Sigh, some versions of openssl have this patch, which afffects the results of this test: +-- +1.9.1 + diff --git a/meta-perl/recipes-perl/libnet/files/0002-Recent-1.0.2-betas-have-dropped-the-SSLv3_method-fun.patch b/meta-perl/recipes-perl/libnet/files/0002-Recent-1.0.2-betas-have-dropped-the-SSLv3_method-fun.patch new file mode 100644 index 000..e3650b8 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/files/0002-Recent-1.0.2-betas-have-dropped-the-SSLv3_method-fun.patch @@ -0,0 +1,75 @@ +From d94f2d3f96db529383b22f2dc294847190d1bfbe Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Tue, 10 Nov 2015 02:11:30 -0500 +Subject: [PATCH 2/2] Recent 1.0.2 betas have dropped the SSLv3_method + function. This patch leaves out the function on newer versions, much the same + as the SSLv2 deprecation is handled. It also fixes the ALPN test, which was +
Re: [oe] [meta-qt5] Why is GLib disabled?
Partially historic reasons no longer valid with _remove operator. It's easier to add stuff to PACKAGECONFIG than remove stuff. So I wanted to make meta-qt5 as small as possible (to build) with minimal PACKAGECONFIG, there are couple of comments in qtbase_git.bb advising people to enable some PACKAGECONFIG options to make qtbase more useful for other recipes like qtdeclarative or qtwebkit. Regards, On Mon, Nov 9, 2015 at 10:23 PM, Carlos Rafael Gianiwrote: > Hello, > > in most Qt5 builds, I have seen GLib support enabled. But in meta-qt5, the > corresponding packageconfig is disabled by default. Is there a reason for > this? > It does cause problems when interfacing with libraries that make use of > the GLib mainloop (for example, GStreamer). > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH][meta-qt5] qtwebengine: disable autodetection from sysroot
* bundled nspr fails to build when system nss is used | work/i586-oe-linux/qtwebengine/5.5.99+5.6.0-alpha1+gitAUTOINC+64dc919d31_7e655fbb76-r0/git/src/3rdparty/chromium/third_party/nss/nspr/pr/include/md/_unixos.h:596:9: error: unknown type name 'off64_t' | typedef off64_t _MDOff64_t; | ^ * addin qtlocation to resolve: WARNING: Failure to find: git/src/core/Release/obj/src/core/QtWebEngineCore.location_provider_qt.o Signed-off-by: Martin Jansa--- recipes-qt/qt5/qtwebengine_git.bb | 18 ++ 1 file changed, 18 insertions(+) diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index d12e3b9..6e913bc 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb @@ -13,6 +13,7 @@ DEPENDS += " \ ninja-native \ qtwebchannel \ qtbase qtdeclarative qtxmlpatterns qtquickcontrols \ +qtlocation \ libdrm fontconfig pixman openssl pango cairo icu pciutils \ libcap \ " @@ -28,6 +29,20 @@ DEPENDS += "flac" DEPENDS += "yasm-native" EXTRA_QMAKEVARS_PRE += "GYP_CONFIG+=use_system_yasm" +DEPENDS += "libwebp" +EXTRA_QMAKEVARS_PRE += "WEBENGINE_CONFIG+=use_system_libwebp" +DEPENDS += "libxslt" +EXTRA_QMAKEVARS_PRE += "WEBENGINE_CONFIG+=use_system_libxslt" +DEPENDS += "libevent" +EXTRA_QMAKEVARS_PRE += "WEBENGINE_CONFIG+=use_system_libevent" +DEPENDS += "flac" +EXTRA_QMAKEVARS_PRE += "WEBENGINE_CONFIG+=use_system_flac" +DEPENDS += "speex" +EXTRA_QMAKEVARS_PRE += "WEBENGINE_CONFIG+=use_system_speex" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[opus] = "WEBENGINE_CONFIG+=use_system_opus,,libopus" + COMPATIBLE_MACHINE = "(-)" COMPATIBLE_MACHINE_x86 = "(.*)" COMPATIBLE_MACHINE_x86-64 = "(.*)" @@ -57,6 +72,9 @@ do_configure() { export CXX_host="g++" export QMAKE_MAKE_ARGS="${EXTRA_OEMAKE}" +# Disable autodetection from sysroot: +sed -i 's/packagesExist([^)]*vpx[^)]*):/false:/g; s/config_srtp:/false:/g; s/config_snappy:/false:/g; s/packagesExist(nss):/false:/a; s/^ *packagesExist\($$package\):/false:/g' ${S}/tools/qmake/mkspecs/features/configure.prf + # qmake can't find the OE_QMAKE_* variables on it's own so directly passing them as # arguments here ${OE_QMAKE_QMAKE} -r ${EXTRA_QMAKEVARS_PRE} QTWEBENGINE_ROOT="${S}" \ -- 2.6.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-java][PATCH] ecj-initial.in: Disable multithreading to mitigate segfaulting
Cacao-initial-native suffers from sporadic segmentation faults, when the Java program uses multiple Java threads, due to a race condition. In particular, jamvm-native and classpath-native builds would occasionally fail as the eclipse compiler used during build task by default uses multiple threads. As fixing the race condition would require large changes to the cacao-initial-native codebase, and as it is only used briefly during the bootstrapping process, it is easier and safer to just force ecj-initial to run in a singlethreaded mode. Signed-off-by: Erkka Kääriä--- recipes-core/ecj/files/ecj-initial.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-core/ecj/files/ecj-initial.in b/recipes-core/ecj/files/ecj-initial.in index 201..30c1c8a 100755 --- a/recipes-core/ecj/files/ecj-initial.in +++ b/recipes-core/ecj/files/ecj-initial.in @@ -1 +1,3 @@ -${RUNTIME} -Xmx512m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"} +# -Djdt.compiler.useSingleThread=true forces the compiler to only use a single thread. This is a workaround to a race condition +# bug in cacao-initial-native, where using multiple java thread could cause sporadic segmentation faults +${RUNTIME} -Xmx512m -Djdt.compiler.useSingleThread=true -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"} -- 2.1.4 - Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] Updates to meta-browser (master) in 2015-11-09
Hello, I pushed following updates: commit 7887e66d5df998b91d4df24a150c32a692784451 (HEAD -> pending, origin/master, origin/HEAD) Author: Max KrummenacherDate: Sat Nov 7 13:20:29 2015 +0100 cef3: fix build with gcc 4.9.4 During the final link we get errors like this: .../4.9.4/ld: warning: hidden symbol 'sqlite3_temp_directory' in obj/.../sqlite.sqlite3.o) is referenced by DSO .../usr/lib/libsoftokn3.so .../4.9.4/ld: error: treating warnings as errors collect2: error: ld returned 1 exit status Use chromium.bb solution to not treat linker warnings as errors. Signed-off-by: Max Krummenacher Upstream-Status: Inappropriate configuration Signed-off-by: Max Krummenacher Signed-off-by: Otavio Salvador commit 8d4ad9ca4049cf8a75f37f260913f6ad106f1e52 Author: Max Krummenacher Date: Sat Nov 7 13:20:28 2015 +0100 cef3: fix build of x86-64 Use gypi file for i586 to create the configuration for the x86-64 architecture. Signed-off-by: Max Krummenacher Upstream-Status: Inappropriate configuration Signed-off-by: Max Krummenacher Signed-off-by: Otavio Salvador commit c04205a73182b8d065b1afbc502be0b70fa6017f Author: Max Krummenacher Date: Sat Nov 7 13:20:27 2015 +0100 cef3: fix gcc5 compile issues A cef3 build with gcc5 fails with warnings treated as errors. bignum.cc, image_util.cc: strict-overflow warning gtest-typed-test.h: unused-variable warning SaturatedArithmetic.h: parentheses warning Compiles for qemux86 with gcc 5.2.0 and still compiles on armv7a with gcc linaro-4.9.4. Note that the resulting binary has not been tested on a target. Signed-off-by: Max Krummenacher Signed-off-by: Otavio Salvador commit e2b1f6dd53789f8434c424959485090f07982596 Author: Max Krummenacher Date: Sat Nov 7 13:20:26 2015 +0100 cef3_280796.bb: change indent to 4 spaces Signed-off-by: Max Krummenacher Signed-off-by: Otavio Salvador commit 654ae2847858db5d62e2bc1f04e2049598cda18a Author: Max Krummenacher Date: Sat Nov 7 13:20:25 2015 +0100 chromium: fix gcc5 compile issues A chromium build with gcc5 fails with warnings treated as errors. bignum.cc, image_util.cc: strict-overflow warning Compiles and runs on qemux86-64 with gcc 5.2.0 and still compiles on armv7a with gcc linaro-4.9.4. Signed-off-by: Max Krummenacher Signed-off-by: Otavio Salvador Regards, -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-browser][PATCH v2 0/5] chromium/cef3: fix gcc build errors
On Sat, Nov 07, 2015 at 01:20:24PM +0100, Max Krummenacher wrote: > v2: > Review Zoltan Kuscsik: > - prefer #pragma silencing of error over code refactoring > - add link to upstream discussion > > Review Martin Jansa: > - port fixes to cef3 also > > Max Krummenacher (5): > chromium: fix gcc5 compile issues > cef3_280796.bb: change indent to 4 spaces > cef3: fix gcc5 compile issues > cef3: fix build of x86-64 > cef3: fix build with gcc 4.9.4 Fixed both issues for qemux86 as well as qemux86-64. They built in "bitbake world" probably for first time since they were introduced, Thanks! Acked-by: Martin JansaLets get this merged before jethro branch is created. > ...0001-bignum.cc-disable-warning-from-gcc-5.patch | 39 > ...-image_util.cc-disable-warning-from-gcc-5.patch | 40 > ...-test.h-disable-warning-unused-definition.patch | 43 > ++ > ...ithmetic.h-put-parentheses-to-silence-war.patch | 39 > recipes-browser/chromium/cef3_280796.bb| 33 - > ...0001-bignum.cc-disable-warning-from-gcc-5.patch | 39 > ...-image_util.cc-disable-warning-from-gcc-5.patch | 40 > recipes-browser/chromium/chromium_40.0.2214.91.bb | 3 ++ > 8 files changed, 266 insertions(+), 10 deletions(-) > create mode 100644 > recipes-browser/chromium/cef3/0001-bignum.cc-disable-warning-from-gcc-5.patch > create mode 100644 > recipes-browser/chromium/cef3/0002-image_util.cc-disable-warning-from-gcc-5.patch > create mode 100644 > recipes-browser/chromium/cef3/0003-gtest-typed-test.h-disable-warning-unused-definition.patch > create mode 100644 > recipes-browser/chromium/cef3/0004-SaturatedArithmetic.h-put-parentheses-to-silence-war.patch > create mode 100644 > recipes-browser/chromium/chromium/chromium-40/0001-bignum.cc-disable-warning-from-gcc-5.patch > create mode 100644 > recipes-browser/chromium/chromium/chromium-40/0002-image_util.cc-disable-warning-from-gcc-5.patch > > -- > 1.8.4.5 > > -- > ___ > 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] [meta-browser][PATCH v2 5/5] cef3: fix build with gcc 4.9.4
Max, On Sat, Nov 7, 2015 at 5:52 PM, Khem Rajwrote: >> On Nov 7, 2015, at 4:20 AM, Max Krummenacher wrote: >> >> During the final link we get errors like this: >> .../4.9.4/ld: warning: hidden symbol 'sqlite3_temp_directory' in >> obj/.../sqlite.sqlite3.o) is referenced by DSO .../usr/lib/libsoftokn3.so >> .../4.9.4/ld: error: treating warnings as errors >> collect2: error: ld returned 1 exit status > > This is gold linker specific so you should disable these warning when > ld-is-gold is in DISTRO_FEATURES. Its a big broad brush so lets > try to make it small as we can. I ended applying it before seeing Khem's comment; can you make the change as he proposes and send a new patch? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-java] Sporadic segfaults when compiling jamvm-native and classpath-native
On Mon, Nov 9, 2015 at 6:10 AM, Kaaria, Erkkawrote: > While the workaround would leave the underlying cause unfixed, it only > requires changing one line. Since the cacao-initial-native is only used > briefly during the build process, I think small workaround is better than > large scale changes to the old codebase. I also didn't notice any difference > in classpath-native or jamvm-native build times, so the performance impact is > negligible. > > On a related note, I ran the clean\recompile script over the weekend and saw > no segfaults, so I think the workaround works. So please cook a patch adding the workaround and add a proper comment in the recipe with FIXME so we are aware of it. If possible, consider the possibility of packaging the staging repository so we could use a newer release, after that, and likely drop patches :) -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-java] Sporadic segfaults when compiling jamvm-native and classpath-native
> From: openembedded-devel-boun...@lists.openembedded.org > [mailto:openembedded-devel-boun...@lists.openembedded.org] On > Behalf Of Otavio Salvador > Sent: Friday, November 6, 2015 4:40 PM > To: OpenEmbedded Devel List de...@lists.openembedded.org> > Subject: Re: [oe] [meta-java] Sporadic segfaults when compiling jamvm- > native and classpath-native > > On Fri, Nov 6, 2015 at 9:44 AM, Kaaria, Erkka> wrote: > > There seems to be something wrong with cacao-initial-native JIT compiler > that causes sporadic segfaults when compiling jamvm-native or classpath- > native. This is fairly rare, I estimate around 1% of the builds fail due to > segfault. I use 64 bit Ubuntu 15.04 with GCC 4.9.2 as build machine. > > Did you check if cacao-staging tree does not include a fix for it? > Hi, I briefly glanced at the cacao-staging commit history, but I didn't find any patches that would fix this segfault specifically. There are several patches that fix issues and race conditions in the jit compiler, for example https://bitbucket.org/cacaovm/cacao-staging/commits/7e6eef2b4c94 and https://bitbucket.org/cacaovm/cacao-staging/commits/56697326cf27. One of these patches may very well fix the segfault, but the problem is that the cacao version that is used in the bootstrapping process is positively ancient (0.98, released in 2007). The linked patches for example are patching files that are either substantially different from the ones in 0.98 or don't even exist in 0.98. Backporting any patches to would not be easy. While the workaround would leave the underlying cause unfixed, it only requires changing one line. Since the cacao-initial-native is only used briefly during the build process, I think small workaround is better than large scale changes to the old codebase. I also didn't notice any difference in classpath-native or jamvm-native build times, so the performance impact is negligible. On a related note, I ran the clean\recompile script over the weekend and saw no segfaults, so I think the workaround works. Best Regards, Erkka Kääriä - Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH][meta-oe] Revert "luajit: Upgrade to 2.1 beta1"
On Sun, Nov 08, 2015 at 07:41:28PM -0800, Khem Raj wrote: > Martin > > The build failures are not due to luajit, they are due to lua itself > being upgraded beyond 5.1 and its ABI incompatible. Its being > highlighted > by luajit 2.1 most probbably, If the lua 5.1 reintroduction patch has > been applied then we can look into the fact that lua 5.1 is chosen for > these packages. It's failing with this commit even without lua 5.2 upgrade. And it's beta anyway, so I would like to revert this for jethro branch and then it can be re-applied in master when sysdig and devilspie are working correctly with it, ok? > > and yes the 32bit host dependencies has always been a requirement for luajit. > > On Sun, Nov 8, 2015 at 12:50 PM, Martin Jansawrote: > > Was it needed for 2.0 as well? If yes, then I'll re-add it. > > > > On Sun, Nov 8, 2015 at 9:32 PM, Andreas Müller >> wrote: > > > >> On Sun, Nov 8, 2015 at 12:07 PM, Martin Jansa > >> wrote: > >> > This reverts commit 2ce3086aa859178fb5f7d6db9876229c8ed5a6eb. > >> > > >> > Causes sysdig and devilspie2 build failures. > >> > > >> > Signed-off-by: Martin Jansa > >> > --- > >> > ...p-automatically-this-leaves-the-stripping.patch | 33 +++ > >> > meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb| 56 > >> ++ > >> > meta-oe/recipes-devtools/luajit/luajit_2.1.bb | 67 > >> -- > >> > 3 files changed, 89 insertions(+), 67 deletions(-) > >> > create mode 100644 > >> meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch > >> > create mode 100644 meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb > >> > delete mode 100644 meta-oe/recipes-devtools/luajit/luajit_2.1.bb > >> > > >> > diff --git > >> a/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch > >> b/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch > >> > new file mode 100644 > >> > index 000..f123b3f > >> > --- /dev/null > >> > +++ > >> b/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch > >> > @@ -0,0 +1,33 @@ > >> > +From 528009f5ca0685c95ef27f6c8957160499c0576a Mon Sep 17 00:00:00 2001 > >> > +From: Khem Raj > >> > +Date: Fri, 10 May 2013 10:42:45 -0700 > >> > +Subject: [PATCH] Do not strip automatically, this leaves the stripping > >> > + busines to OE > >> > + > >> > +Upstream-Status: Inappropriate [OE-Specific] > >> > + > >> > +Signed-off-by: Khem Raj > >> > +--- > >> > + src/Makefile |2 -- > >> > + 1 file changed, 2 deletions(-) > >> > + > >> > +diff --git a/src/Makefile b/src/Makefile > >> > +index 278324a..5ecd6d5 100644 > >> > +--- a/src/Makefile > >> > b/src/Makefile > >> > +@@ -665,12 +665,10 @@ $(LUAJIT_A): $(LJVMCORE_O) > >> > + $(LUAJIT_SO): $(LJVMCORE_O) > >> > + $(E) "DYNLINK $@" > >> > + $(Q)$(TARGET_LD) $(TARGET_ASHLDFLAGS) -o $@ $(LJVMCORE_DYNO) > >> $(TARGET_ALIBS) > >> > +- $(Q)$(TARGET_STRIP) $@ > >> > + > >> > + $(LUAJIT_T): $(TARGET_O) $(LUAJIT_O) $(TARGET_DEP) > >> > + $(E) "LINK $@" > >> > + $(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) > >> $(TARGET_O) $(TARGET_ALIBS) > >> > +- $(Q)$(TARGET_STRIP) $@ > >> > + $(E) "OKSuccessfully built LuaJIT" > >> > + > >> > + > >> ## > >> > +-- > >> > +1.7.9.5 > >> > + > >> > diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb > >> b/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb > >> > new file mode 100644 > >> > index 000..4a15a4e > >> > --- /dev/null > >> > +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb > >> > @@ -0,0 +1,56 @@ > >> > +SUMMARY = "Just-In-Time Compiler for Lua" > >> > +LICENSE = "MIT" > >> > +LIC_FILES_CHKSUM = > >> "file://COPYRIGHT;md5=3992f1fbae3b8b061f9056b7fcda8cc6" > >> > +HOMEPAGE = "http://luajit.org; > >> > + > >> > +SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ > >> > + > >> file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ > >> > +" > >> > +SRC_URI[md5sum] = "dd9c38307f2223a504cbfb96e477eca0" > >> > +SRC_URI[sha256sum] = > >> "620fa4eb12375021bef6e4f237cbd2dd5d49e56beb414bee052c746beef1807d" > >> > + > >> > +S = "${WORKDIR}/LuaJIT-${PV}" > >> > + > >> > +inherit pkgconfig binconfig > >> > + > >> > +BBCLASSEXTEND = "native" > >> > + > >> > +do_configure_prepend() { > >> > +sed -i 's:PREFIX= /usr/local:PREFIX= ${prefix}:g' ${S}/Makefile > >> > +sed -i 's:MULTILIB= lib:MULTILIB= ${baselib}:g' ${S}/Makefile > >> > +} > >> > + > >> > +EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX} \ > >> > +TARGET_CFLAGS="${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" \ > >> > +
Re: [oe] [meta-browser][PATCH v2 5/5] cef3: fix build with gcc 4.9.4
Hi Otavio, 2015-11-09 11:51 GMT+01:00 Otavio Salvador: > Max, > > On Sat, Nov 7, 2015 at 5:52 PM, Khem Raj wrote: >>> On Nov 7, 2015, at 4:20 AM, Max Krummenacher wrote: >>> >>> During the final link we get errors like this: >>> .../4.9.4/ld: warning: hidden symbol 'sqlite3_temp_directory' in >>> obj/.../sqlite.sqlite3.o) is referenced by DSO .../usr/lib/libsoftokn3.so >>> .../4.9.4/ld: error: treating warnings as errors >>> collect2: error: ld returned 1 exit status >> >> This is gold linker specific so you should disable these warning when >> ld-is-gold is in DISTRO_FEATURES. Its a big broad brush so lets >> try to make it small as we can. > > I ended applying it before seeing Khem's comment; can you make the > change as he proposes and send a new patch? sure, I will put up a patch tonight and send a new patch just for that issue. Max -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel