OSError: [Errno 7] Argument list too long

Bug #1767625 reported by Lucy Llewellyn
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fix Released
Sergio Schvezov

Bug Description

This is preventing GIMP 2.10 from building (reproducible by using my snapcraft from https://github.com/diddledan/gimp-snap/tree/2.10.0-RC1-test). snapcraft, version 2.41, and tested using snapcraft from --edge - 2.42 (1500)):

Pulling webkit2gtk
Sorry, Snapcraft ran into an error when trying to running through its
lifecycle that generated the following traceback:
Traceback (most recent call last):
  File "/snap/snapcraft/1429/bin/snapcraft", line 11, in <module>
    load_entry_point('snapcraft==2.41', 'console_scripts', 'snapcraft')()
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/snapcraft/cli/lifecycle.py", line 139, in snap
    project_options, directory=directory, output=output)
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_packer.py", line 46, in snap
    execute('prime', project_options)
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_runner.py", line 80, in execute
    _Executor(config, project_options).run(step, part_names)
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_runner.py", line 191, in run
    self._run_step(step, part, part_names)
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/snapcraft/internal/lifecycle/_runner.py", line 236, in _run_step
    getattr(part, step)()
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 354, in pull
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/_runner.py", line 81, in pull
  File "/snap/snapcraft/1429/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/_runner.py", line 153, in _run_scriptlet
    ['/bin/sh', '-e', '-c', script], cwd=workdir)
  File "/snap/snapcraft/1429/usr/lib/python3.5/subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "/snap/snapcraft/1429/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg)
OSError: [Errno 7] Argument list too long
Stopping local:snapcraft-gimp

description: updated
Revision history for this message
Pierre Equoy (pieq) wrote :

Same issue here with both:

 - 2.41 (1429) currently in --stable
 - 2.42+git5.02774cd (1513) currently in --edge

Changed in snapcraft:
status: New → Confirmed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
milestone: none → 2.43
status: Confirmed → In Progress
assignee: nobody → Sergio Schvezov (sergiusens)
importance: Undecided → Critical
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.