Commit Graph

1113 Commits

Author SHA1 Message Date
Mikko Gronoff
790bc1957c qtquicktimeline: add recipe
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-05-11 17:03:46 +02:00
Martin Jansa
07a54bf2a9 qt5: upgrade to 5.15 rc1
* use latest revisions in 5.15 branches

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-05-11 17:03:44 +02:00
Khem Raj
288cdf6053 qtwebengine: Fix build with musl
msghdr is not same between musl and glibc so do not assume that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-11 16:00:21 +02:00
Khem Raj
ac9951b218 qtquick3d: Add module prefix for enabling assimp
Lately qtquick 3D changed this option to avoid some conflicts see [1]

Fixes #314

[1] b14b14e919

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-11 16:00:21 +02:00
Martin Jansa
d6b6838e55 qt5: upgrade to 5.15 beta4
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-21 18:31:19 +02:00
Khem Raj
05b3e648ec qtwebkit: Switch to 5.212 branch
Drop py3 support patch as its no longer needed on this branch
This is more uptodate branch and has needed fixes to work with Qt 5.15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21 16:49:36 +02:00
Khem Raj
abed512f82 qt5-creator: Upgrade to 4.12 branch
This fixes build with
- qt 5.15 QPainterPath changes
- Clang-10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21 16:49:36 +02:00
Martin Jansa
32c62abeb3 qwt-qt5: fix build with Qt 5.15
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-14 13:51:28 +02:00
Khem Raj
44fc90eeca gstreamer1.0-plugins-good: Reemove inserting qt5 from packageconfig
layers are usually supposed to be inert, but this option automatically
inserts itself without any changes due to this bbappend. Its best to
leeave this option to end user to enable, defaults are to disable it and
let it be as it is.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13 13:45:39 +02:00
Martin Jansa
02930760c8 qtmultimedia: create /usr/lib/plugins/videoeglvideonode referenced by Qt5MultimediaConfig.cmake
* using Qt5MultimediaConfig.cmake fails with error bellow, temorary fix that by
  creating empty directory

CMake Error at /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:31 (message):
  The imported target "Qt5::Multimedia" references the file

     "/OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/plugins/videoeglvideonode"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVideoNodeFactory_EGL.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:244 (_qt5_Multimedia_check_file_exists)
  /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVideoNodeFactory_EGL.cmake:5 (_populate_Multimedia_plugin_properties)
  /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:253 (include)
  CMakeLists.txt:43 (find_package)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-07 19:32:08 +02:00
Martin Jansa
b8bcf8cb57 qt5: upgrade to 5.15 beta3
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-06 20:38:49 +02:00
Martin Jansa
eac416fea1 qtdeclarative: bump SRCREV
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-06 16:52:46 +02:00
Martin Jansa
6558d2b51c nativesdk-qtbase: fix unpackaged files
* fixes:
ERROR: nativesdk-qtbase-5.14.99+5.15-beta2+gitAUTOINC+f515ca5dcd-r0 do_package: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped in any package:
  /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/metatypes
  /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/metatypes/qt5core_metatypes.json
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nativesdk-qtbase: 2 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-03 20:14:36 +02:00
Martin Jansa
6b2323f39b qtwebengine: update patches for beta2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-03 14:27:39 +02:00
Martin Jansa
20ae10f00f qt5: upgrade to 5.15 beta2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-03 14:20:48 +02:00
Martin Jansa
a01de873e2 qtwebengine: fix QT_MODULE_BRANCH_CHROMIUM
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-02 21:00:44 +02:00
Khem Raj
b88c292af8 qtquick3d: Fix branch for fetching assimp submodule
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-30 16:23:34 +02:00
Martin Jansa
df67d5a7f0 qt3d: update patch to apply
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-26 23:05:53 +01:00
Martin Jansa
a38953a6e9 qt5: upgrade to latest revisions in 5.15 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
9a645b029a qtwebengine: update patches for latest 5.15 revision
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
6cce9817bd qtwebengine: update patches for 5.15
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
50e35581d7 qtbase: update patches for latest 5.15 revision
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
9f024a55b1 qtdeclarative: add dependency on qtdeclarative-native
* fixes:
  | /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot-native/usr/bin/qmake -install qinstall /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/build/src/qml/qt5qml_metatypes.json ../../lib/metatypes/qt5qml_metatypes.json
  | /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot-native/usr/bin/qmltyperegistrar --generate-qmltypes=plugins.qmltypes --import-name=QtQml --major-version=2 --minor-version=15 --foreign-types=/OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot/usr/lib/metatypes/qt5network_metatypes.json,/OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot/usr/lib/metatypes/qt5core_metatypes.json --dependencies=/OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/git/src/qml/dependencies.json --private-includes -o qt5qml_qmltyperegistrations.cpp qt5qml_metatypes.json
  | make[2]: /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot-native/usr/bin/qmltyperegistrar: Command not found
  | make[2]: *** [Makefile:1680: qt5qml_qmltyperegistrations.cpp] Error 127
  | make[2]: *** Waiting for unfinished jobs....
  | make[2]: Leaving directory /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/build/src/qml
  | make[1]: *** [Makefile:102: sub-qml-make_first-ordered] Error 2
  | make[1]: Leaving directory /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/build/src
  | make: *** [Makefile:50: sub-src-make_first] Error 2
  | WARNING: exit code 1 from a shell command.
  |
  NOTE: recipe qtdeclarative-5.14.99+gitAUTOINC+f7647d5ada-r0: task do_compile: Failed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
76125ba8c6 qt5.inc: package metatypes files
* enabled since qtbase commit:
  commit c5e9d7e504172707f7705d03ae27006c45eb5eac
  Author: Ulf Hermann <ulf.hermann@qt.io>
  Date:   Wed Aug 28 16:09:25 2019 +0200

    Generate metatypes.json for QtCore, QtGui, and QtWidgets

    These libraries contain types which are exposed to QML from
    qtdeclarative.

    Change-Id: Ie0edaef94fcb40074b6f6b2ea1a1c3a77ed3e9a9
    Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>

* fixes:
  ERROR: qtbase-5.14.99+gitAUTOINC+2e7a28958d-r0 do_package: QA Issue: qtbase: Files/directories were installed but not shipped in any package:
  /usr/lib/metatypes
  /usr/lib/metatypes/qt5gui_metatypes.json
  /usr/lib/metatypes/qt5core_metatypes.json
  /usr/lib/metatypes/qt5widgets_metatypes.json
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  qtbase: 4 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
f337995172 qtbase: drop xkb, xcb-xinput PACKAGECONFIGs
* removed from qtbase in:
  commit 60588e1a5dd9b10803e078c741271cbe5713a51b
  Author: Gatis Paeglis <gatis.paeglis@qt.io>
  Date:   Tue Feb 19 10:09:19 2019 +0100

    3rdparty: remove xcb libs and bump minimal required version to 1.11

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
444053735f qt5: upgrade to latest revisions in 5.15 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
5e18973196 layer: Mark dunfell as the only compatible release
* there are couple things people need to provide to even parse
  meta-qt5 dunfell branch with older than dunfell release of oe-core
  so I don't want to mark it as compatible, people who understand how
  to provide these missing bits will know how to override
  LAYERSERIES_COMPAT_qt5-layer from their own layer (which needs to
  be parsed before meta-qt5 layer - I suggest to use something like
  separate meta-qt5-compat layer)

  the required work arounds (these are the examples to build dunfell
  branch from zeus:

  1) mime-xdg.bbclass, e.g.:
  e57440cb97
  2) gstreamer1.0-plugins-good PACKAGECONFIG:
  75fd06799b
  3) meta-python2:
  57f3f6f20b
  4) features_check.bbclass:
  fb3e94ba4a

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 17:59:22 +01:00
Andreas Müller
3e759d8277 qtwebengine: Fix build with ninja >= 1.10.0
* For now just skip version check. Looked into: ninja came from meta-oe to
  oe-core with:
  commit fc3aef67a95a90e9a485c6b0e93db8cdeab5d3ab
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Thu Jul 27 21:52:12 2017 -0700

      ninja: Add recipe

      llvm is using it, therefore move it from meta-oe

      Signed-off-by: Khem Raj <raj.khem@gmail.com>

  That was in rocko release cycle. So the assumption we have a ninja decent
  enough should be acceptable.

* and since the upgrade to ninja-1.10.0 in:
  commit d1cd957cea29f3ab111ae752bc9ad75a1324c255
  Author: Upgrade Helper <auh@auh.yoctoproject.org>
  Date:   Fri Feb 21 14:45:35 2020 -0800

    ninja: upgrade 1.9.0 -> 1.10.0

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

  the do_configure task fails with:
  | ERROR: Feature 'webengine-system-ninja' was enabled, but the pre-condition 'tests.webengine-ninja' failed.

* Looked into qtwebengine current dev branch: There is no solution yet. So as
  soon as upstream offers a better solution most likely this patch will not
  apply any more and has to be removed then.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-03-13 12:07:25 +01:00
Artem Panfilov
f712bf9f88 python-pyqt5: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
2020-03-13 08:20:38 +01:00
Artem Panfilov
79b0f3a605 python-pyqtchart: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
2020-03-13 08:19:55 +01:00
Khem Raj
34ae49f890 qtmultimedia: Enable gstreamer support
This helps qt5everywheredemo to play sample videos

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 08:14:01 +01:00
Khem Raj
108b566417 gstreamer1.0-plugins-good: Turn on qt5 packageconfig
qt5 is already defined in oe-core, therefore no need to define it here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 08:14:01 +01:00
Khem Raj
4b6ce100f7 qt5-creator: Inherit mime-xdg
Fixes QA warning
ERROR: QA Issue: package contains desktop file with key 'MimeType' but does not inhert mime-xdg: qt5-creator path '/work/cortexa7t2hf-neon-vfpv4-yoe-linux-musleabi/qt5-creator/4.9.2+gitAUTOINC+8181363fa9-r0/packages-split/qt5-creator/usr/share/applications/org.qt-project.qtcreator.desktop' [mime-xdg]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 08:14:01 +01:00
Martin Jansa
89de99e7e2 python-{pyqt5,pyqtchart}: fold .inc file into .bb
* drop 2nd DEPENDS assignment from python-pyqtchart.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 20:19:38 +01:00
Martin Jansa
5d79044938 python-pyqt5: drop python 2 recipe
* sip-native was already removed from meta-oe and wasn't resurected in meta-python2
  so even with meta-python2 layer included this recipe cannot be built:

  ERROR: Nothing PROVIDES 'sip' (but /OE/build/oe-core/meta-qt5/recipes-python/pyqt5/python-pyqt5_5.13.2.bb DEPENDS on or otherwise requires it). Close matches:
    sip3
  ERROR: Required build target 'python-pyqt5' has no buildable providers.
  Missing or unbuildable dependency chain was: ['python-pyqt5', 'sip']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 20:15:30 +01:00
Martin Jansa
b2a958a4cd python-pyqt5: disable whole PyQt_OpenGL and QtWidgets, QtQuickWidgets, QtQuick modules without opengl in DISTRO_FEATURES
* fixes:
  sip: QOpenGLFramebufferObject is undefined
  in default nodistro setup without opengl in DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 19:59:08 +01:00
Khem Raj
abb423512d qtwebview: Skip if meta-python is not present
It needs qtwebengine which needs python2 so skip it when python2 is not
present

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-19 11:16:30 +01:00
Adrian Fiergolski
caf09cd53c Add PyQtChart.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-02-06 14:01:49 +01:00
Nicola Lunghi
f18d5948bb qtbase: fix build with platform where FE macro are not defined
see added patch

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
2020-02-06 14:00:41 +01:00
Andreas Müller
c8cd55b030 qtwebkit: build with python3
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-02-06 13:59:16 +01:00
Khem Raj
0bbd0ebe27 qtwebengine: Link libatomic on x86/32bit
Fixes CAS link errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-03 13:40:15 +01:00
Martin Jansa
239147405e Revert "qtwebkit: remove"
This reverts commit a35403dcf6.

But keep the dependency from packagegroup-qt5-toolchain-target, qt5-creator
removed as most people won't really need this. Andreas and meta-qt5-extra
still need qtwebkit as reported here:
https://github.com/meta-qt5/meta-qt5/pull/273#issuecomment-578536852

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-03 13:38:06 +01:00
Martin Jansa
8cadcbcb52 qt5: upgrade to 5.14.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-27 14:36:20 +01:00
Martin Jansa
f13a3cec17 packagegroup-qt5-toolchain-target: Use TUNE_PKGARCH instead of MACHINE_ARCH
* it was changed to MACHINE_ARCH in:
  commit 0d88f4488f (marc-cpdesign/master-next, marc-cpdesign/jansa/master)
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Thu Dec 5 11:31:27 2019 -0800

    packagegroup-qt5-toolchain-target: Make machine specific

    We want to deploy arch specific overrides

    Signed-off-by: Khem Raj <raj.khem@gmail.com>

* but TUNE_PKGARCH qt5-creator has packagegroup-qt5-toolchain-target in
  RRECOMMENDS_${PN} causing:

   === Comparing signatures for task do_package_write_ipk.sigdata between tissot and mido ===
  ERROR: qt5-creator different signature for task do_package_write_ipk.sigdata between tissot and mido
  NOTE: Starting bitbake server...
  Hash for dependent task packagegroups/packagegroup-qt5-toolchain-target.bb:do_packagedata changed from f8a21ed2c484abfbadae768ec9a2e04883e80fe7ac32f7eaf442f12b4cd1b65b to bd700f438812693132a93e88c2518c81818d89856d8793b8eae479dc7a180b68
  Unable to find matching sigdata for /home/jenkins/workspace/luneos-testing/webos-ports/meta-qt5/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb:do_packagedata with hashes f8a21ed2c484abfbadae768ec9a2e04883e80fe7ac32f7eaf442f12b4cd1b65b or bd700f438812693132a93e88c2518c81818d89856d8793b8eae479dc7a180b68

  ERROR: 1 errors found in /home/jenkins/workspace/luneos-testing/webos-ports/tmp-glibc/sstate-diff/1579172712/signatures.mido.do_package_write_ipk.sigdata.log

* use TUNE_PKGARCH to match qt5-creator while still allowing arch
  specific overrides

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 12:27:15 +01:00
Martin Jansa
a35403dcf6 qtwebkit: remove
* it wasn't updated for very long time and I assume that all users already migrated to qtwebengine
  if not let me know that you'll start maintaining this recipe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:57:45 +01:00
Martin Jansa
a797f85c6f python-pyqt5, qtwebengine, qtwebkit, qt-kiosk-browser: skip without meta-python2
Neither of these actually builds with python3, skip them when
meta-python2 isn't included until real fix is available.

qtwebkit might not get the support for python3 at all

qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2

python-pyqt5 is already blacklisted because of sip

qtwebengine with python3 shows in log.do_configure that it won't actually
build qtwebengine, but it doesn't fail. do_compile fails but with a bit
misleading error:

ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed
ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1:
cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden' -after ) && make -f Makefile
make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:295: recipe for target 'errorbuild' failed
make[1]: *** [errorbuild] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:57:37 +01:00
Martin Jansa
b1f4f1fdd0 Revert "recipes: Use python3 during build"
This reverts commit 47fb26dedd.

Neither of these actually builds with python3, it's good fix to
start parsing the layer again, but better to just skip them when
meta-python2 isn't available until real fix is available.

qtwebkit might not get the support for python3 at all

qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2

python-pyqt5 is already blacklisted because of sip

qtwebengine with python3 shows in log.do_configure that it won't actually
build qtwebengine, but it doesn't fail. do_compile fails but with a bit
misleading error:

ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed
ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1:
cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden' -after ) && make -f Makefile
make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:295: recipe for target 'errorbuild' failed
make[1]: *** [errorbuild] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:56:35 +01:00
Khem Raj
47fb26dedd recipes: Use python3 during build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-20 10:42:50 +01:00
Khem Raj
4060f68d52 qt-kiosk-browser: Only support arm/x86
Since it depends on qtwebengine and qtwebengine only supports these
arches

Fixes
executing config test webengine-arch-support
Architecture not supported.
test config.qtwebengine_buildtools.tests.webengine-arch-support FAILED

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 01:30:32 +01:00
Khem Raj
fd376e159d qtwebengine: Fix missing headers found in build with clang
Fixes
chromium/third_party/perfetto/include/perfetto/base/task_runner.h:48:55: error: unknown type name 'uint32_t'
|   virtual void PostDelayedTask(std::function<void()>, uint32_t delay_ms) = 0;

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 00:20:58 +01:00