node plugin fails to capture symlink
Metadata
Current evaluation
Closed without resolution. The snapcraft node plugin failed to resolve symlinks during the prime stage, causing a missing file error. No fix or follow-up was provided.
Suggested action: —
No scores available.
Issue body
Given https://github.com/heroku/cli/blob/bb510a5ab5c970c8e911d3741849d1c41aa30945/snap/snapcraft.yaml
$ snapcraft
Preparing to pull hello-node-snap
Pulling hello-node-snap
Downloading 'node-v8.1.3-linux-x64.tar.gz'[===========================================================================================================================================================] 100%
npm --cache-min=Infinity install --global heroku-cli
/branches/cli/parts/hello-node-snap/install/bin/heroku -> /branches/cli/parts/hello-node-snap/install/lib/node_modules/heroku-cli/bin/run
+ heroku-cli@6.12.4
added 377 packages in 25.841s
npm --cache-min=Infinity install
npm WARN prefer global node-gyp@3.6.2 should be installed with -g
npm WARN prefer global foreman@2.0.0 should be installed with -g
npm notice created a lockfile as package-lock.json. You should commit this file.
added 376 packages in 21.984s
npm --cache-min=Infinity install --global
/branches/cli/parts/hello-node-snap/install/bin/heroku -> /branches/cli/parts/hello-node-snap/install/lib/node_modules/heroku-cli/bin/run
+ heroku-cli@6.12.4
updated 1 package in 7.355s
Preparing to build hello-node-snap
Building hello-node-snap
npm --cache-min=Infinity install --global heroku-cli
/branches/cli/parts/hello-node-snap/install/bin/heroku -> /branches/cli/parts/hello-node-snap/install/lib/node_modules/heroku-cli/bin/run
+ heroku-cli@6.12.4
updated 1 package in 5.395s
npm --cache-min=Infinity install
up to date in 4.045s
npm --cache-min=Infinity install --global
/branches/cli/parts/hello-node-snap/install/bin/heroku -> /branches/cli/parts/hello-node-snap/install/lib/node_modules/heroku-cli/bin/run
+ heroku-cli@6.12.4
updated 1 package in 6.208s
Staging hello-node-snap
Priming hello-node-snap
[Errno 2] No such file or directory: '/branches/cli/prime/bin/heroku'
Digging:
$ ls prime/bin/heroku -la
lrwxrwxrwx 1 ev dialout 38 Jul 6 05:16 prime/bin/heroku -> ../lib/node_modules/heroku-cli/bin/run
$ ls -la prime/lib/node_modules/heroku-cli
lrwxrwxrwx 1 ev dialout 14 Jul 6 05:16 prime/lib/node_modules/heroku-cli -> ../../../build
$ ls -la parts/hello-node-snap/install/bin/heroku
lrwxrwxrwx 1 ev dialout 38 Jul 6 05:16 parts/hello-node-snap/install/bin/heroku -> ../lib/node_modules/heroku-cli/bin/run
$ ls -la parts/hello-node-snap/install/lib/node_modules/heroku-cli
lrwxrwxrwx 1 ev dialout 14 Jul 6 05:16 parts/hello-node-snap/install/lib/node_modules/heroku-cli -> ../../../build
$ ls -la parts/hello-node-snap/build/bin/run
-rwxrwxr-x 1 ev dialout 537 Jul 6 03:31 parts/hello-node-snap/build/bin/run
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The snapcraft node plugin failed to resolve symlinks during the prime stage, causing a missing file error. No fix or follow-up was provided. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned due to inactivity. The snapcraft node plugin failed to capture symlinks during staging, causing a missing file error. No fix was implemented or merged. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1650686 Some symlinks not properly fixed up | snapcraft (launchpad) | closed | Abandoned. Closed without comments or resolution. The snapcraft build failure caused by unpatched absolute symlinks remains unresolved, with no fix implemented. | |
| #1614913 FAIL: test_dump_symlinks (snapcraft.tests.test_plugin_dump.DumpPluginTestCase) | snapcraft (launchpad) | closed | Reported a failing symlink test during snapcraft build. Closed without comments or resolution, likely abandoned or superseded by newer versions. |