Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603948 - =net-misc/youtube-dl-2016.12.22 - /usr/lib64/python3.4/site-packages/py2exe/_wapi.py: NameError: name 'WinDLL' is not defined
Summary: =net-misc/youtube-dl-2016.12.22 - /usr/lib64/python3.4/site-packages/py2exe/_...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-28 16:49 UTC by Martin
Modified: 2016-12-28 23:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,103.17 KB, text/plain)
2016-12-28 16:49 UTC, Martin
Details
environment (environment,142.87 KB, text/plain)
2016-12-28 16:49 UTC, Martin
Details
emerge --info (info.txt,23.08 KB, text/plain)
2016-12-28 16:50 UTC, Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2016-12-28 16:49:02 UTC
Created attachment 457638 [details]
build.log

When I try to upgrade to 2016.12.22, emerge fail whit the following error:

copying youtube_dl/postprocessor/embedthumbnail.py -> /var/tmp/portage/net-misc/youtube-dl-2016.12.22/work/youtube-dl-python2_7/lib/youtube_dl/postprocessor
warning: build_py: byte-compiling is disabled, skipping.

 * python3_4: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.4 setup.py build
Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    import py2exe
  File "/usr/lib64/python3.4/site-packages/py2exe/__init__.py", line 9, in <module>
    patch_distutils()
  File "/usr/lib64/python3.4/site-packages/py2exe/patch_distutils.py", line 68, in patch_distutils
    from . import distutils_buildexe
  File "/usr/lib64/python3.4/site-packages/py2exe/distutils_buildexe.py", line 91, in <module>
    from . import runtime
  File "/usr/lib64/python3.4/site-packages/py2exe/runtime.py", line 3, in <module>
    from .dllfinder import Scanner, pydll
  File "/usr/lib64/python3.4/site-packages/py2exe/dllfinder.py", line 5, in <module>
    from . import _wapi
  File "/usr/lib64/python3.4/site-packages/py2exe/_wapi.py", line 4, in <module>
    _kernel32 = WinDLL("kernel32")
NameError: name 'WinDLL' is not defined
 * ERROR: net-misc/youtube-dl-2016.12.22::gentoo failed (compile phase):
 *   (no error message)
Comment 1 Martin 2016-12-28 16:49:40 UTC
Created attachment 457640 [details]
environment
Comment 2 Martin 2016-12-28 16:50:08 UTC
Created attachment 457642 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2016-12-28 17:36:53 UTC
What owns /usr/lib64/python3.4/site-packages/py2exe/* on your system?
Comment 4 Martin 2016-12-28 22:20:50 UTC
(In reply to Jeroen Roovers from comment #3)
> What owns /usr/lib64/python3.4/site-packages/py2exe/* on your system?

It was installed manually installed with pip. I removed it and youtube-dl emerged ok. 

thanks