1Do not run qtdetail 2 3qtdetail is a tool that generates qtdetail.out. Since this program is 4cross-compiled, it's not possible to run it on the host. 5 6Consequently, python-pyqt5.mk generates the qtdetail.out file before 7calling configure.py. 8 9Therefore, this patch makes sure that the pre-generated qtdetail.out 10file is kept, and that qtdetail is not executed. 11 12Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> 13Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com> 14--- 15Index: PyQt5_gpl-5.7/configure.py 16=================================================================== 17--- PyQt5_gpl-5.7.orig/configure.py 18+++ PyQt5_gpl-5.7/configure.py 19@@ -672,10 +672,6 @@ int main(int argc, char **argv) 20 if cmd is None: 21 error("Failed to determine the detail of your Qt installation. Try again using the --verbose flag to see more detail about the problem.") 22 23- # Create the output file, first making sure it doesn't exist. 24- remove_file(out_file) 25- run_command(cmd, verbose) 26- 27 if not os.access(out_file, os.F_OK): 28 error("%s failed to create %s. Make sure your Qt installation is correct." % (cmd, out_file)) 29 30