Skip to contentSkip to conversation

nodejs: don't enable ares support by default

PATCH In review Martin Jansa 2 participants 6 messages Feb 25, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 nodejs: don't enable ares support by default

* c-ares is in meta-networking and meta-oe doesn't depend on meta-networking
* fixes:
ERROR: Nothing PROVIDES 'c-ares' (but meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb DEPENDS on or otherwise requires it) in builds without meta-networking

---
 meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb +1 -1
index 6eb52c209a..9f91a3f4dd 100644
@@ -51,7 +51,7 @@ ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '-
 GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
 ARCHFLAGS ?= ""
 
-PACKAGECONFIG ??= "ares icu libuv zlib"
+PACKAGECONFIG ??= "icu libuv zlib"
 PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
 PACKAGECONFIG[gyp] = ",,gyp-py2-native"
 PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 libvncserver: don't enable sasl support by default

* cyrus-sasl is in meta-networking and meta-oe doesn't depend on meta-networking

---
 meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb | 1 -
 1 file changed, 1 deletion(-)
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb +0 -1
index 22fc83a64f..dfdf82458c 100644
@@ -17,7 +17,6 @@ PACKAGECONFIG ??= " \
     pthread \
     ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '',d)} \
-    sasl \
     sdl \
     websockets \
     zlib \
Signature · 1 line
2.20.1
#2 lore raw
In reply to Martin Jansa
Quoted 6 lines · Martin Jansa

* c-ares is in meta-networking and meta-oe doesn't depend on meta-networking
* fixes:
ERROR: Nothing PROVIDES 'c-ares' (but meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb DEPENDS on or otherwise requires it) in builds without meta-networking

this patch makes me thing if c-ares is better suites for meta-networking

Quoted 26 lines
---
 meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb +1 -2
index 6eb52c209a..9f91a3f4dd 100644
@@ -51,7 +51,7 @@ ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '-
 GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
 ARCHFLAGS ?= ""
 
-PACKAGECONFIG ??= "ares icu libuv zlib"
+PACKAGECONFIG ??= "icu libuv zlib"
 PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
 PACKAGECONFIG[gyp] = ",,gyp-py2-native"
 PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
--

2.20.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 9 lines · Khem Raj
Quoted 6 lines · Martin Jansa

* c-ares is in meta-networking and meta-oe doesn't depend on meta-networking
* fixes:
ERROR: Nothing PROVIDES 'c-ares' (but meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb DEPENDS on or otherwise requires it) in builds without meta-networking

this patch makes me thing if c-ares is better suites for meta-networking

?

This patch exists, because c-ares _is_ in meta-networking, while nodejs which depends on it is in meta-oe.

Quoted 27 lines
Quoted 27 lines
---
 meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb +1 -2
index 6eb52c209a..9f91a3f4dd 100644
@@ -51,7 +51,7 @@ ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '-
 GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
 ARCHFLAGS ?= ""
 
-PACKAGECONFIG ??= "ares icu libuv zlib"
+PACKAGECONFIG ??= "icu libuv zlib"
 PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
 PACKAGECONFIG[gyp] = ",,gyp-py2-native"
 PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
--

2.20.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Khem Raj
Quoted 6 lines · Martin Jansa

* c-ares is in meta-networking and meta-oe doesn't depend on meta-networking
* fixes:
ERROR: Nothing PROVIDES 'c-ares' (but meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb DEPENDS on or otherwise requires it) in builds without meta-networking

Quoted 6 lines
Quoted 1 line

this patch makes me thing if c-ares is better suites for meta-networking

?

This patch exists, because c-ares _is_ in meta-networking, while nodejs which depends on it is in meta-oe.

It got enabled in default PACKAGECONFIG in:

commit 76dd3dac1f1e67a5c44ad732b8e827cc36ded641

Author: André Draszik <[email protected]>
Date:   Tue Oct 29 16:42:24 2019 +0000

nodejs: allow use of system c-ares (and make default)

Use system c-ares via PACKAGECONFIG by default. So far, nodejs had been built using its embedded copy of c-ares, which we generally try to avoid, for the known reasons (independent updates, cve & license checks, etc).

Notes:
* otherwise nodejs uses its bundled version of c-ares
* the PACKAGECONFIG variable is 'ares' so as to be in line with other uses of this (wget & curl recipes in OE core)

So unless you actually meant to move c-ares from meta-networking to meta-oe..

Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
---
 meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb +1 -2
index 6eb52c209a..9f91a3f4dd 100644
@@ -51,7 +51,7 @@ ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '-
 GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
 ARCHFLAGS ?= ""
 
-PACKAGECONFIG ??= "ares icu libuv zlib"
+PACKAGECONFIG ??= "icu libuv zlib"
 PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
 PACKAGECONFIG[gyp] = ",,gyp-py2-native"
 PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
--

2.20.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw
In reply to Martin Jansa
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Khem Raj
Quoted 6 lines · Martin Jansa

* c-ares is in meta-networking and meta-oe doesn't depend on meta-networking
* fixes:
ERROR: Nothing PROVIDES 'c-ares' (but meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb DEPENDS on or otherwise requires it) in builds without meta-networking

Quoted 3 lines
Quoted 1 line

this patch makes me thing if c-ares is better suites for meta-networking

?

s/meta-networking/meta-oe above

Quoted 31 lines

This patch exists, because c-ares _is_ in meta-networking, while nodejs which depends on it is in meta-oe.

Quoted 27 lines
Quoted 27 lines
---
 meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb +1 -2
index 6eb52c209a..9f91a3f4dd 100644
@@ -51,7 +51,7 @@ ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '-
 GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
 ARCHFLAGS ?= ""
 
-PACKAGECONFIG ??= "ares icu libuv zlib"
+PACKAGECONFIG ??= "icu libuv zlib"
 PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
 PACKAGECONFIG[gyp] = ",,gyp-py2-native"
 PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
--

2.20.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel