Hi,

On Mon, Jul 18, 2011 at 04:11:54PM +0200, Robert Millan wrote:
> The debian/control file in collectd uses a negated list of architectures
> to specify a package relationship (most likely Build-Depends) on a
> Linux-specific package.  I.e. something like:
> 
>  Build-Depends: libfoo-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
> 
> This is problematic because it will fail for any future kfreebsd-* or hurd-*
> architecture (like the upcoming kfreebsd-mipsel port).  The correct way
> would be to use dpkg architecture wildcards, e.g.:
> 
>  Build-Depends: libfoo-dev [linux-any]

Thanks for reporting this. I would like to fix that, however, I also use
stuff like [!hppa !kfreebsd-i386 !kfreebsd-amd64]. Do you know if
"linux-any" may be combined with "!<arch>", meaning any Linux arch but
not <arch>? Is there also something like kfreebsd-any and hurd-any? Then
I'd rather go for [!<foo> !<bar> !kfreebsd-any !hurd-any]. Anything from
your POV that would oppose that approach?

TIA,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to