← Back to issue list

Can't read lxd info with german locale

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1780061
Type
issue
State
open
Author
~neothethird
Labels
—
Created
Updated
Closed
—

Current evaluation

Legacy cleanbuild failed when parsing localized lxc info output; the affected LXD lifecycle code was later removed in commit 27ec9ba63.

Suggested action: close stale

Reason: Commit 27ec9ba63 ("lifecycle: remove lxd support for bases", PR #2335) removed the affected cleanbuild LXD path, and the current source no longer contains the reported lxc info parser or error. The original behavior was valid and reproducible, but the obsolete subsystem is no longer present in current Snapcraft.

Evaluated by: mr-cal-bot

Impact: 45 Quick Win: 36 Complexity: 10 Confidence: 96 Actionability: 90

Issue body

Snapcraft cleanbuild fails on my Ubuntu 18.04 machine with german locale because it fails to read the german output of lxc info. Log: neothethird@NeoTheLaptop:~/Code/ubports-installer$ snapcraft cleanbuild --target-arch amd64 Setting target machine to 'amd64' snapcraft-daily-next-donkey wird erstellt snapcraft-daily-next-donkey wird gestartet Stopping local:snapcraft-daily-next-donkey Failed to detect container architecture: The output from 'lxc info' could not be read: Name: snapcraft-daily-next-donkey Remote: unix:// Architektur: x86_64 Erstellt: 2018/07/04 08:41 UTC Status : Running Type: ephemeral Profile: default Pid: 28003 Ips: eth0: inet6 fe80::216:3eff:fec2:724d veth8BYWGX lo: inet 127.0.0.1 lo: inet6 ::1 Quellen: Prozesse: 5 CPU usage: CPU usage (in seconds): 0 Memory usage: Arbeitsspeicher (aktuell): 19.95MB Memory (peak): 22.56MB Network usage: eth0: Bytes empfangen: 340B Bytes gesendet: 176B Pakete empfangen: 2 Pakete gesendet: 2 lo: Bytes empfangen: 0B Bytes gesendet: 0B Pakete empfangen: 0 Pakete gesendet: 0 As you can see, the arch is returned correctly, but the output can not be parsed. Maybe snapcraft could also look at the arch that is passed as a command line argument and use that if it can't parse the output?

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 45
Quick Win: 36
Complexity: 10
Confidence: 96
Actionability: 90
close stale Legacy cleanbuild failed when parsing localized lxc info output; the affected LXD lifecycle code was later removed in commit 27ec9ba63.
stealth/space-bunny-alpha
Impact: 20
Quick Win: 7
Complexity: 25
Confidence: 80
Actionability: 45
close stale cleanbuild failed under German/French/Portuguese locales because the in-tree LXD provider parsed localized `lxc info` output. That provider code and the cleanbuild command have since been removed; build environments now live in external craft-providers.
stealth/space-bunny-alpha
Impact: 8
Quick Win: 1
Complexity: 40
Confidence: 78
Actionability: 12
close stale German-locale lxc info parsing blocked Snapcraft cleanbuild in 2018; the affected legacy LXD builder path is absent from the current codebase.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14
Staleness: 95
Complexity: 30
Confidence: 70
Support Request: 10
close stale Snapcraft cleanbuild fails to parse lxc info output under a German locale, breaking container architecture detection. Reported in 2018, no maintainer activity; current codebase no longer parses lxc info output.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14
Staleness: 95
Complexity: 30
Confidence: 55
Support Request: 10
close stale Snapcraft cleanbuild fails to parse 'lxc info' output when the host uses a German locale, breaking container architecture detection. No maintainer activity in ~8 years; likely superseded by modern LXD/lxd integration.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 0
close stale Snapcraft cleanbuild fails to parse lxc info output when system locale is German. Issue is extremely old, from 2018, with no maintainer response or activity.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 10
close stale Snapcraft cleanbuild fails to parse localized lxc info output on German locale. Issue is over 8 years old, targets EOL Ubuntu 18.04, and has had no maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 45
Confidence: 85
Support Request: 10
needs triage Snapcraft cleanbuild fails to parse lxc info output when system locale is German. Issue is unlabelled, has no maintainer comments, and is over 8 years old.

Update history

Date Change
created

Related work

  • Superseded By: snapcraft#2335 (confidence 96%)

    Resolving commit 27ec9ba63 removed LXD support for legacy bases and, with later dead-code removal, eliminated this cleanbuild implementation.

Related issues

No related issues found above the similarity threshold.