You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the build for a couple of hours it is failing with an error on mount and unmount as shown in the log output below:
DEBUG:onlrfs:Executing:sudo mount -t proc proc stretch/rootfs-amd64.d/proc
mount: mount point stretch/rootfs-amd64.d/proc does not exist
ERROR:onlrfs:Exception 'Could not mount proc in rfs.' in OnlRfsContext::__enter__
DEBUG:onlrfs:Executing:sudo umount -l stretch/rootfs-amd64.d/dev stretch/rootfs-amd64.d/proc
umount: stretch/rootfs-amd64.d/proc: mountpoint not found
ERROR:onlrfs:Could not unmount dev and proc
/home/user1/OpenNetworkLinux/make/rfs.mk:50: recipe for target 'RFS' failed
make[3]: *** [RFS] Error 1
Traceback (most recent call last):
File "/home/user1/OpenNetworkLinux/tools/onlpm.py", line 1412, in <module>
pm.build(p)
File "/home/user1/OpenNetworkLinux/tools/onlpm.py", line 1087, in build
products = pg.build(dir_=dir_)
File "/home/user1/OpenNetworkLinux/tools/onlpm.py", line 690, in build
self.gmake_locked("", 'Build')
File "/home/user1/OpenNetworkLinux/tools/onlpm.py", line 665, in gmake_locked
ex=OnlPackageError('%s failed.' % operation))
File "/home/user1/OpenNetworkLinux/tools/onlu.py", line 126, in execute
raise ex
onlpm.OnlPackageError: 'Build failed.'
/home/user1/OpenNetworkLinux/make/pkg.mk:30: recipe for target 'pkgall' failed
make[2]: *** [pkgall] Error 1
/home/user1/OpenNetworkLinux/make/subdirs.mk:15: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/user1/OpenNetworkLinux/builds/amd64'
Makefile:23: recipe for target 'amd64' failed
make: *** [amd64] Error 2
make: *** [Makefile:57: docker] Error 2
This happens if the multistrap or earlier stage fails silently or partially completes, skipping creation of subdirectories like proc, dev, sys. The script assumes they exist during the mount phase.
💡 Optional: Patch the Build System to Avoid It in Future
You can make the build process safer by editing the file:
OpenNetworkLinux/make/rfs.mk
And before the mount -t proc and mount -t devtmpfs, insert:
Activity
azaam1990 commentedon Jul 20, 2025
I asked chatGPT could this be the solution? let me know:
The error you're seeing:
means the build system expected a directory
procinside your rootfs path but it wasn’t created beforehand.✅ Quick Fix
Manually create the missing
procanddevmount points in therootfsdirectory before retrying:Then rerun the build:
🧠 Why It Happens
This happens if the
multistrapor earlier stage fails silently or partially completes, skipping creation of subdirectories likeproc,dev,sys. The script assumes they exist during the mount phase.💡 Optional: Patch the Build System to Avoid It in Future
You can make the build process safer by editing the file:
And before the
mount -t procandmount -t devtmpfs, insert:This prevents the issue from coming up again on clean builds.
Let me know if you're still stuck after this, or if you want to skip RFS creation altogether and only build ONL packages.
azaam1990 commentedon Jul 20, 2025
nope still the same problem:
capveg commentedon Aug 11, 2025
The problems with the hosting site and the cached binaries have been fixed - can you please retry this to see if it's still broken for you?