Bug 199757 - [build] make xdev fails when /usr/src is on readonly NFS
Summary: [build] make xdev fails when /usr/src is on readonly NFS
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2015-04-28 11:45 UTC by Ruben Kerkhof
Modified: 2015-10-16 00:16 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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...