Created attachment 389216 [details] emerge --info >>> Compiling source in /var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/work/youtube-dl ... /usr/bin/python2.7 setup.py build Traceback (most recent call last): File "setup.py", line 12, in <module> from setuptools import setup File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 12, in <module> from setuptools.extension import Extension File "/usr/lib64/python2.7/site-packages/setuptools/extension.py", line 8, in <module> from .dist import _get_unpatched File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 18, in <module> from setuptools import windows_support File "/usr/lib64/python2.7/site-packages/setuptools/windows_support.py", line 2, in <module> import ctypes File "/usr/lib64/python2.7/ctypes/__init__.py", line 555, in <module> _reset_cache() File "/usr/lib64/python2.7/ctypes/__init__.py", line 279, in _reset_cache CFUNCTYPE(c_int)(lambda: None) MemoryError * ERROR: net-misc/youtube-dl-2014.11.12.1::gentoo failed (compile phase): * (no error message) I was able to emerge it successfully by commenting out line 279 in that file /usr/lib64/python2.7/ctypes/__init__.py
could be config error on my part as it is a newly installed system that had some problems during install.
The youtube-dl ebuild does nothing special here.
I can confirm I have the same issue.
Please attach the entire build log to this bug report.
emerge -av youtube-dl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-misc/youtube-dl-2014.11.12.1 USE="-offensive {-test}" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y >>> Emerging (1 of 1) net-misc/youtube-dl-2014.11.12.1::gentoo * youtube-dl-2014.11.12.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking youtube-dl-2014.11.12.1.tar.gz to /var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/work >>> Source unpacked in /var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/work >>> Preparing source in /var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/work/youtube-dl ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/work/youtube-dl ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/work/youtube-dl ... /usr/bin/python2.7 setup.py build Traceback (most recent call last): File "setup.py", line 12, in <module> from setuptools import setup File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 12, in <module> from setuptools.extension import Extension File "/usr/lib64/python2.7/site-packages/setuptools/extension.py", line 8, in <module> from .dist import _get_unpatched File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 18, in <module> from setuptools import windows_support File "/usr/lib64/python2.7/site-packages/setuptools/windows_support.py", line 2, in <module> import ctypes File "/usr/lib64/python2.7/ctypes/__init__.py", line 555, in <module> _reset_cache() File "/usr/lib64/python2.7/ctypes/__init__.py", line 279, in _reset_cache CFUNCTYPE(c_int)(lambda: None) MemoryError * ERROR: net-misc/youtube-dl-2014.11.12.1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2994: Called distutils-r1_src_compile * environment, line 808: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 293: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 797: Called distutils-r1_python_compile * environment, line 677: Called esetup.py 'build' * environment, line 1254: Called die * The specific snippet of code: * "${@}" || die * * If you need support, post the output of `emerge --info '=net-misc/youtube-dl-2014.11.12.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/youtube-dl-2014.11.12.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/work/youtube-dl' * S: '/var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/work/youtube-dl' >>> Failed to emerge net-misc/youtube-dl-2014.11.12.1, Log file: >>> '/var/tmp/portage/net-misc/youtube-dl-2014.11.12.1/temp/build.log'
This error is related to SELINUX, see http://forums.gentoo.org/viewtopic-t-1004104.html
(In reply to Sebastian Rose from comment #6) > This error is related to SELINUX, see > http://forums.gentoo.org/viewtopic-t-1004104.html Can't confirm that. I'm able to megre other packages no problem. And I don't use selinux.
*** This bug has been marked as a duplicate of bug 529044 ***