#2150 bsdtar failure

INSTALLER
assigned
None
Bug
none
Known_bugs
False
2014-07-13
2013-12-21
Dani Moncayo
No

I've just installed MinGW with "mingw-get-setup", and I selected these packages in the installation wizard:
* mingw-developer-toolkit
* mingw32-base
* msys-base.

Now, from a bash session, I see that the "bsdtar" utility is installed:
$ type bsdtar
bsdtar is /bin/bsdtar

but when I try to execute it (without arguments) I see a popup window with the error message "The program can't start because msys-lzma-1.dll is missing from your computer. Try reinstalling the program to fix this problem."

Discussion

  • Keith Marshall
    Keith Marshall
    2013-12-21

    • status: unread --> assigned
    • assigned_to: Keith Marshall
    • Group: MSYS --> INSTALLER
    • Category: Unknown --> Known_bugs
     
  • Keith Marshall
    Keith Marshall
    2013-12-21

    Confirmed; this is reproduced here. It is a consequence of [#2063], for which I am still seeking a resolution. Unfortunately, bsdtar.exe depends on msys-lzma-1.dll, whereas lzma.exe and xz.exe (which are also installed) depend on msys-lzma-5.dll; since this is the newer release, it is selected preferentially, instead of honouring the need to install both.

    Far from ideal, I know, but a work around for now is to use the CLI version of mingw-get, from the MSYS shell, to force installation of the omitted DLL:

    $ mingw-get upgrade msys-liblzma-dll='4.999.*'
    

    Unfortunately, this will also remove the msys-lzma-5.dll, which we really need to keep; to reinstate it, follow the preceding command with:

    $ mingw-get install --reinstall --recursive msys-xz-bin
    

    This will re-evaluate the dependencies for xz.exe, which will reinstate the msys-lzma-5.dll, but since this is processed as a dependency, it will not remove msys-lzma-1.dll.

     

    Related

    Issues: #2063