fork/exec error when building Go rock with the 24.04 build-base
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### Bug Description
I am getting errors when trying to build Go rocks with the 24.04 `build-base`. With the rockcraft.yaml file referenced below, the rock works fine with Ubuntu 22.04, but not with 24.04.
### To Reproduce
1. Pack the rock
2. Convert to skopeo
3. Docker run the rock
4. Pebble exec bin/<bin name>
### Environment
- rockcraft 1.3.2
### rockcraft.yaml
```shell
name: sdcore-amf
base: bare
build-base: ubuntu@24.04
version: '1.4.1'
summary: SD-Core AMF
description: SD-Core AMF
license: Apache-2.0
platforms:
amd64:
arm64:
parts:
amf:
plugin: go
source: https://github.com/gruyaume/amf.git
source-type: git
source-branch: dev-tls
build-snaps:
- go/1.21/stable
stage-packages:
- libc6_libs
organize:
bin/cmd: bin/amf
```
### Relevant log output
```shell
guillaume@thinkpad:~$ docker exec eb04758477aa pebble exec /bin/amf
error: cannot perform the following tasks:
- Execute command "/bin/amf" (fork/exec /bin/amf: no such file or directory)
```
Evaluation history
No evaluation history available.