Having trouble building Kodi 17 on Debian/SteamOS (ffmpeg cmake step)

I mirrored the debian rules from the PPA and everything seemed to kick off ok, but in the FFMPEG piece had trouble copying a directory. Seems a directory is not set, or something else.

Code:
[  0%] Creating directories for 'ffmpeg'
/usr/bin/cmake -E make_directory /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src/ffmpeg
/usr/bin/cmake -E make_directory /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src/ffmpeg-build
/usr/bin/cmake -E make_directory /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg
/usr/bin/cmake -E make_directory /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/tmp
/usr/bin/cmake -E make_directory /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src/ffmpeg-stamp
/usr/bin/cmake -E make_directory /build/kodi-17.0+git+bsos/kodi_build/build/download
/usr/bin/cmake -E touch /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src/ffmpeg-stamp/ffmpeg-mkdir
[  1%] Performing download step (DIR copy) for 'ffmpeg'
cd /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src && /usr/bin/cmake -E remove_directory /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src/ffmpeg
cd /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src && /usr/bin/cmake -E copy_directory /build/kodi-17.0+git+bsos /build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src/ffmpeg
Error copying directory from "/build/kodi-17.0+git+bsos" to "/build/kodi-17.0+git+bsos/kodi_build/build/ffmpeg/src/ffmpeg".
CMakeFiles/ffmpeg.dir/build.make:92: recipe for target 'build/ffmpeg/src/ffmpeg-stamp/ffmpeg-download' failed
make[3]: *** [build/ffmpeg/src/ffmpeg-stamp/ffmpeg-download] Error 1
make[3]: Leaving directory '/build/kodi-17.0+git+bsos/kodi_build'
CMakeFiles/Makefile2:139: recipe for target 'CMakeFiles/ffmpeg.dir/all' failed
make[2]: *** [CMakeFiles/ffmpeg.dir/all] Error 2
make[2]: Leaving directory '/build/kodi-17.0+git+bsos/kodi_build'
Makefile:141: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/build/kodi-17.0+git+bsos/kodi_build'
dh_auto_build: make -j1 returned exit code 2
debian/rules:52: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Details

* Build script
* Debian files
* Build log: http://sprunge.us/AFKe