Summary: | dev-python/cryptography-0.5.4 compiles in src_install phase | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 561694 | ||
Bug Blocks: |
Description
Patrick Lauer
2014-08-31 08:00:54 UTC
Something is causing it to think that the extension modules have not been built. It rebuilds them every time you run setup.py build or setup.py install. I suspect it has something to do with the way the modules are collected in setup.py (see get_ext_modules()). Perhaps {build,install}.finalize_options() is too late for this? It seems that cffi is re-generating the C source files on every pass here. get_ext_modules() calls cffi.verifier.get_extension(), which calls cffi.verifier.write_source(). I wonder if this is just a general problem with modules that use cffi? It's not the first and only. 'We' found another recently with the same thingy. Arfrever referred to it as a broken build system (at the time) I think the upstream URL represents this problem, as well. Hi. I was trying to build this for x86-32bit and ran into the following issue: running install_egg_info running egg_info writing requirements to cryptography.egg-info/requires.txt writing cryptography.egg-info/PKG-INFO writing top-level names to cryptography.egg-info/top_level.txt writing dependency_links to cryptography.egg-info/dependency_links.txt reading manifest file 'cryptography.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory 'vectors' writing manifest file 'cryptography.egg-info/SOURCES.txt' Copying cryptography.egg-info to /var/build/portage/dev-python/cryptography-0.5.4-r1000/temp/images/2.7/usr/lib/python2.7/site-packages/cryptography-0.5.4-py2.7.egg-info running install_scripts rm: cannot remove ‘/var/build/portage/dev-python/cryptography-0.5.4-r1000/temp/images/2.7/usr/lib64/python2.7/site-packages/cryptography/_Cryptography_cffi_*.so’: No such file or directory Here it exits, returning me to the prompt. I'm not sure if it's related, but it might. So I figured to add this as a comment to this bug. If you'd like me to file a separate one, please let me know. Thanks. (In reply to Marckus Knight from comment #5) It is not related. It also is not a problem with the Gentoo package. We do not support Funtoo Linux or Progress overlay. commit c3c2f1823de4a8a9c479c2c874a846c4de30d3d9 Author: Justin Lecher <jlec@gentoo.org> Date: Thu Nov 12 10:26:21 2015 +0100 dev-python/cryptography: Drop vulnerable versions Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=561696 obsoletes: Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=561604 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=559648 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=521796 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c2f1823de4a8a9c479c2c874a846c4de30d3d9 |