← Back to issue list

meson version out of date

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1753250
Type
issue
State
open
Author
~bitseater
Labels
gettext i18n meson snap
Created
Updated
Closed

Current evaluation

2017-era report that snapcraft's meson plugin build environment pinned meson 0.29, missing the i18n/gettext module added in 0.30. No comments, no maintainer response; the plugin has since been rewritten, so the pinned old meson no longer applies.

Suggested action: close stale

Reason: The issue is 3102 days old with 0 comments and last activity 997 days ago, and the current codebase (snapcraft/parts/, linters/, extensions/) shows the meson plugin was rewritten on the modern craft-parts stack, so the build environment no longer pins meson 0.29 and the reported 'No module named mesonbuild.modules.i18n' ImportError is no longer reproducible. The reporter's own pip-based workaround is effectively what modern plugin behavior provides, making the original problem obsolete rather than merely inactive.

Impact: 15 Quick Win: 12.0 Staleness: 90 Complexity: 20 Confidence: 70 Support Request: 10

Issue body

Snapcraft fails to build a package with meson plug-in and including gettext, gschemas and resources. The error message is "ImportError: No module named ‘mesonbuild.modules.i18n’ ", cause the build environment install meson 0.29 version and support for gettext, gschemas and resources has been updated in 0.30 version and so on. A workaround to solve it is to update meson: parts: mypart: after: [desktop-gtk3, snapcraft-preload] source: https://github.com/xxxxxx/yyyyyyyy.git source-type: git plugin: meson meson-parameters: [--prefix=/usr] prepare: | apt-get install -y python-setuptools pip3 install meson

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 12.0
Staleness: 90
Complexity: 20
Confidence: 70
Support Request: 10
close stale 2017-era report that snapcraft's meson plugin build environment pinned meson 0.29, missing the i18n/gettext module added in 0.30. No comments, no maintainer response; the plugin has since been rewritten, so the pinned old meson no longer applies.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 10
close stale Report of Snapcraft build failure due to outdated meson version lacking i18n support, with a pip workaround provided. Issue is over 8 years old with no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 10
close stale Snapcraft build environment uses outdated Meson 0.29, causing i18n/gschemas failures. Issue is inactive for over two years and obsolete given current Meson versions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 99
Complexity: 10
Confidence: 95
Support Request: 10
close stale Snapcraft build fails due to outdated meson 0.29 lacking gettext/i18n support. Issue is over 8 years old and the reported version mismatch is no longer relevant in current environments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 90
Support Request: 20
close stale Snapcraft's meson plugin bundles an outdated meson version (0.29) lacking i18n support, causing build failures. Issue remains open with no maintainer response for over two years.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1957766 (confidence 50%)

    Separate meson-plugin build-environment bug (plugin not installed during pull stage, v6.0.1); same plugin area but a different failure mode, not a duplicate.

Related issues

Issue Project State Summary Similarity
#1982761 Meson plugin fails in snapcraft version 7.1.0 snapcraft (launchpad) closed Closed without comments or resolution, the report was likely abandoned or marked stale. The meson plugin environment validation failure in snapcraft 7.1.0 on core22 remains unfixed.
72%
#1957766 plugin:meson is not installed during pull stage snapcraft (launchpad) open snapcraft 6.0.1: plugin:meson parts are not cached during the pull stage, so the build stage must fetch meson over the network and the proxy times out. Reported by xnox, open ~4.6 years with no labels, comments, or maintainer response.
71%