Target make file contains syntax which is not interpreted correctly on AIX
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 28/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- build-system, operating-systems
Direzione di ricerca
Inizia dall'output dettagliato di node-gyp rebuild e dal custom_package.target.mk generato alla riga 279, quindi esamina come viene espanso il comando $(call do_cmd,solink_module) in AIX /bin/sh. Confronta il comando generato con la sintassi della shell accettata su AIX; il lavoro è completato quando la build dell'addon nativo termina correttamente su AIX.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- Node Version: node v18.20.5 , npm 10.8.2
- Platform: AIX PPC 64
- Compiler: gcc version 10.3.0 (GCC)
- Module: Proprietary custom module
Target make file contains syntax which is not interpreted correctly on AIX
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/home/user/user1/node-v18.20.5-aix-ppc64/bin/node',
gyp verb cli '/tmp/custom_package/node_modules/.bin/node-gyp',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--target=v18.20.5',
gyp verb cli '--release',
gyp verb cli '--msvs_version=2019',
gyp verb cli '--buildfolder=Release',
gyp verb cli '--linux_variant=undefined',
gyp verb cli '--v8_enable_pointer_compression=false',
gyp verb cli '--v8_enable_31bit_smis_on_64bit_arch=false',
gyp verb cli '--build_v8_with_gn=false',
gyp verb cli '--enable_lto=false'
gyp verb cli ]
gyp info using node-gyp@10.2.0
gyp info using node@18.20.5 | aix | ppc64
gyp verb clean removing "build" directory
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if "python3" can be used
gyp verb find Python - executing "python3" to get executable path
gyp verb find Python - executable path is "/usr/bin/python3"
gyp verb find Python - executing "/usr/bin/python3" to get version
gyp verb find Python - version is "3.9.6"
gyp info find Python using Python version 3.9.6 found at "/usr/bin/python3"
gyp verb get node dir no --target version specified, falling back to host node version: 18.20.5
gyp verb install input version string "18.20.5"
gyp verb install installing version: 18.20.5
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 11
gyp verb needs "installVersion" 11
gyp verb install version is good
gyp verb get node dir target node version installed: 18.20.5
.
.
.
.
g++ -shared -Wl ........
/bin/sh: syntax error at line 1 : `(' unexpected
gmake: Leaving directory '/tmp/custom_package/nodejs/src/custom_package/node_modules/custom_package-napi/build'
gmake: *** [custom_package.target.mk:279: Release/obj.target/custom_package.node] Error 2
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
The line 279 is " $(call do_cmd,solink_module)" in the generated make file
A few lines above it are:
$(obj).target/custom_module.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(obj).target/custom_module.node: LIBS := $(LIBS)
$(obj).target/custom_module.node: TOOLSET := $(TOOLSET)
$(obj).target/custom_module.node: $(OBJS) FORCE_DO_CMD
$(call do_cmd,solink_module)
NOTE: This works on all the other platforms linux / windows on pc, amd, arm, mac, graviton. It complains specifically for AIX.
- Lingua principale
- Python
- Stelle
- 10.7k
- Fork
- 1.9k
- Merge medio
- 1g 4h
- PR unite (30g)
- 5
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nodejs/node-gyp
-
dependencies github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
MSYS2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di nodejs/node-gyp
Issue simili
-
agent-ready documentation needs-triage
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
instance instance add
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
searxng/searx-instances#939 · 1 commento ·
-
area-deployment area-integrations triage:bot-seen
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100