[Pkg-samba-maint] ftbfs of the indep-only build

Michael Tokarev mjt at tls.msk.ru
Wed Apr 6 14:35:01 BST 2022


Hi!

I broke the indep-only build of samba by replacing $(dh_listpackages)
with ${omit_packages}. It is interesting. Because actually I didn't
know about this usage of dh_listpackages, that it can return different
lists depending on the arch/indep build (and ofcourse different lists
of packages depending on the build architecture, according to the
Architecture: field of each package in d/control).

Now when you see it, I wonder.

In indep-only build, we build whole things, but we install only the
static files (mostly from debian/) and nothing more. The rest of the
build is completely wasted.

I can easily switch back to the indirect usage of $(dh_listpackages)
as if was before my "simplification" (but still without the need to
run nested make as we had), just to fix this build failure.

But I really wonder if we actually should split the arch/indep builds..
Almost whole of our build/install procedure is arch-any, but some
specific bits are arch-all.  I just don't know how to do it. Replacing
whole override_dh_foo with override_dh_foo-arch does not look clean :)

I'll fix the immediate issue first. But this appears to be a big
question, at first :)

To say the truth, I'm really tired of all this thing for quite
some time already :))

/mjt



More information about the Pkg-samba-maint mailing list