I put an ad-hoc rm statement in snapcraft.yaml to solve the out of space issue (namely rm -rf /root/parts/chromium/src/third_party/rust-src/.git
), but it wasn’t enough, I got again out of space in the last, linking step.
So I had the idea to remove a bit of the source (I can do this directly because I always run with --debug
):
# rm -rf parts/chromium/src/third_party/rust_src
Then I quit the environment’s shell and ran snapcraft --verbosity=trace --debug --use-lxd
again, but alas, it decided to start over the build from scratch:
2023-09-22 06:37:41.222 execute action va-drivers:Action(part_name='va-drivers', step=Step.BUILD, action_type=ActionType.SKIP, reason='already ran', project_vars={'version': ProjectVar(value='117.0.5938.88', updated=True), 'grade': ProjectVar(value='', updated=False)}, properties=ActionProperties(changed_files=None, changed_dirs=None)) 2023-09-22 06:37:41.222 Skip execution of Action(part_name='va-drivers', step=Step.BUILD, action_type=ActionType.SKIP, reason='already ran', project_vars={'version': Proj
ectVar(value='117.0.5938.88', updated=True), 'grade': ProjectVar(value='', updated=False)}, properties=ActionProperties(changed_files=None, changed_dirs=None)) (because a
lready ran)
2023-09-22 06:37:41.223 Executed: skip build va-drivers (already ran)
2023-09-22 06:37:41.223 Executing parts lifecycle: build chromium 2023-09-22 06:37:41.223 Executing action
2023-09-22 06:37:41.224 execute action chromium:Action(part_name='chromium', step=Step.BUILD, action_type=ActionType.RUN, reason=None, project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2023-09-22 06:37:41.225 load state file: /root/parts/chromium/state/pull 2023-09-22 06:37:41.715 fix artifacts: unpack_dir='/root/parts/chromium/install'
2023-09-22 06:37:41.721 fix symlink: path='/root/parts/chromium/install/usr/share/X11/rgb.txt', unpack_dir='/root/parts/chromium/install', root='/root/parts/chromium/inst
all/usr/share/X11'
2023-09-22 06:37:41.743 fix symlink: target='/root/parts/chromium/install/etc/X11/rgb.txt'
2023-09-22 06:37:41.856 remove directory /root/parts/chromium/build - (42.2s)
If anything, I’d have expected it to restart the pull phase. The
reason=None, project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None)
doesn’t help me.
Did I do something wrong there?