unity error:debugger-agent Unable to listen on 5

the same build cmd in win7,it works!
but in mac,if failed,i do not know why!!

Batchmode quit successfully invoked - shutting down!
System memory in use before: 115.2 MB.
Unloading 0 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
System memory in use after: 98.7 MB.

Unloading 174 unused Assets to reduce memory usage. Loaded Objects now: 2137.
Total: 8.841620 ms (FindLiveObjects: 0.120407 ms CreateObjectMapping: 0.028707 ms MarkObjects: 7.174419 ms DeleteObjects: 1.484384 ms)

Refresh, detecting if any assets need to be imported or removed … 0.363722 seconds (Nothing changed)
Updating ProjectSettings/Physics2DSettings.asset - GUID: 00000000000000005100000000000000…
done. [Time: 28.615730 ms]

----- Total AssetImport time: 0.077925s, Asset Import: 0.052894s, CacheServerIntegrate: 0.000000s, CacheServer Download: 0.000000s [0 B, nan mb/s], CacheServer Hashing: 0.000000s [0 B, nan mb/s]

Cleanup mono
debugger-agent: Unable to listen on 5
Exiting batchmode successfully now!

I encountered a similar problem, the solution is to delete the build directory and then build again