Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6780 - test zsh-4.0.6
Summary: test zsh-4.0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: phoen][x
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-20 12:10 UTC by Wilbert van Bakel
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wilbert van Bakel 2002-08-20 12:10:07 UTC
As requested in gentoo-dev: Testing zsh-4.0.6.
GCC-3.2(gentoo-1.4_beta)

The emerge finished successfully and I'm using zsh in a local user account.
I noticed that example zsh profiles are provided in /etc/zsh, but nothing is set
up to inherit the system wide Gentoo profiles.
I don't have experience with previous zsh releases, so I don't know if Gentoo is
providing the same system wide settings as for bash and tcsh?
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-23 03:56:35 UTC
good question
Comment 2 YAMAKURA Makoto 2002-08-28 21:28:26 UTC
I found some errors:

====
mkdir /usr/share/zsh
ACCESS DENIED  mkdir:     /usr/share/zsh
mkdir: cannot create directory `/usr/share/zsh': Permission denied
chmod: failed to get attributes of `/usr/share/zsh': No such file or directory
mkdir /usr/share/zsh/site-functions
ACCESS DENIED  mkdir:     /usr/share/zsh/site-functions
mkdir: cannot create directory `/usr/share/zsh/site-functions': Permission denied
chmod: failed to get attributes of `/usr/share/zsh/site-functions': No such file or directory
====

How about this patch?

--- zsh-4.0.6.ebuild.orig       Thu Aug 29 11:25:05 2002
+++ zsh-4.0.6.ebuild    Thu Aug 29 11:25:13 2002
@@ -21,7 +21,8 @@
                --enable-zshenv=/etc/zsh/zshenv \
                --enable-zshlogin=/etc/zsh/zshlogin \
                --enable-zshrc=/etc/zsh/zshrc \
-               --enable-fndir=/usr/share/zsh \
+               --enable-fndir=/usr/share/zsh/${PV}/functions \
+               --enable-site-fndir=/usr/share/zsh/site-functions \
                --enable-function-subdirs || die "configure failed"
        # emake still b0rks
        make || die "make failed"
@@ -32,7 +33,8 @@
        einstall \
                bindir=${D}/bin \
                libdir=${D}/usr/lib \
-               fndir=${D}/usr/share/zsh \
+               fndir=${D}/usr/share/zsh/${PV}/functions \
+               sitefndir=${D}/usr/share/zsh/site-functions \
                install.bin install.man install.modules \
                install.info install.fns || die "make install failed"

@@ -41,6 +43,4 @@
        dodoc StartupFiles/z*
        dodir /etc/zsh
        cp ${S}/StartupFiles/z* ${D}/etc/zsh
-
-       rm -rf ${D}/share
 }
Comment 3 phoen][x 2002-10-05 08:58:54 UTC
Is this bug still needed? I'm running zsh-4.06 for quite some time now, but i
never had any problems with it. 

okay to close it?

-phoen][x-
Comment 4 Wilbert van Bakel 2002-10-05 21:53:22 UTC
If you want to close this issue, that's fine with me.
So I guess no Gentoo customized profiles for zsh, like they are available for 
bash and tcsh?

Thank you for your support!
Comment 5 phoen][x 2002-10-06 03:06:58 UTC
I'm not much into zsh (only using it). The fact that the current files in
/etc/zsh all say "DO NOT USE THIS AS /etc/foo" makes me think that we should not
use them as templates (anyways, the "return 0" would be quite annoying ;)). So
lets look for nice standard configs - i have my own config over here, but i dont
think that most guys would like it. 

Do you have clean and nice templates for me?

-phoen][x-
Comment 6 Wilbert van Bakel 2002-10-06 15:41:15 UTC
Actually, I'm not a zsh user.

There was a need for testers for the new zsh ebuild, and I just wanted to
contribute. Technically it's all working fine, but I noticed the absence of
gentoo profiles. ;-)
I guess there is not much of a need for those files in the Gentoo community,
otherwise you would see more requests, so you can do yourself a favor and close
this test case.
Comment 7 phoen][x 2002-10-13 12:59:25 UTC
Okay, closing this one - sorry for the delay.

-phoen][x-