mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[GH-ISSUE #33] Can't compile in Ubunbu 22.04 #24
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sergio-com-ai on GitHub (Mar 2, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/33
Hi I tried compiling first in Arch Linux and Ubuntu 22.04 and both of them fail at the samepart which is apache-arrow-cpp:
[ 54%] Completed 'apache-arrow-cpp' [ 54%] Built target apache-arrow-cpp gmake: *** [Makefile:146: all] Error 2I followed the instructions in the repo, and also looked at your build CI/CD for more insights but it just don't want to compile.
In Arch I tried with some package and deactivated apache-arrow-cpp from CMakeLists.txt and it failed at the folly compillation. I am currently installing folly manually to see if that fixes the issue.
Any clues?
@iamazy commented on GitHub (Mar 2, 2025):
@sergio-com-ai I got the same error, have you addressed this issue?
@SF-Zhou commented on GitHub (Mar 2, 2025):
Please pull the latest code and try again.
@iamazy commented on GitHub (Mar 2, 2025):
@SF-Zhou Hi, I have tried again but still compiled error, see error page
@SF-Zhou commented on GitHub (Mar 2, 2025):
It appears to be an Out-of-Memory (OOM) error. Your CI Runner may not have sufficient memory. You could consider reducing the compilation concurrency.
@sergio-com-ai commented on GitHub (Mar 2, 2025):
Hello, thank you for the speedy patch. It was able to compile apache-arrow-cpp but got stuck now on the `test_mgmtd:
I'm using 100GB of memory to avoid OOM.
The Arch Linux build still get's stuck with arrow -- but don't worry about this one just yet, let's first try to figure out the Ubuntu 22.04 issue.
cat /etc/os-releaseI posted the OS info, just in case I might be missing something. I can also spin up an Ubuntu 20 version if needed.
Thanks for the support!
@SF-Zhou commented on GitHub (Mar 2, 2025):
This is strange. You can try deleting the existing build directory and rerunning the compilation command:
@sergio-com-ai commented on GitHub (Mar 2, 2025):
Ok did the rm and compile again, and I think it went through. I'll report back tomorrow I'm falling asleep, thank for the support so far. I'll close this ticket for now as the compile went through, will open another ticket for further issues (and the one related to Arch Linux).
Thanks for the support!
@huww98 commented on GitHub (Mar 2, 2025):
It seems we build arrow with unlimited number of jobs. This is not friendly to those who want to try this on small machines with less RAM.
Maybe we should apply this patch, to let the sub-make share the jobserver with outer make.
But
BUILD_JOB_SERVER_AWAREis added in cmake 1.28. Older cmake will also work, but only run one job for arrow, with warning like:make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule..Install new cmake in Ubuntu is pretty easy, just
pip install cmake. So I think we can use this new feature. Or we may just change this to something safer, maybe-j 16, which works for me on 16GiB RAM. What do you think?@SF-Zhou commented on GitHub (Mar 3, 2025):
I’ve merged your patch. Thanks!