All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: openembedded-devel@lists.openembedded.org
Subject: python-pyopenssl fails during install phase
Date: Sat, 05 Sep 2015 11:00:58 +0200	[thread overview]
Message-ID: <55EAAF4A.10109@topic.nl> (raw)

With today's OE and meta-oe master branches, I get the following 
mysterious error while building:

(I replaced my topdir with 'TOPDIR' in the log to protect my privacy)

DEBUG: Executing shell function do_install
running install
running bdist_egg
running egg_info
writing requirements to pyOpenSSL.egg-info/requires.txt
writing pyOpenSSL.egg-info/PKG-INFO
writing top-level names to pyOpenSSL.egg-info/top_level.txt
writing dependency_links to pyOpenSSL.egg-info/dependency_links.txt
reading manifest file 'pyOpenSSL.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'OpenSSL/RATIONALE'
warning: no previously-included files found matching 'leakcheck'
warning: no previously-included files matching '*.py' found under 
directory 'leakcheck'
warning: no previously-included files matching '*.pem' found under 
directory 'leakcheck'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
no previously-included directories found matching 'doc/_build'
writing manifest file 'pyOpenSSL.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/OpenSSL
copying build/lib/OpenSSL/_util.py -> build/bdist.linux-x86_64/egg/OpenSSL
copying build/lib/OpenSSL/crypto.py -> build/bdist.linux-x86_64/egg/OpenSSL
copying build/lib/OpenSSL/__init__.py -> 
build/bdist.linux-x86_64/egg/OpenSSL
copying build/lib/OpenSSL/rand.py -> build/bdist.linux-x86_64/egg/OpenSSL
copying build/lib/OpenSSL/tsafe.py -> build/bdist.linux-x86_64/egg/OpenSSL
copying build/lib/OpenSSL/SSL.py -> build/bdist.linux-x86_64/egg/OpenSSL
creating build/bdist.linux-x86_64/egg/OpenSSL/test
copying build/lib/OpenSSL/test/test_rand.py -> 
build/bdist.linux-x86_64/egg/OpenSSL/test
copying build/lib/OpenSSL/test/util.py -> 
build/bdist.linux-x86_64/egg/OpenSSL/test
copying build/lib/OpenSSL/test/test_tsafe.py -> 
build/bdist.linux-x86_64/egg/OpenSSL/test
copying build/lib/OpenSSL/test/__init__.py -> 
build/bdist.linux-x86_64/egg/OpenSSL/test
copying build/lib/OpenSSL/test/test_crypto.py -> 
build/bdist.linux-x86_64/egg/OpenSSL/test
copying build/lib/OpenSSL/test/test_ssl.py -> 
build/bdist.linux-x86_64/egg/OpenSSL/test
copying build/lib/OpenSSL/test/test_util.py -> 
build/bdist.linux-x86_64/egg/OpenSSL/test
copying build/lib/OpenSSL/version.py -> build/bdist.linux-x86_64/egg/OpenSSL
writing byte-compilation script '/tmp/tmpYEe1_A.py'
/TOPDIR/build/tmp/sysroots/x86_64-linux/usr/bin/python-native/python 
/tmp/tmpYEe1_A.py
removing /tmp/tmpYEe1_A.py
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying pyOpenSSL.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyOpenSSL.egg-info/SOURCES.txt -> 
build/bdist.linux-x86_64/egg/EGG-INFO
copying pyOpenSSL.egg-info/dependency_links.txt -> 
build/bdist.linux-x86_64/egg/EGG-INFO
copying pyOpenSSL.egg-info/requires.txt -> 
build/bdist.linux-x86_64/egg/EGG-INFO
copying pyOpenSSL.egg-info/top_level.txt -> 
build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/pyOpenSSL-0.15.1-py2.7.egg' and adding 
'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Creating 
/TOPDIR/build/tmp/work/mips32el-oe-linux/python-pyopenssl/1_0.15.1-r0/image/usr/lib/python2.7/site-packages/site.py
Processing pyOpenSSL-0.15.1-py2.7.egg
Copying pyOpenSSL-0.15.1-py2.7.egg to 
/TOPDIR/build/tmp/work/mips32el-oe-linux/python-pyopenssl/1_0.15.1-r0/image/usr/lib/python2.7/site-packages
Adding pyOpenSSL 0.15.1 to easy-install.pth file

Installed 
/TOPDIR/build/tmp/work/mips32el-oe-linux/python-pyopenssl/1_0.15.1-r0/image/usr/lib/python2.7/site-packages/pyOpenSSL-0.15.1-py2.7.egg
Processing dependencies for pyOpenSSL==0.15.1
Searching for six>=1.5.2
Reading https://pypi.python.org/simple/six/
Best match: six 1.9.0
Downloading 
https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz#md5=476881ef4012262dfc8adc645ee786c4
Processing six-1.9.0.tar.gz
Writing /tmp/easy_install-ZTQGDn/six-1.9.0/setup.cfg
Running six-1.9.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-ZTQGDn/six-1.9.0/egg-dist-tmp-sL3RtM
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
six: module references __path__
creating 
/TOPDIR/build/tmp/work/mips32el-oe-linux/python-pyopenssl/1_0.15.1-r0/image/usr/lib/python2.7/site-packages/six-1.9.0-py2.7.egg
Extracting six-1.9.0-py2.7.egg to 
/TOPDIR/build/tmp/work/mips32el-oe-linux/python-pyopenssl/1_0.15.1-r0/image/usr/lib/python2.7/site-packages
Adding six 1.9.0 to easy-install.pth file

Installed 
/TOPDIR/build/tmp/work/mips32el-oe-linux/python-pyopenssl/1_0.15.1-r0/image/usr/lib/python2.7/site-packages/six-1.9.0-py2.7.egg
Searching for cryptography>=0.7
Reading https://pypi.python.org/simple/cryptography/
Best match: cryptography 1.0
Downloading 
https://pypi.python.org/packages/source/c/cryptography/cryptography-1.0.tar.gz#md5=3f2608eb94dcc6e616c3cc2e182181b0
Processing cryptography-1.0.tar.gz
Writing /tmp/easy_install-4LpLp5/cryptography-1.0/setup.cfg
Running cryptography-1.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-4LpLp5/cryptography-1.0/egg-dist-tmp-gn1Pcd

Installed 
/tmp/easy_install-4LpLp5/cryptography-1.0/.eggs/cffi-1.2.1-py2.7-linux-x86_64.egg
Traceback (most recent call last):
   File "setup.py", line 78, in <module>
     test_suite="OpenSSL")
   File 
"/TOPDIR/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/core.py", 
line 151, in setup
     dist.run_commands()
   File 
"/TOPDIR/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py", 
line 953, in run_commands
     self.run_command(cmd)
   File 
"/TOPDIR/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py", 
line 972, in run_command
     cmd_obj.run()
   File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", 
line 67, in run
   File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", 
line 117, in do_egg_install
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
380, in run
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
610, in easy_install
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
661, in install_item
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
709, in process_distribution
   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
836, in resolve
   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
1081, in best_match
   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
1093, in obtain
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
629, in easy_install
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
659, in install_item
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
842, in install_eggs
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
1070, in build_and_install
   File 
"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 
1056, in run_setup
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 240, 
in run_setup
   File 
"/TOPDIR/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/contextlib.py", 
line 35, in __exit__
     self.gen.throw(type, value, traceback)
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 193, 
in setup_context
   File 
"/TOPDIR/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/contextlib.py", 
line 35, in __exit__
     self.gen.throw(type, value, traceback)
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 164, 
in save_modules
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 139, 
in resume
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 152, 
in save_modules
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 193, 
in setup_context
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 237, 
in run_setup
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 267, 
in run
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 236, 
in runner
   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 46, 
in _execfile
   File "/tmp/easy_install-4LpLp5/cryptography-1.0/setup.py", line 307, 
in <module>

   File 
"/TOPDIR/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/core.py", 
line 111, in setup
     _setup_distribution = dist = klass(attrs)
   File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 272, in 
__init__
   File 
"/TOPDIR/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py", 
line 287, in __init__
     self.finalize_options()
   File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 327, in 
finalize_options
   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
2355, in load
   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
2361, in resolve
ImportError: No module named setuptools_ext
WARNING: exit code 1 from a shell command.
ERROR: python setup.py install execution failed.

-- 
Mike Looijmans


             reply	other threads:[~2015-09-05  9:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-05  9:00 Mike Looijmans [this message]
2015-09-06 14:42 ` [PATCH][meta-python] python-pyopenssl: Inherit setuptools to fix failing install Mike Looijmans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55EAAF4A.10109@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.