diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2015-02-24 02:05:33 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2015-02-24 02:05:33 +0100 |
commit | 408845533af09acca45486af2bae1c7f599f0ad6 (patch) | |
tree | 008a65518ed9a42c6aa3e8383fb709355bd8c8f6 | |
parent | profiles/repo_name (diff) | |
download | blender-gentoo-logo-408845533af09acca45486af2bae1c7f599f0ad6.tar.gz blender-gentoo-logo-408845533af09acca45486af2bae1c7f599f0ad6.tar.bz2 blender-gentoo-logo-408845533af09acca45486af2bae1c7f599f0ad6.zip |
dev-lang/python: Workaround weird 2.2 install hick-up
>>> Install python-2.2-r8 into /var/tmp/portage/dev-lang/python-2.2-r8/image/ category dev-lang
Creating directory /var/tmp/portage/dev-lang/python-2.2-r8/image//usr/bin
[..]
mkdir ./Lib/plat-linux3
cp ./Lib/plat-generic/regen ./Lib/plat-linux3/regen
[..]
cd ./Lib/plat-linux3; ./regen
python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
Warning - could not find file stdc
[..]
Skipping: _EXTERN_INLINE = __extern_inline
Skipping: SCM_RIGHTS = SCM_RIGHTS
Skipping: SCM_CREDENTIALS = SCM_CREDENTIALS
Traceback (most recent call last):
File "../../Tools/scripts/h2py.py", line 156, in ?
main()
File "../../Tools/scripts/h2py.py", line 85, in main
process(fp, outfp)
File "../../Tools/scripts/h2py.py", line 151, in process
process(inclfp, outfp, env)
File "../../Tools/scripts/h2py.py", line 151, in process
process(inclfp, outfp, env)
File "../../Tools/scripts/h2py.py", line 151, in process
process(inclfp, outfp, env)
File "../../Tools/scripts/h2py.py", line 151, in process
process(inclfp, outfp, env)
File "../../Tools/scripts/h2py.py", line 92, in process
line = fp.readline()
IOError: [Errno 21] Is a directory
Makefile:667: recipe for target 'Lib/plat-linux3' failed
make: *** [Lib/plat-linux3] Error 1
-rw-r--r-- | dev-lang/python/python-2.2-r8.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-lang/python/python-2.2-r8.ebuild b/dev-lang/python/python-2.2-r8.ebuild index bd69ad1..27e8c93 100644 --- a/dev-lang/python/python-2.2-r8.ebuild +++ b/dev-lang/python/python-2.2-r8.ebuild @@ -117,6 +117,9 @@ src_compile() { src_install() { dodir /usr + + # Extra shot to workaround weird "Lib/plat-linux3" target error + make install prefix="${D}"/usr || true make install prefix="${D}"/usr || die rm "${D}/usr/bin/python" || die dodoc README || die |