New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
youtube-dl: 2020.11.24 -> 2020.11.26 #104931
Conversation
Result of 3 packages failed to build:
35 packages built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
youtube-dl doesn't seem to run in that environment though, I get
Traceback (most recent call last):
File "/nix/store/mw9hjrzgd81qbdq4anscpxgsc0j46my2-python3.8-youtube-dl-2020.11.26/bin/.youtube-dl-wrapped", line 6, in <module>
from youtube_dl import main
File "/nix/store/ka6q3w2vyj979jp0iqc86ddnb5xvczcz-python3.7-youtube-dl-2020.11.26/lib/python3.7/site-packages/youtube_dl/__init__.py", line 15, in <module>
from .options import (
File "/nix/store/ka6q3w2vyj979jp0iqc86ddnb5xvczcz-python3.7-youtube-dl-2020.11.26/lib/python3.7/site-packages/youtube_dl/options.py", line 8, in <module>
from .downloader.external import list_external_downloaders
File "/nix/store/ka6q3w2vyj979jp0iqc86ddnb5xvczcz-python3.7-youtube-dl-2020.11.26/lib/python3.7/site-packages/youtube_dl/downloader/__init__.py", line 5, in <module>
from .hls import HlsFD
File "/nix/store/ka6q3w2vyj979jp0iqc86ddnb5xvczcz-python3.7-youtube-dl-2020.11.26/lib/python3.7/site-packages/youtube_dl/downloader/hls.py", line 6, in <module>
from Crypto.Cipher import AES
File "/nix/store/4p0d9jzgfn0xj2sbqb1clahxmq2g1s9s-python3.7-pycryptodome-3.9.9/lib/python3.7/site-packages/Crypto/Cipher/__init__.py", line 27, in <module>
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File "/nix/store/4p0d9jzgfn0xj2sbqb1clahxmq2g1s9s-python3.7-pycryptodome-3.9.9/lib/python3.7/site-packages/Crypto/Cipher/_mode_ecb.py", line 35, in <module>
raw_ecb_lib = load_pycryptodome_raw_lib("Crypto.Cipher._raw_ecb", """
File "/nix/store/4p0d9jzgfn0xj2sbqb1clahxmq2g1s9s-python3.7-pycryptodome-3.9.9/lib/python3.7/site-packages/Crypto/Util/_raw_api.py", line 308, in load_pycryptodome_raw_lib
raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cpython-38-x86_64-linux-gnu.so': /nix/store/4p0d9jzgfn0xj2sbqb1clahxmq2g1s9s-python3.7-pycryptodome-3.9.9/lib/python3.7/site-packages/Crypto/Util/../Cipher/_raw_ecb.cpython-38-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory, Trying '_raw_ecb.abi3.so': /nix/store/4p0d9jzgfn0xj2sbqb1clahxmq2g1s9s-python3.7-pycryptodome-3.9.9/lib/python3.7/site-packages/Crypto/Util/../Cipher/_raw_ecb.abi3.so: cannot open shared object file: No such file or directory, Trying '_raw_ecb.so': /nix/store/4p0d9jzgfn0xj2sbqb1clahxmq2g1s9s-python3.7-pycryptodome-3.9.9/lib/python3.7/site-packages/Crypto/Util/../Cipher/_raw_ecb.so: cannot open shared object file: No such file or directory
which is incredibly suspicious because there's both a python3.8 and python3.7 youtube-dl hanging out there.
Anyway, unsetting PYTHONPATH and running ./results/youtube-dl/bin/youtube-dl on a Spreaker URL (new in this release) seems to work properly, so LGTM.
@AndersonTorres can you also take care of the backport? :) |
@Ma27 looks fine but I never dit it before. Do you have a link to a tutorial or something? |
https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#backporting-changes |
Result of 5 packages marked as broken and skipped:
4 packages failed to build:
19 packages built:
Broken packages are either already fixed or require youtube-dlc |
Was backported in 9396030. |
Motivation for this change
https://github.com/ytdl-org/youtube-dl/releases/tag/2020.11.26
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)