2016-03-21 9 views
1

ich diese Zeilen in den Qt WebEngine 5.5 and 5.6 recipeQt WebEngine 5.6 Rezept do_install

gefunden Qt Web-Engine für 5.6 kompilieren zu machen, musste ich diese Zeilen löschen. Da ich keine Ahnung habe, warum qtwebengine-qmlplugins, qtwebengine-plugins und qtwebengine-Beispiele alle aus dem Build verschwunden sind. Also wenn diese Zeilen versuchen, die Dateien aus den Plugin-Verzeichnissen zu entfernen. Es gibt Fehler zurück.

Könnte jemand erklären, was sie bedeuten? vor allem die sed eins. Und was ist mit den Qtwebengine Plugins, qmlplugins und Beispielen in Qt WebEngine 5.6 passiert?

do_install_append() { 
    rmdir ${D}${OE_QMAKE_PATH_PLUGINS}/${BPN} ${D}${OE_QMAKE_PATH_PLUGINS} || true 
    sed -i '[email protected] -Wl,--start-group.*-Wl,[email protected]@g; [email protected]${B}[^ ]* @ @g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc 
} 

bearbeiten: Dies ist der Fehler aus der Zusammenstellung

ERROR: Function failed: do_install (log file is located at /mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/temp/log.do_install.3412) 
ERROR: Logfile of failure stored in: /mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/temp/log.do_install.3412 
Log data follows: 
| DEBUG: Executing shell function do_install 
| NOTE: make -j 32 MAKEFLAGS=-j 32 OE_QMAKE_COMPILER=arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/sysroots/hio-imx6dl-board OE_QMAKE_CC=arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/sysroots/hio-imx6dl-board OE_QMAKE_CXX=arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/sysroots/hio-imx6dl-board OE_QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types OE_QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden OE_QMAKE_LINK=arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/sysroots/hio-imx6dl-board OE_QMAKE_LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed OE_QMAKE_AR=arm-poky-linux-gnueabi-ar OE_QMAKE_STRIP=echo OE_QMAKE_WAYLAND_SCANNER=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner OE_QMAKE_INCDIR_QT=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/sysroots/hio-imx6dl-board//usr/include/qt5 install INSTALL_ROOT=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/image 
| make: Nothing to be done for `install'. 
| rmdir: failed to remove '/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/image/usr/lib/qt5/plugins/qtwebengine': No such file or directory 
| rmdir: failed to remove '/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/image/usr/lib/qt5/plugins': No such file or directory 
| sed: can't read /mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory 
| WARNING: exit code 2 from a shell command. 
| ERROR: Function failed: do_install (log file is located at /mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/temp/log.do_install.3412) 
ERROR: Task 1523 (/mountdata/hio-yocto-bsp/qt5jethro/sources/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb, do_install) failed with exit code '1' 
NOTE: Tasks Summary: Attempted 5404 tasks of which 5363 didn't need to be rerun and 1 failed. 
No currently running tasks (5404 of 5417) 

bearbeiten: Ich fand heraus, dass es eine zusätzliche /.../hio-imx6dl-board//usr/include.... Ich habe die / in OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' entfernt, aber immer noch den gleichen Fehler oben.

OE_QMAKE_INCDIR_QT=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/sysroots/hio-imx6dl-board//usr/include/qt5 install INSTALL_ROOT=/mountdata/hio-yocto-bsp/qt5jethro/qt5/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/image 
+0

Könnten Sie Ihr die Protokolle aus dem ausgefallenen Build teilen? Für mich sieht es so aus, als ob keine der beiden Zeilen in 'do_install_append()' den Build fehlschlagen lassen sollte. – Anders

+0

Ich habe das Protokoll hinzugefügt. Sie konnten sehen, dass es bei rmdir und sed gescheitert ist. was ist von der do_install_append(). Auch in den 5.6-Builds fehlen qmlplugins und plugins sowie qtwebengine-Bibliotheken. –

+1

Oh, ich habe gerade gemerkt, dass das make "install" auch gescheitert ist ... Was passiert hier ..? –

Antwort

0

Dieser Fehler tritt wegen fehlender dbus, mehrere Lösungen möglich:

  1. Add dbus zu Ihrem Bild.
  2. Add Linie qtwebengine_git.bb: DEPENDS += "dbus"