← Back to issue list

linter with gpu-extension not relevant

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2161030
Type
issue
State
open
Author
~t-a-k
Labels
Created
Updated
Closed

Current evaluation

Library linter reports false positives for dependencies provided via gpu-extension mesa slot; untriaged, no maintainer response

Suggested action: needs triage

Reason: The issue has no labels, no maintainer comments, and no assignee after 50 days. It reports a legitimate bug where the library linter produces false positives for dependencies (e.g. libX11, libxml2) that are provided through the gpu-extension's mesa slot. A maintainer needs to triage and confirm whether this is a known limitation or a fixable bug.

Impact: 60 Quick Win: 27.0 Staleness: 45 Complexity: 55 Confidence: 50 Support Request: 15

Issue body

oHi, A 'gpu'-linter has been added with snapcraft 9.0+ to check whether the display libraries are called through the gpu-extension ; this is nice. Yet, using the gpu-extension, the library-linter fails to output a relevant report as it cannot see the libraries dependencies through the mesa snaps slot. Thus making it impossible to check automatically the dependencies. e.g. ``` Running linters... Running linter: classic Running linter: gpu Running linter: library Running linter: metadata Lint warnings: - library: usr/bin/HTMLLinker: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/autogsdoc: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/classes: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/cvtenc: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/defaults: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/gdnc: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/gspath: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/lsar: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/make_strings: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/pl: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/pl2link: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/pldes: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/plget: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/plmerge: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/plparse: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/plser: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/plutil: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/sfparse: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/unar: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/bin/xmlparse: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/graphviz/libgvplugin_gd.so.8.0.7: missing dependency 'libX11.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/graphviz/libgvplugin_gd.so.8.0.7: missing dependency 'libXext.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/graphviz/libgvplugin_gd.so.8.0.7: missing dependency 'libxcb-shm.so.0'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/graphviz/libgvplugin_gd.so.8.0.7: missing dependency 'libxcb.so.1'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/graphviz/libgvplugin_pango.so.8.0.7: missing dependency 'libX11.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/graphviz/libgvplugin_pango.so.8.0.7: missing dependency 'libXext.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/graphviz/libgvplugin_pango.so.8.0.7: missing dependency 'libxcb-shm.so.0'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/graphviz/libgvplugin_pango.so.8.0.7: missing dependency 'libxcb.so.1'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libXpm.so.4.11.0: missing dependency 'libX11.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libXrender.so.1.3.0: missing dependency 'libX11.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libcairo.so.2.11804.4: missing dependency 'libX11.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libcairo.so.2.11804.4: missing dependency 'libXext.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libcairo.so.2.11804.4: missing dependency 'libxcb-shm.so.0'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libcairo.so.2.11804.4: missing dependency 'libxcb.so.1'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libexslt.so.0.8.25: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libgd.so.3.0.11: missing dependency 'libX11.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libgnustep-base.so.1.31.1: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libpangocairo-1.0.so.0.5700.0: missing dependency 'libX11.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libpangocairo-1.0.so.0.5700.0: missing dependency 'libXext.so.6'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libpangocairo-1.0.so.0.5700.0: missing dependency 'libxcb-shm.so.0'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libpangocairo-1.0.so.0.5700.0: missing dependency 'libxcb.so.1'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libxcb-render.so.0.0.0: missing dependency 'libxcb.so.1'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) - library: usr/lib/aarch64-linux-gnu/libxslt.so.1.1.45: missing dependency 'libxml2.so.16'. (https://documentation.ubuntu.com/snapcraft/stable/how-to/debugging/use-the-library-linter) ``` Would also be nice to add a 'snap' command to let devs/users run an automatically linter on an installed snap (in current context). Especially with all the limitations for snap-as-libraries (one version installed, no possible version check) and extensions (forced to build with current stable main channel ; hard to track revisions changes at running). Thanks <3

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 60
Quick Win: 27.0
Staleness: 45
Complexity: 55
Confidence: 50
Support Request: 15
needs triage Library linter reports false positives for dependencies provided via gpu-extension mesa slot; untriaged, no maintainer response
qwen/qwen3.6-35b-a3b
Staleness: 15
Complexity: 45
Confidence: 90
Support Request: 10
needs triage Library linter reports false missing dependency warnings when gpu-extension is used, as it cannot resolve libraries provided via the mesa snap slot. Unlabeled, awaiting maintainer review.
qwen/qwen3.6-35b-a3b
Staleness: 10
Complexity: 50
Confidence: 90
Support Request: 20
needs triage Snapcraft's library linter reports false dependency warnings when using the gpu-extension because it cannot resolve libraries provided via mesa snap slots. Unlabelled, no maintainer response yet.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 45
Confidence: 90
Support Request: 20
needs triage Library linter reports false dependency warnings when using gpu-extension because it cannot resolve libraries provided via mesa snap slots. Unlabelled, awaiting maintainer review.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.