← Back to issue list

The new artifacts option of the make plugin doesn't seem to work

View original Launchpad issue

Metadata

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

Current evaluation

Fixed make-plugin artifact collection so configured files are found in the part directory. Merged in canonical/snapcraft#743 as commit 5152c8094.

Resolution: closed resolved

Reason: Merged PR canonical/snapcraft#743, commit 5152c8094, corrected artifact collection for LP #1614754 and added regression coverage.

Evaluated by: mr-cal-bot

No scores available.

Issue body

It seems that it's not possible for the make plugin to find the artifact in the directory of the part: ⟫ /home/elopio/workspace/canonical/snapcraft/bin/snapcraft Preparing to pull make-project Pulling make-project Preparing to build make-project Building make-project make -j10 gcc -o test test.c [Errno 2] No such file or directory: 'test' To reproduce, use the attached snapcraft.yaml and Makefile

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed make-plugin artifact collection so configured files are found in the part directory. Merged in canonical/snapcraft#743 as commit 5152c8094.
stealth/space-bunny-alpha — closed resolved Make plugin failed to find artifacts in the part directory; fixed by merged PR canonical/snapcraft#743 ("make plugin: fix artifact collecting", commit 5152c8094), which also added a regression test.
stealth/space-bunny-alpha — closed stale The make-plugin artifacts failure was closed without a recorded fix or explanation; no resolving PR or commit was identified.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The make plugin artifacts option failed to locate build outputs. Likely abandoned or superseded by newer implementations.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Likely abandoned or marked invalid due to missing reproduction details. The make plugin artifacts option failed to locate built files, causing a directory error.
qwen/qwen3.6-35b-a3b — — The make plugin artifacts option failed to locate built files, causing a directory error. The report was closed without comments or a fix, indicating it was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#743 (confidence 100%)

    The merged PR explicitly fixes make-plugin artifact collecting and references LP #1614754.

  • Related To: canonical/snapcraft#715 (confidence 95%)

    This earlier merged PR introduced the make-plugin artifacts option affected by the bug.

Related issues

Issue Project State Summary Similarity
#809 make plugin: improve artifact copying (LP: #1624798) snapcraft merged Merged in canonical/snapcraft#809 via e9a495809, improving make-plugin artifact copying to support directories and address LP #1624798.
79%
#715 Add artifacts option to make plugin. snapcraft merged Merged as commit 0e7ec1f77, adding an artifacts option to the Make plugin that copies configured files into the install directory and skips make install when specified.
76%
#1624798 make plugin: can't copy directories or nested artifacts snapcraft (launchpad) closed Fixed in snapcore/snapcraft#809 (commit e9a495809): the make plugin now copies directory and individual artifact files into the snap.
75%
#743 make plugin: fix artifact collecting snapcraft merged Merged as 5152c8094, fixing make-plugin artifact collection for LP #1614754 and adding regression coverage.
74%