tags 1090244 - moreinfo
severity 1090244 normal
thanks
El 16/12/24 a las 22:25, Mike Gabriel escribió:
not really sure what the observed build failure is on your end. I just did a
rebuild and everything looks good.
From the bug title it seems you have an issue with out rebuild-environment,
maybe?
Thanks a lot for your quick reply.
I'm using sbuild as always. But I know why this happened: If you look at
the build log, you will find this:
BUILDHOME=/build
Well, that's the $HOME of the user starting the build in my setup,
and I use such variable internally. Admitedly, I should try such variable
not to be defined in the environment in which dpkg-buildpackage works.
Then you have this in debian/rules:
override_dh_auto_clean:
dh_auto_clean
rm -rf $(BUILDHOME)
So there seems to be a dispute for the use of the BUILDHOME variable :-)
If you tell me that it's a reserved variable which is already used by debhelper
and friends, I'll accept that this is a bug in my build scripts (which is
where I define such variable).
But in either case I wonder why do you need to remove BUILDHOME in dh_auto_clean
in the first place.
If that's a temporary build directory setup by debhelper, does not debhelper
already care to provide a new different build home every time the build is
started?
I'm downgrading this in the meantime, as I admit it could be a bug in my
scripts,
but I'd like to be sure before we close the bug.
Thanks.