-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
portage_config.enforce_nice_config crashed #8252
Comments
Thanks for the heads up. Should be easy to fix. |
Hi, |
Definitely not a good thing! |
@babykart what do your current package.* files look like? |
@shadowfax-chc for example
File in package.keywords:
File in package.use:
|
do any have comment lines? |
@shadowfax-chc yes and one with:
|
I think the comments might be the issue, The code needs to be updated to ignore lines with comments. It may also be having trouble with blank lines. When I get a chance I will fix it. You can try removing comment and blank lines for now. |
@shadowfax-chc thanks for your return. I will try this tonight... |
@shadowfax-chc It works effectively without blank lines and comments. Thank you. |
So is there still something here that needs fixing, or can we close this issue? |
Leave it open, the code needs to be fixed up so users don't need to manually remove comment and blank lines. |
I'm being hit by the same bug:
I can confirm that the breakage is related to comments ('#' signs) inside /etc/portage/package.use or /etc/portage/package.unmask. |
Regression encountered. I'm going move it to a new issue actually. |
hi,
salt '*' portage_config.enforce_nice_config
crashed on Gentoo distro.The text was updated successfully, but these errors were encountered: