Repository navigation
Commit 96da7c5
authored
fix: pack node-gyp's gyp entrypoints as executable (#12652)
gyp's make generator execs gyp/gyp_main.py and gyp/gyp directly through
their shebangs when it regenerates the Makefile during a from-source
native build. They were missing from publishConfig.executableFiles, so
they got packed at 0644 and the build failed with "Permission denied"
(make error 126).
#11485 fixed the node-gyp bin shims but not these two. Add them
to PUBLISH_EXECUTABLE_FILES so the pnpm and `@pnpm/exe` tarballs pack
them at 0755.
Closes #124551 parent a33eeec commit 96da7c5
4 files changed
Lines changed: 14 additions & 2 deletions
File tree
- .changeset
- .meta-updater/src
- pnpm11/pnpm
- artifacts/exe
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
0 commit comments