On 23/11/2025 19:06, Hugh McMaster wrote: > I have spent a lot of time investigating this issue and had the same > problem, even with my own packages. > > The solution is to use a Git clone of the upstream repository as the > starting point for creating Debian packaging. > > Otto Kekäläinen has a written a guide that works well, even with > submodules. [1] > > Note that when calling `git clone`, you need to add > `--recurse-submodules` to the command line too. > > I did a quick test using Otto's instructions on your repository. The > result is at [2] and work as expected with uscan. > > Let me know how you go. > > Hugh > > [1] https://optimizedbyotto.com/post/debian-packaging-from-git/ > > [2] > https://salsa.debian.org/hmc/golang-github-oschwald-maxminddb-golang-v2
[2] is not reachable, maybe it's private? Ideally I wanted to be able to fix the existing git repo, rather than restart from scratch. The repo I gave in this bug report was under my own namespace (because edited for the purpose of this bug report), but in fact I have two repositories that are facing this issue, and already uploaded, so I'd prefer to avoid force-pushing. But this morning I spend a couple of hours on that again, failed again, I keep banging my head against a wall it feels, so at this point any solution will do. And thanks for spending the time on this issue :) Best, -- Arnaud Rebillout / OffSec / Kali Linux Developer

