← Back to issue list

qml plugin: make it combinable with apps which use other build systems to install their files

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1510008
Type
issue
State
closed
Author
~dholbach
Labels
—
Created
Updated
Closed

Current evaluation

Migrated to GitHub ubuntu-core/snapcraft#46 and closed as not a bug: snapcraft does not conflict when two parts install the same file, the user's part ordering was wrong. The qml plugin was later deleted as broken in merged PR #469 (12b892588).

Resolution: closed not a bug

Reason: ~elopio moved the report to ubuntu-core/snapcraft#46, where a maintainer closed it in Nov 2015, explaining snapcraft has no issue when two parts install the same file in the same location so the failure was a part-ordering mistake, not a plugin defect. No change was made to make the plugin combinable; sergiusens later noted the qml plugin would be removed, and it was deleted in merged PR #469 (commit 12b892588).

Evaluated by: mr-cal-bot

No scores available.

Issue body

Alan put together a branch which builds lp:music-app using the cmake plugin (https://bazaar.launchpad.net/~popey/+junk/music-app-snap/view/head:/snapcraft.yaml). This works just fine, but a lot of dependencies are not bundled, so I tried to use the qml plugin. This works fine, but the music-app expects some files in the right place (like translations), for which it uses cmake. Trying to use both (snapcraft.yaml snippet below), you run into the problem that both try to install the same files (the qml plugin installs * - https://bazaar.launchpad.net/~snappy-dev/snapcraft/core/view/head:/snapcraft/plugins/qml.py#L67), which breaks the build. Maybe the qml plugin could be more selective in what exactly it tries to bundle? parts: music-build: plugin: cmake source: https://launchpad.net/music-app source-type: bzr snap: - icon.png music-app: plugin: music-qml after: music-build

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed not a bug Migrated to GitHub ubuntu-core/snapcraft#46 and closed as not a bug: snapcraft does not conflict when two parts install the same file, the user's part ordering was wrong. The qml plugin was later deleted as broken in merged PR #469 (12b892588).
stealth/space-bunny-alpha — closed superseded Request to make the qml plugin more selective about which files it bundles, so it can combine with cmake. Discussion ended with the plugin being deleted outright in PR #469 (commit 12b892588, "qml plugin: remove broken plugin").
stealth/space-bunny-alpha — closed not a bug Closed after the reporter verified the cmake-after-qml build-order workaround; no Snapcraft code change was made.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The qml plugin conflict with cmake builds remains unresolved, indicating the request was abandoned. No changes were made to restrict file installation or improve plugin compatibility.
qwen/qwen3.6-35b-a3b — — Closed without resolution due to inactivity. The qml plugin continues to install all files, causing conflicts when combined with other build systems like cmake. No modifications were made to restrict its file selection.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The proposal to make the qml plugin selectively bundle files alongside cmake was abandoned, likely superseded by updated snapcraft plugin architectures.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The qml plugin file conflict with cmake builds remains unaddressed due to lack of activity and no proposed changes.

Update history

Date Change
created

Related work

  • Superseded By: ubuntu-core/snapcraft#46 (confidence 96%)

    ~elopio's 2015-10-30 comment states the issue was moved to this GitHub issue, where it was closed as not a bug.

  • Related To: canonical/snapcraft#469 (confidence 90%)

    Merged PR that removed the broken qml plugin (commit 12b892588, 160 lines across 8 files), matching sergiusens' stated plan on this issue.

Related issues

Issue Project State Summary Similarity
#46 qml plugin: make it combinable with apps which use other build systems to install their files snapcraft closed Feature request to make the qml plugin combinable with cmake-built parts was closed by maintainer in Nov 2015 as likely a part-ordering problem (cmake should run after qml); plugin was later deleted as broken.
84%
#1551343 Remove qml plugin snapcraft (launchpad) closed Removed the assumption-dependent QML plugin in ubuntu-core/snapcraft PR #469, merged as commit 12b892588, because it failed in common environments such as X11.
77%