Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 379847

Summary: app-shells/zsh{,-completion} - emerge fails when exact version is given because of "=" (zsh "equals" option)
Product: Gentoo Linux Reporter: Tomáš "tpruzina" Pružina (amd64 [ex]AT) <pruzinat>
Component: Current packagesAssignee: Torsten Veller (RETIRED) <tove>
Status: RESOLVED INVALID    
Severity: enhancement CC: radhermit
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomáš "tpruzina" Pružina (amd64 [ex]AT) 2011-08-19 10:12:04 UTC
Z shell fails instantly with emerge when exact package and version is given using "=".

I this is "feature" of zsh, to fix this
"unsetopt equals" must be added to .zshrc file.

Reproducible: Always

Steps to Reproduce:
1. emerge zsh
2. zsh
3. emerge =app-shells/zsh-completion-20091203-r1
Actual Results:  
zsh: app-shells/zsh-completion-20091203-r1 not found

Expected Results:  
Proceed with emerge.

possible rosolutions:
1) add note about this to decumentation, ebuild
2) USE flag
3) workaround in zsh-completion package
Comment 1 Tomáš "tpruzina" Pružina (amd64 [ex]AT) 2011-08-19 10:14:21 UTC
Sry for typos, learning new keyboard layout.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-08-19 14:39:50 UTC
Also works without that setting:

breakmygentoo:~ # zsh
breakmygentoo:~ # emerge -qpv =bash-4.2_p10
zsh: bash-4.2_p10 not found
breakmygentoo:~ # emerge -qpv \=bash-4.2_p10
[ebuild   R   ] app-shells/bash-4.2_p10  USE="-afs -bashlogger -examples -mem-scramble net nls -plugins -vanilla"                                               
breakmygentoo:~ #
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-23 05:54:42 UTC
Please don't CC random people without arguing why.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-23 05:55:39 UTC
There must be some way to quote that?
Comment 5 Tomáš "tpruzina" Pružina (amd64 [ex]AT) 2011-09-18 16:50:46 UTC
Marked as invalid, thanks for the tip with backslash equals (\=) and sorry for wasting your time guys.