[Pkg-zsh-devel] Bug#808977: zsh-common: Please add Multi-Arch: foreign

Elrond elrond+bugs.debian.org at samba-tng.org
Wed Dec 30 11:56:18 UTC 2015


Hi,

On Wed, Dec 30, 2015 at 10:14:11 +0000, Daniel Shahaf wrote:
[...]
> > TL;DR
> > - Go ahead
> >
> 
> Done, thanks.

Good.


> > - zsh itself probably should be "Multi-Arch: allowed"
> 
> I'll leave this for others.

Make sure to keep an eye on this...


> > - The "Depends: zsh" probably should be "zsh:any"
> 
> Done, thanks.

... because I think, that zsh:any requires zsh to have a
"Multi-Arch: allowed" tag. Otherwise you can't satisfy the
dependency.

Read: Make sure that your changed Dependency actually works.


[...]
> > Extra note: If someone needs a specific arch version of zsh
> > and zsh-sy-h, they should "Depends: zsh" and not let
> > zsh-sy-h pull that in.  Example: zsh-foo2 uses the syntax
> > highlighting and has a zsh_foo2.so in 32 bit.  If it
> > only depends on zsh-sy-h, then that could pull in zsh in 64
> > bit.  zsh_foo2.so not working.  So zsh-foo2 should
> > explicitly depend on zsh (without :any).
> > 
> 
> Thanks for the additional information.  I can't imagine why anyone
> would write a binary zsh extension that depends on z-sy-h, but you
> never know...

Right, I can't imagine that either, that's why I marked
that as "Extra" info. I wanted to include it, because
having Arch=all / Multi-Arch=foreign packages having
depdencies on arch specific packages has gotchas and one
should have some basic idea what's involved.

Cheers

Elrond



More information about the Pkg-zsh-devel mailing list