make dev-bootstrap fails on 18.04
$ make dev-bootstrap
make[1]: Entering directory '/xxxx/leap/bitmask-dev'
pkg/tools/bitmask-bootstrap.sh
[sudo] password for xxxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
libffi-dev is already the newest version (3.2.1-8).
libssl-dev is already the newest version (1.1.0g-2ubuntu4).
openvpn is already the newest version (2.4.4-2ubuntu1).
python-dev is already the newest version (2.7.15~rc1-1).
gnupg1 is already the newest version (1.4.22-3ubuntu2).
haveged is already the newest version (1.9.1-6).
libsqlcipher-dev is already the newest version (3.4.1-1build1).
python-pip is already the newest version (9.0.1-2).
python-pyqt5 is already the newest version (5.10.1+dfsg-1ubuntu2).
python-pyqt5.qtwebengine is already the newest version (5.10.1+dfsg-1ubuntu2).
python-virtualenv is already the newest version (15.1.0+ds-1.1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
The directory '/xxxx/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/xxxx/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: pew in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: pathlib; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pew)
Requirement already satisfied: shutilwhich; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pew)
Requirement already satisfied: backports.shutil-get-terminal-size; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pew)
Requirement already satisfied: setuptools>=17.1 in /usr/lib/python2.7/dist-packages (from pew)
Requirement already satisfied: virtualenv>=1.11 in /usr/lib/python2.7/dist-packages (from pew)
Requirement already satisfied: virtualenv-clone>=0.2.5 in /usr/local/lib/python2.7/dist-packages (from pew)
bitmask
Running virtualenv with interpreter /xxxx/.local/share/virtualenvs/bitmask/bin/python2
WARNING:vext:Could not add extra path: /usr/share/sip
Please use the *system* python to run this script
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2375, in <module>
main()
File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 724, in main
symlink=options.symlink)
File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 946, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/xxxx/.local/share/virtualenvs/bitmask/lib/python2.7/posixpath.py", line 360, in abspath
if not isabs(path):
File "/xxxx/.local/share/virtualenvs/bitmask/lib/python2.7/posixpath.py", line 54, in isabs
return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
ERROR: You cannot remove the active environment (/xxxx/.local/share/virtualenvs/bitmask).
Makefile:19: recipe for target 'dev-bootstrap' failed
make[1]: *** [dev-bootstrap] Error 1
make[1]: Leaving directory '/xxxx/leap/bitmask-dev'