Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1545 msys.bat missing in default install

MSYS
pending
Cesar Strauss
None
Task
none
Unknown
False
2013-02-08
2011-05-19
Earnie Boyd
No

To demonstrate this bug create an empty directory, I'll call it c:\foo. Extract the mingw-get-0.2-mingw32-alpha-4-bin.zip file into c:\foo. Change directory to c:\foo\bin and execute mingw-get update followed by mingw-get install msys-bash. Change directory to c:\foo\msys\1.0 and you will see that there is no msys.bat file.

Discussion

  • Keith Marshall
    Keith Marshall
    2011-05-20

    On the basis of current dependency rules, this is correct.

    My current installation manifest has msys.bat recorded as installed by msys-core-ext, which is NOT a prerequisite for free-standing msys-bash; however, it IS a prerequisite for msys-base. Did you, perhaps, intend to

    mingw-get install msys-base

    rather than

    mingw-get install msys-bash

    ?

    IMO, the current configuration is correct; msys.bat is not required to run an isolated free-standing msys-bash. Thus, this is not a bug; it is by design. If you want a complete basic MSYS installation, msys-base and NOT msys-bash is the package to install.

     
  • Earnie Boyd
    Earnie Boyd
    2011-05-20

    I disagree and think msys-base should be a dependency to all other msys-* packages. I intentionally chose msys-bash because I assumed it would give me a minimal system after trying ``mingw-get install msys'' didn't work; which is a different issue.

     
  • Keith Marshall
    Keith Marshall
    2011-05-20

    So, we disagree. That's fine; we won't always agree on everything :-)

    However, msys-base is a meta-package, designated to reproduce the features provided by the old bundled .exe MSYS installers. As a meta-package, NOTHING else should depend on it. EVER.

    In fact, if you want an absolute minimal installation, msys-tiny is the package to go for. This is also a meta-package, so again, NOTHING should depend on it either. The common dependency is msys-core, which itself is subdivided into msys-core-bin, (on which ALL other MSYS packages DO correctly depend), and msys-core-ext, which provides some extra functionality; (msys-base requires it; msys-tiny does not).

    Now, your issue really boils down to "should msys.bat be included in a minimal installation"? (i.e. should msys-tiny require it). IMO, it should not, because it isn't really essential; (I haven't used it for years, preferring to let Console2 start the shell directly by invoking 'sh.exe --login -i' via its configuration file). But in reality, this is a packaging issue. If you can convince Cesar and Chuck that msys.bat should be moved from msys-core-ext to msys-core-bin, then although I don't agree with you, I'll go along with it.

     
  • Cesar Strauss
    Cesar Strauss
    2011-10-12

    We always discourage running MSYS command-line tools directly from cmd.exe. In that sense, we can think of msys.bat being a requirement of every command-line tool in MSYS. What do you think?

    Cesar

     
  • Earnie Boyd
    Earnie Boyd
    2011-10-13

    msys.bat's purpose is to start sh.exe so it is more a dependency of bash. It certainly isn't a dependency of every command-line tool in MSYS. Bash on the other hand, while it isn't directly, could be considered a dependency of every command-line tool in MSYS.

     
  • Earnie Boyd
    Earnie Boyd
    2013-02-08

    • labels: MSYS -->
    • status: open --> pending
    • milestone: --> MSYS
    • type: --> Task
    • resolution: --> none
    • category: --> Unknown
    • patch_attached: --> False
     
  • Earnie Boyd
    Earnie Boyd
    2013-02-08

    Ping.