On Wed, Sep 3, 2014 at 2:23 PM, Alexey Pavlov <[email protected]> wrote: > > 03 сент. 2014 г., в 17:19, Óscar Fuentes <[email protected]> написал(а): > >> Alexpux <[email protected]> writes: >> >>>>> The best will be build static versions of programs but… for example, >>>>> msys ell can’t be build as static easily. >>>> >>>> How serious is this error? Can it cause packages on an inconsistent >>>> state after an upgrade? Or is it harmless? >>> >>> When fork errors is happen all files from packages installed but no >>> one post-install script be executed. This can lead to some issues in >>> future. >> >> This is serious indeed. Statically linking pacman is not enough. The >> shell and any executable that can be invoked by a post-install script >> needs to be statically linked too, right? > Yes all programs that are used during upgrade process need to be linked > statically.
We have dash.exe in MSYS2 and it *only* links to msys-2.0.dll and to nothing else. We should use that for our post-install runs since msys-2.0.dll is never rebased anyway. Making sure all our post installs are dash compatible is a task that someone might want to tackle, then swapping it out in pacman is a doddle. >> >> Other than having a parallel copy of the binaries and using it for >> running the upgrade, I see no easy solution for this. >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Msys2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/msys2-users > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Msys2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/msys2-users ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
