yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41219
[Bug 1516479] [NEW] pillow installed error when run 'tox -e py27' in neutron-spec
Public bug reported:
not sure it's a bug, just list here.
in neutron-spec master branch, run
#tox -e py27 -vvv -r
will get a installation error like below, seems lack of some jpeg support
and work around in my ubuntu 12.04 64bit host is
#sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
#sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
#sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
#apt-get install libjpeg-dev
===========================================
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-tLnh3m/Pillow/setup.py", line 767, in <module>
zip_safe=not debug_build(),
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/opt/stack/neutron-specs/.tox/py27/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 175, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/tmp/pip-build-tLnh3m/Pillow/setup.py", line 515, in build_extensions
% (f, f))
ValueError: --enable-jpeg requested but jpeg not found, aborting.
----------------------------------------
** Affects: neutron
Importance: Undecided
Assignee: yalei wang (yalei-wang)
Status: New
** Changed in: neutron
Assignee: (unassigned) => yalei wang (yalei-wang)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1516479
Title:
pillow installed error when run 'tox -e py27' in neutron-spec
Status in neutron:
New
Bug description:
not sure it's a bug, just list here.
in neutron-spec master branch, run
#tox -e py27 -vvv -r
will get a installation error like below, seems lack of some jpeg support
and work around in my ubuntu 12.04 64bit host is
#sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
#sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
#sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
#apt-get install libjpeg-dev
===========================================
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-tLnh3m/Pillow/setup.py", line 767, in <module>
zip_safe=not debug_build(),
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/opt/stack/neutron-specs/.tox/py27/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 175, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/tmp/pip-build-tLnh3m/Pillow/setup.py", line 515, in build_extensions
% (f, f))
ValueError: --enable-jpeg requested but jpeg not found, aborting.
----------------------------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1516479/+subscriptions
Follow ups