← Back to issue list

snapcraft remote-build snapcraft.yaml validation too strict

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1992557
Type
issue
State
open
Author
~fnordahl
Labels
Created
2022-10-12 05:29:58.165049+00:00
Updated
2023-03-03 20:28:53.189541+00:00
Closed

Current evaluation

snapcraft remote-build validation rejects empty LD_LIBRARY_PATH in snapcraft.yaml, blocking valid classic snaps. Local and Launchpad builds accept it. Open issue, zero comments, inactive 143 days. Awaiting triage and schema fix.

Suggested action: needs triage

Reason: The issue has not been assessed by a maintainer (no labels, comments, or assignee), making triage the required first step per guidelines. However, it is highly stale (over 3.5 years old with no activity), so the triage process should quickly verify if the validation behavior still exists in current snapcraft versions or if it can be closed as outdated.

Staleness: 95 Complexity: 30 Confidence: 60 Support Request: 15

Issue body

When attempting to use `snapcraft remote-build` I get this error: $ snapcraft remote-build --build-on arm64 snapcraft remote-build is experimental and is subject to change - use with caution. Issues while validating snapcraft.yaml: The 'environment/LD_LIBRARY_PATH' property does not match the required schema: '' is not of type 'number' or '' is too short Using an empty LD_LIBRARY_PATH is an requirement for some classic snaps [0][1] and building the snap locally or indeed through the Launchpad snap package infrastructure causes no issue. Why does the `snapcraft remote-build` command impose this restriction, and can it be lifted? 0: https://github.com/juju/charm-tools/blob/977ec1ff795f5a8692f8061fc16aa01adf9478cf/snap/snapcraft.yaml#L14-L23 1: https://github.com/openstack-charmers/octavia-diskimage-retrofit/blob/6de2a47491df9e983b458bc7d24f0e035c55c9c3/snap/snapcraft.yaml#L32-L44

Evaluation history

Date Model Scores Action Summary
2026-06-19 06:15:28.297604+00:00 qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 60
Support Request: 15
needs triage snapcraft remote-build validation rejects empty LD_LIBRARY_PATH in snapcraft.yaml, blocking valid classic snaps. Local and Launchpad builds accept it. Open issue, zero comments, inactive 143 days. Awaiting triage and schema fix.
2026-06-19 05:59:22.221699+00:00 pending