Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with new installer msys2-x86_64-20160921.exe #31

Closed
mausalimi opened this issue Sep 23, 2016 · 10 comments
Closed

problems with new installer msys2-x86_64-20160921.exe #31

mausalimi opened this issue Sep 23, 2016 · 10 comments

Comments

@mausalimi
Copy link

hello,
i'm facing some problems with the newest installer. what i do is

  • install msys2-x86_64-20160921.exe
  • either do a pacman -S mingw-w64-x86_64-toolchain or a pacman -S mingw-w64-x86_64-gcc

both fail with errors (many of them):
mingw-w64-x86_64-xxxxxxxxxxx: /mingw64 existiert im Dateisystem

but i don't see a mingw64 on that installation.

the same happens with pacman -S mingw-w64-i686-gcc, there i get mingw-w64-i686-xxxxxxxxxxx: /mingw32 existiert im Dateisystem

that said, i had absolutely no such issue with the older installer, that worked flawlessly with the same instructions.

@Alexpux
Copy link
Member

Alexpux commented Sep 23, 2016

Is your MSYS2 installation on disk with NTFS partition?

@mausalimi
Copy link
Author

yes, this is the case.

/offtopic: this must have been the fastest response i ever got. :)

@Alexpux
Copy link
Member

Alexpux commented Sep 23, 2016

Well pass "--force" to pacman to workaround this

@mausalimi
Copy link
Author

uh, that does the trick. simple as that.

sorry for this.

@selay01
Copy link

selay01 commented Sep 24, 2016

I solved the problem by manually creating /mingw32 and /mingw64 directories in windows explorer.
but why the bash give the confused infomation?!!!!!

@kmod-midori
Copy link

That's probably because there's a mingw64.exe, however extension was ignored.

@achadwick
Copy link

It's nothing to to with mingw64.exe or mingw64.ini existing, as they indeed do.

Per #27 (comment), the filesystem package is being omitted in the current installer. I think that's deliberate, but @Alexpux @elieux please confirm.

Installer msys2-x86_64-20160921.exe and its current instructions do not install filesystem, and this causes problems for users when we tell them to "just" install MSYS2 and "just" the packages we need. Without filesystem (or manual creation), /mingw64 and /mingw32 don't exist, which causes native installers to fail outright.

Requiring --force is IMO not a solution. Please make the instructions match the installer, and let's make the combination deliver a system on which our users can deploy native packages for testing.

achadwick added a commit to achadwick/msys2.github.io that referenced this issue Oct 10, 2016
Closes msys2#31 by making the instructions match installer msys2-*-20160921.exe
@elieux
Copy link
Member

elieux commented Oct 11, 2016

@achadwick

It's not that filesystem is missing, it's that it doesn't contain /mingw32 and /mingw64. The latest filesystem package (uploaded to repo) has them, but not the version in the installer.

Existence of these directories will disable the /mingwXX <-> /mingwXX.exe shadowing and let pacman install everything correctly. Doing mkdir -p /mingw{32,64} is definitely a better fix than passing --force to pacman.

@Smasherr
Copy link

This also concerns another mingw64 packages: mingw-w64-x86_64-libpng, mingw-w64-x86_64-SDL_ttf and mingw-w64-x86_64-SDL_mixer. Or even maybe all of them. mkdir -p /mingw{32,64} helped me a lot, thanks!

@elieux
Copy link
Member

elieux commented Feb 2, 2017

Should be fixed now, I hope.

@elieux elieux closed this as completed Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants