Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ubuntu:/snap/bin# git clone https://github.com/snapcraft-docs/offlineimap
- Cloning into 'offlineimap'...
- remote: Counting objects: 12845, done.
- remote: Total 12845 (delta 0), reused 0 (delta 0), pack-reused 12845
- Receiving objects: 100% (12845/12845), 5.34 MiB | 2.93 MiB/s, done.
- Resolving deltas: 100% (8221/8221), done.
- Checking connectivity... done.
- root@ubuntu:/snap/bin# cd offlineimap/
- root@ubuntu:/snap/bin/offlineimap# snapcraft
- Preparing to pull offlineimap
- Hit http://us.archive.ubuntu.com/ubuntu xenial InRelease
- Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
- Hit http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease
- Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
- Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
- Fetched 306 kB in 0s (0 B/s)
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/python2.7-minimal_2.7.12-1ubuntu0~16.04.2_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/libsqlite3-0_3.11.0-1ubuntu1_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/python2.7_2.7.12-1ubuntu0~16.04.2_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/mime-support_3.59ubuntu1_all.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/gcc-6-base_6.0.1-0ubuntu1_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/python_2.7.11-1_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/libexpat1_2.1.0-7ubuntu0.16.04.3_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/libpython-stdlib_2.7.11-1_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/libpython2.7-minimal_2.7.12-1ubuntu0~16.04.2_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/libffi6_3.2.1-4_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.2_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/python-minimal_2.7.11-1_amd64.deb
- Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/libssl1.0.0_1.0.2g-1ubuntu4.10_amd64.deb
- Pulling offlineimap
- Fetching and installing pip...
- The directory '/home/pipe-to-grep/.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 '/home/pipe-to-grep/.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.
- Collecting pip
- Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
- 100% |████████████████████████████████| 1.3MB 547kB/s
- Saved ./parts/offlineimap/python-packages/pip-9.0.1-py2.py3-none-any.whl
- Successfully downloaded pip
- The directory '/home/pipe-to-grep/.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.
- Ignoring indexes: https://pypi.python.org/simple
- The directory '/home/pipe-to-grep/.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.
- Collecting pip
- Installing collected packages: pip
- Successfully installed pip-8.1.1
- The directory '/home/pipe-to-grep/.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.
- Fetching and installing wheel...
- The directory '/home/pipe-to-grep/.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 '/home/pipe-to-grep/.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.
- Collecting wheel
- Downloading wheel-0.30.0-py2.py3-none-any.whl (49kB)
- 100% |████████████████████████████████| 51kB 1.1MB/s
- Saved ./parts/offlineimap/python-packages/wheel-0.30.0-py2.py3-none-any.whl
- Successfully downloaded wheel
- The directory '/home/pipe-to-grep/.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 '/home/pipe-to-grep/.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.
- Collecting wheel
- Installing collected packages: wheel
- Successfully installed wheel-0.30.0
- The directory '/home/pipe-to-grep/.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.
- Fetching and installing setuptools...
- The directory '/home/pipe-to-grep/.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 '/home/pipe-to-grep/.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.
- Collecting setuptools
- Downloading setuptools-38.2.4-py2.py3-none-any.whl (489kB)
- 100% |████████████████████████████████| 491kB 1.4MB/s
- Saved ./parts/offlineimap/python-packages/setuptools-38.2.4-py2.py3-none-any.whl
- Successfully downloaded setuptools
- The directory '/home/pipe-to-grep/.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 '/home/pipe-to-grep/.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.
- Collecting setuptools
- Installing collected packages: setuptools
- Successfully installed setuptools-38.2.4
- The directory '/home/pipe-to-grep/.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 '/home/pipe-to-grep/.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.
- Processing /snap/bin/offlineimap/parts/offlineimap/src
- Link is a directory, ignoring download_dir
- Complete output from command python setup.py egg_info:
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/tmp/pip-TXY_Md-build/setup.py", line 26, in <module>
- import offlineimap
- File "offlineimap/__init__.py", line 20, in <module>
- from offlineimap.init import OfflineImap
- File "offlineimap/init.py", line 34, in <module>
- from offlineimap import threadutil, accounts, folder, mbnames
- File "offlineimap/accounts.py", line 23, in <module>
- import six
- ImportError: No module named six
- ----------------------------------------
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-TXY_Md-build/
- Traceback (most recent call last):
- File "/snap/snapcraft/924/bin/snapcraft", line 11, in <module>
- load_entry_point('snapcraft==2.37', 'console_scripts', 'snapcraft')()
- File "/snap/snapcraft/924/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
- return get_distribution(dist).load_entry_point(group, name)
- File "/snap/snapcraft/924/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
- return ep.load()
- File "/snap/snapcraft/924/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2291, in load
- return self.resolve()
- File "/snap/snapcraft/924/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2297, in resolve
- module = __import__(self.module_name, fromlist=['__name__'], level=0)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/cli/__main__.py", line 19, in <module>
- run(prog_name='snapcraft')
- File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 722, in __call__
- return self.main(*args, **kwargs)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 697, in main
- rv = self.invoke(ctx)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 1043, in invoke
- return Command.invoke(self, ctx)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 895, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 535, in invoke
- return callback(*args, **kwargs)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
- return f(get_current_context(), *args, **kwargs)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/cli/__init__.py", line 124, in run
- ctx.forward(lifecyclecli.commands['snap'])
- File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 553, in forward
- return self.invoke(cmd, **kwargs)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 535, in invoke
- return callback(*args, **kwargs)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/cli/lifecycle.py", line 140, in snap
- project_options, directory=directory, output=output)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/lifecycle/_packer.py", line 45, in snap
- execute('prime', project_options)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/lifecycle/_runner.py", line 80, in execute
- _Executor(config, project_options).run(step, part_names)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/lifecycle/_runner.py", line 175, in run
- self._run_step(step, part, part_names)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/lifecycle/_runner.py", line 212, in _run_step
- getattr(part, step)()
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 249, in pull
- self.plugin.pull()
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/plugins/python.py", line 190, in pull
- self._download_project()
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/plugins/python.py", line 271, in _download_project
- process_dependency_links=self.options.process_dependency_links)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/plugins/_python/_pip.py", line 241, in download
- self._python_package_dir] + args, cwd=cwd)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/plugins/_python/_pip.py", line 433, in _run
- **kwargs)
- File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/common.py", line 63, in run
- subprocess.check_call(['/bin/sh', f.name] + cmd, **kwargs)
- File "/snap/snapcraft/924/usr/lib/python3.6/subprocess.py", line 291, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['/bin/sh', '/tmp/tmp0fbeqf8d', '/snap/bin/offlineimap/parts/offlineimap/install/usr/bin/python2', '-m', 'pip', 'download', '--disable-pip-version-check', '--dest', '/snap/bin/offlineimap/parts/offlineimap/python-packages', '.']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement