On 28 November 2011 01:31, Arno Töll <deb...@toell.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello Michal,
>
> On 27.11.2011 21:52, Michal Suchanek wrote:
>> /bin/sh: -c: line 3: syntax error near unexpected token `('
>> /bin/sh: -c: line 3: `  Usage: dpkg-buildflags [<action>]  Actions:   --get 
>> <flag>       output the requested flag to stdout.   --origin <flag>    
>> output the origin of the flag to stdout:                      value is one 
>> of vendor, system, user, env.   --list             output a list of the 
>> flags supported by the current vendor.   --export=(sh|make) output commands 
>> to be executed in shell or make that export                      all the 
>> compilation flags as environment variables.   --help             show this 
>> help message.   --version          show the version.'
>> make[1]: *** [override_dh_auto_configure] Error 1
>> make[1]: Leaving directory `/usr/src/istgt-0.4~20111008'
>> make: *** [build] Error 2
>
> yes, istgt has a dependency to dpkg 1.16.1 available from Wheezy and
> beyond. Since dpkg is an essential package and this particular version
> is guaranteed to be fulfilled in Wheezy, I didn't add a build-dependency
> to it.
>
> As far as I know, there is no backport of Squeeze for dpkg available
> yet. Hence it is not easily possible to fix that bug cleanly. If you
> want to make a backport of istgt for Squeeze for your own purposes, just
> remove the line "$(shell dpkg-buildflags --export=configure)" entirely.
> You will lose build-hardening flags by doing so though, introduced by
> dpkg 1.16.1 as well, but you can at least compile istgt. That said, I
> have never tried whether that actually works.

I am not horrified of installing dpkg from Wheezy to build the package.

However, not specifying the dependency in the package requires me to
guess that it's dpkg what I need whereas setting the requirement would
take care of the dependency automagically by mk-build-deps and any
prospective backporters would know that they need dpkg or change the
build script.

Also note that the package requires quilt to build but does not depend on it.

Thanks

Michal



--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caomqctrc9ixo0y6v3etwfjkx3ehmbipefv9mho7qm2rfydz...@mail.gmail.com

Reply via email to