bin/133066: make buildworld on RELENG_6_4 is broken when /usr/src is readonly

Victor Sudakov sudakov at sibptus.tomsk.ru
Wed Mar 25 09:20:02 PDT 2009


>Number:         133066
>Category:       bin
>Synopsis:       make buildworld on RELENG_6_4 is broken when /usr/src is readonly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 25 16:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Victor Sudakov
>Release:        RELENG_6_4
>Organization:
AO "Svyaztransneft", SibPTUS
>Environment:
System: FreeBSD virtbsd64.sibptus.tomsk.ru 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sun Dec 21 08:13:10 UTC 2008     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP  i386 

>Description:
	make buildworld on RELENG_6_4 aborts when /usr/src is mounted readonly

>How-To-Repeat:
Mount /usr/src readonly (e.g. from an NFS share). 
cd /usr/src ; make buildworld
The build process will abort with the following message:
===> sys/boot (cleandir)
===> sys/boot/ficl (cleandir)
rm -f softcore.c testmain testmain.o
rm -f a.out dict.o ficl.o fileaccess.o float.o loader.o math64.o prefix.o search.o stack.o tools.o vm.o words.o sysdep.o softcore.o dict.o.tmp ficl.o.tmp fileaccess.o.tmp float.o.tmp loader.o.tmp math64.o.tmp prefix.o.tmp search.o.tmp stack.o.tmp tools.o.tmp vm.o.tmp words.o.tmp sysdep.o.tmp softcore.o.tmp 
rm: dict.o: Read-only file system
rm: ficl.o: Read-only file system
rm: fileaccess.o: Read-only file system
rm: float.o: Read-only file system
*** Error code 1

Stop in /usr/src/sys/boot/ficl.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1
>Fix:

The -DNO_CLEAN flag seems to work around the problem.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list