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

Daniel Shahaf d.s at daniel.shahaf.name
Wed Dec 30 10:14:11 UTC 2015


Elrond wrote on Tue, Dec 29, 2015 at 12:08:12 +0100:
> 
> Hi,
> 
> On Mon, Dec 28, 2015 at 15:07:08 +0000, Daniel Shahaf wrote:
> [...]
> > Does zsh-syntax-highlighting need this set too?
> [...]
> > So, unless I hear otherwise, I'll go aead and set that for z-sy-h too.
> 
> TL;DR
> - Go ahead
>

Done, thanks.

> - zsh itself probably should be "Multi-Arch: allowed"

I'll leave this for others.

> - The "Depends: zsh" probably should be "zsh:any"

Done, thanks.

> zsh-sy-h itself pulls in zsh. It currently pulls the main
> arch of zsh. But really, it does not need a specific arch
> of zsh, because the reason it needs zsh, is just to let zsh
> read the script files. Any (runnable) arch version could do
> that. So it probably should depend on zsh:any instead.

Right.  z-sy-h is sourced by zsh, but does not require the sourcing zsh
to be of a particular version or architecture.

> 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...

> > Cheers,
> > 
> > Daniel
> 
> 
> Cheers
> 
> Elrond



More information about the Pkg-zsh-devel mailing list