Hi!

On Tue, 2017-02-28 at 15:23:49 +0000, CONSUEGRA Lenny - externe wrote:
> Package: dpkg-dev
> Version: 1.17.27
> Severity: minor
> Tags: upstream

> When building a package with dpkg-source, warnings are printed if gcc is
> not installed on the system :
> 
> root@build:/srv/build/tmp/test# dpkg-source -b ublock-origin-1.9.4+dfsg
>  sh: 1: gcc: not found
>  dpkg-source: warning: Couldn't determine gcc system type, falling back to 
> default (native compilation)

I've analyzed the code, and it does indeed not really require the host
architecture when building a source package, so I've got a couple of
commits that get rid of those messages.

The first disables the perl warnings for when the program is not found
(the equivalent of first line for 1.18.x, but w/o going via the shell),
and the second removes the need completely of calling gcc (so the
second line will not even be emitted).

I've queued these for 1.19.x.

> A bug report has already been filled for dpkg-dev 1.14.26 :
> 
>    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526132

Although this was for extraction which is a quite different code path,
so not a regression or anything.

Thanks,
Guillem

Reply via email to