← Back to issue list

fork/exec error when building Go rock with the 24.04 build-base

View original Github issue

Metadata

Project
rockcraft
Number
#579
Type
issue
State
open
Author
gruyaume
Labels
Created
2024-05-24 09:33:21+00:00
Updated
2024-05-27 12:35:27+00:00
Closed

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.