On 11/04/25 2:04 am, Nilesh Patra wrote:
> On 10 April 2025 10:44:01 pm IST, "Otto Kekäläinen" <o...@debian.org> wrote:
>> I am reading dh_golang to figure out if there is a way to get around
>> this.. I guess I could also make a patch that disables those files
>> with a "go:build" header.
>
> That is not a good solution either. Since we are awfully close to get this
> building, can you try the approach in docker.io to see if it works?
>
> I suspect the exported DH_GOLANG_BUILDPKG does not make it to dh_golang call
> for some weird reason.
>
> Can you try to override dh_golang and manually pass this like the way it is
> done in docker.io? (Avoid the 3 dots ofcourse otherwise it takes up the
> subdir as well)
>
> My hunch is that it will work.
My bad -- I looked at your commit and observed that is exactly what you seem to
have tried.
The only other idea I have is to add in DH_GOLANG_EXCLUDES and see if that
somehow works.
the dh_golang script seems to consume targets which seemingly considers the
excluded dirs.