Firefox-45.0 fails to build
As far as I can see, it's a problem with python. Config has detected python 2.7 on my system but seems to be trying to use the internal one instead: checking for python2.7... /usr/bin/python2.7 Creating Python environment New python executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python2.7 Also creating executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python Installing setuptools, pip... This then leads to a crash: Complete output from command /usr/ports/opt/firef...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/__init__.py", line 15, in <module> File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/vcs/mercurial.py", line 11, in <module> File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/download.py", line 30, in <module> File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/_vendor/__init__.py", line 81, in load_module ImportError: No module named 'pip._vendor.requests' ...Installing setuptools, pip...done. Traceback (most recent call last): File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 2352, in <module> main() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 825, in main symlink=options.symlink) File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 993, in create_environment install_wheel(to_install, py_executable, search_dirs) File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 961, in install_wheel 'PIP_NO_INDEX': '1' File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 903, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /usr/ports/opt/firef...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1 Traceback (most recent call last): File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 485, in <module> manager.ensure() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 128, in ensure return self.build() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 381, in build self.create() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 147, in create raise Exception('Error creating virtualenv.') Exception: Error creating virtualenv. -- H Russman
Hello, just force-rebuild Python and then Firefox will build without issues. Filip Dimovski (Rexich) -----Originalna poruka----- Od: "Hazel Russman" <hazeldebian@googlemail.com> Poslato: 21.3.2016. 12:46 Za: "Crux mailing list" <crux@lists.crux.nu> Tema: Firefox-45.0 fails to build As far as I can see, it's a problem with python. Config has detected python 2.7 on my system but seems to be trying to use the internal one instead: checking for python2.7... /usr/bin/python2.7 Creating Python environment New python executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python2.7 Also creating executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python Installing setuptools, pip... This then leads to a crash: Complete output from command /usr/ports/opt/firef...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/__init__.py", line 15, in <module> File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/vcs/mercurial.py", line 11, in <module> File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/download.py", line 30, in <module> File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/_vendor/__init__.py", line 81, in load_module ImportError: No module named 'pip._vendor.requests' ...Installing setuptools, pip...done. Traceback (most recent call last): File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 2352, in <module> main() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 825, in main symlink=options.symlink) File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 993, in create_environment install_wheel(to_install, py_executable, search_dirs) File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 961, in install_wheel 'PIP_NO_INDEX': '1' File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/virtualenv/virtualenv.py", line 903, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /usr/ports/opt/firef...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1 Traceback (most recent call last): File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 485, in <module> manager.ensure() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 128, in ensure return self.build() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 381, in build self.create() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 147, in create raise Exception('Error creating virtualenv.') Exception: Error creating virtualenv. -- H Russman _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
On Mon, Mar 21, 2016 at 11:44:01AM +0000, Hazel Russman wrote:
As far as I can see, it's a problem with python. Config has detected python 2.7 on my system but seems to be trying to use the internal one instead:
Hi. Someone else reported something similar in #crux a few days ago. I've been unable to reproduce it and I dont know if him/her got it going. You might want to try to rebuild python if you havent already done that. The openssl update did silently break some libraries. you could run this: prt-get -fr update $(prt-get dependent openssl)
checking for python2.7... /usr/bin/python2.7 Creating Python environment New python executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python2.7 Also creating executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python Installing setuptools, pip...
This then leads to a crash: File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 381, in build self.create() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 147, in create raise Exception('Error creating virtualenv.') Exception: Error creating virtualenv.
-- H Russman _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
-- Fredrik Rinnestam
Hi, I had the same / a similar issue. Unfortunately, I can't remember 100%, how I fixed it (which means it wasn't too hard). I think, I simpliy rebuilt all firefox-dependencies. prt-get update -fr $(prt-get quickdep firefox) However, this might be overkill :-/ cheers, Erich On 22.03.2016 09:23, Fredrik Rinnestam wrote:
On Mon, Mar 21, 2016 at 11:44:01AM +0000, Hazel Russman wrote:
As far as I can see, it's a problem with python. Config has detected python 2.7 on my system but seems to be trying to use the internal one instead:
Hi. Someone else reported something similar in #crux a few days ago. I've been unable to reproduce it and I dont know if him/her got it going.
You might want to try to rebuild python if you havent already done that. The openssl update did silently break some libraries. you could run this:
prt-get -fr update $(prt-get dependent openssl)
checking for python2.7... /usr/bin/python2.7 Creating Python environment New python executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python2.7 Also creating executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python Installing setuptools, pip...
This then leads to a crash: File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 381, in build self.create() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 147, in create raise Exception('Error creating virtualenv.') Exception: Error creating virtualenv.
-- H Russman _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
Hey, On 22/03/16 09:55, Erich Eckner wrote:
Hi,
I had the same / a similar issue. Unfortunately, I can't remember 100%, how I fixed it (which means it wasn't too hard). I think, I simpliy rebuilt all firefox-dependencies.
prt-get update -fr $(prt-get quickdep firefox)
However, this might be overkill :-/
something like "prt-get depupdate" will do it: https://lists.crux.nu/pipermail/crux-devel/2012-March/004013.html Best regards,
On 22.03.2016 09:23, Fredrik Rinnestam wrote:
On Mon, Mar 21, 2016 at 11:44:01AM +0000, Hazel Russman wrote:
As far as I can see, it's a problem with python. Config has detected python 2.7 on my system but seems to be trying to use the internal one instead:
Hi. Someone else reported something similar in #crux a few days ago. I've been unable to reproduce it and I dont know if him/her got it going.
You might want to try to rebuild python if you havent already done that. The openssl update did silently break some libraries. you could run this:
prt-get -fr update $(prt-get dependent openssl)
checking for python2.7... /usr/bin/python2.7 Creating Python environment New python executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python2.7 Also creating executable in /usr/ports/opt/firefox/work/src/firefox-45.0/firefox-shared/_virtualenv/bin/python Installing setuptools, pip...
This then leads to a crash: File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 381, in build self.create() File "/usr/ports/opt/firefox/work/src/firefox-45.0/python/mozbuild/mozbuild/virtualenv.py", line 147, in create raise Exception('Error creating virtualenv.') Exception: Error creating virtualenv.
-- H Russman _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
-- Jose V Beneyto | sepen@crux.nu
participants (5)
-
Erich Eckner
-
Filip Božanić Dimovski
-
Fredrik Rinnestam
-
Hazel Russman
-
Jose Vicente Beneyto