-
-
Notifications
You must be signed in to change notification settings - Fork 978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zpty errors #117
Comments
Could you provide me with more details? These would be helpful to start:
|
The zsh configuration just loads the prompt ( |
Looks like it could be a problem with regards to Gentoo not having I can reproduce this on Gentoo with ZSH 5.0.7, so I'll try to investigate further. But so far it seems to be a problem with ZSH on Gentoo. |
Hmm, to be honest it seems that my previous link is probably a dead end. I tried compiling my kernel with ZSH versions tested: It's not a pure problem though, as can be seen from unconfigured zsh:
|
Same issue here, problem with zpty not pure:
|
I guess this should be reported to either FreeBSD / Gentoo, the ZSH mailing list or both. Do you guys feel up for it? |
afaik Gentoo devs don't fix bugs related to upstream. They usually fix bugs related to ebuilds and specific to the distro. The link you pointed out (http://www.zsh.org/mla/users/2003/msg00561.html) suggests it's an upstream bug. I think the best place to discuss about the bug is ZSH bugtracker. So we should report it in the mailinglist. In the meantime, we should bypass the bug because atm pure is unusable and I don't think this bug will be fixed in short time.. |
It seems to me like @alem0lars how do you mean bypass the bug? |
@mafredri I'm worried about how much time takes to upstream to fix the relevant bugs.. |
@alem0lars I was interested on your thoughts on bypassing the bug, as in how to go about it? Also, like I said above, I do not think that the zsh-users mailing list link from 2003 is relevant to the issue at hand. I could be wrong, ofc. |
Ok @alem0lars I've got a solution for you. Up to you if you use it or not. Basically zsh (or at least zpty) depends on old legacy BSD PTYs (kernel option: It seems like portage sandbox messes up
|
@mafredri ok.. I try to report it in the gentoo bugtracker and let's see if some one knows how to solve this.. Using the sandbox isn't a real solution in my opinion. It's a workaround, but it's the best thing we have right now.. Thanks :) |
Bug is now reported here: https://bugs.gentoo.org/show_bug.cgi?id=550650 In the meantime we should update the readme to tell users about the workaround.. Right? |
@mafredri many thanks, it is working, for does with custom kernels just need to add:
|
@alem0lars good job reporting the bug, looks like a dev asked for some follow-up info though. I think I found a semi-clean solution for this (although this should be part of the ebuild in my opinion):
Basically this tells the portage sandbox that access to the device is allowed. @nbari great, glad it's working for you! Where exactly is the |
@mafredri It should be added into the kernel configuration file, but this only in the case you compiled a system with no modules and a tight kernel, In a default setup |
@nbari aha! Thanks for the clarification, I'll do one last update to the README then 👍 |
I have the same problem on OSX 10.10.3.
|
This is not the same problem, do you mind opening a new issue and providing more information about your setup? I have never seen this and have no idea why you're seeing it either, but it could be some issue with how your OSX is configured even. For example the output of the following commands / info might be helpful:
|
@mafredri I just updated zsh with Homebrew and the problem disappeared. |
@pierot that's interesting. I haven't had any problems with the osx version of zsh either. Were you using an older homebrew version of zsh or Glad it's working though! |
@mafredri It is not working anymore .. My zsh version is 5.0.8.
The message
only occurs in directories from a git repo. |
When starting
pure
, I get the following error:Also, when entering in some particular directories (like
git
) I get:The text was updated successfully, but these errors were encountered: