Hi,

I'd like to rebuild the MSYS2 installer, e.g. msys2-i686-20141003.exe (with 
debugging enabled). Could anyone point me to to some Information on how to do 
that?

What I tried so far:

$ git clone https://github.com/Alexpux/MSYS2-packages

As MSYS2-packages/msys2-installer/make-msys2-installer.bat very much sounds 
like doing what I want, I tried:

D:\MSYS2-packages\msys2-installer> make-msys2-installer.bat d:\msys32

from a DOS box. This gives the following output (with English translations in 
brackets):

     ***********
     * Warning *
     ***********

     This batch file will sync (forcibly) the 'base' group of the MSYS2 
installation in 'd:\msys32'
     .. Do you want to proceed? J

     Updating 'base' group of the existing MSYS2 installation Creating new 
MSYS2 installation containing only 'base'
     Ein Unterverzeichnis oder eine Datei mit dem Namen 
"D:\MSYS2-packages\msys2-installer\newmsys\msys64\var\lib\pacman" existiert 
bereits.
     (A subdirectory or a file named 
"D:\MSYS2-packages\msys2-installer\newmsys\msys64\var\lib\pacman" already 
exists.) bin\bash -l -c "pacman -Syu --root 
D:/MSYS2-packages/msys2-installer/newmsys/msys64"
     Das System kann den angegebenen Pfad nicht finden.
     (The system cannot find the path specified.)

Is this the right way to rebuild the MSYS installer executable? If so, I had to 
fix the bash paths in make-msys2-installer.bat from bin/bash to usr/bin/bash, 
as bash is located there, at least in my MSYS2 installation.

But even with that fix, pacman fails:

D:\MSYS2-packages\msys2-installer>make-msys2-installer D:\msys32
     ...
     D:\msys32\usr\bin\bash -l -c "pacman -Syu --root 
D:/MSYS2-packages/msys2-installer/newmsys/msys64"
     :: Synchronizing package databases...
     error: failed to update mingw32 (unexpected system error)
     error: failed to update mingw64 (unexpected system error)
     error: failed to update msys (unexpected system error)
     error: failed to synchronize any databases
     error: failed to init transaction (unexpected system error)

Thanks for any help,

Chris


------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to