1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198 | ## Original failure
ricardo trillian ~ dev canonical snappy flexget $ snapcraft
pyversions -i
Pulling flexget
Hit http://archive.ubuntu.com vivid InRelease
Get:1 http://security.ubuntu.com vivid-security InRelease [64.4 kB]
Get:2 http://archive.ubuntu.com vivid-updates InRelease [64.4 kB]
Get:3 http://security.ubuntu.com vivid-security/main amd64 Packages [124 kB]
Get:4 http://archive.ubuntu.com vivid-updates/main amd64 Packages [218 kB]
Get:5 http://security.ubuntu.com vivid-security/restricted amd64 Packages [10.4 kB]
Get:6 http://security.ubuntu.com vivid-security/universe amd64 Packages [58.0 kB]
Get:7 http://archive.ubuntu.com vivid-updates/restricted amd64 Packages [13.1 kB]
Get:8 http://archive.ubuntu.com vivid-updates/universe amd64 Packages [117 kB]
Get:9 http://security.ubuntu.com vivid-security/multiverse amd64 Packages [5195 B]
Get:10 http://security.ubuntu.com vivid-security/main Translation-en [66.2 kB]
Get:11 http://archive.ubuntu.com vivid-updates/multiverse amd64 Packages [5195 B]
Get:12 http://archive.ubuntu.com vivid-updates/main Translation-en [107 kB]
Get:13 http://security.ubuntu.com vivid-security/multiverse Translation-en [2246 B]
Get:14 http://security.ubuntu.com vivid-security/restricted Translation-en [2607 B]
Get:15 http://security.ubuntu.com vivid-security/universe Translation-en [36.0 kB]
Get:16 http://archive.ubuntu.com vivid-updates/multiverse Translation-en [2246 B]
Get:17 http://archive.ubuntu.com vivid-updates/restricted Translation-en [2969 B]
Get:18 http://archive.ubuntu.com vivid-updates/universe Translation-en [68.6 kB]
Hit http://archive.ubuntu.com vivid/main amd64 Packages
Hit http://archive.ubuntu.com vivid/restricted amd64 Packages
Hit http://archive.ubuntu.com vivid/universe amd64 Packages
Hit http://archive.ubuntu.com vivid/multiverse amd64 Packages
Hit http://archive.ubuntu.com vivid/main Translation-en
Hit http://archive.ubuntu.com vivid/multiverse Translation-en
Hit http://archive.ubuntu.com vivid/restricted Translation-en
Hit http://archive.ubuntu.com vivid/universe Translation-en
Fetched 968 kB in 6s (1446 kB/s)
Skipping blacklisted from manifest packages: ['adduser', 'apt', 'apt-utils', 'base-files', 'base-passwd', 'bash', 'bsdutils', 'coreutils', 'dash', 'debconf', 'debconf-i18n', 'debianutils', 'diffutils', 'dmsetup', 'dpkg', 'e2fslibs', 'e2fsprogs', 'file', 'findutils', 'gcc-4.9-base', 'gcc-5-base', 'gnupg', 'gpgv', 'grep', 'gzip', 'hostname', 'init', 'initscripts', 'insserv', 'libacl1', 'libapparmor1', 'libapt-inst1.5', 'libapt-pkg4.12', 'libattr1', 'libaudit-common', 'libaudit1', 'libblkid1', 'libbz2-1.0', 'libc-bin', 'libc6', 'libcap2', 'libcap2-bin', 'libcomerr2', 'libcryptsetup4', 'libdb5.3', 'libdebconfclient0', 'libdevmapper1.02.1', 'libgcc1', 'libgcrypt20', 'libgpg-error0', 'libgpm2', 'libkmod2', 'liblocale-gettext-perl', 'liblzma5', 'libmagic1', 'libmount1', 'libncurses5', 'libncursesw5', 'libpam-modules', 'libpam-modules-bin', 'libpam-runtime', 'libpam0g', 'libpcre3', 'libprocps3', 'libreadline6', 'libselinux1', 'libsemanage-common', 'libsemanage1', 'libsepol1', 'libslang2', 'libsmartcols1', 'libss2', 'libstdc++6', 'libsystemd0', 'libtext-charwidth-perl', 'libtext-iconv-perl', 'libtext-wrapi18n-perl', 'libtinfo5', 'libudev1', 'libusb-0.1-4', 'libustr-1.0-1', 'libuuid1', 'locales', 'login', 'lsb-base', 'makedev', 'manpages', 'manpages-dev', 'mawk', 'mount', 'multiarch-support', 'ncurses-base', 'ncurses-bin', 'passwd', 'perl-base', 'procps', 'readline-common', 'sed', 'sensible-utils', 'systemd', 'systemd-sysv', 'sysv-rc', 'sysvinit-utils', 'tar', 'tzdata', 'ubuntu-keyring', 'udev', 'util-linux', 'zlib1g']
Fetched 0 B in 0s (0 B/s)
Copying needed target link from the system /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/lib/python2.7/dist-packages
Traceback (most recent call last):
File "/usr/bin/snapcraft", line 33, in <module>
snapcraft.main.main()
File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 98, in main
args.func(args)
File "/usr/lib/python3/dist-packages/snapcraft/cmds.py", line 102, in assemble
snap(args)
File "/usr/lib/python3/dist-packages/snapcraft/cmds.py", line 84, in snap
cmd(args)
File "/usr/lib/python3/dist-packages/snapcraft/cmds.py", line 337, in cmd
if not getattr(part, cmd)(force=force):
File "/usr/lib/python3/dist-packages/snapcraft/plugin.py", line 148, in pull
self.code.setup_stage_packages()
File "/usr/lib/python3/dist-packages/snapcraft/__init__.py", line 169, in setup_stage_packages
ubuntu.unpack(self.installdir)
File "/usr/lib/python3/dist-packages/snapcraft/repo.py", line 137, in unpack
_fix_contents(rootdir)
File "/usr/lib/python3/dist-packages/snapcraft/repo.py", line 247, in _fix_contents
if not _try_copy_local(path, target):
File "/usr/lib/python3/dist-packages/snapcraft/repo.py", line 279, in _try_copy_local
shutil.copyfile(os.readlink(path), target)
File "/usr/lib/python3.4/shutil.py", line 108, in copyfile
with open(src, 'rb') as fsrc:
IsADirectoryError: [Errno 21] Is a directory: '/home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/lib/python2.7/dist-packages'
## snapcraft clean -- 2nd attempt
ricardo trillian ~ dev canonical snappy flexget $ snapcraft clean
Cleaning up for part 'flexget'
Cleaning up staging area
Cleaning up snapping area
ricardo trillian ~ dev canonical snappy flexget $ snapcraft
pyversions -i
Pulling flexget
Get:1 http://archive.ubuntu.com vivid InRelease [218 kB]
Get:2 http://security.ubuntu.com vivid-security InRelease [64.4 kB]
Get:3 http://archive.ubuntu.com vivid-updates InRelease [64.4 kB]
Get:4 http://security.ubuntu.com vivid-security/main amd64 Packages [124 kB]
Get:5 http://archive.ubuntu.com vivid/main amd64 Packages [1364 kB]
Get:6 http://security.ubuntu.com vivid-security/restricted amd64 Packages [10.4 kB]
Get:7 http://security.ubuntu.com vivid-security/universe amd64 Packages [58.0 kB]
Get:8 http://security.ubuntu.com vivid-security/multiverse amd64 Packages [5195 B]
Get:9 http://security.ubuntu.com vivid-security/main Translation-en [66.2 kB]
Get:10 http://security.ubuntu.com vivid-security/multiverse Translation-en [2246 B]
Get:11 http://security.ubuntu.com vivid-security/restricted Translation-en [2607 B]
Get:12 http://security.ubuntu.com vivid-security/universe Translation-en [36.0 kB]
Get:13 http://archive.ubuntu.com vivid/restricted amd64 Packages [15.4 kB]
Get:14 http://archive.ubuntu.com vivid/universe amd64 Packages [6485 kB]
Get:15 http://archive.ubuntu.com vivid/multiverse amd64 Packages [134 kB]
Get:16 http://archive.ubuntu.com vivid/main Translation-en [793 kB]
Get:17 http://archive.ubuntu.com vivid/multiverse Translation-en [103 kB]
Get:18 http://archive.ubuntu.com vivid/restricted Translation-en [4228 B]
Get:19 http://archive.ubuntu.com vivid/universe Translation-en [4456 kB]
Get:20 http://archive.ubuntu.com vivid-updates/main amd64 Packages [218 kB]
Get:21 http://archive.ubuntu.com vivid-updates/restricted amd64 Packages [13.1 kB]
Get:22 http://archive.ubuntu.com vivid-updates/universe amd64 Packages [117 kB]
Get:23 http://archive.ubuntu.com vivid-updates/multiverse amd64 Packages [5195 B]
Get:24 http://archive.ubuntu.com vivid-updates/main Translation-en [107 kB]
Get:25 http://archive.ubuntu.com vivid-updates/multiverse Translation-en [2246 B]
Get:26 http://archive.ubuntu.com vivid-updates/restricted Translation-en [2969 B]
Get:27 http://archive.ubuntu.com vivid-updates/universe Translation-en [68.6 kB]
Fetched 14.5 MB in 6s (237 kB/s)
Skipping blacklisted from manifest packages: ['adduser', 'apt', 'apt-utils', 'base-files', 'base-passwd', 'bash', 'bsdutils', 'coreutils', 'dash', 'debconf', 'debconf-i18n', 'debianutils', 'diffutils', 'dmsetup', 'dpkg', 'e2fslibs', 'e2fsprogs', 'file', 'findutils', 'gcc-4.9-base', 'gcc-5-base', 'gnupg', 'gpgv', 'grep', 'gzip', 'hostname', 'init', 'initscripts', 'insserv', 'libacl1', 'libapparmor1', 'libapt-inst1.5', 'libapt-pkg4.12', 'libattr1', 'libaudit-common', 'libaudit1', 'libblkid1', 'libbz2-1.0', 'libc-bin', 'libc6', 'libcap2', 'libcap2-bin', 'libcomerr2', 'libcryptsetup4', 'libdb5.3', 'libdebconfclient0', 'libdevmapper1.02.1', 'libgcc1', 'libgcrypt20', 'libgpg-error0', 'libgpm2', 'libkmod2', 'liblocale-gettext-perl', 'liblzma5', 'libmagic1', 'libmount1', 'libncurses5', 'libncursesw5', 'libpam-modules', 'libpam-modules-bin', 'libpam-runtime', 'libpam0g', 'libpcre3', 'libprocps3', 'libreadline6', 'libselinux1', 'libsemanage-common', 'libsemanage1', 'libsepol1', 'libslang2', 'libsmartcols1', 'libss2', 'libstdc++6', 'libsystemd0', 'libtext-charwidth-perl', 'libtext-iconv-perl', 'libtext-wrapi18n-perl', 'libtinfo5', 'libudev1', 'libusb-0.1-4', 'libustr-1.0-1', 'libuuid1', 'locales', 'login', 'lsb-base', 'makedev', 'manpages', 'manpages-dev', 'mawk', 'mount', 'multiarch-support', 'ncurses-base', 'ncurses-bin', 'passwd', 'perl-base', 'procps', 'readline-common', 'sed', 'sensible-utils', 'systemd', 'systemd-sysv', 'sysv-rc', 'sysvinit-utils', 'tar', 'tzdata', 'ubuntu-keyring', 'udev', 'util-linux', 'zlib1g']
Get:1 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libexpat1 amd64 2.1.0-6ubuntu1.1 [70.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ vivid/main libffi6 amd64 3.2.1-2 [17.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsqlite3-0 amd64 3.8.7.4-1ubuntu0.1 [371 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libssl1.0.0 amd64 1.0.1f-1ubuntu11.4 [853 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ vivid/main libpython2.7-minimal amd64 2.7.9-2ubuntu3 [338 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ vivid/main mime-support all 3.58ubuntu1 [31.6 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ vivid/main libpython2.7-stdlib amd64 2.7.9-2ubuntu3 [1850 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ vivid/main libpython2.7 amd64 2.7.9-2ubuntu3 [1080 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ vivid/main libc-dev-bin amd64 2.21-0ubuntu4 [68.6 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ vivid-updates/main linux-libc-dev amd64 3.19.0-31.36 [808 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ vivid/main libc6-dev amd64 2.21-0ubuntu4 [1967 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libexpat1-dev amd64 2.1.0-6ubuntu1.1 [115 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ vivid/main libpython2.7-dev amd64 2.7.9-2ubuntu3 [18.6 MB]
Get:14 http://archive.ubuntu.com/ubuntu/ vivid/main python2.7-minimal amd64 2.7.9-2ubuntu3 [1353 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ vivid/main python-minimal amd64 2.7.9-1 [28.2 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ vivid/main python2.7 amd64 2.7.9-2ubuntu3 [210 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ vivid/main libpython-stdlib amd64 2.7.9-1 [7754 B]
Get:18 http://archive.ubuntu.com/ubuntu/ vivid/main python amd64 2.7.9-1 [137 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ vivid/main libpython-dev amd64 2.7.9-1 [7836 B]
Get:20 http://archive.ubuntu.com/ubuntu/ vivid/main python2.7-dev amd64 2.7.9-2ubuntu3 [270 kB]
Get:21 http://archive.ubuntu.com/ubuntu/ vivid/main python-dev amd64 2.7.9-1 [1220 B]
Get:22 http://archive.ubuntu.com/ubuntu/ vivid/main python-pkg-resources all 12.2-1 [75.6 kB]
Get:23 http://archive.ubuntu.com/ubuntu/ vivid/main python-setuptools all 12.2-1 [197 kB]
Fetched 28.4 MB in 6s (76.8 kB/s)
Cloning into '/home/ricardo/dev/canonical/snappy/flexget/parts/flexget/src'...
remote: Counting objects: 43163, done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 43163 (delta 38), reused 0 (delta 0), pack-reused 43068
Receiving objects: 100% (43163/43163), 23.99 MiB | 287.00 KiB/s, done.
Resolving deltas: 100% (27819/27819), done.
Checking connectivity... done.
pyversions -i
pyversions -i
python2 /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/bin/easy_install --prefix /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr pip
Creating /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/lib/python2.7/dist-packages/site.py
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 7.1.2
Downloading https://pypi.python.org/packages/source/p/pip/pip-7.1.2.tar.gz#md5=3823d2343d9f3aaab21cf9c917710196
Processing pip-7.1.2.tar.gz
Writing /tmp/ricardo/easy_install-HfJEjF/pip-7.1.2/setup.cfg
Running pip-7.1.2/setup.py -q bdist_egg --dist-dir /tmp/ricardo/easy_install-HfJEjF/pip-7.1.2/egg-dist-tmp-uZfRXT
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'pip/_vendor/Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'dev-requirements.txt'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
creating /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg
Extracting pip-7.1.2-py2.7.egg to /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/lib/python2.7/dist-packages
Adding pip 7.1.2 to easy-install.pth file
Installing pip script to /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/bin
Installing pip2.7 script to /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/bin
Installing pip2 script to /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/bin
Installed /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
python2 /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/bin/pip2 install --target /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/install/usr/lib/python2.7/site-packages .
DEPRECATION: --download-cache has been deprecated and will be removed in the future. Pip now automatically uses and configures its cache.
Processing /home/ricardo/dev/canonical/snappy/flexget/parts/flexget/build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/ricardo/pip-hO_dT5-build/setup.py", line 8, in <module>
import paver.tasks
ImportError: No module named paver.tasks
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/ricardo/pip-hO_dT5-build
Failed doing pull for flexget!
## fix snapcraft.yaml file (added requirements line)
name: flexget
version: 1.2.360
vendor: Ricardo Kirkner <ricardo.kirkner@canonical.com>
summary: FlexGet is a program aimed to automate downloading or processing content.
description: |
FlexGet is a program aimed to automate downloading or
processing content (torrents, podcasts, etc.) from different
sources like RSS-feeds, html-pages, various sites and more.
icon: FlexGet.png
parts:
flexget:
plugin: python2
source: git://github.com/Flexget/Flexget.git
requirements: requirements.txt
## snapcraft clean -- third attempt
success!
|