Environment
Reproduced in docker containers but I assume it is not specific to that.
Description
A pip install of egenix-mx-base fails with a gcc error when using recent pip 19.1.1 from a get-pip.py install. Oddly, it works with the debian repo's pip, an older version.
Expected behavior
Weird, it works with debian stretch's pip 9.0.1 from apt-get:
$ docker run -ti debian:9 bash
root@d35ede567f65:/# apt-get update && apt-get install -y curl python
root@d35ede567f65:/# apt-get install -y python-pip
root@d35ede567f65:/# pip --version
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
root@d35ede567f65:/# pip install egenix-mx-base==3.2.9
Collecting egenix-mx-base==3.2.9
Downloading https://files.pythonhosted.org/packages/66/e6/e0709aedeb4a5c92a1aeb8c47ab50e9506eafc865806801bd3f01d72b671/egenix-mx-base-3.2.9.zip (74kB)
100% |################################| 81kB 2.8MB/s
Building wheels for collected packages: egenix-mx-base
Running setup.py bdist_wheel for egenix-mx-base ... done
Stored in directory: /root/.cache/pip/wheels/4f/65/d2/412735e56129b7dbcbc803c2250fb807936d7dab95a61e05fd
Successfully built egenix-mx-base
Installing collected packages: egenix-mx-base
Successfully installed egenix-mx-base-3.2.9
How to Reproduce
$ docker run -ti debian:9 bash
# apt-get update && apt-get install -y curl python
# curl https://bootstrap.pypa.io/get-pip.py | python # versus "apt-get install python-pip"
# pip install egenix-mx-base==3.2.9
ERROR
Output
$ docker run -ti debian:9 bash
root@55b6cd5675fa:/# apt-get update && apt-get install -y curl python
root@55b6cd5675fa:/# curl https://bootstrap.pypa.io/get-pip.py | python
root@55b6cd5675fa:/# pip --version
pip 19.1.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
root@55b6cd5675fa:/# pip install egenix-mx-base==3.2.9
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting egenix-mx-base==3.2.9
Downloading https://files.pythonhosted.org/packages/66/e6/e0709aedeb4a5c92a1aeb8c47ab50e9506eafc865806801bd3f01d72b671/egenix-mx-base-3.2.9.zip (74kB)
|################################| 81kB 3.3MB/s
Building wheels for collected packages: egenix-mx-base
Building wheel for egenix-mx-base (setup.py) ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-4VK36c/egenix-mx-base/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-fKh8Yd --python-tag cp27:
ERROR: running bdist_wheel
found usable build data file 'build/build-py2.7_ucs4.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'linux-x86_64'
restoring build data from a previous build run
loaded build data for platform 'linux-x86_64'
installing to build/bdist.linux-x86_64-py2.7_ucs4/wheel
running install
running install_lib
running build_ext
building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
checking for optional libraries
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _configtest.c -o _configtest.o
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
failure.
removing: _configtest.c _configtest.o
could not find optional library 'm' -- omitting it
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _configtest.c -o _configtest.o
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
failure.
removing: _configtest.c _configtest.o
could not find optional library 'rt' -- omitting it
building 'mx.DateTime.mxDateTime.mxDateTime' extension
creating build/temp.linux-x86_64-2.7_ucs4
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE_FAST_GETCURRENTTIME -Imx/DateTime/mxDateTime -I/usr/include/python2.7 -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for egenix-mx-base
Running setup.py clean for egenix-mx-base
Failed to build egenix-mx-base
Installing collected packages: egenix-mx-base
Running setup.py install for egenix-mx-base ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-4VK36c/egenix-mx-base/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-RdEYCg/install-record.txt --single-version-externally-managed --compile:
ERROR: running install
no build data file 'build/build-py2.7_ucs4.pck' found
error: [Errno 2] No such file or directory: 'build/build-py2.7_ucs4.pck'
----------------------------------------
ERROR: Command "/usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-4VK36c/egenix-mx-base/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-RdEYCg/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-4VK36c/egenix-mx-base/
The problem seems specific to get-pip.py
. The same 9.0.1 version that works when installed with apt-get
fails when installed with get-pip.py
, though oddly it fails differently that the latest version.
# curl -fLO https://bootstrap.pypa.io/get-pip.py
# python get-pip.py 'pip==9.0.1'
# pip install egenix-mx-base==3.2.9
Collecting egenix-mx-base==3.2.9
Downloading https://files.pythonhosted.org/packages/66/e6/e0709aedeb4a5c92a1aeb8c47ab50e9506eafc865806801bd3f01d72b671/egenix-mx-base-3.2.9.zip (74kB)
100% |################################| 81kB 2.8MB/s
Building wheels for collected packages: egenix-mx-base
Running setup.py bdist_wheel for egenix-mx-base ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-KCajVh/egenix-mx-base/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpxDQORppip-wheel- --python-tag cp27:
running bdist_wheel
found usable build data file 'build/build-py2.7_ucs4.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'linux-x86_64'
restoring build data from a previous build run
loaded build data for platform 'linux-x86_64'
installing to build/bdist.linux-x86_64-py2.7_ucs4/wheel
running install
running install_lib
running build_ext
building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
checking for optional libraries
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _configtest.c -o _configtest.o
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
failure.
removing: _configtest.c _configtest.o
could not find optional library 'm' -- omitting it
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _configtest.c -o _configtest.o
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
failure.
removing: _configtest.c _configtest.o
could not find optional library 'rt' -- omitting it
building 'mx.DateTime.mxDateTime.mxDateTime' extension
creating build/temp.linux-x86_64-2.7_ucs4
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE_FAST_GETCURRENTTIME -Imx/DateTime/mxDateTime -I/usr/include/python2.7 -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for egenix-mx-base
Running setup.py clean for egenix-mx-base
Failed to build egenix-mx-base
Installing collected packages: egenix-mx-base
Running setup.py install for egenix-mx-base ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-KCajVh/egenix-mx-base/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-zezNqi-record/install-record.txt --single-version-externally-managed --compile:
running install
no build data file 'build/build-py2.7_ucs4.pck' found
error: [Errno 2] No such file or directory: 'build/build-py2.7_ucs4.pck'
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-KCajVh/egenix-mx-base/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-zezNqi-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-KCajVh/egenix-mx-base/
You are using pip version 9.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The primary error is:
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
apt-get install python-pip
also installs gcc
, which is why this error does not occur in that example.
Installing gcc
does not solve every problem, as shown in the following:
New Output:
$ docker run -ti debian:9 bash
root@55b6cd5675fa:/# apt-get update && apt-get install -y curl python gcc
root@55b6cd5675fa:/# curl https://bootstrap.pypa.io/get-pip.py | python
root@55b6cd5675fa:/# pip install egenix-mx-base==3.2.9
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting egenix-mx-base==3.2.9
Downloading https://files.pythonhosted.org/packages/66/e6/e0709aedeb4a5c92a1aeb8c47ab50e9506eafc865806801bd3f01d72b671/egenix-mx-base-3.2.9.zip (74kB)
|################################| 81kB 7.9MB/s
Building wheels for collected packages: egenix-mx-base
Building wheel for egenix-mx-base (setup.py) ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-hoz0Mq/egenix-mx-base/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-qxPzbl --python-tag cp27:
ERROR: running bdist_wheel
found usable build data file 'build/build-py2.7_ucs4.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'linux-x86_64'
restoring build data from a previous build run
loaded build data for platform 'linux-x86_64'
installing to build/bdist.linux-x86_64-py2.7_ucs4/wheel
running install
running install_lib
running build_ext
building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
checking for optional libraries
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _configtest.c -o _configtest.o
x86_64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
found optional library 'm' -- defining HAVE_M_LIB
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _configtest.c -o _configtest.o
x86_64-linux-gnu-gcc -pthread _configtest.o -lrt -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
found optional library 'rt' -- defining HAVE_RT_LIB
building 'mx.DateTime.mxDateTime.mxDateTime' extension
creating build/temp.linux-x86_64-2.7_ucs4
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE_FAST_GETCURRENTTIME -DHAVE_M_LIB=1 -DHAVE_RT_LIB=1 -Imx/DateTime/mxDateTime -I/usr/include/python2.7 -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o
x86_64-linux-gnu-gcc: error: mx/DateTime/mxDateTime/mxDateTime.c: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for egenix-mx-base
Running setup.py clean for egenix-mx-base
Failed to build egenix-mx-base
Installing collected packages: egenix-mx-base
Running setup.py install for egenix-mx-base ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-hoz0Mq/egenix-mx-base/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-rhkWsS/install-record.txt --single-version-externally-managed --compile:
ERROR: running install
no build data file 'build/build-py2.7_ucs4.pck' found
error: [Errno 2] No such file or directory: 'build/build-py2.7_ucs4.pck'
----------------------------------------
ERROR: Command "/usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-hoz0Mq/egenix-mx-base/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-rhkWsS/install-record.txt --single-version-externally
This time the error is
x86_64-linux-gnu-gcc: error: mx/DateTime/mxDateTime/mxDateTime.c: No such file or directory
Thanks I missed that gcc error message. But yeah there's still that mxDateTime.c: No such file
error, even even after build-essentials
is installed.
I wonder if it's a problem with recent versions of pip and the docker container's file system? Older yum
releases had a lot of problems in containers, I think with the copy-on-write file system, maybe pip is hitting something similar. FWIW I'm using the default docker overlay2 storage driver and reproduced on both Docker for Mac and an Ubuntu 16.04 docker server.
Just verified the same mxDateTime.c: No such file
error happens in a centos:7.6.1810 container, so the problem is not specified to Debian / apt-get. As with Debian, the CentOS pip (yum install epel-release and python-pip) works fine.
Okay here's a workaround for a pip installed via get-pip.py: downgrade to 19.0.3 and use pip install --no-cache-dir
:
$ docker run -ti centos:7 bash
# yum install -y gcc python-devel && curl -fLO https://bootstrap.pypa.io/get-pip.py && python ./get-pip.py
# pip install pip==19.0.3
# pip install --no-cache-dir egenix-mx-base==3.2.9
Collecting egenix-mx-base==3.2.9
Downloading https://files.pythonhosted.org/packages/66/e6/e0709aedeb4a5c92a1aeb8c47ab50e9506eafc865806801bd3f01d72b671/egenix-mx-base-3.2.9.zip (74kB)
100% |################################| 81kB 1.6MB/s
Installing collected packages: egenix-mx-base
Running setup.py install for egenix-mx-base ... done
Successfully installed egenix-mx-base-3.2.9
You are using pip version 19.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The egenix-mx-base package downloads a pre-built or source version of the package and extracts it into a directory. Maybe the chosen directory isn't correct for some combination of pip and environment. You may want to report these findings to the support documented on their installation instructions page here.
I emailed egenix support and posted a message to their discussion list but not response yet:
https://www.egenix.com/mailman-archives/egenix-users/2019-June/115089.html
Since this worked with previous versions of pip seems it's a pip bug/regression and might affect other packages.
I was able to install egenix-mx-base using pip 18.1 as available in debian buster. See:
docker run -it debian:buster bash
$ apt update
$ apt install python python-pip python-virtualenv
$ sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf
$ pip install egenix-mx-base
Additionally, running in a virtual environment (since upgrading the global dist-installed pip with pip is unsupported), I was able to install it with 19.0.1, but it fails with 19.1 and 19.1.1, with the same output as in your most recent error.
Hmm... Debian patches their pip. Can someone make sure that this isn't happening because of that?
Labeling with the justification that it's a bug somewhere, we still need to find out where specifically.
Also encountering this on Ubuntu 16.04 LTS with pip 19.3.1.
Downgrading to pip 19.0.1 using
pip install pip==19.0.1
and then installing egenix-mx-base with
pip install --no-cache-dir egenix-mx-base
worked for me.
Can someone check if this is reproducible with pip 20.0.2?
Seems to work fine with pip 20.0.2, setuptools 44.0.0, and wheel 0.34.2 under python 2.7.17 /yes, I know...)
Alrighty! Thanks for checking @cthart! ^.^
Exactly same config as @cthart gave the same error to me (pip 20.0.2, setuptools 44.0.0, and wheel 0.34.2 under python 2.7.17)
$ pip install --no-cache-dir egenix-mx-base
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting egenix-mx-base
Downloading egenix-mx-base-3.2.9.zip (74 kB)
|ββββββββββββββββββββββββββββββββ| 74 kB 1.2 MB/s
Building wheels for collected packages: egenix-mx-base
Building wheel for egenix-mx-base (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/pol/.virtualenvs/erpclient/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4YJhoW/egenix-mx-base/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4YJhoW/egenix-mx-base/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-Jd6NvG
cwd: /tmp/pip-install-4YJhoW/egenix-mx-base/
Complete output (34 lines):
running bdist_wheel
found usable build data file 'build/build-py2.7_ucs4.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'linux-x86_64'
restoring build data from a previous build run
loaded build data for platform 'linux-x86_64'
installing to build/bdist.linux-x86_64-py2.7_ucs4/wheel
running install
running install_lib
running build_ext
building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
checking for optional libraries
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _configtest.c -o _configtest.o
x86_64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
found optional library 'm' -- defining HAVE_M_LIB
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _configtest.c -o _configtest.o
x86_64-linux-gnu-gcc -pthread _configtest.o -lrt -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
found optional library 'rt' -- defining HAVE_RT_LIB
building 'mx.DateTime.mxDateTime.mxDateTime' extension
creating build/temp.linux-x86_64-2.7_ucs4
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime
creating build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE_FAST_GETCURRENTTIME -DHAVE_M_LIB=1 -DHAVE_RT_LIB=1 -Imx/DateTime/mxDateTime -I/usr/include/python2.7 -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o
x86_64-linux-gnu-gcc: error: mx/DateTime/mxDateTime/mxDateTime.c: El fitxer o directori no existeix
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for egenix-mx-base
Running setup.py clean for egenix-mx-base
Failed to build egenix-mx-base
Installing collected packages: egenix-mx-base
Running setup.py install for egenix-mx-base ... error
ERROR: Command errored out with exit status 1:
command: /home/pol/.virtualenvs/erpclient/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4YJhoW/egenix-mx-base/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4YJhoW/egenix-mx-base/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-_81TPA/install-record.txt --single-version-externally-managed --compile --install-headers /home/pol/.virtualenvs/erpclient/include/site/python2.7/egenix-mx-base
cwd: /tmp/pip-install-4YJhoW/egenix-mx-base/
Complete output (3 lines):
running install
no build data file 'build/build-py2.7_ucs4.pck' found
error: [Errno 2] No such file or directory: 'build/build-py2.7_ucs4.pck'
----------------------------------------
ERROR: Command errored out with exit status 1: /home/pol/.virtualenvs/erpclient/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4YJhoW/egenix-mx-base/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4YJhoW/egenix-mx-base/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-_81TPA/install-record.txt --single-version-externally-managed --compile --install-headers /home/pol/.virtualenvs/erpclient/include/site/python2.7/egenix-mx-base Check the logs for full command output.
Downgrading to 19.0.1 still fixes the issue. This issue should be reopened @pradyunsg
Sorry, I forgot to specify --no-cache-dir when testing earlier!
Same setup as Pol, I get the same error.
(test) colin@bandicoot:~$ pip install --no-cache-dir egenix-mx-base
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
Please upgrade your Python as Python 2.7 is no longer maintained. A future
version of pip will drop support for Python 2.7. More details about Python
2 support in pip, can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting egenix-mx-base
Downloading egenix-mx-base-3.2.9.zip (74 kB)
|ββββββββββββββββββββββββββββββββ| 74 kB 1.2 MB/s
Building wheels for collected packages: egenix-mx-base
Building wheel for egenix-mx-base (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/colin/venv/test/bin/python -u -c 'import sys, setuptools,
tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-zDcuT3/egenix-mx-base/setup.py'"'"';
__file__='"'"'/tmp/pip-install-zDcuT3/egenix-mx-base/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
bdist_wheel -d /tmp/pip-wheel-X09APx
cwd: /tmp/pip-install-zDcuT3/egenix-mx-base/
Complete output (34 lines):
running bdist_wheel
found usable build data file 'build/build-py2.7_ucs4.pck'
prebuilt archive found: skipping the build process and loading the
prebuilt archive
setting platform to 'linux-x86_64'
restoring build data from a previous build run
loaded build data for platform 'linux-x86_64'
installing to build/bdist.linux-x86_64-py2.7_ucs4/wheel
running install
running install_lib
running build_ext
building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
checking for optional libraries
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c _configtest.c -o _configtest.o
x86_64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
found optional library 'm' -- defining HAVE_M_LIB
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c _configtest.c -o _configtest.o
x86_64-linux-gnu-gcc -pthread _configtest.o -lrt -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
found optional library 'rt' -- defining HAVE_RT_LIB
building 'mx.DateTime.mxDateTime.mxDateTime' extension
creating build/temp.linux-x86_64-2.7_ucs4
creating
build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime
creating
build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx
creating
build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime
creating
build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-DUSE_FAST_GETCURRENTTIME -DHAVE_M_LIB=1 -DHAVE_RT_LIB=1
-Imx/DateTime/mxDateTime -I/usr/include/python2.7 -c
mx/DateTime/mxDateTime/mxDateTime.c -o
build/temp.linux-x86_64-2.7_ucs4/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o
x86_64-linux-gnu-gcc: error: mx/DateTime/mxDateTime/mxDateTime.c: No such
file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: Failed building wheel for egenix-mx-base
Running setup.py clean for egenix-mx-base
Failed to build egenix-mx-base
Installing collected packages: egenix-mx-base
Running setup.py install for egenix-mx-base ... error
ERROR: Command errored out with exit status 1:
command: /home/colin/venv/test/bin/python -u -c 'import sys,
setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-zDcuT3/egenix-mx-base/setup.py'"'"';
__file__='"'"'/tmp/pip-install-zDcuT3/egenix-mx-base/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-Zye4bT/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/colin/venv/test/include/site/python2.7/egenix-mx-base
cwd: /tmp/pip-install-zDcuT3/egenix-mx-base/
Complete output (3 lines):
running install
no build data file 'build/build-py2.7_ucs4.pck' found
error: [Errno 2] No such file or directory: 'build/build-py2.7_ucs4.pck'
----------------------------------------
ERROR: Command errored out with exit status 1:
/home/colin/venv/test/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-zDcuT3/egenix-mx-base/setup.py'"'"';
__file__='"'"'/tmp/pip-install-zDcuT3/egenix-mx-base/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-Zye4bT/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/colin/venv/test/include/site/python2.7/egenix-mx-base Check the logs
for full command output.
On Mon, 24 Feb 2020 at 13:13, Pol MonsΓ³ PurtΓ notifications@github.com
wrote:
Downgrading to 19.0.1 still fixes the issue
β
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pypa/pip/issues/6609?email_source=notifications&email_token=AAJHP7JBVWIWJYIXLCP7J4TREO2YJA5CNFSM4HYOABUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMXSI4Q#issuecomment-590292082,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJHP7PID7NG2EGATJAOKA3REO2YJANCNFSM4HYOABUA
.