Bug 571549

Summary: zsh vs. ccache.sh's use of pathmunge: "command not found: pathmunge"
Product: [Fedora] Fedora Reporter: Jim Meyering <meyering>
Component: ccacheAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: hongjiu.lu, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-24 09:41:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 548960    
Bug Blocks:    

Description Jim Meyering 2010-03-08 19:47:20 UTC
Description of problem: with zsh as my login shell,
I get this diagnostic before my the first prompt in each non-login shell:

  /etc/profile.d/ccache.sh:4: command not found: pathmunge

Version-Release number of selected component (if applicable): ccache-2.4-17.fc13.i686

How reproducible: always

Steps to Reproduce:
1.set your login shell to zsh
2.login, and then run "zsh" to start a new shell (i.e, a non-login shell)
3.
  
Actual results:
I get this diagnostic before my the first prompt in each non-login shell:
/etc/profile.d/ccache.sh:4: command not found: pathmunge

Expected results: No diagnostic.

Additional info:
That happens because pathmunge ends up being undefined.

Comment 1 Ville Skyttä 2010-03-08 19:55:37 UTC
I've been trying to get the zsh maintainer to comment on this (see bug 548960) but no luck so far.

This has been worked around in 3.0pre0 in Rawhide but is still an issue in F-13, changing version accordingly.

Comment 2 Jim Meyering 2010-03-08 20:13:16 UTC
thanks for the quick feedback!

Comment 3 Ville Skyttä 2010-03-19 20:24:43 UTC
*** Bug 575234 has been marked as a duplicate of this bug. ***

Comment 4 Ville Skyttä 2010-03-19 20:31:36 UTC
Jim, Hongjiu, could you test the patch in bug 548960 comment 4?

Comment 5 Jim Meyering 2010-03-19 20:55:48 UTC
Ville,

That patch looks fine.
I confirm that it solves the problem, too.

Thanks!

Comment 6 Ville Skyttä 2010-03-24 09:41:57 UTC
Now that #548960 is fixed, there should be nothing left to do in ccache so I'm closing this as a duplicate.

*** This bug has been marked as a duplicate of bug 548960 ***