On 2016-11-02 14:16:03, Helmut Grohne wrote:
> On Wed, Nov 02, 2016 at 07:14:16PM +0100, Helmut Grohne wrote:
>> Please consider applying the attached patch.
>
> And now ith the patch, sorry.
[...]
> diff --minimal -Nru pv-1.6.0/debian/rules pv-1.6.0/debian/rules
> --- pv-1.6.0/debian/rules     2015-06-05 06:04:07.000000000 +0200
> +++ pv-1.6.0/debian/rules     2016-11-02 19:10:23.000000000 +0100
> @@ -1,6 +1,7 @@
>  #!/usr/bin/make -f
>  
>  DEB_HOST_ARCH_OS        ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
> +DEB_HOST_GNU_TYPE       ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
>  
>  %:
>       dh $@
> @@ -12,6 +13,9 @@
>  override_dh_clean:
>       dh_clean -Xmk~
>  
> +override_dh_auto_build:
> +     dh_auto_build -- LD=$(DEB_HOST_GNU_TYPE)-ld
> +
>  # upstream tests fail with non-C locales
>  # Functions msgsnd, msgrcv, msgget, msgctl are not yet implemented on 
> GNU/Hurd
>  override_dh_auto_test:

Hmm... I am not very familiar with cross-compiling, but this looks to me
like a toolchain issue. pv doesn't do anything particular to call "the
wrong LD" - why should I have to pass a specific linker here?

in other words, why isn't this in dh_auto_build, dh_build, or make or
wherever it should be down the stack?

Don't all gnu autoconf packages suffer from the same bug?

A.
-- 
I'm no longer accepting the things I cannot change.
I'm changing the things I cannot accept.
                        - Angela Davis

Reply via email to