Package: libecasound2.2-dev
Version: 2.4.4-4
Severity: serious

Hi Junichi,

The ecasound2.2 package uses the following code in debian/rules to make
libecasound2.2-dev's dependency on libasound2-dev conditional on
architecture:

ifeq (linux,$(DEB_HOST_ARCH_OS))
       dh_gencontrol -a -- -Vlibasound2-dev="libasound2-dev"
else
       dh_gencontrol -a
endif

This doesn't work, because nowhere in debian/rules have you called
dpkg-architecture to *define* $(DEB_HOST_ARCH_OS); so almost all
architectures are missing the dependency on libasound2-dev, which causes
other packages to fail to build.

A simpler solution is to replace ${libasound2-dev} in debian/control with
this:

 libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]

this syntax will be evaluated by dpkg at package build time, which works
fine for arch: any packages.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to