DEVELOPERS: add Martin Bark for package/nodejs
PATCH 1/3 DEVELOPERS: add Martin Bark for package/nodejs
--- DEVELOPERS | 1 + 1 file changed, 1 insertion(+)
DEVELOPERS +1 -0
@@ -998,6 +998,7 @@ F: package/libsecret/ N: Martin Bark <[email protected]> F: package/ca-certificates/ +F: package/nodejs/ F: package/tzdata/ F: package/zic/
Signature · 1 line
2.7.4
PATCH 2/3 package/nodejs: bump version to 7.7.1
See https://nodejs.org/en/blog/release/v7.7.1/
---
Note: 0002-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch was cherry-picked upstream from master so should go in a future release
0001-check-if-uclibc-has-backtrace-support.patch is against files in v8 so will be around until a new major version of nodejs
--- .../0001-gyp-force-link-command-to-use-CXX.patch | 29 ------------- ...-don-t-build-when-ssl-support-is-disabled.patch | 35 ---------------- ...001-check-if-uclibc-has-backtrace-support.patch | 26 ++++++++++++ ...-HAVE_OPENSSL-directive-to-openssl_config.patch | 49 ++++++++++++++++++++++ package/nodejs/Config.in | 2 +- package/nodejs/nodejs.hash | 4 +- package/nodejs/nodejs.mk | 5 +++ 7 files changed, 83 insertions(+), 67 deletions(-) delete mode 100644 package/nodejs/6.9.4/0001-gyp-force-link-command-to-use-CXX.patch delete mode 100644 package/nodejs/6.9.4/0002-inspector-don-t-build-when-ssl-support-is-disabled.patch create mode 100644 package/nodejs/7.7.1/0001-check-if-uclibc-has-backtrace-support.patch create mode 100644 package/nodejs/7.7.1/0002-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch
package/nodejs/6.9.4/0001-gyp-force-link-command-to-use-CXX.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 90a3c113c19ec615249ab880c45c6c0a8d369098 Mon Sep 17 00:00:00 2001 -From: Martin Bark <[email protected]> -Date: Tue, 30 Jun 2015 09:43:47 +0100 -Subject: [PATCH 2/4] gyp: force link command to use CXX - -Signed-off-by: Samuel Martin <[email protected]> -Signed-off-by: Martin Bark <[email protected]> -[yann.morin.1998 at free.fr: adapt to 4.1.2] -Signed-off-by: "Yann E. MORIN" <[email protected]> ---- - tools/gyp/pylib/gyp/generator/make.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py -index b88a433..0a1f2e0 100644 ---- a/tools/gyp/pylib/gyp/generator/make.py -+++ b/tools/gyp/pylib/gyp/generator/make.py -@@ -142,7 +142,7 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^) - # special "figure out circular dependencies" flags around the entire - # input list during linking. - quiet_cmd_link = LINK($(TOOLSET)) $@ --cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS) -+cmd_link = $(CXX.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS) - - # We support two kinds of shared objects (.so): - # 1) shared_library, which is just bundling together many dependent libraries --- -2.1.4 -
package/nodejs/6.9.4/0002-inspector-don-t-build-when-ssl-support-is-disabled.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 7fa541f6c0a31e3ddcab6ea85040b531bbaa4651 Mon Sep 17 00:00:00 2001 -From: Martin Bark <[email protected]> -Date: Tue, 12 Jul 2016 19:03:28 +0100 -Subject: [PATCH] inspector: don't build when ssl support is disabled - -Signed-off-by: Martin Bark <[email protected]> ---- - node.gyp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/node.gyp b/node.gyp -index 8a8bd00..fdccd60 100644 ---- a/node.gyp -+++ b/node.gyp -@@ -302,7 +302,7 @@ - 'deps/v8/src/third_party/vtune/v8vtune.gyp:v8_vtune' - ], - }], -- [ 'v8_inspector=="true"', { -+ [ 'v8_inspector=="true" and node_use_openssl =="true"', { - 'defines': [ - 'HAVE_INSPECTOR=1', - 'V8_INSPECTOR_USE_STL=1', -@@ -828,7 +828,7 @@ - ], - - 'conditions': [ -- ['v8_inspector=="true"', { -+ ['v8_inspector=="true" and node_use_openssl =="true"', { - 'sources': [ - 'src/inspector_socket.cc', - 'test/cctest/test_inspector_socket.cc' --- -2.7.4 -
package/nodejs/7.7.1/0001-check-if-uclibc-has-backtrace-support.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 7c69553d7275bbcaa88fada8ccd0d2d9f787e1ad Mon Sep 17 00:00:00 2001 +From: Martin Bark <[email protected]> +Date: Sat, 4 Mar 2017 20:41:40 +0000 +Subject: [PATCH] check if uclibc has backtrace support + +Signed-off-by: Martin Bark <[email protected]> +--- + deps/v8/src/base/debug/stack_trace_posix.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/deps/v8/src/base/debug/stack_trace_posix.cc b/deps/v8/src/base/debug/stack_trace_posix.cc +index 87c0a73..d2c182a 100644 +--- a/deps/v8/src/base/debug/stack_trace_posix.cc ++++ b/deps/v8/src/base/debug/stack_trace_posix.cc +@@ -25,7 +25,7 @@ + #include <string> + #include <vector> + +-#if V8_LIBC_GLIBC || V8_LIBC_BSD || V8_LIBC_UCLIBC || V8_OS_SOLARIS ++#if V8_LIBC_GLIBC || V8_LIBC_BSD || ( V8_LIBC_UCLIBC && __UCLIBC_HAS_BACKTRACE__ ) || V8_OS_SOLARIS + #define HAVE_EXECINFO_H 1 + #endif + +-- +2.7.4 +
package/nodejs/7.7.1/0002-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch new file +49 -0
49 lines not on this page · raw message
package/nodejs/Config.in +1 -1
@@ -43,7 +43,7 @@ config BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS config BR2_PACKAGE_NODEJS_VERSION_STRING string - default "6.9.4" if BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS + default "7.7.1" if BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS default "0.10.48" config BR2_PACKAGE_NODEJS_NPM
package/nodejs/nodejs.hash +2 -2
@@ -1,5 +1,5 @@ # From upstream URL: http://nodejs.org/dist/v0.10.48/SHASUMS256.txt sha256 365a93d9acc076a0d93f087d269f376abeebccad599a9dab72f2f6ed96c8ae6e node-v0.10.48.tar.xz -# From upstream URL: http://nodejs.org/dist/v6.9.4/SHASUMS256.txt -sha256 c51d7c61db40455d57428abcadc7eb0f0a08a8878cb1d8ea3c1e211c54532c35 node-v6.9.4.tar.xz +# From upstream URL: http://nodejs.org/dist/v7.7.1/SHASUMS256.txt +sha256 965fc82aa767223be574e41d7f78ec4bd2ab3da619cef1256e46c30d053b7611 node-v7.7.1.tar.xz
package/nodejs/nodejs.mk +5 -0
@@ -79,6 +79,8 @@ define HOST_NODEJS_INSTALL_CMDS $(MAKE) -C $(@D) install \ $(HOST_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) + + $(INSTALL) -m755 -D $(@D)/out/Release/mkpeephole $(HOST_DIR)/usr/bin/mkpeephole endef ifeq ($(BR2_i386),y)
@@ -126,6 +128,9 @@ define NODEJS_CONFIGURE_CMDS $(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \ $(NODEJS_CONF_OPTS) \ ) + + # use host version of mkpeephole + sed "s#<(mkpeephole_exec)#$(HOST_DIR)/usr/bin/mkpeephole#g" -i $(@D)/deps/v8/src/v8.gyp endef define NODEJS_BUILD_CMDS
Signature · 1 line
2.7.4
PATCH 2/3 package/nodejs: bump version to 7.7.1
Hello,
Quoted 3 lines · Martin Bark
See https://nodejs.org/en/blog/release/v7.7.1/
Signed-off-by Martin Bark <[email protected]>
This patch breaks the build with nodejs 0.10, because nodejs 0.10 does not have this mkpeephole binary. Therefore, your PATCH 3/3 should be before PATCH 2/3.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 2/3 package/nodejs: bump version to 7.7.1
Thomas,
Quoted 11 lines · Thomas Petazzoni
Hello,
Quoted 3 lines · Martin Bark
See https://nodejs.org/en/blog/release/v7.7.1/
Signed-off-by Martin Bark <[email protected]>This patch breaks the build with nodejs 0.10, because nodejs 0.10 does not have this mkpeephole binary. Therefore, your PATCH 3/3 should be before PATCH 2/3.
Good point. I'll fix that and resubmit.
Thanks
Martin
Quoted 9 lines
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170314/f0b131c6/attachment.html>
PATCH 3/3 package/nodejs: remove 0.10.x support
In reply to Martin Barknodejs 0.10.x is now end of life and is no longer maintained so remove it. See https://github.com/nodejs/LTS
---
.../0001-remove-python-bz2-dependency.patch | 27 -------------
.../0002-gyp-force-link-command-to-use-CXX.patch | 26 ------------
.../0003-fix-musl-USE-MISC-build-issue.patch | 47 ----------------------
.../0.10.48/0004-Fix-support-for-uClibc-ng.patch | 33 ---------------
...001-check-if-uclibc-has-backtrace-support.patch | 0
...-HAVE_OPENSSL-directive-to-openssl_config.patch | 0
package/nodejs/Config.in | 32 +++++----------
package/nodejs/nodejs.hash | 3 --
package/nodejs/nodejs.mk | 7 +---
9 files changed, 11 insertions(+), 164 deletions(-)
delete mode 100644 package/nodejs/0.10.48/0001-remove-python-bz2-dependency.patch
delete mode 100644 package/nodejs/0.10.48/0002-gyp-force-link-command-to-use-CXX.patch
delete mode 100644 package/nodejs/0.10.48/0003-fix-musl-USE-MISC-build-issue.patch
delete mode 100644 package/nodejs/0.10.48/0004-Fix-support-for-uClibc-ng.patch
rename package/nodejs/{7.7.1 => }/0001-check-if-uclibc-has-backtrace-support.patch (100%)
rename package/nodejs/{7.7.1 => }/0002-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch (100%)package/nodejs/0.10.48/0001-remove-python-bz2-dependency.patch deleted +0 -27
@@ -1,27 +0,0 @@ -Remove dependency on Python bz2 module - -The Python bz2 module is only needed in certain cases, so only import -it when needed. In the normal nodejs build, this allows to remove the -dependency on this module. - -Signed-off-by: Thomas Petazzoni <[email protected]> -Index: b/deps/v8/tools/js2c.py -=================================================================== ---- a/deps/v8/tools/js2c.py -+++ b/deps/v8/tools/js2c.py -@@ -33,7 +33,6 @@ - - import os, re, sys, string - import jsmin --import bz2 - - - def ToCAsciiArray(lines): -@@ -344,6 +343,7 @@ - else: - raw_sources_declaration = RAW_SOURCES_COMPRESSION_DECLARATION - if env['COMPRESSION'] == 'bz2': -+ import bz2 - all_sources = bz2.compress("".join(all_sources)) - total_length = len(all_sources) - sources_data = ToCArray(all_sources)
package/nodejs/0.10.48/0002-gyp-force-link-command-to-use-CXX.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From 00d809e9305241f8636a2d75e22c493293e6971a Mon Sep 17 00:00:00 2001 -From: Samuel Martin <[email protected]> -Date: Sun, 20 Apr 2014 15:03:01 +0200 -Subject: [PATCH] gyp: force link command to use CXX - -Signed-off-by: Samuel Martin <[email protected]> ---- - tools/gyp/pylib/gyp/generator/make.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py -index 0de510e..54e4c96 100644 ---- a/tools/gyp/pylib/gyp/generator/make.py -+++ b/tools/gyp/pylib/gyp/generator/make.py -@@ -134,7 +134,7 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^) - # special "figure out circular dependencies" flags around the entire - # input list during linking. - quiet_cmd_link = LINK($(TOOLSET)) $@ --cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS) -+cmd_link = $(CXX.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS) - - # We support two kinds of shared objects (.so): - # 1) shared_library, which is just bundling together many dependent libraries --- -1.9.2 -
package/nodejs/0.10.48/0003-fix-musl-USE-MISC-build-issue.patch deleted +0 -47
47 lines not on this page · raw message
package/nodejs/0.10.48/0004-Fix-support-for-uClibc-ng.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 1cc08f6ceacbb0e5ba1f4638ca3a97ac002d7792 Mon Sep 17 00:00:00 2001 -From: "Bark, Martin" <[email protected]> -Date: Mon, 14 Dec 2015 13:26:10 +0000 -Subject: [PATCH 2/2] Fix support for uClibc-ng - -uClibc-ng is currently at v1.0.9. The patch corrects the uClibc -version test so that HAVE_IFADDRS_H is defined for uClibc versions -after v0.9.32. - -Submitted upstream to libuv and accepted, see -https://github.com/libuv/libuv/pull/653 and -https://github.com/libuv/libuv/commit/c861972 - -Signed-off-by: Bark, Martin <[email protected]> ---- - deps/uv/src/unix/linux-core.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/deps/uv/src/unix/linux-core.c b/deps/uv/src/unix/linux-core.c -index e6e6828..6cbbb71 100644 ---- a/deps/uv/src/unix/linux-core.c -+++ b/deps/uv/src/unix/linux-core.c -@@ -39,7 +39,7 @@ - #define HAVE_IFADDRS_H 1 - - #ifdef __UCLIBC__ --# if __UCLIBC_MAJOR__ < 0 || __UCLIBC_MINOR__ < 9 || __UCLIBC_SUBLEVEL__ < 32 -+# if __UCLIBC_MAJOR__ < 0 && __UCLIBC_MINOR__ < 9 && __UCLIBC_SUBLEVEL__ < 32 - # undef HAVE_IFADDRS_H - # endif - #endif --- -2.6.2
package/nodejs/0001-check-if-uclibc-has-backtrace-support.patch renamed from package/nodejs/7.7.1/0001-check-if-uclibc-has-backtrace-support.patch +0 -0
package/nodejs/0002-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch renamed from package/nodejs/7.7.1/0002-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch +0 -0
package/nodejs/Config.in +9 -23
@@ -1,8 +1,13 @@ +config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS + bool + # On ARM,@least ARMv6+ with VFPv2+ is needed + default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2 + default y if BR2_mipsel && !BR2_MIPS_SOFT_FLOAT + default y if BR2_aarch64 || BR2_i386 || BR2_x86_64 + comment "nodejs needs a toolchain w/ C++, dynamic library, threads, gcc >= 4.8, wchar" depends on BR2_USE_MMU - depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_mipsel - depends on !BR2_MIPS_SOFT_FLOAT - depends on !BR2_ARM_CPU_ARMV4 + depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR
@@ -10,12 +15,7 @@ config BR2_PACKAGE_NODEJS bool "nodejs" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_mipsel - depends on !BR2_MIPS_SOFT_FLOAT - # ARM needs BLX, so v5t+ - depends on !BR2_ARM_CPU_ARMV4 - # 0.10.x could be built without the following toolchain dependencies but - # simplify things by requiring these basic dependencies for all versions. + depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS depends on BR2_HOST_GCC_AT_LEAST_4_8 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 depends on BR2_USE_WCHAR
@@ -32,20 +32,6 @@ config BR2_PACKAGE_NODEJS if BR2_PACKAGE_NODEJS -# Starting with 0.12.x, on ARM, V8 (the JS engine) -# now requires an armv6+ and a VFPv2+. -config BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS - bool - # On supported architectures other than ARM, no special requirement - default y if !BR2_arm - # On ARM, at least ARMv6+ with VFPv2+ is needed - default y if !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2 - -config BR2_PACKAGE_NODEJS_VERSION_STRING - string - default "7.7.1" if BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS - default "0.10.48" - config BR2_PACKAGE_NODEJS_NPM bool "NPM for the target" select BR2_PACKAGE_OPENSSL
package/nodejs/nodejs.hash +0 -3
@@ -1,5 +1,2 @@ -# From upstream URL: http://nodejs.org/dist/v0.10.48/SHASUMS256.txt -sha256 365a93d9acc076a0d93f087d269f376abeebccad599a9dab72f2f6ed96c8ae6e node-v0.10.48.tar.xz - # From upstream URL: http://nodejs.org/dist/v7.7.1/SHASUMS256.txt sha256 965fc82aa767223be574e41d7f78ec4bd2ab3da619cef1256e46c30d053b7611 node-v7.7.1.tar.xz
package/nodejs/nodejs.mk +2 -5
@@ -4,7 +4,7 @@ # ################################################################################ -NODEJS_VERSION = $(call qstrip,$(BR2_PACKAGE_NODEJS_VERSION_STRING)) +NODEJS_VERSION = 7.7.1 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) NODEJS_DEPENDENCIES = host-python host-nodejs zlib \
@@ -27,15 +27,12 @@ else NODEJS_CONF_OPTS += --without-ssl endif -# 0.10.x does not have icu support -ifeq ($(findstring 0.10.,$(NODEJS_VERSION)),) ifeq ($(BR2_PACKAGE_ICU),y) NODEJS_DEPENDENCIES += icu NODEJS_CONF_OPTS += --with-intl=system-icu else NODEJS_CONF_OPTS += --with-intl=none endif -endif ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) NODEJS_CONF_OPTS += --without-npm
@@ -63,7 +60,7 @@ define HOST_NODEJS_CONFIGURE_CMDS --without-dtrace \ --without-etw \ --shared-zlib \ - $(if $(BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS),--with-intl=none) \ + --with-intl=none \ ) endef
Signature · 1 line
2.7.4
PATCH 3/3 package/nodejs: remove 0.10.x support
Quoted 2 lines · Martin Bark
nodejs 0.10.x is now end of life and is no longer maintained so remove it. See https://github.com/nodejs/LTS
As mentioned in the Config.in:
# Starting with 0.12.x, on ARM, V8 (the JS engine)
# now requires an armv6+ and a VFPv2+.
Some people opposed the removal of 0.10 because it would make nodejs
unavailable on ARM9, while it is really still useful there. So the idea is that we keep it around in frozen state.
Note that there is no version selection: you get the up-to-date nodejs if
possible, you *only* get the 0.10 on ARMv5.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 3/3 package/nodejs: remove 0.10.x support
Arnout,
Quoted 9 lines · Arnout Vandecappelle
Quoted 1 line · Martin Bark
nodejs 0.10.x is now end of life and is no longer maintained so remove
it.
Quoted 1 line
As mentioned in the Config.in:
Quoted 8 lines
# Starting with 0.12.x, on ARM, V8 (the JS engine)
# now requires an armv6+ and a VFPv2+.Some people opposed the removal of 0.10 because it would make nodejs
unavailable on ARM9, while it is really still useful there. So the idea is that
we keep it around in frozen state.
We have discussed this a few times. The last email exchange i had on this subject was back on 27th September 2016 where Thomas said
"It is fine to support 0.10.x in Buildroot to support ARMv5 while 0.10.x is still maintained upstream. But as Peter mentioned, the support for 0.10.x upstream will stop soon, so we should also remove it from Buildroot."
I purposefully held off submitting these patches until after the 2017.02 release so that it included nodejs 0.10.x. Personally i would like to see 0.10.x dropped from buildroot.
Thanks
Martin
Quoted 6 lines
Note that there is no version selection: you get the up-to-date nodejs if
possible, you *only* get the 0.10 on ARMv5.Regards,
Arnout
Quoted 8 lines
--
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170306/4a93b1b2/attachment.html>
PATCH 3/3 package/nodejs: remove 0.10.x support
Quoted 24 lines · Martin Bark
Arnout,
On 5 March 2017 at 22:40, Arnout Vandecappelle <[email protected] <mailto:[email protected]>> wrote:
On 05-03-17 00:48, Martin Bark wrote:
> nodejs 0.10.x is now end of life and is no longer maintained so remove it. > See https://github.com/nodejs/LTSAs mentioned in the Config.in:
# Starting with 0.12.x, on ARM, V8 (the JS engine) # now requires an armv6+ and a VFPv2+.
Some people opposed the removal of 0.10 because it would make nodejs
unavailable on ARM9, while it is really still useful there. So the idea is that we keep it around in frozen state.We have discussed this a few times. The last email exchange i had on this subject was back on 27th September 2016 where Thomas said
Quoted 8 lines
"It is fine to support 0.10.x in Buildroot to support ARMv5 while 0.10.x is still maintained upstream. But as Peter mentioned, the support for 0.10.x upstream will stop soon, so we should also remove it from Buildroot."
I purposefully held off submitting these patches until after the 2017.02 release so that it included nodejs 0.10.x. Personally i would like to see 0.10.x dropped from buildroot.
Ah, OK, I forgot about that bit :-)
Peter/Thomas, perhaps add a link to
http://lists.busybox.net/pipermail/buildroot/2016-September/173060.html and
http://lists.busybox.net/pipermail/buildroot/2015-December/147109.html
when committing?
Note that in that December 2015 thread, Yann suggested to keep 0.10
indefinitely, but everybody else seemed to agree with Martin's suggestion to drop it.
I have one remaining gripe, however: ideally there should be a Config.in.legacy
entry. But of course that's impossible because the BR2_PACKAGE_NODEJS symbol still exists... One extremely hacky solution would be to add BR2_PACKAGE_NODEJS_VERSION_STRING to Config.in.legacy, *with* a prompt and without the dependency on BR2_PACKAGE_NODEJS. Then, if someone updates with an existing .config, the previously-hidden VERSION_STRING will appear in the legacy menu. But that solution looks pretty hairy, and I'm sure that people will notice in other ways that nodejs has vanished, so it's probably not so important.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 3/3 package/nodejs: remove 0.10.x support
Arnout, All,
On 2017-03-06 13:23 +0100, Arnout Vandecappelle spake thusly:
Quoted 34 lines · Martin Bark
Quoted 22 lines
On 5 March 2017 at 22:40, Arnout Vandecappelle <[email protected] <mailto:[email protected]>> wrote:
On 05-03-17 00:48, Martin Bark wrote:
> nodejs 0.10.x is now end of life and is no longer maintained so remove it. > See https://github.com/nodejs/LTSAs mentioned in the Config.in:
# Starting with 0.12.x, on ARM, V8 (the JS engine) # now requires an armv6+ and a VFPv2+.
Some people opposed the removal of 0.10 because it would make nodejs
unavailable on ARM9, while it is really still useful there. So the idea is that we keep it around in frozen state.We have discussed this a few times. The last email exchange i had on this subject was back on 27th September 2016 where Thomas said
Quoted 8 lines
"It is fine to support 0.10.x in Buildroot to support ARMv5 while 0.10.x is still maintained upstream. But as Peter mentioned, the support for 0.10.x upstream will stop soon, so we should also remove it from Buildroot."
I purposefully held off submitting these patches until after the 2017.02 release so that it included nodejs 0.10.x. Personally i would like to see 0.10.x dropped from buildroot.
Ah, OK, I forgot about that bit :-)
Quoted 8 lines
Peter/Thomas, perhaps add a link to
http://lists.busybox.net/pipermail/buildroot/2016-September/173060.html and
http://lists.busybox.net/pipermail/buildroot/2015-December/147109.html
when committing?Note that in that December 2015 thread, Yann suggested to keep 0.10
indefinitely, but everybody else seemed to agree with Martin's suggestion to drop it.
Well, my position at the time wwas that "As long as it builds and still works fine, we should just keep it."
But now, 0.10.x is only for armv5. Do we really expect such a low-end system to run nodejs?
I don't care much about maintaining 0.10.x, especially now since upstream compleely dropped support.
Regards,
Yann E. MORIN.
Quoted 23 lines
I have one remaining gripe, however: ideally there should be a Config.in.legacy
entry. But of course that's impossible because theBR2_PACKAGE_NODEJSsymbol still exists... One extremely hacky solution would be to addBR2_PACKAGE_NODEJS_VERSION_STRINGto Config.in.legacy, *with* a prompt and without the dependency onBR2_PACKAGE_NODEJS. Then, if someone updates with an existing .config, the previously-hiddenVERSION_STRINGwill appear in the legacy menu. But that solution looks pretty hairy, and I'm sure that people will notice in other ways that nodejs has vanished, so it's probably not so important.Regards,
ArnoutSignature · 10 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 3/3 package/nodejs: remove 0.10.x support
Quoted 6 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Note that in that December 2015 thread, Yann suggested to keep 0.10 indefinitely, but everybody else seemed to agree with Martin's suggestion to drop it.
Quoted 8 lines
Well, my position at the time wwas that "As long as it builds and still works fine, we should just keep it."
But now, 0.10.x is only for armv5. Do we really expect such a low-end system to run nodejs?
I don't care much about maintaining 0.10.x, especially now since upstream compleely dropped support.
I also don't think we can realisticly support it longer term going forward if upstream won't any more, so I'm ok with dropping it.
Signature · 1 line
Bye, Peter Korsgaard
Thomas Petazzoni
AppliedPATCH 1/3 DEVELOPERS: add Martin Bark for package/nodejs
In reply to Martin BarkHello,
Quoted 4 lines · Martin Bark
Signed-off-by Martin Bark <[email protected]>--- DEVELOPERS | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks. I don't remember, did I point you to the bug
https://bugs.busybox.net/show_bug.cgi?id=9531 ? If not, could you have a look ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/3 DEVELOPERS: add Martin Bark for package/nodejs
Thomas,
Quoted 12 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Martin Bark
Signed-off-by Martin Bark <[email protected]>--- DEVELOPERS | 1 + 1 file changed, 1 insertion(+)Applied to master, thanks. I don't remember, did I point you to the bug
https://bugs.busybox.net/show_bug.cgi?id=9531 ? If not, could you have a look ?
Yes i just commented on the bug. I think this bug can be closed.
Thanks
Martin
Quoted 9 lines
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170305/da2f6e89/attachment.html>
PATCH 1/3 DEVELOPERS: add Martin Bark for package/nodejs
Martin, All,
On 2017-03-05 15:35 +0000, Martin Bark spake thusly:
Quoted 11 lines
Quoted 8 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Martin Bark
Signed-off-by Martin Bark <[email protected]>--- DEVELOPERS | 1 + 1 file changed, 1 insertion(+)
Quoted 5 lines
Quoted 3 lines
Applied to master, thanks. I don't remember, did I point you to the bug
https://bugs.busybox.net/show_bug.cgi?id=9531 ? If not, could you have a look ?Yes i just commented on the bug. I think this bug can be closed.
Closed. Thanks for the investigation! :-)
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/3 DEVELOPERS: add Martin Bark for package/nodejs
In reply to Martin BarkHello,
Quoted 1 line · Martin Bark
Yes i just commented on the bug. I think this bug can be closed.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/3 DEVELOPERS: add Martin Bark for package/nodejs
Quoted 2 lines · Thomas Petazzoni
Hello,
Hi, sorry i've been AWOL for a while, been really busy lately. I finally got round to submitting a bunch of patches including bumping nodejs to 7.x which turned out to be a right pain :)
Quoted 13 lines · Martin Bark
Quoted 2 lines
Yes i just commented on the bug. I think this bug can be closed.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170305/6851a33c/attachment.html>