Merge ~sylvain-pineau/checkbox-core-snap:fix-distro-traceback into checkbox-core-snap:master
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | ae03a14105e60204892c051198e37a7652be606a |
Merged at revision: | 226f68a130c7be2df63373ee26f11f69aed84a0a |
Proposed branch: | ~sylvain-pineau/checkbox-core-snap:fix-distro-traceback |
Merge into: | checkbox-core-snap:master |
Diff against target: |
22 lines (+1/-3) 1 file modified
snap/snapcraft.yaml (+1/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+412804@code.launchpad.net |
Description of the change
A fix for the following error on Jammy:
+ /usr/bin/python3 -m pip install -U meson
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/
status = self.run(options, args)
File "/usr/lib/
return func(self, options, args)
File "/usr/lib/
session = self.get_
File "/usr/lib/
self._session = self.enter_
File "/usr/lib/
session = PipSession(
File "/usr/lib/
self.
File "/usr/lib/
zip(["name", "version", "id"], distro.
File "/usr/share/
return _distro.
File "/usr/share/
self.version(),
File "/usr/share/
self.
File "/usr/share/
return self._lsb_
File "/usr/share/
ret = obj.__dict_
File "/usr/share/
stdout = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
Failed to build 'glmark2'.
Note that we should only add it for jammy builds (not even sure it's available in the esm repo for 16.04)