Hi IOzan ,
So, the 'sed: cannot rename .../sedXXXXXX: Permission denied' error still occurs after all.
Since this error is typically caused by environment‑specific factors within the Cygwin layer on Windows — such as file‑locking behavior, antivirus interference, or permission propagation — it is hard to offer a certain solution, unfortunately.
That said, try a few additional tests ?
Create a new spl_bsp directory in a location where you have full read/write permissions, preferably in a new folder on C: drive, and run make. Does this attempt generate exactly the same error log? (Try this several times.)
( Alternatively, you might consider abandoning Cygwin on your Windows environment and building it in a Linux environment instead.... )
Thanks,
Sho