Bug 199757

Summary: [build] make xdev fails when /usr/src is on readonly NFS
Product: Base System Reporter: Ruben Kerkhof <ruben.kerkhof>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: imp, ngie, sbruno
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Ruben Kerkhof 2015-04-28 11:45:23 UTC
I have /usr/src on a readonly nfs mount.

Trying to build an xdev toolchain:
ruben@localhost:/usr/src % sudo make -s TARGET=arm TARGET_ARCH=armv6 xdev

Results in:

===> lib/libexpat (buildincludes)
unifdef -U__VMS < /usr/src/lib/libexpat/../../contrib/expat/lib/expat.h |  sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/'  -e 's/COPYING/src\/contrib\/expat\/COPYING/'  -e 's/expat_external/bsdxml_external/'  > bsdxml.h
/bin/sh: cannot create bsdxml.h: Read-only file system
Comment 1 Enji Cooper freebsd_committer 2015-10-16 00:16:30 UTC
Adding Sean/Warner because this bug might be of interest...