Activity log for bug #1745935

Date Who What changed Old value New value Message
2018-01-29 08:34:02 Jianghua Wang bug added bug
2018-01-29 08:59:58 OpenStack Infra devstack: status New In Progress
2018-01-29 08:59:58 OpenStack Infra devstack: assignee Jianghua Wang (wjh-fresh)
2018-01-29 09:35:00 Jianghua Wang description As python-pcre is not added in the upper-constraints.txt and python-pcre depends on libpcre3-dev. https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L440 We should include libpcre3-dev as the general prerequisite package, otherwise we will get the following error : 2018-01-29 05:13:26.786 | Failed to build python-pcre 2018-01-29 05:13:26.788 | Installing collected packages: lxml, asn1crypto, ipaddress, cryptography, pyasn1, bcrypt, PyNaCl, paramiko, python-cinderclient, warlock, pyOpenSSL, python-glanceclient, numpy, websockify, retrying, os-win, os-brick, os-traits, os-vif, python-barbicanclient, castellan, microversion-parse, voluptuous, tooz, cursive, pyasn1-modules, networkx, automaton, taskflow, pypowervm, os-service-types, nova, Pillow, funcparserlib, webcolors, blockdiag, actdiag, attrs, colorama, wsgi-intercept, py, pluggy, pytest, ply, jsonpath-rw, jsonpath-rw-ext, gabbi, os-api-ref, suds-jurko, oslo.vmware, psycopg2, python-ironicclient, python-pcre, requests-mock, seqdiag, sphinxcontrib-actdiag, sphinxcontrib-seqdiag, whereto 2018-01-29 05:13:30.626 | Running setup.py develop for nova 2018-01-29 05:13:34.472 | Running setup.py install for python-pcre: started 2018-01-29 05:13:34.880 | Running setup.py install for python-pcre: finished with status 'error' 2018-01-29 05:13:34.880 | Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-eoNXII/python-pcre/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-CEkr1Z-record/install-record.txt --single-version-externally-managed --compile: 2018-01-29 05:13:34.880 | running install 2018-01-29 05:13:34.880 | running build 2018-01-29 05:13:34.880 | running build_py 2018-01-29 05:13:34.880 | creating build 2018-01-29 05:13:34.880 | creating build/lib.linux-x86_64-2.7 2018-01-29 05:13:34.880 | copying python/pcre.py -> build/lib.linux-x86_64-2.7 2018-01-29 05:13:34.880 | running build_ext 2018-01-29 05:13:34.880 | building '_pcre' extension 2018-01-29 05:13:34.880 | creating build/temp.linux-x86_64-2.7 2018-01-29 05:13:34.880 | creating build/temp.linux-x86_64-2.7/src 2018-01-29 05:13:34.880 | x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/pcremodule.c -o build/temp.linux-x86_64-2.7/src/pcremodule.o -fno-strict-aliasing 2018-01-29 05:13:34.880 | src/pcremodule.c:32:18: fatal error: pcre.h: No such file or directory 2018-01-29 05:13:34.880 | compilation terminated. 2018-01-29 05:13:34.880 | error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 2018-01-29 05:13:34.881 | 2018-01-29 05:13:34.881 | ---------------------------------------- As python-pcre is now added in the upper-constraints.txt and python-pcre depends on libpcre3-dev. https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L440 We should include libpcre3-dev as the general prerequisite package, otherwise we will get the following error : 2018-01-29 05:13:26.786 | Failed to build python-pcre 2018-01-29 05:13:26.788 | Installing collected packages: lxml, asn1crypto, ipaddress, cryptography, pyasn1, bcrypt, PyNaCl, paramiko, python-cinderclient, warlock, pyOpenSSL, python-glanceclient, numpy, websockify, retrying, os-win, os-brick, os-traits, os-vif, python-barbicanclient, castellan, microversion-parse, voluptuous, tooz, cursive, pyasn1-modules, networkx, automaton, taskflow, pypowervm, os-service-types, nova, Pillow, funcparserlib, webcolors, blockdiag, actdiag, attrs, colorama, wsgi-intercept, py, pluggy, pytest, ply, jsonpath-rw, jsonpath-rw-ext, gabbi, os-api-ref, suds-jurko, oslo.vmware, psycopg2, python-ironicclient, python-pcre, requests-mock, seqdiag, sphinxcontrib-actdiag, sphinxcontrib-seqdiag, whereto 2018-01-29 05:13:30.626 | Running setup.py develop for nova 2018-01-29 05:13:34.472 | Running setup.py install for python-pcre: started 2018-01-29 05:13:34.880 | Running setup.py install for python-pcre: finished with status 'error' 2018-01-29 05:13:34.880 | Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-eoNXII/python-pcre/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-CEkr1Z-record/install-record.txt --single-version-externally-managed --compile: 2018-01-29 05:13:34.880 | running install 2018-01-29 05:13:34.880 | running build 2018-01-29 05:13:34.880 | running build_py 2018-01-29 05:13:34.880 | creating build 2018-01-29 05:13:34.880 | creating build/lib.linux-x86_64-2.7 2018-01-29 05:13:34.880 | copying python/pcre.py -> build/lib.linux-x86_64-2.7 2018-01-29 05:13:34.880 | running build_ext 2018-01-29 05:13:34.880 | building '_pcre' extension 2018-01-29 05:13:34.880 | creating build/temp.linux-x86_64-2.7 2018-01-29 05:13:34.880 | creating build/temp.linux-x86_64-2.7/src 2018-01-29 05:13:34.880 | x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/pcremodule.c -o build/temp.linux-x86_64-2.7/src/pcremodule.o -fno-strict-aliasing 2018-01-29 05:13:34.880 | src/pcremodule.c:32:18: fatal error: pcre.h: No such file or directory 2018-01-29 05:13:34.880 | compilation terminated. 2018-01-29 05:13:34.880 | error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 2018-01-29 05:13:34.881 | 2018-01-29 05:13:34.881 | ----------------------------------------
2018-01-30 02:59:37 Ian Wienand marked as duplicate 1745606