package/qt5/qt5declarative: fix parallel install
authorRomain Naour <romain.naour@gmail.com>
Tue, 26 May 2020 21:04:43 +0000 (23:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 28 May 2020 20:16:19 +0000 (22:16 +0200)
commita96277a93d36a1828de87b011022ae389a549cbd
tree468f1e3e6ec011a3960f5fc9b7f930ba02ed1cd3
parentfa96dfa6288652fedf650b1f6e39b4b1de0ef51b
package/qt5/qt5declarative: fix parallel install

Installing qt5declarative examples on fast/fast/multicore machines sometimes
failes with a variation of the following error messages:

 - Cannot touch [...]/chapter5-listproperties/app.qml: No such file or directory
 - Error copying [...]/chapter2-methods/app.qml: Destination file exists

Fix it by using OTHER_FILES instead of a seperate qml files install target
to fix the race between install_target, install_qml and install_sources.

Fixes:

 - https://gitlab.com/buildroot.org/buildroot/-/jobs/565470221

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Reworked patch and commit log]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5declarative/0002-examples-fix-parallel-install.patch [new file with mode: 0644]