Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.50 KB | None | 0 0
  1.  
  2.  
  3.  
  4. root@ubuntu:/snap/bin# git clone https://github.com/snapcraft-docs/offlineimap
  5. Cloning into 'offlineimap'...
  6. remote: Counting objects: 12845, done.
  7. remote: Total 12845 (delta 0), reused 0 (delta 0), pack-reused 12845
  8. Receiving objects: 100% (12845/12845), 5.34 MiB | 2.93 MiB/s, done.
  9. Resolving deltas: 100% (8221/8221), done.
  10. Checking connectivity... done.
  11. root@ubuntu:/snap/bin# cd offlineimap/
  12. root@ubuntu:/snap/bin/offlineimap# snapcraft
  13. Preparing to pull offlineimap
  14. Hit http://us.archive.ubuntu.com/ubuntu xenial InRelease
  15. Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
  16. Hit http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease
  17. Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
  18. Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
  19. Fetched 306 kB in 0s (0 B/s)
  20. 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
  21. 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
  22. 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
  23. Ignoring already existing file: /home/pipe-to-grep/.cache/snapcraft/stage-packages/apt/670c39dd26fe2ecb1a498279e172eabb8a105f84fb71de433d7e6e07850297e0ea0545e528ab73ba9c94d60676cde8b6/var/cache/apt/archives/mime-support_3.59ubuntu1_all.deb
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. Pulling offlineimap
  34. Fetching and installing pip...
  35. 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.
  36. 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.
  37. Collecting pip
  38. Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
  39. 100% |████████████████████████████████| 1.3MB 547kB/s
  40. Saved ./parts/offlineimap/python-packages/pip-9.0.1-py2.py3-none-any.whl
  41. Successfully downloaded pip
  42. 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.
  43. Ignoring indexes: https://pypi.python.org/simple
  44. 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.
  45. Collecting pip
  46. Installing collected packages: pip
  47. Successfully installed pip-8.1.1
  48. 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.
  49. Fetching and installing wheel...
  50. 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.
  51. 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.
  52. Collecting wheel
  53. Downloading wheel-0.30.0-py2.py3-none-any.whl (49kB)
  54. 100% |████████████████████████████████| 51kB 1.1MB/s
  55. Saved ./parts/offlineimap/python-packages/wheel-0.30.0-py2.py3-none-any.whl
  56. Successfully downloaded wheel
  57. 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.
  58. 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.
  59. Collecting wheel
  60. Installing collected packages: wheel
  61. Successfully installed wheel-0.30.0
  62. 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.
  63. Fetching and installing setuptools...
  64. 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.
  65. 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.
  66. Collecting setuptools
  67. Downloading setuptools-38.2.4-py2.py3-none-any.whl (489kB)
  68. 100% |████████████████████████████████| 491kB 1.4MB/s
  69. Saved ./parts/offlineimap/python-packages/setuptools-38.2.4-py2.py3-none-any.whl
  70. Successfully downloaded setuptools
  71. 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.
  72. 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.
  73. Collecting setuptools
  74. Installing collected packages: setuptools
  75. Successfully installed setuptools-38.2.4
  76. 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.
  77. 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.
  78. Processing /snap/bin/offlineimap/parts/offlineimap/src
  79. Link is a directory, ignoring download_dir
  80. Complete output from command python setup.py egg_info:
  81. Traceback (most recent call last):
  82. File "<string>", line 1, in <module>
  83. File "/tmp/pip-TXY_Md-build/setup.py", line 26, in <module>
  84. import offlineimap
  85. File "offlineimap/__init__.py", line 20, in <module>
  86. from offlineimap.init import OfflineImap
  87. File "offlineimap/init.py", line 34, in <module>
  88. from offlineimap import threadutil, accounts, folder, mbnames
  89. File "offlineimap/accounts.py", line 23, in <module>
  90. import six
  91. ImportError: No module named six
  92.  
  93. ----------------------------------------
  94. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-TXY_Md-build/
  95. Traceback (most recent call last):
  96. File "/snap/snapcraft/924/bin/snapcraft", line 11, in <module>
  97. load_entry_point('snapcraft==2.37', 'console_scripts', 'snapcraft')()
  98. File "/snap/snapcraft/924/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
  99. return get_distribution(dist).load_entry_point(group, name)
  100. File "/snap/snapcraft/924/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
  101. return ep.load()
  102. File "/snap/snapcraft/924/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2291, in load
  103. return self.resolve()
  104. File "/snap/snapcraft/924/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2297, in resolve
  105. module = __import__(self.module_name, fromlist=['__name__'], level=0)
  106. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/cli/__main__.py", line 19, in <module>
  107. run(prog_name='snapcraft')
  108. File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 722, in __call__
  109. return self.main(*args, **kwargs)
  110. File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 697, in main
  111. rv = self.invoke(ctx)
  112. File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 1043, in invoke
  113. return Command.invoke(self, ctx)
  114. File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 895, in invoke
  115. return ctx.invoke(self.callback, **ctx.params)
  116. File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 535, in invoke
  117. return callback(*args, **kwargs)
  118. File "/snap/snapcraft/924/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
  119. return f(get_current_context(), *args, **kwargs)
  120. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/cli/__init__.py", line 124, in run
  121. ctx.forward(lifecyclecli.commands['snap'])
  122. File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 553, in forward
  123. return self.invoke(cmd, **kwargs)
  124. File "/snap/snapcraft/924/lib/python3.6/site-packages/click/core.py", line 535, in invoke
  125. return callback(*args, **kwargs)
  126. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/cli/lifecycle.py", line 140, in snap
  127. project_options, directory=directory, output=output)
  128. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/lifecycle/_packer.py", line 45, in snap
  129. execute('prime', project_options)
  130. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/lifecycle/_runner.py", line 80, in execute
  131. _Executor(config, project_options).run(step, part_names)
  132. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/lifecycle/_runner.py", line 175, in run
  133. self._run_step(step, part, part_names)
  134. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/lifecycle/_runner.py", line 212, in _run_step
  135. getattr(part, step)()
  136. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 249, in pull
  137. self.plugin.pull()
  138. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/plugins/python.py", line 190, in pull
  139. self._download_project()
  140. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/plugins/python.py", line 271, in _download_project
  141. process_dependency_links=self.options.process_dependency_links)
  142. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/plugins/_python/_pip.py", line 241, in download
  143. self._python_package_dir] + args, cwd=cwd)
  144. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/plugins/_python/_pip.py", line 433, in _run
  145. **kwargs)
  146. File "/snap/snapcraft/924/lib/python3.6/site-packages/snapcraft/internal/common.py", line 63, in run
  147. subprocess.check_call(['/bin/sh', f.name] + cmd, **kwargs)
  148. File "/snap/snapcraft/924/usr/lib/python3.6/subprocess.py", line 291, in check_call
  149. raise CalledProcessError(retcode, cmd)
  150. 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