New comment by Luxed on void-packages repository https://github.com/void-linux/void-packages/issues/10773#issuecomment-625615734 Comment: I am trying to take the work where it was stopped on PR #20147. The first thing I did was to move the `_target` from "usr/lib/dotnet" to "usr/share/dotnet", which is what is recommended in the official documentation found [here](https://docs.microsoft.com/en-us/dotnet/core/distribution-packaging). Unfortunately, as I'm just starting out with the distro and have never worked on anything similar before, I'm hitting a roadblock that I absolutely do not understand:
Error log ``` => dotnet-sdk-bin-3.1.102_1: running post-install hook: 11-pkglint-elf-in-usrshare ... => ERROR: dotnet-sdk-bin-3.1.102_1: ELF files found in /usr/share: => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/System.Globalization.Native.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/libcoreclr.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/libclrjit.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/System.Native.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/libmscordbi.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/System.Security.Cryptography.Native.OpenSsl.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/libhostpolicy.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/libcoreclrtraceptprovider.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/libmscordaccore.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/System.Net.Security.Native.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/libdbgshim.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/System.Net.Http.Native.so => ERROR: /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.2/System.IO.Compression.Native.so => ERROR: /usr/share/dotnet/packs/Microsoft.NETCore.App.Host.linux-x64/3.1.2/runtimes/linux-x64/native/libnethost.so => ERROR: /usr/share/dotnet/host/fxr/3.1.2/libhostfxr.so => ERROR: dotnet-sdk-bin-3.1.102_1: cannot continue with installation! ```
What does this hook do and why does it fail?