Bug 222755 - www/youtube-dl update to 2017.10.01 error
Summary: www/youtube-dl update to 2017.10.01 error
Status: Closed DUPLICATE of bug 222637
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 13:56 UTC by Marco Beishuizen
Modified: 2017-10-08 13:32 UTC (History)
4 users (show)

See Also:


Attachments
patch file (992 bytes, patch)
2017-10-03 14:19 UTC, Dmitri Goutnik
dmgk: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Beishuizen 2017-10-03 13:56:39 UTC
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
Comment 1 Dmitri Goutnik freebsd_committer freebsd_triage 2017-10-03 14:19:05 UTC
Created attachment 186880 [details]
patch file
Comment 2 Barbara Guida freebsd_committer freebsd_triage 2017-10-04 06:18:00 UTC
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.
Comment 3 Luca Pizzamiglio freebsd_committer freebsd_triage 2017-10-08 13:32:41 UTC

*** This bug has been marked as a duplicate of bug 222637 ***