[SCM] gsequencer/master: try to determine host by gcc -v

James Cowgill jcowgill at debian.org
Fri Nov 24 15:39:26 UTC 2017


Hi,

On 24/11/17 15:33, jkraehemann-guest at users.alioth.debian.org wrote:
> The following commit has been merged in the master branch:
> commit a2b6e5cf9fbdc567e24b607ae9dbdd6ad66c42c0
> Author: Joël Krähemann <jkraehemann at gmail.com>
> Date:   Fri Nov 24 16:32:49 2017 +0100
> 
>     try to determine host by gcc -v
> 
> diff --git a/debian/tests/ags-integration-test b/debian/tests/ags-integration-test
> index a40d00e..7710498 100644
> --- a/debian/tests/ags-integration-test
> +++ b/debian/tests/ags-integration-test
> @@ -3,5 +3,6 @@ set -e
>  
>  dpkg-source --before-build `pwd`
>  dpkg-buildpackage -rfakeroot --target=pre-integration-test
> -export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/gsequencer:$LD_LIBRARY_PATH
> +export HOST=`gcc -v - 2>&1 | awk 'match($0, /--host=([a-z0-9_-]+)/,m) { print m[1]; }'`
> +export LD_LIBRARY_PATH=/usr/lib/$HOST/gsequencer:$LD_LIBRARY_PATH
>  xvfb-run --server-args="-screen 0 1920x1080x24" make ags-integration-test

This is broken in so many ways.

Use $(dpkg-architecture -qDEB_HOST_MULTIARCH)

James


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20171124/b46b59a2/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list