Skip to content

Instantly share code, notes, and snippets.

@anddam
Created June 1, 2021 17:10
Show Gist options
  • Save anddam/5f7d5e2663a9ab6e596312d079fb0767 to your computer and use it in GitHub Desktop.
Save anddam/5f7d5e2663a9ab6e596312d079fb0767 to your computer and use it in GitHub Desktop.
+ env_devel=/home/test/Desktop/ada/venv
+ rm -rf /home/test/Desktop/ada/venv
+ python3 -m venv /home/test/Desktop/ada/venv
+ . /home/test/Desktop/ada/venv/bin/activate
+ deactivate nondestructive
+ [ -n ]
+ [ -n ]
+ [ -n -o -n ]
+ [ -n ]
+ unset VIRTUAL_ENV
+ [ ! nondestructive = nondestructive ]
+ VIRTUAL_ENV=/home/test/Desktop/ada/venv
+ export VIRTUAL_ENV
+ _OLD_VIRTUAL_PATH=/home/test/.pyenv/shims:/home/test/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ PATH=/home/test/Desktop/ada/venv/bin:/home/test/.pyenv/shims:/home/test/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export PATH
+ [ -n ]
+ [ -z ]
+ _OLD_VIRTUAL_PS1=\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
+ [ x(venv) != x ]
+ PS1=(venv) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
+ export PS1
+ [ -n -o -n ]
+ python3 -m pip install --upgrade pip
Collecting pip
Using cached pip-21.1.2-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.3
Uninstalling pip-20.2.3:
Successfully uninstalled pip-20.2.3
Successfully installed pip-21.1.2
+ python3 -m pip install -e .
Obtaining file:///home/test/Desktop/ada/pki-manager-git
Collecting pyexe@ git+ssh://[email protected]/xyz/corp-pyexe.git#egg=pyexe
Cloning ssh://****@gitlab.intranet.corp.com/xyz/corp-pyexe.git to /tmp/pip-install-723nkwl4/pyexe_7569e784ccb0434697c7b60ceaxyz35e
Running command git clone -q 'ssh://****@gitlab.intranet.corp.com/xyz/corp-pyexe.git' /tmp/pip-install-723nkwl4/pyexe_7569e784ccb0434697c7b60ceaxyz35e
Collecting package_a@ git+ssh://[email protected]/xyz/corp-package_a.git#egg=package_a
Cloning ssh://****@gitlab.intranet.corp.com/xyz/corp-package_a.git to /tmp/pip-install-723nkwl4/package_a_e2c25eae04e3460b9dd6b17c6f83e21b
Running command git clone -q 'ssh://****@gitlab.intranet.corp.com/xyz/corp-package_a.git' /tmp/pip-install-723nkwl4/package_a_e2c25eae04e3460b9dd6b17c6f83e21b
Collecting package_b@ git+ssh://[email protected]/xyz/corp-package_b.git#egg=package_b
Cloning ssh://****@gitlab.intranet.corp.com/xyz/corp-package_b.git to /tmp/pip-install-723nkwl4/package_b_6678763a92194d9ba2b3f4a7b9ef1e40
Running command git clone -q 'ssh://****@gitlab.intranet.corp.com/xyz/corp-package_b.git' /tmp/pip-install-723nkwl4/package_b_6678763a92194d9ba2b3f4a7b9ef1e40
Collecting package_c@ git+ssh://[email protected]/xyz/corp-package_c.git#egg=package_c
Cloning ssh://****@gitlab.intranet.corp.com/xyz/corp-package_c.git to /tmp/pip-install-723nkwl4/package_c_77f387d10363401ab84114a5580a0c11
Running command git clone -q 'ssh://****@gitlab.intranet.corp.com/xyz/corp-package_c.git' /tmp/pip-install-723nkwl4/package_c_77f387d10363401ab84114a5580a0c11
Collecting package_d@ git+ssh://[email protected]/ada/package_d.git#egg=package_d&subdirectory=src
Cloning ssh://****@gitlab.intranet.corp.com/ada/package_d.git to /tmp/pip-install-723nkwl4/package_d_0ff1fab2d3834ce5b143bc68facfd92f
Running command git clone -q 'ssh://****@gitlab.intranet.corp.com/ada/package_d_py3.git' /tmp/pip-install-723nkwl4/package_d_0ff1fab2d3834ce5b143bc68facfd92f
Collecting cryptography
Using cached cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
Collecting pefile
Using cached pefile-2021.5.24.tar.gz (66 kB)
Collecting pycryptodome
Using cached pycryptodome-3.10.1-cp35-abi3-manylinux2010_x86_64.whl (1.9 MB)
Collecting PySide2
Using cached PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl (164.3 MB)
Collecting cffi>=1.12
Using cached cffi-1.14.5-cp38-cp38-manylinux1_x86_64.whl (411 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting future
Using cached future-0.18.2.tar.gz (829 kB)
Collecting shiboken2==5.15.2
Using cached shiboken2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl (956 kB)
Using legacy 'setup.py install' for package_d, since package 'wheel' is not installed.
Using legacy 'setup.py install' for package_c, since package 'wheel' is not installed.
Using legacy 'setup.py install' for package_a, since package 'wheel' is not installed.
Using legacy 'setup.py install' for package_b, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pyexe, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pefile, since package 'wheel' is not installed.
Using legacy 'setup.py install' for future, since package 'wheel' is not installed.
Installing collected packages: pycparser, shiboken2, pycryptodome, future, cffi, PySide2, pyexe, pefile, package_b, package_a, package_c, package_d, cryptography, pki-manager
Running setup.py install for future: started
Running setup.py install for future: finished with status 'done'
Running setup.py install for pyexe: started
Running setup.py install for pyexe: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/test/Desktop/ada/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-723nkwl4/pyexe_7569e784ccb0434697c7b60ceaxyz35e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-723nkwl4/pyexe_7569e784ccb0434697c7b60ceaxyz35e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-j7f2m9gj/install-record.txt --single-version-externally-managed --compile --install-headers /home/test/Desktop/ada/venv/include/site/python3.8/pyexe
cwd: /tmp/pip-install-723nkwl4/pyexe_7569e784ccb0434697c7b60ceaxyz35e/
Complete output (46 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/pyexe
copying src/pyexe/testw.py -> build/lib.linux-x86_64-3.8/pyexe
copying src/pyexe/mkexe.py -> build/lib.linux-x86_64-3.8/pyexe
copying src/pyexe/test.py -> build/lib.linux-x86_64-3.8/pyexe
copying src/pyexe/__init__.py -> build/lib.linux-x86_64-3.8/pyexe
creating build/lib.linux-x86_64-3.8/pyexe/resources
copying src/pyexe/resources/__init__.py -> build/lib.linux-x86_64-3.8/pyexe/resources
creating build/lib.linux-x86_64-3.8/pyexe/resources/c
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.6
copying src/pyexe/resources/c/python-3.6/pyexe.c -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.6
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-2.7
copying src/pyexe/resources/c/python-2.7/pyexe.c -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-2.7
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.7
copying src/pyexe/resources/c/python-3.7/pyexe.c -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.7
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.8
copying src/pyexe/resources/c/python-3.8/pyexe.c -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.8
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.9
copying src/pyexe/resources/c/python-3.9/pyexe.c -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.9
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.6/win32
copying src/pyexe/resources/c/python-3.6/win32/pyexew.cpp -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.6/win32
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-2.7/win32
copying src/pyexe/resources/c/python-2.7/win32/pyexew.cpp -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-2.7/win32
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.7/win32
copying src/pyexe/resources/c/python-3.7/win32/pyexew.cpp -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.7/win32
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.8/win32
copying src/pyexe/resources/c/python-3.8/win32/pyexew.cpp -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.8/win32
creating build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.9/win32
copying src/pyexe/resources/c/python-3.9/win32/pyexew.cpp -> build/lib.linux-x86_64-3.8/pyexe/resources/c/python-3.9/win32
running build_ext
building 'pyexe.resources.pyexe' executable
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/src
creating build/temp.linux-x86_64-3.8/src/pyexe
creating build/temp.linux-x86_64-3.8/src/pyexe/resources
creating build/temp.linux-x86_64-3.8/src/pyexe/resources/c
creating build/temp.linux-x86_64-3.8/src/pyexe/resources/c/python-3.8
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/test/Desktop/ada/venv/include -I/home/test/.pyenv/versions/3.8.9/include/python3.8 -c src/pyexe/resources/c/python-3.8/pyexe.c -o build/temp.linux-x86_64-3.8/src/pyexe/resources/c/python-3.8/pyexe.o
gcc -pthread build/temp.linux-x86_64-3.8/src/pyexe/resources/c/python-3.8/pyexe.o -Wl,--enable-new-dtags,-R/home/test/.pyenv/versions/3.8.9/lib/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8 -o build/lib.linux-x86_64-3.8/pyexe/resources/pyexe
/usr/bin/ld: cannot find -lpython3.8
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/test/Desktop/ada/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-723nkwl4/pyexe_7569e784ccb0434697c7b60ceaxyz35e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-723nkwl4/pyexe_7569e784ccb0434697c7b60ceaxyz35e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-j7f2m9gj/install-record.txt --single-version-externally-managed --compile --install-headers /home/test/Desktop/ada/venv/include/site/python3.8/pyexe Check the logs for full command output.
+ deactivate
+ [ -n /home/test/.pyenv/shims:/home/test/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games ]
+ PATH=/home/test/.pyenv/shims:/home/test/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export PATH
+ unset _OLD_VIRTUAL_PATH
+ [ -n ]
+ [ -n -o -n ]
+ [ -n \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ]
+ PS1=\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
+ export PS1
+ unset _OLD_VIRTUAL_PS1
+ unset VIRTUAL_ENV
+ [ ! = nondestructive ]
+ unset -f deactivate
env_devel=$HOME/Desktop/ada/venv
rm -rf "$env_devel"
python3 -m venv "$env_devel"
. "$env_devel"/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -e .
deactivate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment