Binary indep build (and a question)
This MR's goal is to fix the current breakage that is happening when dpkg-buildpackage -A
is invoked. The arch:all
package (libdebuginfod-common) is not being generated for this reason.
This doesn't fix the inherent bug with the package, which causes it to build arch:all
binaries even when dpkg-buildpackage -B
is invoked. You can check the error in the buildd logs:
Finished
--------
I: Built successfully
E: Package builds libdebuginfod-common_0.183-6_all.deb when binary-indep target is not called. This is a bug in the packaging.
I would also like to start a discussion with you about the best approach to selectively install the *.sh
snippets inside /etc/profile.d/
. Currently, here's what the package is doing:
-
If we're building on Debian (which has a debuginfod service available), the libdebuginfod-common package is generated and contains the shell snippets in place.
-
If we're building elsewhere (like Ubuntu), the libdebuginfod-common package is generated, but it's empty package and doesn't contain any shell snippets.
It works, but generating an empty package might be frowned upon by some people. Another possibility is to use a d/control.in and adjust it during build time, but that is a bit more cumbersome IMO.
Anyway, suggestions and opinions are most welcome. Thanks.