Opened 10 years ago

Closed 10 years ago

#46467 closed defect (fixed)

youtube-dl @2015.01.07.2_0: build failing on snow leopard

Reported by: chillin- Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: snowleopard Cc:
Port: youtube-dl

Description (last modified by larryv (Lawrence Velázquez))

Wish I could tell you more! Thanks.

--->  Verifying checksums for youtube-dl
--->  Checksumming youtube-dl-2015.01.07.2.tar.gz
--->  Extracting youtube-dl
--->  Extracting youtube-dl-2015.01.07.2.tar.gz
--->  Applying patches to youtube-dl
--->  Applying patch-Makefile.diff
patching file Makefile
Hunk #1 succeeded at 55 (offset 9 lines).
--->  Applying patch-youtube_dl-update.py.diff
patching file youtube_dl/update.py
--->  Configuring youtube-dl
--->  Building youtube-dl
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_youtube-dl/youtube-dl/work/youtube-dl'
zip -q youtube-dl youtube_dl/*.py youtube_dl/*/*.py
python devscripts/make_contributing.py README.md CONTRIBUTING.md
python devscripts/make_supportedsites.py docs/supportedsites.md
zip -q -j youtube-dl youtube_dl/__main__.py
echo '#!/opt/local/bin/python2.7' > youtube-dl
cat youtube-dl.zip >> youtube-dl
rm youtube-dl.zip
chmod a+x youtube-dl
Traceback (most recent call last):
  File "devscripts/make_supportedsites.py", line 45, in <module>
    main()
  File "devscripts/make_supportedsites.py", line 39, in main
    for md in gen_ies_md(ies))
  File "devscripts/make_supportedsites.py", line 38, in <genexpr>
    ' - ' + md + '\n'
  File "devscripts/make_supportedsites.py", line 26, in gen_ies_md
    ie_md = '**{}**'.format(ie.IE_NAME)
ValueError: zero length field name in format
make: *** [supportedsites] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_youtube-dl/youtube-dl/work/youtube-dl'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_youtube-dl/youtube-dl/work/youtube-dl" && /usr/bin/make -j2 -w all PYTHON=/opt/local/bin/python2.7
Exit code: 2
Error: org.macports.build for port youtube-dl returned: command execution failed
Warning: targets not executed for youtube-dl: org.macports.install org.macports.build org.macports.destroot
Please see the log file for port youtube-dl for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_youtube-dl/youtube-dl/main.log
Error: Unable to upgrade port: 1

Attachments (1)

upgrade.log (9.6 KB) - added by chillin- 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by chillin-

Attachment: upgrade.log added

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: ryandesign@… removed
Description: modified (diff)
Keywords: snowleopard added; youtube-dl snow leopard removed
Owner: changed from macports-tickets@… to ryandesign@…
Summary: upgrade failing on snow leopardyoutube-dl @2015.01.07.2_0: build failing on snow leopard

comment:2 Changed 10 years ago by chillin-

I'm not sure what happened, but after this last batch of updates last night, that included openssl and netpbm and some others, ffmpeg I think... anyway, after building those, youtube-dl was able to build (have a script to automate, just assumed it would fail again, it did not, but I have no logs). Was this fixed or was it my installation all along? idk, but youtube-dl no longer shows up as outdated.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

This issue was reported on Homebrew too: https://github.com/Homebrew/homebrew/issues/35616

Looks like this was a bug in youtube-dl 2015.01.07.2. It was fixed in https://github.com/rg3/youtube-dl/commit/c5d666d3741d076d668c16f0dd3601589484b7c3 which was included in 2015.01.08.

Note: See TracTickets for help on using tickets.