since i've updated from 6.14-r3 to 6.14-r5, my users with tcsh shell have the following problem: the screen display "if: Expression Syntax." and their usual environment is not used. I've traced this down to the end of /etc/csh.cshrc, that i have never modified. The end looks like : if ( $?prompt && -d /etc/profile.d ) then set nonomatch foreach i ( /etc/profile.d/*.csh ) if ( -r $i ) then source $i endif end unset i nonomatch endif And this is the if that gives the error. I dont know tcsh well enough to go any further.. Commenting this block solves the problem, but this is probably not the only solution. Reproducible: Always end of output of 'genlop tcsh' Wed Feb 1 18:52:06 2006 >>> app-shells/tcsh-6.14-r3 -> no bug Fri Jan 5 00:04:49 2007 >>> app-shells/tcsh-6.14-r5 -> bug
Please check if you have java-config emerged recently. It breaks tcsh, not tcsh itself. Look into /etc/profile.d/java-config.csh to see if there is a "(-L" thing in there. Please report on this.
Genlop says : Sat Jan 13 19:26:56 2007 >>> dev-java/java-config-2.0.31-r1 and there is a line : ------- else if (-L $gentoo_system_vm) then -------- in /etc/profile.d/java-config-2.csh
ok, please try and emerge java-config to see if this error goes away. The file is out of date. @java team: please bump java-config for this fix.
i removed the files /etc/profile.d/java*, and re-emerged, but this is the same version that gets emerged. and the problem is still there, of course.
Thomas, thanks. workaround: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-config/files/java-config-2.profiled.csh?rev=1.3&view=markup
i had alrady changed the -L in -l, and it works. (i was just not 100% sure) best regards :-)
(In reply to comment #3) > @java team: please bump java-config for this fix. Revbumped. Please wait few hours till java-config-2.0.31-r3 hits your rsync mirror.
(In reply to comment #7) > (In reply to comment #3) > > @java team: please bump java-config for this fix. > > Revbumped. Please wait few hours till java-config-2.0.31-r3 hits your rsync > mirror. > *java-config-2.0.31-r2 (13 Jan 2007) 13 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> files/java-config-2.profiled.csh, -java-config-2.0.31-r1.ebuild, +java-config-2.0.31-r2.ebuild: The csh profile.d had a bug preventing it from working for root. Teaches you not to blindly trust stuff from users again. As the user was using -r1, this should have fixed the login problems already, but probably bets to push the grobian stuff too for everyone.
The mirrors seem to lag a lot lately, sorry for the pointless bump. -r2 was good enough already.
(In reply to comment #9) > The mirrors seem to lag a lot lately, sorry for the pointless bump. > -r2 was good enough already. I noticed there were some changes within a hour after -r2 to the .csh file, so there could be a sync window between that...