Bug 12456 - qtvirtualkeyboard: No such file or directory
Summary: qtvirtualkeyboard: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2019.11
Hardware: PC Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-11 22:48 UTC by Sam Petrocelli
Modified: 2020-01-17 20:55 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments
Comparing the output of an older version of buildroot (approx two years old) with 2019.11 (2.00 KB, text/plain)
2020-01-11 22:48 UTC, Sam Petrocelli
Details
the .config file used to produce the error (65 bytes, text/plain)
2020-01-13 03:00 UTC, Sam Petrocelli
Details
make output showing error (65 bytes, text/plain)
2020-01-13 03:04 UTC, Sam Petrocelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Petrocelli 2020-01-11 22:48:43 UTC
Created attachment 8331 [details]
Comparing the output of an older version of buildroot (approx two years old) with 2019.11

>>> qt5virtualkeyboard 5.12.5 Installing to target
mkdir -p /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/target/usr/lib/qt/plugins/platforminputcontexts
cp -dpfr /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/target/usr/lib/qt/plugins/platforminputcontexts
cp -dpf /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libQt5VirtualKeyboard*.so.* /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/target/usr/lib
mkdir -p /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/target/usr/qml/QtQuick
cp -dpfr /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/qml/QtQuick/VirtualKeyboard /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/target/usr/qml/QtQuick/
cp -dpfr /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/qtvirtualkeyboard /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/target/usr
cp: cannot stat '/home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/qtvirtualkeyboard': No such file or directory
make[1]: *** [package/pkg-generic.mk:335: /home/spetroce/code/src/Buildroot-Toolchain-Release/Toolchain/morepork-build-root/output/build/qt5virtualkeyboard-5.12.5/.stamp_target_installed] Error 1
make: *** [Makefile:84: _all] Error 2


Commenting the following lines within qt5virtualkeyboard.mk results in a successful build.

ifdef QT5VIRTUALKEYBOARD_3RDPARTY_PARTS
define QT5VIRTUALKEYBOARD_INSTALL_TARGET_3RDPARTY_PARTS
  cp -dpfr $(STAGING_DIR)/usr/qtvirtualkeyboard $(TARGET_DIR)/usr
endef
endif

I have the following set in my defconfig file:
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5BASE_EGLFS=y
BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs"
BR2_PACKAGE_QT5BASE_GIF=y
BR2_PACKAGE_QT5BASE_JPEG=y
BR2_PACKAGE_QT5BASE_PNG=y
BR2_PACKAGE_QT5GRAPHICALEFFECTS=y
BR2_PACKAGE_QT5MULTIMEDIA=y
BR2_PACKAGE_QT5QUICKCONTROLS2=y
BR2_PACKAGE_QT5TOOLS=y
BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS=y
BR2_PACKAGE_QT5VIRTUALKEYBOARD=y
BR2_PACKAGE_QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS="all"

I have no problems with this on an older version (it's a fork of buildroot that is approximately 2 years old) of buildroot, but when using the 2019.11 branch I run into the error described above. I attached a text file that contains a find output for the qtvirtualkeyboard dict files on both the older and 2019.11 buildroots.
Comment 1 Peter Seiderer 2020-01-12 15:07:44 UTC
Please provide a complete .config (or defconfig) file with which you can reproduce the failure (against buildroot-2019.11 or git master) with a complete build (make clean && make qt5virtualkeyboard)...
Comment 2 Sam Petrocelli 2020-01-13 03:00:30 UTC
Created attachment 8336 [details]
the .config file used to produce the error
Comment 3 Sam Petrocelli 2020-01-13 03:04:30 UTC
Created attachment 8341 [details]
make output showing error
Comment 4 Sam Petrocelli 2020-01-13 03:21:15 UTC
To produce the above two attached files, I started completely clean and I just built with only the basic options selected (not with the settings I posted in the original post). Kernel, arm, toolchain, qt5, qt5virtualkeyboard... I still get the same error.
Comment 5 Peter Seiderer 2020-01-13 08:41:35 UTC
Should be fixed with [1], thanks for reporting!

[1] https://patchwork.ozlabs.org/patch/1222016
Comment 6 Yann E. MORIN 2020-01-17 20:55:28 UTC
Fixed by https://git.buildroot.org/buildroot/commit/?id=3645f89922c70b9ebbf31926e6dc7cbbffe2b47a

Thanks both for the report and the fix. :-)