YunoHost-Apps / nitter_ynh

Nitter package for YunoHost
https://github.com/zedeus/nitter
GNU Affero General Public License v3.0
7 stars 4 forks source link

Install fails during compilation #6

Closed lapineige closed 3 years ago

lapineige commented 3 years ago

Describe the bug

Context

Steps to reproduce

Expected behavior

*Install the package

Logs

Compilation takes a very long time (and the server is not responding anymore during a while). And there is this error while installing:

Warning: Error: execution of an external compiler program 'gcc -c  -w -fmax-errors=3 -O3 -fno-strict-aliasing -fno-ident   -I/opt/yunohost/nitter/nim-installation/lib -I/opt/yunohost/nitter/src -o /opt/yunohost/nitter/.cache/nim/nitter_r/@mnitter.nim.c.o /opt/yunohost/nitter/.cache/nim/nitter_r/@mnitter.nim.c' failed with exit code: 137
Warning: gcc: fatal error: Killed signal terminated program cc1
Warning: compilation terminated.
Jules-Bertholet commented 3 years ago

Can you post the full debug log?

lapineige commented 3 years ago

I just did, I was waiting for the full log as the app did remove itself.

The compilation is killed on the way… I suppose it's too resource intensive for the server ? (the load went up to 100…)

lapineige commented 3 years ago

I purged my RAM to clear about 1GB (out of 2) and emptied the swap, and it worked… Probably a memory limit, maybe compilation needs something like 1GB of free RAM.