Bug#875123: oce: set LD_LIBRARY_PATH for dh_auto_test

Steve Langasek steve.langasek at canonical.com
Sat Sep 9 21:20:43 UTC 2017


On Sat, Sep 09, 2017 at 01:38:17PM -0700, Steve Langasek wrote:
> diff -Nru oce-0.17.2/debian/rules oce-0.17.2/debian/rules
> --- oce-0.17.2/debian/rules	2016-06-16 14:02:43.000000000 -0700
> +++ oce-0.17.2/debian/rules	2017-09-09 12:53:53.000000000 -0700
> @@ -5,6 +5,9 @@
>  LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)
>  
>  DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
> +DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
> +UNAME := $(shell uname -m)
> +DEBUG_PATH := obj-$(DEB_HOST_MULTIARCH)/Unix/$(UNAME)-RelWithDebInfo-$(DEB_HOST_ARCH_BITS)

It appears this actually needs to be DEB_HOST_GNU_TYPE rather than
DEB_HOST_MULTIARCH here - which is generally the same thing, except on i386.

DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
UNAME := $(shell uname -m)
DEBUG_PATH := obj-$(DEB_HOST_GNU_TYPE)/Unix/$(UNAME)-RelWithDebInfo-$(DEB_HOST_ARCH_BITS)

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170909/ce3727cf/attachment.sig>


More information about the debian-science-maintainers mailing list