package/nodejs/nodejs-src: fix arch check on additional modules
PATCH 1/1 package/nodejs/nodejs-src: fix arch check on additional modules
At the moment check-bin-arch script finds NodeJS modules containing prebuilt binaries for different architectures and build fails. So let check-bin-arch to ignore folder /usr/lib/node_modules by setting NODEJS_SRC_BIN_ARCH_EXCLUDE to it.
--- package/nodejs/nodejs-src/nodejs-src.mk | 3 +++ 1 file changed, 3 insertions(+)
package/nodejs/nodejs-src/nodejs-src.mk +3 -0
@@ -244,6 +244,9 @@ define NODEJS_SRC_INSTALL_MODULES # help in diagnosing the problem. $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) endef + +# Exclude prebuilt binaries with different architectures and OS from check +NODEJS_SRC_BIN_ARCH_EXCLUDE = /usr/lib/node_modules/ endif define NODEJS_SRC_INSTALL_STAGING_CMDS
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · Giulio Benetti
At the moment check-bin-arch script finds NodeJS modules containing prebuilt binaries for different architectures and build fails. So let check-bin-arch to ignore folder
/usr/lib/node_modulesby settingNODEJS_SRC_BIN_ARCH_EXCLUDEto it.Signed-off-by Giulio Benetti <[email protected]>
Signature · 2 lines
Giulio Benetti CEO&CTO@Benetti Engineering sas
Quoted 9 lines
--- package/nodejs/nodejs-src/nodejs-src.mk | 3 +++ 1 file changed, 3 insertions(+)package/nodejs/nodejs-src/nodejs-src.mk +0
-0
package/nodejs/nodejs-src/nodejs-src.mk define NODEJS_SRC_INSTALL_MODULES · line 252
Quoted 9 lines
package/nodejs/nodejs-src/nodejs-src.mk +3
-0@@ -244,6 +244,9 @@ define NODEJS_SRC_INSTALL_MODULES # help in diagnosing the problem. $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) endef + +# Exclude prebuilt binaries with different architectures and OS from check +NODEJS_SRC_BIN_ARCH_EXCLUDE = /usr/lib/node_modules/ endif define NODEJS_SRC_INSTALL_STAGING_CMDS
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Yegor Yefremov via buildroot
Reviewed-by Yegor YefremovQuoted 10 lines · Giulio Benetti
Quoted 6 lines · Giulio Benetti
At the moment check-bin-arch script finds NodeJS modules containing prebuilt binaries for different architectures and build fails. So let check-bin-arch to ignore folder
/usr/lib/node_modulesby settingNODEJS_SRC_BIN_ARCH_EXCLUDEto it.Signed-off-by Giulio Benetti <[email protected]>Suggested-by Yann E. MORIN <[email protected]>
Quoted 21 lines
--
Giulio Benetti
CEO&CTO@Benetti Engineering sasQuoted 17 lines
--- package/nodejs/nodejs-src/nodejs-src.mk | 3 +++ 1 file changed, 3 insertions(+)package/nodejs/nodejs-src/nodejs-src.mk +3
-0@@ -244,6 +244,9 @@ define NODEJS_SRC_INSTALL_MODULES # help in diagnosing the problem. $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) endef + +# Exclude prebuilt binaries with different architectures and OS from check +NODEJS_SRC_BIN_ARCH_EXCLUDE = /usr/lib/node_modules/ endif
Quoted 6 lines
package/nodejs/nodejs-src/nodejs-src.mk define NODEJS_SRC_INSTALL_MODULES · line 252
Quoted 1 line
package/nodejs/nodejs-src/nodejs-src.mk +0
-0define NODEJS_SRC_INSTALL_STAGING_CMDS_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · Giulio Benetti
At the moment check-bin-arch script finds NodeJS modules containing prebuilt binaries for different architectures and build fails. So let check-bin-arch to ignore folder
/usr/lib/node_modulesby settingNODEJS_SRC_BIN_ARCH_EXCLUDEto it.Signed-off-by Giulio Benetti <[email protected]>
Quoted 9 lines
--- package/nodejs/nodejs-src/nodejs-src.mk | 3 +++ 1 file changed, 3 insertions(+)package/nodejs/nodejs-src/nodejs-src.mk +0
-0
package/nodejs/nodejs-src/nodejs-src.mk define NODEJS_SRC_INSTALL_MODULES · line 252
Quoted 9 lines
package/nodejs/nodejs-src/nodejs-src.mk +3
-0@@ -244,6 +244,9 @@ define NODEJS_SRC_INSTALL_MODULES # help in diagnosing the problem. $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) endef + +# Exclude prebuilt binaries with different architectures and OS from check +NODEJS_SRC_BIN_ARCH_EXCLUDE = /usr/lib/node_modules/ endif define NODEJS_SRC_INSTALL_STAGING_CMDS
________________________________
othermo GmbH | Sitz der Gesellschaft: Alzenau | Amtsgericht Aschaffenburg: HRB 14783 | USt-IdNr.: DE319977978 | Geschäftsführung: Dr. Dennis Metz.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedGiulio, All,
On 2023-11-05 15:24 +0100, Giulio Benetti spake thusly:
Quoted 4 lines
At the moment check-bin-arch script finds NodeJS modules containing prebuilt binaries for different architectures and build fails. So let check-bin-arch to ignore folder
/usr/lib/node_modulesby settingNODEJS_SRC_BIN_ARCH_EXCLUDEto it.
I have extended the commit log drastically, to explain the situation is more details, and why we decided to just ignore the issue.
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 26 lines
Signed-off-by Giulio Benetti <[email protected]>--- package/nodejs/nodejs-src/nodejs-src.mk | 3 +++ 1 file changed, 3 insertions(+)package/nodejs/nodejs-src/nodejs-src.mk +3
-0@@ -244,6 +244,9 @@ define NODEJS_SRC_INSTALL_MODULES # help in diagnosing the problem. $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) endef + +# Exclude prebuilt binaries with different architectures and OS from check +NODEJS_SRC_BIN_ARCH_EXCLUDE = /usr/lib/node_modules/ endif define NODEJS_SRC_INSTALL_STAGING_CMDSSignature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Giulio" == Giulio Benetti <[email protected]> writes:
At the moment check-bin-arch script finds NodeJS modules containing prebuilt binaries for different architectures and build fails. So let check-bin-arch to ignore folder
/usr/lib/node_modulesby settingNODEJS_SRC_BIN_ARCH_EXCLUDEto it.Signed-off-by Giulio Benetti <[email protected]>--- package/nodejs/nodejs-src/nodejs-src.mk | 3 +++ 1 file changed, 3 insertions(+)package/nodejs/nodejs-src/nodejs-src.mk +0
-0
package/nodejs/nodejs-src/nodejs-src.mk define NODEJS_SRC_INSTALL_MODULES · line 250
Quoted 7 lines
package/nodejs/nodejs-src/nodejs-src.mk +3
-0@@ -244,6 +244,9 @@ define NODEJS_SRC_INSTALL_MODULES # help in diagnosing the problem. $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) endef + +# Exclude prebuilt binaries with different architectures and OS from check +NODEJS_SRC_BIN_ARCH_EXCLUDE = /usr/lib/node_modules/ endif
Committed to 2023.02.x and 2023.08.x (after moving it to the nodejs package and adjusting the variable name to match), thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot