You are not logged in.
I'm trying to compile Rstudio desktop from aur, so I copy the repository and then run "makepkg -si" but then bot the cpu and ram goes to 100% of usage and my pc get freezed so I must manually restart it.
I don't understand what's happening and how it works.
My hardware is:
ryzen 5 2600
8gb ram 300mhz
[EDIT]: I figured out that it does not get freezed but the processes as moving the mouse or updating the screen takes too long for respond (too long, even moving the mouse takes two minutes before seeing it on the screen)
Last edited by Nivalderramas (2020-10-13 21:48:27)
Offline
If you adjust the PKGBUILD as follows does the system still freeze?
diff --git a/PKGBUILD b/PKGBUILD
index d7f5134..3f5f31f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -91,6 +91,7 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt5 \
-DCMAKE_INSTALL_PREFIX=/usr/lib/rstudio
+ make -j1
}
package() {Offline
The file is equal, except for the line that says make -j1, if I append that line it gives me an error
Offline
What is the error? Also please post the output of git diff.
Offline
Sorry ._. I edited bad the file, now it's compiling and it has not freezed until now, also the processor is just at 10% of it's capacity (which I don't know if it's good or not), can you explain me how that line works?
thanks a lot
Offline
make is the command responsible for building outputs.
rstudio-desktop did not call make in build() so the build was instead called by following in package()
make DESTDIR="$pkgdir/" installAs the call it package does not specify a -j option, make will use the default specified by MAKEFLAGS if that is set. If that is not set then the change should not make any difference.
If the issue is triggered by running multiple make jobs in parallel that would indicate system instability under load.
Last edited by loqs (2020-10-13 22:04:15)
Offline
Well, at the end it gave an error, compiling error 2 aborting
Offline
Offline