Compiling Xcode to NFS: Cannot Rename Temporary .o File

I run Xcode to compile modules on NFS volumes, very often I get this error:

error: unable to rename temporary 'foo.c.o-d55a0d36' to output file 'foo.c.o': 
'No such file or directory'
  • Frequency: 0.01% (1 error received after compiling 10,000 modules).
  • Xcode: 6.4 or 7.0
  • OS: Mac OS X 10.10
  • NFS Server (NAS): Debian 7.x (OpenMediaVault 1.x or 2.x)

All servers (NAS and Mac OS X) are deployed on the ESXi host. In fact, I have 2 sets of environments and got similar results.

  • Dell R730, RAID 5, ESXi 5.5 U1, Xcode 6.4 / Mac OS X 10.10, OpenMediaVault 1.x
  • Dell R730, RAID 6, ESXi 6.0 U2, Xcode 7.0 / Mac OS X 10.10, OpenMediaVault 2.x

I tried a lot of settings. Current NFS Settings:

  • Server side: synchronization, no_subtree_check
  • Client side: see line in / etc / auto _home

* - fstype=nfs,rw,resvport,proto=tcp,async,intr,nolocks,locallocks,wsize=65536,rsize=65536 nas2:/export/home/&

Is there any solution for this problem like

  • NFS? .
  • Mac OS X
  • Xcode ( . foo.o )?

OS X NFS, ?

+4

Source: https://habr.com/ru/post/1609155/


All Articles