-
Notifications
You must be signed in to change notification settings - Fork 20
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
app-editors/vscode: line 3156: ulimit: open files: cannot modify limit: Operation not permitted #390
Comments
I rebooted my PC, opened the terminal, set manually ulimit -n $((8192*2)), and then I tried to build vscode from source again, but it's stuck on that since two hours: |
Correct, that is an issue I
If you were monitoring this repo, you might've noticed me mentioning my limited internet access and computing power available, which makes some activities really difficult. No time estimates for now, sorry. You could've also noticed #377. Fortunately @Kawanaao took the initiative and working on it here: #384
Is your hardware OK? Any OOMs in dmesg? That step shouldn't take that long. Have you tried restarting the build? |
Sorry for the late answer, I didn't notice you replied to me.
I wasn't monitoring it, but I did have been using other of your ebuilds that did work perfectly (element-web-1.11.83, element-desktop-1.11.83, ungoogled-chromium. All of those even did build correctly on an old computer from 2012
My hardware is fine. No OOMs in dmesg, everything else build perfectly. I tried to restart the build three times afterwards, and I always got stuck at the same step. I was building vscode on an ASUS laptop that has 16 Gb of DDR4 as well as a 16 cores AMD Ryzen 7 4800H CPU. I was using -j8. |
Which version of electron are you using for the build? |
electron-31, I chose that one since it was the one used by all of my other electron based packages. edit: |
You'll have to provide more information than that without me requesting it from you bit by bit. I won't be able to help you otherwise. If you really want to find the culprit, you'll have to provide everything you have without me trying to guess it. Good candidates were: your USE flags for |
Ok, sorry.
electron use flags:
So I enabled a lot of system- USE flags. For making electron work with system-ffmpeg, I did applied a patch I found in another bug report of this overlay.
Here's the one (colored) for app-editors/vscode-1.93.1::pf4public up to the moment it get stuck: emerge --info: Also, all my system packages are up to date.
Yes I am. |
Hmm, I just don't see anything suspicious. Try building with |
I guess temp-fix did the trick, that or less probably using ulimit -n $((8192*4)). |
Does it work though? :D If it does, I'd be tending to mark this issue as resolved |
Yes it worked. The compilation and installation phase worked. |
I meant if vscode itself works |
I didn't try it yet. |
Ok, so when I launch code-oss, the windows open, with the grey background, and then it instantly crashes. |
I'm still not in the mood of playing the guessing game :-/ |
Here's the output of No messages in dmesg. |
I'll try to rebuild electron with the same glibcxx-assertions as he used. |
Ok, so disabling "glibcxx-assertions" for electron did work. p.s.: |
|
I was trying to emerge app-editors/vscode-1.93.1::pf4public but it stalled for a long time, when I took a look at the logs, I noticed there was an error related to ulimit. So I then tried to build by using the ebuild command and it seems to have failed because the ulimit wasn't set correctly, here's the full logs:
ebuild_logs.txt
I'm using gentoo with openrc, I'm not using systemd.
p.s.:
I was also wondering if you planned to update the vscode ebuild to 1.94.2 and 1.95.1
The text was updated successfully, but these errors were encountered: