Bug#840425: mkosi: FTBFS when built with dpkg-buildpackage -A (debian/mkosi.1: No such file or directory)

Felipe Sateler fsateler at debian.org
Tue Oct 11 15:07:13 BST 2016


Control: tags -1 - patch

On 11 October 2016 at 10:29, Santiago Vila <sanvila at debian.org> wrote:
> Package: src:mkosi
> Version: 0~20161004-1
> Severity: serious
> Tags: patch
>
> Dear maintainer:
>
> I tried to build this package in stretch with "dpkg-buildpackage -A"
> (which is what the "Arch: all" autobuilder would do to build it)
> but it failed:
<snip>
>
> This happens because there is a "build" target but there is not a "build-indep" target,
> so the build paths for "dpkg-buildpackage" and "dpkg-buildpackage -A" are different.

Ugh.

>
> I suggest the patch below to fix this. It makes debian/rules a little bit shorter
> and maybe a little bit more dh-style.

The build target is there because otherwise make does not consider it
phony (the build system generates a build subdir).

>
> I would also suggest that you try source-only uploads (even for
> Arch:all packages like this one). That way, we would get pretty
> official build logs here:
>
> https://buildd.debian.org/status/package.php?p=mkosi
>
> and we would also detect bugs like this one before they propagate to testing.

Right, I should do that.

>
> Thanks.

I think I'll have to do something like:

-build: debian/mkosi.1
+build build-indep: debian/mkosi.1


Thanks for reporting.

-- 

Saludos,
Felipe Sateler



More information about the Pkg-systemd-maintainers mailing list