The update of www/youtube-dl to youtube_dl-2017.10.01 fails with an error: ===> Building for youtube_dl-2017.10.01 --- youtube-dl --- mkdir -p zip for d in youtube_dl youtube_dl/downloader youtube_dl/extractor youtube_dl/postprocessor ; do mkdir -p zip/$d ; cp -pPR $d/*.py zip/$d/ ; done touch -t 200001010101 zip/youtube_dl/*.py zip/youtube_dl/*/*.py mv zip/youtube_dl/__main__.py zip/ cd zip ; zip -q ../youtube-dl youtube_dl/*.py youtube_dl/*/*.py __main__.py rm -rf zip echo '#!/usr/local/bin/python2.7' > youtube-dl cat youtube-dl.zip >> youtube-dl cat: youtube-dl.zip: No such file or directory *** [youtube-dl] Error code 1 make[2]: stopped in /usr/ports/www/youtube_dl/work/youtube-dl 1 error make[2]: stopped in /usr/ports/www/youtube_dl/work/youtube-dl ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1
Created attachment 186880 [details] patch file
There is another bug report about www/youtube-dl: Bug 222637. In comment #1, the author is getting the same error, solved by adding gmake to USES. I've tested that solution and it works.
*** This bug has been marked as a duplicate of bug 222637 ***