go120 failed to build on riscv64

Bug #2012600 reported by Shengjing Zhu
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
go-snap
Fix Released
Undecided
Shengjing Zhu

Bug Description

https://launchpadlibrarian.net/657165464/buildlog_snap_ubuntu_jammy_riscv64_go120_BUILDING.txt.gz

Snapping...
Sorry, an error occurred in Snapcraft:
Failed to create snap, snap command failed:
stdout:

stderr:
error: cannot pack "/build/go/prime": mksquashfs call failed: libgcc_s.so.1 must be installed for pthread_cancel to work

Traceback (most recent call last):
  File "/snap/snapcraft/7207/bin/snapcraft", line 8, in <module>
    sys.exit(run())
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/click/core.py", line 1646, in invoke
    super().invoke(ctx)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/snapcraft/cli/_runner.py", line 130, in run
    snap_command.invoke(ctx)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/snapcraft/cli/lifecycle.py", line 387, in snap
    _execute(steps.PRIME, parts=tuple(), pack_project=True, output=output, **kwargs)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/snapcraft/cli/lifecycle.py", line 104, in _execute
    _pack(
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/snapcraft/cli/lifecycle.py", line 253, in _pack
    snap_filename = _run_pack(command)
  File "/snap/snapcraft/7207/lib/python3.8/site-packages/snapcraft/cli/lifecycle.py", line 198, in _run_pack
    raise RuntimeError(
RuntimeError: Failed to create snap, snap command failed:
stdout:

stderr:
error: cannot pack "/build/go/prime": mksquashfs call failed: libgcc_s.so.1 must be installed for pthread_cancel to work

Tags: fr-3713
Revision history for this message
Shengjing Zhu (zhsj) wrote :

This is core22 with snapcraft 6.x. Maybe I should port it to snapcraft 7.x and not to dig 6.x problem.

Changed in go-snap:
assignee: nobody → Shengjing Zhu (zhsj)
Shengjing Zhu (zhsj)
tags: added: fr-3713
Revision history for this message
Shengjing Zhu (zhsj) wrote :

FTR, there's discussion in https://forum.snapcraft.io/t/fail-to-build-snap-on-riscv64/34542

And finally we get snapd fixed for riscv64 now.

Shengjing Zhu (zhsj)
Changed in go-snap:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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