msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.25k stars 1.21k forks source link

mingw-w64-x86_64-cython: sed error #5109

Closed sdbbs closed 4 years ago

sdbbs commented 5 years ago

Very similar error to: mingw-w64-x86_64-python2-setuptools: sed error · Issue #22 · msys2/MINGW-packages

$ pacman -S mingw-w64-x86_64-cython
resolving dependencies...
looking for conflicting packages...

Packages (6) mingw-w64-x86_64-python3-appdirs-1.4.3-3
             mingw-w64-x86_64-python3-packaging-19.0-1
             mingw-w64-x86_64-python3-pyparsing-2.3.1-1
             mingw-w64-x86_64-python3-setuptools-40.8.0-1
             mingw-w64-x86_64-python3-six-1.12.0-1
             mingw-w64-x86_64-cython-0.29.6-1

Total Download Size:    2.52 MiB
Total Installed Size:  12.86 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 mingw-w64-x86_64-py...   116.1 KiB   866K/s 00:00 [#####################] 100%
 mingw-w64-x86_64-py...    38.1 KiB  37.3M/s 00:00 [#####################] 100%
 mingw-w64-x86_64-py...    51.3 KiB  16.7M/s 00:00 [#####################] 100%
 mingw-w64-x86_64-py...    29.4 KiB  28.7M/s 00:00 [#####################] 100%
 mingw-w64-x86_64-py...   363.1 KiB  2.45M/s 00:00 [#####################] 100%
 mingw-w64-x86_64-cy...  1978.6 KiB  5.34M/s 00:00 [#####################] 100%
(6/6) checking keys in keyring                     [#####################] 100%
(6/6) checking package integrity                   [#####################] 100%
(6/6) loading package files                        [#####################] 100%
(6/6) checking for file conflicts                  [#####################] 100%
(6/6) checking available disk space                [#####################] 100%
:: Processing package changes...
(1/6) installing mingw-w64-x86_64-python3-pypa...  [#####################] 100%
(2/6) installing mingw-w64-x86_64-python3-six      [#####################] 100%
(3/6) installing mingw-w64-x86_64-python3-pack...  [#####################] 100%
(4/6) installing mingw-w64-x86_64-python3-appdirs  [#####################] 100%
(5/6) installing mingw-w64-x86_64-python3-setu...  [#####################] 100%
/
sed: can't read mingw64/bin/easy_install-3.7-script.py: No such file or directory
error: command (/usr/bin/bash /usr/bin/bash -c . /tmp/alpm_e943h4/.INSTALL; post_install 40.8.0-1 ) failed to execute correctly
Optional dependencies for mingw-w64-x86_64-python3-setuptools
    mingw-w64-x86_64-python2-certifi: Mozilla's CA Bundle support
    mingw-w64-x86_64-python2-wincertstore: Windows' cert store support
(6/6) installing mingw-w64-x86_64-cython           [#####################] 100%
/
sed: can't read mingw64/bin/cython-script.py: No such file or directory
sed: can't read mingw64/bin/cythonize-script.py: No such file or directory
sed: can't read mingw64/bin/cygdb-script.py: No such file or directory
error: command (/usr/bin/bash /usr/bin/bash -c . /tmp/alpm_OvF2Bn/.INSTALL; post_install 0.29.6-1 ) failed to execute correctly

Strange thing is, I do have this file:

$ ls -la /mingw64/bin/easy_install-3.7-script.py
-rwxr-xr-x 1 user None 412 Feb  8 05:57 /mingw64/bin/easy_install-3.7-script.py

.. so seemingly, what is missing is a leading slash, so mingw64/bin/easy_install-3.7-script.py -> /mingw64/bin/easy_install-3.7-script.py?

danyeaw commented 5 years ago

Closed by #5114

revelator commented 5 years ago

A lot of other packages also have this problem :(

danyeaw commented 5 years ago

@revelator is there a list of packages you are still having issues with? In #5114 I updated 246 files, most of them install files for Python packages. I could have missed one, but those were all the ones I found when I did a search through the repository.

revelator commented 5 years ago

Not home atm. But it was indeed a bunch of the python packages that yielded problems. There where a few other packages that also had this problem though, ill make a list when i get home.

lazka commented 5 years ago

Is this resolved now?

lazka commented 4 years ago

I assume it is. If not please file a new issue, thanks!