Created attachment 236271 [details] Showing error attempting to build xorg I was attempting to build xorg. The build errored out, telling me to try setting MAKE_JOBS_UNSAFE=yes, but it still errored out.
Hi Michael, Could you provide the full log and provided some information about what version of FreeBSD you are running? Thanks!
Created attachment 236291 [details] script log of re-make of xorg Thank you for you attention. I have attached a screen capture of uname -u, and a script log of a re-attempt to build xorg again.
Created attachment 236292 [details] uname -u
OK, the error is not with xorg but building llvm which is a dependency. Since the error occurs with flang, my guess is that your system might be running out of memory. Could you check /var/log/messages for something like that?
Created attachment 236320 [details] failed to reclaim memory Memory problems? You were correct (see attachment). I wasn't expecting that because it was running the make with a single thread with 8 GB. I'm not sure how I can fix this because I have no more memory to give it.
I can spend some time making a smaller kernel. It was running the make single-threaded with 8 GB of ram. It may take me a day or two working on the kernel. See the attachment for a screen print of the error found in messages.
(In reply to Michael Faklis from comment #6) You can install llvm13 from packages before building your port. Or configure more swap. I sometimes temporarily add a file as swap for these kind of things.
Yes, please install llvm13 from packages. Unless you need customization of the ports, packages might be more convenient. Large applications requiere huge amounts of memory. There was a similar problem not long ago with mongodb.
Closing since this is not really a bug but just a port that requires more memory than the user has. A workaround (installing from packages) has been provided. Thanks!