MSYS2-packages icon indicating copy to clipboard operation
MSYS2-packages copied to clipboard

Installing binutils always can't create items

Open aviezab opened this issue 2 years ago • 10 comments

Condition: Fresh Installation OS: Windows 11-dev

Hi There when do pacman -S binutils return error like this:

warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/ld.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/ld.exe') image

Even I ran the MSYS2 terminal with admin privileges. I need to use ld.exe to compile something.

NOTE: I copied ld.exe manually from other MINGW installation folder (not from MSYS2 setup), and compilation succeed. So this is either msys-pacman bug or something.

Thanks

aviezab avatar Aug 21 '21 18:08 aviezab

Make sure any antivirus or antimalware software is not interfering with the installation process. And yes, including Microsoft's own Windows Defender.

Biswa96 avatar Aug 21 '21 18:08 Biswa96

Make sure any antivirus or antimalware software is not interfering with the installation process. And yes, including Microsoft's own Windows Defender.

I've excluded entire MSYS folder. If You look the error carefully they just can't create some files (?)

Will try totally turn off the MS Defender and report back.

aviezab avatar Aug 21 '21 18:08 aviezab

I have turned Windows Security Off, still same issue. To reproduce the issue, I have uninstalled the binutils and install it again. image

aviezab avatar Aug 22 '21 04:08 aviezab

To anyone Who needs linker (ld.exe), I have provided it here: ld.zip

aviezab avatar Aug 22 '21 04:08 aviezab

Also in mingw-w64-{x86_64,i686}-binutils

xtexChooser avatar Sep 12 '21 06:09 xtexChooser

image

xtexChooser avatar Sep 12 '21 06:09 xtexChooser

also error in gawk and perl!(in group base-devel) image

image

xtexChooser avatar Sep 12 '21 06:09 xtexChooser

It may because FATFS? I reinstalled msys in NTFS drive and all packages works GOOD!~~~~~Whooo! image

(Note: Too many problems on fatfs in windows, gradle(gradle/gradle#17612), msys2 are both error and no symbol links on FATFS, may I switch to NTFS fully?)

xtexChooser avatar Sep 12 '21 07:09 xtexChooser

@xtexChooser FAT fs not supported for MSYS2 installation. As I remember it described in wiki (that not reading by most users)

Alexpux avatar Sep 12 '21 07:09 Alexpux

@xtexChooser FAT fs not supported for MSYS2 installation. As I remember it described in wiki (that not reading by most users)

Aha.....Ye...Sooooooooorrrrrrrrrrrry for that

xtexChooser avatar Sep 12 '21 07:09 xtexChooser

This problem exists even now

MayerTsai avatar Dec 11 '22 03:12 MayerTsai