snapcraft icon indicating copy to clipboard operation
snapcraft copied to clipboard

snapcraft configure hook fails: segmentation fault

Open barrettj12 opened this issue 1 year ago • 1 comments

Bug Description

When installing the snapcraft snap on an AWS arm64 GitHub runner, the "configure" hook fails

error: cannot perform the following tasks:
- Run configure hook of "snapcraft" snap if present (run hook "configure": signal: segmentation fault)

To Reproduce

Run the following GitHub workflow:

jobs:
  snap:
    name: linux-arm64
    runs-on: [self-hosted, linux, arm64, aws, large]
    steps:
    - name: Install Dependencies
      shell: bash
      run: |
        set -euxo pipefail
        sudo snap install snapcraft --classic

Environment

Distribution: Ubuntu 22.04.3 LTS Architecture: aarch64

on AWS

snapcraft.yaml

N/A

Relevant log output

+ sudo snap install snapcraft --classic
error: cannot perform the following tasks:
- Run configure hook of "snapcraft" snap if present (run hook "configure": signal: segmentation fault)

Additional context

Run here: https://github.com/juju/juju/actions/runs/6783177627/job/18436880350?pr=16548

barrettj12 avatar Nov 07 '23 11:11 barrettj12