On Saturday, April 20, 2024 10:59:24 A.M. CDT Thorsten Alteholz wrote: > Hi Steve, > > On 20.04.24 17:28, Steven Robbins wrote: > > I closed the Salsa repo and tried my usual "gpb buildpackage" routine. To > > my surprise that resulted in an error about uncommitted changes in the > > source tree. So I'm wondering if I'm doing something wrong? > > I am doing basically the same at the moment and I don't have such problems!? > This is a bit strange and I have no idea what went wrong on your side :-(
Great - thanks for checking. That confirms something specific to me.
It turned out to be the following setting in my ~/.gbp.conf:
cleaner = fakeroot debian/rules clean
I don't recall why or when I added that; but after removing, the build works
with this command:
gbp buildpackage --git-debian-branch=debian/main
I notice the file debian/gbp.conf contains
debian-branch = debian/master
should that be "debian/main" instead?
Finally, I note that using the clean target results in the same set of files
removed. I guess that's intentional but I don't understand why it's not a
problem for others. Maybe no-one is building in the git tree?
Anyway, problem solved: thanks a ton, Thorsten!
-Steve
signature.asc
Description: This is a digitally signed message part.
