Web lists-archives.com

Bug#858563: efl: invoking debian/rules directly does not work as intended




Source: efl
Version: 1.8.6-2.5

On Thu, 23 Mar 2017 at 08:55:10 -0400, Ross Vandegrift wrote:
> You only need [to pass --enable-fb explicitly] because you're calling
> debian/rules directly. If you use dpkg-buildpackage then
> DEB_HOST_ARCH_OS will be set, and the Makefile will automatically
> add --enable-fb.

This is *technically* a bug in the packaging: invoking debian/rules
directly is *meant* to work. efl's debian/rules should either
`include /usr/share/dpkg/default.mk` (or at least architecture.mk),
or arrange for DEB_HOST_ARCH_OS to be set correctly by invoking
dpkg-buildflags itself.

(But I'm sure lots of other packages have the same bug: no infrastructure
in Debian systematically checks for it, and for a user of Debian packages,
building with dpkg-buildpackage or debuild is always preferred.)

I'm filing this as a normal-severity bug, because although it's a
Policy violation, it isn't a serious one IMO. Please adjust the severity
up or down according to the maintainer's opinion.

    S