Hi,
I don't think this is related to the cloud-init project so I'm marking
the cloud-init task as invalid.
** Changed in: cloud-init
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1806338
Title:
pip2 install zbar
Status in cloud-init:
Invalid
Bug description:
2 . 1@linux-e9a2:~/Downloads/HPLIP_3181136-Latest> su -c "pip2 install zbar"
Password:
/usr/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py:83:
RequestsDependencyWarning: Old version of cryptography ([1, 3, 1]) may cause
slowdown.
warnings.warn(warning, RequestsDependencyWarning)
Collecting zbar
Using cached
https://files.pythonhosted.org/packages/33/54/cc5819efc9ee7e34b60b41e1d2d4753b6dd0c26a41c9a552611f66aa106e/zbar-0.10.tar.bz2
Installing collected packages: zbar
Running setup.py install for zbar ... error
Complete output from command /usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-install-GIARuQ/zbar/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-record-qH93Ju/install-record.txt --single-version-externally-managed
--compile:
running install
running build
running build_ext
building 'zbar' extension
creating build
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g
-DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -g -DOPENSSL_LOAD_CONF -fwrapv -fPIC
-I/usr/include/python2.7 -c zbarmodule.c -o
build/temp.linux-x86_64-2.7/zbarmodule.o
gcc: error: unrecognized command line option ‘-fstack-clash-protection’
gcc: error: unrecognized command line option ‘-fstack-clash-protection’
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-install-GIARuQ/zbar/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-record-qH93Ju/install-record.txt --single-version-externally-managed
--compile" failed with error code 1 in /tmp/pip-install-GIARuQ/zbar/
su -c "pip2 install tesserocr"
Password:
/usr/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py:83:
RequestsDependencyWarning: Old version of cryptography ([1, 3, 1]) may cause
slowdown.
warnings.warn(warning, RequestsDependencyWarning)
Collecting tesserocr
Using cached
https://files.pythonhosted.org/packages/f8/6d/4e81e041f33a4419e59edcb1dbdf3c56e9393f60f5ef531381bd67a1339b/tesserocr-2.3.1.tar.gz
Complete output from command python setup.py egg_info:
Supporting tesseract v3.04.00
Configs from pkg-config: {'libraries': ['lept', 'tesseract'],
'cython_compile_time_env': {'TESSERACT_VERSION': 197632}, 'include_dirs':
['/usr/include']}
Unable to find pgen, not compiling formal grammar.
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'
warnings.warn(msg)
Compiling /tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Plex/Scanners.py
because it changed.
Compiling /tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Plex/Actions.py
because it changed.
Compiling
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Compiler/Scanning.py because it
changed.
Compiling
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Compiler/Visitor.py because it
changed.
Compiling
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Compiler/FlowControl.py because
it changed.
Compiling
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Runtime/refnanny.pyx because it
changed.
Compiling
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Compiler/FusedNode.py because it
changed.
Compiling
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Tempita/_tempita.py because it
changed.
[1/8] Cythonizing
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Compiler/FlowControl.py
[2/8] Cythonizing
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Compiler/FusedNode.py
[3/8] Cythonizing
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Compiler/Scanning.py
[4/8] Cythonizing
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Compiler/Visitor.py
[5/8] Cythonizing
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Plex/Actions.py
[6/8] Cythonizing
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Plex/Scanners.py
[7/8] Cythonizing
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Runtime/refnanny.pyx
[8/8] Cythonizing
/tmp/easy_install-YGWrKs/Cython-0.29.1/Cython/Tempita/_tempita.py
warning: no files found matching 'Doc/*'
warning: no files found matching '*.pyx' under directory
'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory
'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
warning: no files found matching 'pyximport/README'
gcc: error: unrecognized command line option ‘-fstack-clash-protection’
gcc: error: unrecognized command line option ‘-fstack-clash-protection’
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-SjqBK0/tesserocr/setup.py", line 190, in <module>
setup_requires=['Cython>=0.23'],
File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 268,
in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 313,
in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
836, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
1081, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
1093, in obtain
return installer(requirement)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 380,
in fetch_build_egg
return cmd.easy_install(req)
File
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
636, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
666, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
849, in install_eggs
return self.build_and_install(setup_script, setup_base)
File
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
1077, in build_and_install
self.run_setup(setup_script, setup_base, args)
File
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
1065, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command
'gcc' failed with exit status 1
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-install-SjqBK0/tesserocr/
su -c "pip2 install scikit-image"
Password:
/usr/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py:83:
RequestsDependencyWarning: Old version of cryptography ([1, 3, 1]) may cause
slowdown.
warnings.warn(warning, RequestsDependencyWarning)
Collecting scikit-image
Using cached
https://files.pythonhosted.org/packages/ef/39/354b27da76ae1847be11139d6d2cd0dd5a92bf3442188e4d43f59a7d3360/scikit_image-0.14.1-cp27-cp27mu-manylinux1_x86_64.whl
Requirement already satisfied: pillow>=4.3.0 in
/usr/lib64/python2.7/site-packages (from scikit-image) (5.3.0)
Collecting matplotlib>=2.0.0 (from scikit-image)
Using cached
https://files.pythonhosted.org/packages/59/08/04933377dc4500e3698e93f9113dc3624874e0914f4c85767ecb5b389084/matplotlib-2.2.3-cp27-cp27mu-manylinux1_x86_64.whl
Collecting PyWavelets>=0.4.0 (from scikit-image)
Using cached
https://files.pythonhosted.org/packages/76/00/dfbbcae74e58bd90c49cfbf3cd023723cf30a2b059a9cf230c5c70be9886/PyWavelets-1.0.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting scipy>=0.17.0 (from scikit-image)
Using cached
https://files.pythonhosted.org/packages/2a/f3/de9c1bd16311982711209edaa8c6caa962db30ebb6a8cc6f1dcd2d3ef616/scipy-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Collecting cloudpickle>=0.2.1 (from scikit-image)
Using cached
https://files.pythonhosted.org/packages/fc/87/7b7ef3038b4783911e3fdecb5c566e3a817ce3e890e164fc174c088edb1e/cloudpickle-0.6.1-py2.py3-none-any.whl
Collecting networkx>=1.8 (from scikit-image)
Using cached
https://files.pythonhosted.org/packages/f3/f4/7e20ef40b118478191cec0b58c3192f822cace858c19505c7670961b76b2/networkx-2.2.zip
Collecting dask[array]>=0.9.0 (from scikit-image)
Using cached
https://files.pythonhosted.org/packages/b4/e5/6407c2349622699eab0881e6bc6e978b8da67872a105e5e20b72ff190c65/dask-1.0.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.10.0 in
/usr/lib/python2.7/site-packages (from scikit-image) (1.11.0)
Requirement already satisfied: pytz in /usr/lib/python2.7/site-packages (from
matplotlib>=2.0.0->scikit-image) (2018.7)
Requirement already satisfied: backports.functools-lru-cache in
/usr/lib/python2.7/site-packages (from matplotlib>=2.0.0->scikit-image) (1.5)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in
/usr/lib/python2.7/site-packages (from matplotlib>=2.0.0->scikit-image) (2.3.0)
Requirement already satisfied: numpy>=1.7.1 in
/usr/lib64/python2.7/site-packages (from matplotlib>=2.0.0->scikit-image)
(1.15.4)
Requirement already satisfied: kiwisolver>=1.0.1 in
/usr/lib64/python2.7/site-packages (from matplotlib>=2.0.0->scikit-image)
(1.0.1)
Requirement already satisfied: python-dateutil>=2.1 in
/usr/lib/python2.7/site-packages (from matplotlib>=2.0.0->scikit-image) (2.7.5)
Requirement already satisfied: cycler>=0.10 in
/usr/lib/python2.7/site-packages (from matplotlib>=2.0.0->scikit-image) (0.10.0)
Collecting subprocess32 (from matplotlib>=2.0.0->scikit-image)
Using cached
https://files.pythonhosted.org/packages/be/2b/beeba583e9877e64db10b52a96915afc0feabf7144dcbf2a0d0ea68bf73d/subprocess32-3.5.3.tar.gz
Requirement already satisfied: decorator>=4.3.0 in
/usr/lib/python2.7/site-packages (from networkx>=1.8->scikit-image) (4.3.0)
Collecting toolz>=0.7.3; extra == "array" (from
dask[array]>=0.9.0->scikit-image)
Using cached
https://files.pythonhosted.org/packages/14/d0/a73c15bbeda3d2e7b381a36afb0d9cd770a9f4adc5d1532691013ba881db/toolz-0.9.0.tar.gz
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages
(from kiwisolver>=1.0.1->matplotlib>=2.0.0->scikit-image) (18.0.1)
Installing collected packages: subprocess32, matplotlib, PyWavelets, scipy,
cloudpickle, networkx, toolz, dask, scikit-image
Running setup.py install for subprocess32 ... error
Complete output from command /usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-install-XD5vhN/subprocess32/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-record-OH9v66/install-record.txt --single-version-externally-managed
--compile:
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying subprocess32.py -> build/lib.linux-x86_64-2.7
running build_ext
running build_configure
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for pipe2... yes
checking for setsid... yes
checking whether dirfd is declared... yes
configure: creating ./config.status
config.status: creating _posixsubprocess_config.h
building '_posixsubprocess32' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g
-DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -g -DOPENSSL_LOAD_CONF -fwrapv -fPIC
-I/usr/include/python2.7 -c _posixsubprocess.c -o
build/temp.linux-x86_64-2.7/_posixsubprocess.o
gcc: error: unrecognized command line option ‘-fstack-clash-protection’
gcc: error: unrecognized command line option ‘-fstack-clash-protection’
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-install-XD5vhN/subprocess32/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-record-OH9v66/install-record.txt --single-version-externally-managed
--compile" failed with error code 1 in /tmp/pip-install-XD5vhN/subprocess32/
user1@linux-e9a2:~/Downloads/HPLIP_3181136-Latest>
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1806338/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp