On 26 October 2023 9:19:06 pm IST, Marvin Renich <m...@renich.org> wrote:
>>From the original ITP:
> This golang package is dependency to my program I am packaging for Debian.
This is going to be my last mail about this topic. The ITP may say so, but for
most go packages, the windows specific code is in separate files than the rest
and the decision of compiling them or not is taken care of by go directives.
If the code is still present in such a way that windows library becomes
mandatory to be included, then upstream should fix this in their codebase.
Windows specific code would not even be compiled in the debian package (which
is expected).
It is highly unlikely for a windows-only go library to be actually needed in
debian.
To be clear, the statement that it makes sense to package go libraries only
when they are dependencies of a target also means that they serve some actual
"Linux" functionality in the target package as well.