New comment by KJ002 on void-packages repository https://github.com/void-linux/void-packages/pull/28785#issuecomment-1067285249 Comment: > > Installing this packages seems to have destroyed my system, it managed to delete `/usr/lib/libgcc_s.so` which prevented me from opening a terminal or logging in. > > well this is very serious. I am currently using this template on two machines and have not had this issue, I've force-pushed the one I'm using to this PR; I'm assuming this is the one you used, because according to an older comment the download links were out of date. > > This is the output of xls, which does not contain any libgcc_s.so, if you've managed to restore your system, can you post the contents of the package list on your end? > > ``` > $ xls libgccjit > /usr/include/libgccjit++.h > /usr/include/libgccjit.h > /usr/lib/libgccjit.so.0.0.1 > /usr/share/info/libgccjit.info > /usr/share/licenses/libgccjit/RUNTIME.LIBRARY.EXCEPTION > /usr/lib/libgccjit.so -> /usr/lib/libgccjit.so.0 > /usr/lib/libgccjit.so.0 -> /usr/lib/libgccjit.so.0.0.1 > ``` I never managed to restore my system, tried chroot'ing in and nothing worked, this is likely due to something I did wrong on my end so allow my to explain the steps I took: 1. Clone https://github.com/lane-brain/void-packages 2. Switch branches to libgccjit-void and copy ./srcpkgs/libgccjit/template to my ~/void-packages/srcpkgs/libgccjit/template 3. Run `cd ~/void-packages` and then `./xbps-src pkg libgccjit` 4. Then I run `sudo xbps-install --repository=hostdir/binpkgs libgccjit`. 5. boom, system gone. I initially notice I can't open a terminal then when I reboot every time I try and log in through the tty it just boots me back out to logic again because fish requires `libgcc_s`