Title: Build fails with "no space left on device" despite 200GB free space - RockPi 4B image
Board/Device: RockPi 4B openFyde Version: Building from main branch (commit: abc123def) Build Date: 2024-03-15
- Building openFyde from source
Host OS: Ubuntu 22.04.3 LTS CPU: AMD Ryzen 9 5900X RAM: 64GB DDR4 Storage: 500GB available on /home partition (ext4 on NVMe) Build Command Used:
cros build-packages --board=rockpi-4bBuild should complete successfully as I have sufficient disk space.
Build fails after about 2 hours with "No space left on device" error, but df -h shows 200GB+ free.
- Fresh checkout of openFyde repository
- Run
cros_sdk --enter - Setup board with
setup_board --board=rockpi-4b - Start build with
cros build-packages --board=rockpi-4b - Error occurs during chromeos-base/chromeos-chrome compilation
* ERROR: chromeos-base/chromeos-chrome-120.0.6099.109_rc-r1::chromiumos failed (compile phase):
* (no error message)
* Call stack:
* ebuild.sh, line 124: Called src_compile
* OSError: [Errno 28] No space left on device: '/tmp/portage/chromeos-base/chromeos-chrome-120.0.6099.109_rc-r1/temp/build.log'
- Increased /tmp to 32GB (was 16GB)
- Set PORTAGE_TMPDIR to a location with more space
- Cleared ccache with
ccache -C - Verified no quota limits with
quota -s
- Similar issue in Chromium OS tracker: crbug.com/123456
I suspect this might be inode exhaustion rather than disk space. Running df -i shows /tmp is at 98% inode usage.