[Bug 259270] bmake exits with status 0 upon ENOSPC

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Oct 2021 13:38:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259270

            Bug ID: 259270
           Summary: bmake exits with status 0 upon ENOSPC
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

My root fs is out of space.  When I do "make buildkernel && sudo make
installkernel", the buildkernel fails almost immediately but in that case I'd
expect the whole command to fail:

markj@biggie> make -j32 KERNCONF=GENERIC buildkernel && sudo make installkernel
-j32 KERNCONF=GENERIC INSTKERNNAME=
kernel.test && sudo nextboot -k kernel.test && sudo shutdown -r now             

/: write failed, filesystem is full                                             
--- buildkernel ---                                                             
--- installkernel ---                                                           
make[1] warning: /usr/home/markj/src/freebsd/: Read-only file system.           
--- _installcheck_kernel ---                                                    
--------------------------------------------------------------                  
>>> Install check kernel                                                                                                                      
--------------------------------------------------------------                  
--- installkernel ---
--------------------------------------------------------------
>>> Installing kernel GENERIC on Tue Oct 19 09:36:11 EDT 2021
--------------------------------------------------------------
...
markj@biggie> dmesg | tail -n 2
lo0: link state changed to UP
pid 8820 (make), uid 1001 inumber 7865089 on /: filesystem full
markj@biggie>

-- 
You are receiving this mail because:
You are the assignee for the bug.