Ubuntu Pastebin

Paste from csmith at Thu, 13 Apr 2017 19:56:07 +0000

Download as text
  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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
actionid: citest
msg: getenv
cmdargs: ['/home/csmith/cloud-init/.tox/citest/bin/pip', 'install', 'pylxd==2.1.3']
env: {'OLDPWD': '/home/csmith', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'USER': 'csmith', 'SHLVL': '1', 'PWD': '/home/csmith/cloud-init', 'LC_ALL': 'en_US.utf-8', 'LOGNAME': 'csmith', 'MAIL': '/var/mail/csmith', 'XDG_RUNTIME_DIR': '/run/user/1000', 'SSH_CLIENT': '192.168.2.11 48566 22', 'SHELL': '/bin/bash', 'SSH_CONNECTION': '192.168.2.11 48566 192.168.2.20 22', '_': '/usr/bin/tox', 'PYTHONHASHSEED': '3005886541', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'HOME': '/home/csmith', 'VIRTUAL_ENV': '/home/csmith/cloud-init/.tox/citest', 'SSH_TTY': '/dev/pts/0', 'TERM': 'xterm-256color', 'XDG_SESSION_ID': '4', 'PATH': '/home/csmith/cloud-init/.tox/citest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LANG': 'en_US.UTF-8'}

Collecting pylxd==2.1.3
Collecting python-dateutil>=2.4.2 (from pylxd==2.1.3)
  Using cached python_dateutil-2.6.0-py2.py3-none-any.whl
Collecting requests-unixsocket>=0.1.5 (from pylxd==2.1.3)
Collecting pbr>=1.6 (from pylxd==2.1.3)
  Using cached pbr-2.1.0-py2.py3-none-any.whl
Collecting requests!=2.8.0,<2.12.0,>=2.5.2 (from pylxd==2.1.3)
  Using cached requests-2.11.1-py2.py3-none-any.whl
Requirement already satisfied: six>=1.9.0 in ./.tox/citest/lib/python3.5/site-packages (from pylxd==2.1.3)
Collecting ws4py!=0.3.5,>=0.3.4 (from pylxd==2.1.3)
Collecting cryptography>=1.4 (from pylxd==2.1.3)
  Using cached cryptography-1.8.1.tar.gz
Collecting urllib3>=1.8 (from requests-unixsocket>=0.1.5->pylxd==2.1.3)
  Using cached urllib3-1.20-py2.py3-none-any.whl
Collecting idna>=2.1 (from cryptography>=1.4->pylxd==2.1.3)
  Using cached idna-2.5-py2.py3-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.4->pylxd==2.1.3)
  Using cached asn1crypto-0.22.0-py2.py3-none-any.whl
Requirement already satisfied: packaging in ./.tox/citest/lib/python3.5/site-packages (from cryptography>=1.4->pylxd==2.1.3)
Requirement already satisfied: setuptools>=11.3 in ./.tox/citest/lib/python3.5/site-packages (from cryptography>=1.4->pylxd==2.1.3)
Collecting cffi>=1.4.1 (from cryptography>=1.4->pylxd==2.1.3)
  Using cached cffi-1.10.0-cp35-cp35m-manylinux1_x86_64.whl
Requirement already satisfied: appdirs>=1.4.0 in ./.tox/citest/lib/python3.5/site-packages (from setuptools>=11.3->cryptography>=1.4->pylxd==2.1.3)
Collecting pycparser (from cffi>=1.4.1->cryptography>=1.4->pylxd==2.1.3)
Building wheels for collected packages: cryptography
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: finished with status 'error'
  Complete output from command /home/csmith/cloud-init/.tox/citest/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-p_poa18k/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp_d_v_99ppip-wheel- --python-tag cp35:
  c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
   #include <Python.h>
                      ^
  compilation terminated.
  Traceback (most recent call last):
    File "/usr/lib/python3.5/distutils/unixccompiler.py", line 118, in _compile
      extra_postargs)
    File "/usr/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
      spawn(cmd, dry_run=self.dry_run)
    File "/usr/lib/python3.5/distutils/spawn.py", line 36, in spawn
      _spawn_posix(cmd, search_path, dry_run=dry_run)
    File "/usr/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
      % (cmd, exit_status))
  distutils.errors.DistutilsExecError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 161, in run
      cmd = self.call_command('install_lib', warn_dir=0)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 147, in call_command
      self.run_command(cmdname)
    File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/install_lib.py", line 11, in run
      self.build()
    File "/usr/lib/python3.5/distutils/command/install_lib.py", line 109, in build
      self.run_command('build_ext')
    File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 75, in run
      _build_ext.run(self)
    File "/usr/lib/python3.5/distutils/command/build_ext.py", line 339, in run
      self.build_extensions()
    File "/usr/lib/python3.5/distutils/command/build_ext.py", line 448, in build_extensions
      self._build_extensions_serial()
    File "/usr/lib/python3.5/distutils/command/build_ext.py", line 473, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
      _build_ext.build_extension(self, ext)
    File "/usr/lib/python3.5/distutils/command/build_ext.py", line 533, in build_extension
      depends=ext.depends)
    File "/usr/lib/python3.5/distutils/ccompiler.py", line 574, in compile
      self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/lib/python3.5/distutils/unixccompiler.py", line 120, in _compile
      raise CompileError(msg)
  distutils.errors.CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
      yield saved
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
      yield
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
      DirectorySandbox(setup_dir).run(runner)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
      return func()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
      _execfile(setup_script, ns)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
      exec(code, globals, locals)
    File "/tmp/easy_install-8yu41kal/cffi-1.10.0/setup.py", line 232, in <module>
  
    File "/usr/lib/python3.5/distutils/core.py", line 163, in setup
      raise SystemExit("error: " + str(msg))
  SystemExit: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1105, in run_setup
      run_setup(setup_script, args)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 258, in run_setup
      raise
    File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
      self.gen.throw(type, value, traceback)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
      yield
    File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
      self.gen.throw(type, value, traceback)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 169, in save_modules
      saved_exc.resume()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 144, in resume
      six.reraise(type, exc, self._tb)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/six.py", line 685, in reraise
      raise value.with_traceback(tb)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
      yield saved
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
      yield
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
      DirectorySandbox(setup_dir).run(runner)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
      return func()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
      _execfile(setup_script, ns)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
      exec(code, globals, locals)
    File "/tmp/easy_install-8yu41kal/cffi-1.10.0/setup.py", line 232, in <module>
  
    File "/usr/lib/python3.5/distutils/core.py", line 163, in setup
      raise SystemExit("error: " + str(msg))
  SystemExit: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-p_poa18k/cryptography/setup.py", line 335, in <module>
      **keywords_with_side_effects(sys.argv)
    File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
      _setup_distribution = dist = klass(attrs)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/dist.py", line 318, in __init__
      self.fetch_build_eggs(attrs['setup_requires'])
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/dist.py", line 375, in fetch_build_eggs
      replace_conflicting=True,
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/pkg_resources/__init__.py", line 846, in resolve
      dist = best[req.key] = env.best_match(req, ws, installer)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1118, in best_match
      return self.obtain(req, installer)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1130, in obtain
      return installer(requirement)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/dist.py", line 443, in fetch_build_egg
      return cmd.easy_install(req)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 699, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 880, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1119, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1107, in run_setup
      raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for cryptography
  Running setup.py clean for cryptography
  Complete output from command /home/csmith/cloud-init/.tox/citest/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-p_poa18k/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
   #include <Python.h>
                      ^
  compilation terminated.
  Traceback (most recent call last):
    File "/usr/lib/python3.5/distutils/unixccompiler.py", line 118, in _compile
      extra_postargs)
    File "/usr/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
      spawn(cmd, dry_run=self.dry_run)
    File "/usr/lib/python3.5/distutils/spawn.py", line 36, in spawn
      _spawn_posix(cmd, search_path, dry_run=dry_run)
    File "/usr/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
      % (cmd, exit_status))
  distutils.errors.DistutilsExecError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 161, in run
      cmd = self.call_command('install_lib', warn_dir=0)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 147, in call_command
      self.run_command(cmdname)
    File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/install_lib.py", line 11, in run
      self.build()
    File "/usr/lib/python3.5/distutils/command/install_lib.py", line 109, in build
      self.run_command('build_ext')
    File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 75, in run
      _build_ext.run(self)
    File "/usr/lib/python3.5/distutils/command/build_ext.py", line 339, in run
      self.build_extensions()
    File "/usr/lib/python3.5/distutils/command/build_ext.py", line 448, in build_extensions
      self._build_extensions_serial()
    File "/usr/lib/python3.5/distutils/command/build_ext.py", line 473, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
      _build_ext.build_extension(self, ext)
    File "/usr/lib/python3.5/distutils/command/build_ext.py", line 533, in build_extension
      depends=ext.depends)
    File "/usr/lib/python3.5/distutils/ccompiler.py", line 574, in compile
      self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/lib/python3.5/distutils/unixccompiler.py", line 120, in _compile
      raise CompileError(msg)
  distutils.errors.CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
      yield saved
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
      yield
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
      DirectorySandbox(setup_dir).run(runner)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
      return func()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
      _execfile(setup_script, ns)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
      exec(code, globals, locals)
    File "/tmp/easy_install-pmhupb_y/cffi-1.10.0/setup.py", line 232, in <module>
  
    File "/usr/lib/python3.5/distutils/core.py", line 163, in setup
      raise SystemExit("error: " + str(msg))
  SystemExit: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1105, in run_setup
      run_setup(setup_script, args)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 258, in run_setup
      raise
    File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
      self.gen.throw(type, value, traceback)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
      yield
    File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
      self.gen.throw(type, value, traceback)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 169, in save_modules
      saved_exc.resume()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 144, in resume
      six.reraise(type, exc, self._tb)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/six.py", line 685, in reraise
      raise value.with_traceback(tb)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
      yield saved
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
      yield
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
      DirectorySandbox(setup_dir).run(runner)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
      return func()
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
      _execfile(setup_script, ns)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
      exec(code, globals, locals)
    File "/tmp/easy_install-pmhupb_y/cffi-1.10.0/setup.py", line 232, in <module>
  
    File "/usr/lib/python3.5/distutils/core.py", line 163, in setup
      raise SystemExit("error: " + str(msg))
  SystemExit: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-p_poa18k/cryptography/setup.py", line 335, in <module>
      **keywords_with_side_effects(sys.argv)
    File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
      _setup_distribution = dist = klass(attrs)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/dist.py", line 318, in __init__
      self.fetch_build_eggs(attrs['setup_requires'])
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/dist.py", line 375, in fetch_build_eggs
      replace_conflicting=True,
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/pkg_resources/__init__.py", line 846, in resolve
      dist = best[req.key] = env.best_match(req, ws, installer)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1118, in best_match
      return self.obtain(req, installer)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1130, in obtain
      return installer(requirement)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/dist.py", line 443, in fetch_build_egg
      return cmd.easy_install(req)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 699, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 880, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1119, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "/home/csmith/cloud-init/.tox/citest/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1107, in run_setup
      raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed cleaning build dir for cryptography
Failed to build cryptography
Installing collected packages: python-dateutil, requests, urllib3, requests-unixsocket, pbr, ws4py, idna, asn1crypto, pycparser, cffi, cryptography, pylxd
  Running setup.py install for cryptography: started
    Running setup.py install for cryptography: finished with status 'error'
    Complete output from command /home/csmith/cloud-init/.tox/citest/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-p_poa18k/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wkbf8ca_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/csmith/cloud-init/.tox/citest/include/site/python3.5/cryptography:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.5
    creating build/lib.linux-x86_64-3.5/cryptography
    copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.5/cryptography
    copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.5/cryptography
    copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.5/cryptography
    copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.5/cryptography
    copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.5/cryptography
    creating build/lib.linux-x86_64-3.5/cryptography/x509
    copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.5/cryptography/x509
    copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/x509
    copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.5/cryptography/x509
    copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.5/cryptography/x509
    copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.5/cryptography/x509
    copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.5/cryptography/x509
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat
    copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends
    copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends
    copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends
    copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings
    copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
    copying src/cryptography/hazmat/backends/commoncrypto/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
    copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
    copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
    copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
    copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto
    copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto
    copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl
    copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl
    copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl
    copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
    copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
    copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
    copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
    copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
    copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
    copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
    copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
    copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
    copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
    copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
    copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
    copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
    copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
    copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
    copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/interfaces
    copying src/cryptography/hazmat/primitives/interfaces/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/interfaces
    creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
    running egg_info
    writing dependency_links to src/cryptography.egg-info/dependency_links.txt
    writing requirements to src/cryptography.egg-info/requires.txt
    writing entry points to src/cryptography.egg-info/entry_points.txt
    writing src/cryptography.egg-info/PKG-INFO
    writing top-level names to src/cryptography.egg-info/top_level.txt
    reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
    writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
    running build_ext
    generating cffi module 'build/temp.linux-x86_64-3.5/_padding.c'
    creating build/temp.linux-x86_64-3.5
    generating cffi module 'build/temp.linux-x86_64-3.5/_constant_time.c'
    generating cffi module 'build/temp.linux-x86_64-3.5/_openssl.c'
    building '_openssl' extension
    creating build/temp.linux-x86_64-3.5/build
    creating build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-7CCmgg/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -I/home/csmith/cloud-init/.tox/citest/include/python3.5m -c build/temp.linux-x86_64-3.5/_openssl.c -o build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5/_openssl.o
    build/temp.linux-x86_64-3.5/_openssl.c:12:24: fatal error: pyconfig.h: No such file or directory
     #  include <pyconfig.h>
                            ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "/home/csmith/cloud-init/.tox/citest/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-p_poa18k/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wkbf8ca_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/csmith/cloud-init/.tox/citest/include/site/python3.5/cryptography" failed with error code 1 in /tmp/pip-build-p_poa18k/cryptography/
Download as text