0001-configure-skip-qtdetail.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 7ed5e15f2de747e383ba7eee66b646a7a66e6654 Mon Sep 17 00:00:00 2001
  2. From: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
  3. Date: Wed, 29 Dec 2021 12:30:12 -0800
  4. Subject: [PATCH] Do not run qtdetail
  5. qtdetail is a tool that generates qtdetail.out. Since this program is
  6. cross-compiled, it's not possible to run it on the host.
  7. Consequently, python-pyqt5.mk generates the qtdetail.out file before
  8. calling configure.py.
  9. Therefore, this patch makes sure that the pre-generated qtdetail.out
  10. file is kept, and that qtdetail is not executed.
  11. Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
  12. Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
  13. Signed-off-by: Adam Duskett <aduskett@gmail.com>
  14. Refresh for 5.15.6
  15. diff --git a/configure.py b/configure.py
  16. index daa0f94..32f5b21 100644
  17. --- a/configure.py
  18. +++ b/configure.py
  19. @@ -2455,10 +2455,6 @@ def run_test_program(mname, test, verbose):
  20. out_file = 'cfgtest_' + mname + '.out'
  21. - # Create the output file, first making sure it doesn't exist.
  22. - remove_file(out_file)
  23. - run_command(test + ' ' + out_file, verbose)
  24. -
  25. if not os.access(out_file, os.F_OK):
  26. error("%s failed to create %s. Make sure your Qt installation is correct." % (test, out_file))
  27. --
  28. 2.33.1