Getting exit code 137 while building with org.flatpak.Builder

I install org.flatpak.Builder according to instructions but then i started getting this error
I was using flatpak-builder cli earlier and that was working, it still works on github action
but now even that doesnt work
this is my manifest
Google search tells 137 is out of memory error but i have 8 Gig free memory
i have tried to

  • reinstall flatpak-builder and org.flatpak.Builder
  • limit build to 2 jobs

I could find post of someone running into this issue so i am lost
If you need any more info then lmk

-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for itoa
-- Looking for itoa - not found
-- Looking for _ltoa
-- Looking for _ltoa - not found
-- Looking for _uitoa
-- Looking for _uitoa - not found
-- Looking for _ultoa
-- Looking for _ultoa - not found
-- Looking for strtol
FB: host_command_exited_cb 312363 35072

Error: module SDL2: Child process exited with code 137
FB: Unmounting read-only fs: fusermount -uz /home/loup/github_fork/ballistica/build/flathub/.flatpak-builder/rofiles/rofiles-wkIZb5

Also if i put rsync module before sdl, rsync gets built
only fails on sdl

Since SDL is included in the Freedesktop SDK, do you need to build it manually?

okay i found this post and flatpak reset-permissions actually helped

This topic was automatically closed after 2 days. New replies are no longer allowed.