Uploaded image for project: 'ICU'
  1. ICU-20470

ICU4C 64.1 RC : MSYS2 + mingw-w64 : configuration fails (data/locales/resfiles.mk is missing)

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 64.1
    • Component/s: build_c
    • Labels:
      None

      Description

      Hello

      i've just tried to compile ICU4C 64.1 RC. I configure it like that :

      ./runConfigureICU MinGW --host=i686-w64-mingw32 --disable-tools
      --disable-tests --disable-samples
      

      I get a python error :

      FileNotFoundError: [Errno 2] No such file or directory: './data/locales/resfiles.mk'
      

      below is the complete log of the python calls.

      Is it a packaging problem ?

      thank you

      Vincent Torri

      Log :

      Spawning Python to generate data/rules.mk...
      Traceback (most recent call last):
      
        File "E:/Documents/programmes_x64/msys2/mingw32/lib/python3.7\runpy.py", line 193, in _run_module_as_main
      
          "__main__", mod_spec)
      
        File "E:/Documents/programmes_x64/msys2/mingw32/lib/python3.7\runpy.py", line 85, in _run_code
      
          exec(code, run_globals)
      
        File "E:/Documents/programmes_x64/msys2/opt/ewpi_32/share/ewpi/packages/icu_bootstrap/icu/source/data\buildtool\__main__.py", line 296, in <module>
      
          exit(main())
      
        File "E:/Documents/programmes_x64/msys2/opt/ewpi_32/share/ewpi/packages/icu_bootstrap/icu/source/data\buildtool\__main__.py", line 254, in main
      
          requests = BUILDRULES.generate(config, glob, common)
      
        File "E:/Documents/programmes_x64/msys2/opt/ewpi_32/share/ewpi/packages/icu_bootstrap/icu/source/data\BUILDRULES.py", line 48, in generate
      
          [])
      
        File "E:/Documents/programmes_x64/msys2/opt/ewpi_32/share/ewpi/packages/icu_bootstrap/icu/source/data\BUILDRULES.py", line 546, in generate_tree
      
          **common_vars
      
        File "E:/Documents/programmes_x64/msys2/mingw32/lib/python3.7\distutils\sysconfig.py", line 316, in parse_makefile
      
          fp = TextFile(fn, strip_comments=1, skip_blanks=1, join_lines=1, errors="surrogateescape")
      
        File "E:/Documents/programmes_x64/msys2/mingw32/lib/python3.7\distutils\text_file.py", line 100, in __init__
      
          self.open(filename)
      
        File "E:/Documents/programmes_x64/msys2/mingw32/lib/python3.7\distutils\text_file.py", line 115, in open
      
          self.file = io.open(self.filename, 'r', errors=self.errors)
      
      FileNotFoundError: [Errno 2] No such file or directory: './data/locales/resfiles.mk'
      
      configure: error: Python failed to run; see above error.
      ./runConfigureICU: ./configure failed
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                srl295 Steven R. Loomis
                Reporter:
                vincent.torri Vincent Torri
                Reviewer:
                Shane Carr
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: