[yocto-announce] [yocto] [ANNOUNCEMENT] Yocto Project 3.0.4 (zeus 22.0.4) Released

2020-08-21 Thread Vineela
Hello,

We are pleased to announce the Yocto Project 3.0.4 (zeus-22.0.4) Release is now 
available for download.

http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/poky-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/poky-zeus-22.0.4.tar.bz2

A gpg signed version of these release notes is available at:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/RELEASENOTES

Full Test Report:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/testreport.txt

Thank you for everyone's contributions to this release.

Sincerely,

Vineela Tummalapalli
Yocto Project Build and Release
vineela.tummalapa...@intel.com


--
yocto-3.0.4 Release Notes
--


--
 Repositories/Downloads
--

Repository Name: poky
Repository Location: https://git.yoctoproject.org/git/poky
Branch: zeus
Tag: yocto-3.0.4
Git Revision: f2eb22a8783f1eecf99bd4042695bab920eed00e
Release Artefact: poky-zeus-22.0.4
sha: da85224a290d484eeadb05ed69c64e3b9e0c873cf91c2e84e96dd54c4fd2752c
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/poky-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/poky-zeus-22.0.4.tar.bz2

Repository Name: openembedded-core
Repository Location: https://git.openembedded.org/openembedded-core
Branch: zeus
Tag: 2019-10.4-zeus
Git Revision: 9cad716656b427e625a470a820b8b29b1ec9f976
Release Artefact: oecore-zeus-22.0.4
sha: 03e21646b2240382feb755ceaecc2474dca72a59ad796af1b2e993d253e2a242
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/oecore-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/oecore-zeus-22.0.4.tar.bz2

Repository Name: meta-mingw
Repository Location: https://git.yoctoproject.org/git/meta-mingw
Branch: zeus
Tag: yocto-3.0.4
Git Revision: 756963cc28ebc163df7d7f4b4ee004c18d3d3260
Release Artefact: meta-mingw-zeus-22.0.4
sha: 434d33b2ea01134b1deb07ce67a83402239b707c8ef54287dcda83ee2f0a3346
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/meta-mingw-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/meta-mingw-zeus-22.0.4.tar.bz2

Repository Name: meta-gplv2
Repository Location: https://git.yoctoproject.org/git/meta-gplv2
Branch: zeus
Tag: yocto-3.0.4
Git Revision: 0f4eecc000f66d114ad258fa31aed66afa292166
Release Artefact: meta-gplv2-zeus-22.0.4
sha: 55008a3633729a17c33426b3f81792f204d3c4473beb148e5f9b46ab345850b8
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/meta-gplv2-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/meta-gplv2-zeus-22.0.4.tar.bz2

Repository Name: bitbake
Repository Location: https://git.openembedded.org/bitbake
Branch: zeus
Tag: 2019-10.4-zeus
Git Revision: fd279f857c98d492f43cc62d9ebae18ce6412b6e
Release Artefact: bitbake-zeus-22.0.4
sha: 1b3d68805fd9015a40bc52886618c513de7cc3817db8adbeb5daaa65e3c078eb
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/bitbake-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/bitbake-zeus-22.0.4.tar.bz2

---
Contributors
---
Adrian Bunk
Ahmad Fatoum
akuster
Alexander Kanavin
Anuj Mittal
Armin Kuster
Bruce Ashfield
Charles-Antoine Couret
haiqing
He Zhe
Hongxu Jia
Jain Sangeeta
Jan-Simon Moeller
jason.lau
Joe Slater
Kai Kang
Khem Raj
Konrad Weihmann
Lee Chee Yang
Lili Li
Li Zhou
Michael Halstead
Nicolas Dechesne
Otavio Salvador
Ovidiu Panait
Paul Barker
Peter Kjellerstedt
Pierre-Jean Texier
Rahul Taya
Ralph Siemsen
Richard Leitner
Richard Purdie
Sakib Sajal
Stephen Jolley
Tim Orling
Trevor Gamblin
Vineela Tummalapalli
wenlin.k...@windriver.com
Yann Dirson
Yi Zhao
Zhixiong Chi

---
 Known Issues
---
* vulkan-tools doesn't build on hosts where python3 is version 3.8. 
  For such hosts this can be worked around with a buildtools tarball.


---
Security Fixes
---
libpcre: Add fix for CVE-2020-14155
go: Security Advisory - go - CVE-2020-15586
glibc: CVE-2020-6096
nss: Fix CVE-2020-12399
sqlite: backport CVE fix
python3: fix CVE-2020-14422
systemd: fix CVE-2020-13776
wpa-supplicant: Security fix CVE-2020-12695
perl: fix CVE-2020-10543 & CVE-2020-10878
dbus: fix CVE-2020-12049
libexif: fix CVE-2020-13114
gnutls: fixed CVE-2020-13777
qemu: fix CVE-2020-10702 & CVE-2020-13765
libjpeg-turbo: Fix CVE-2020-13790
nfs-utils: fix CVE-2019-3689
bind: fix CVE-2020-8616/7
glibc: CVE-2020-1752
ghostscript : fix CVE-2019-10216
qemu: fix CVE-2020-11869
python3: fix CVE-2020-8492


---
Fixes
---
Documentation: Prepared for 3.0.4 release
build-appliance-image: Update to zeus head revision
poky.conf: Bump version for 3.0.4 zeus release
pypi.bbclass: use new pypi UPSTREAM_CHECK_URI
pypi.bbclass: mind package suffix on version check
gstreamer1.0: fix builds with make 4.3
core: glib-2.0: fix requested 

[yocto] [ANNOUNCEMENT] Yocto Project 3.0.4 (zeus 22.0.4) Released

2020-08-21 Thread Vineela
Hello,

We are pleased to announce the Yocto Project 3.0.4 (zeus-22.0.4) Release is now 
available for download.

http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/poky-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/poky-zeus-22.0.4.tar.bz2

A gpg signed version of these release notes is available at:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/RELEASENOTES

Full Test Report:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/testreport.txt

Thank you for everyone's contributions to this release.

Sincerely,

Vineela Tummalapalli
Yocto Project Build and Release
vineela.tummalapa...@intel.com


--
yocto-3.0.4 Release Notes
--


--
 Repositories/Downloads
--

Repository Name: poky
Repository Location: https://git.yoctoproject.org/git/poky
Branch: zeus
Tag: yocto-3.0.4
Git Revision: f2eb22a8783f1eecf99bd4042695bab920eed00e
Release Artefact: poky-zeus-22.0.4
sha: da85224a290d484eeadb05ed69c64e3b9e0c873cf91c2e84e96dd54c4fd2752c
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/poky-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/poky-zeus-22.0.4.tar.bz2

Repository Name: openembedded-core
Repository Location: https://git.openembedded.org/openembedded-core
Branch: zeus
Tag: 2019-10.4-zeus
Git Revision: 9cad716656b427e625a470a820b8b29b1ec9f976
Release Artefact: oecore-zeus-22.0.4
sha: 03e21646b2240382feb755ceaecc2474dca72a59ad796af1b2e993d253e2a242
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/oecore-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/oecore-zeus-22.0.4.tar.bz2

Repository Name: meta-mingw
Repository Location: https://git.yoctoproject.org/git/meta-mingw
Branch: zeus
Tag: yocto-3.0.4
Git Revision: 756963cc28ebc163df7d7f4b4ee004c18d3d3260
Release Artefact: meta-mingw-zeus-22.0.4
sha: 434d33b2ea01134b1deb07ce67a83402239b707c8ef54287dcda83ee2f0a3346
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/meta-mingw-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/meta-mingw-zeus-22.0.4.tar.bz2

Repository Name: meta-gplv2
Repository Location: https://git.yoctoproject.org/git/meta-gplv2
Branch: zeus
Tag: yocto-3.0.4
Git Revision: 0f4eecc000f66d114ad258fa31aed66afa292166
Release Artefact: meta-gplv2-zeus-22.0.4
sha: 55008a3633729a17c33426b3f81792f204d3c4473beb148e5f9b46ab345850b8
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/meta-gplv2-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/meta-gplv2-zeus-22.0.4.tar.bz2

Repository Name: bitbake
Repository Location: https://git.openembedded.org/bitbake
Branch: zeus
Tag: 2019-10.4-zeus
Git Revision: fd279f857c98d492f43cc62d9ebae18ce6412b6e
Release Artefact: bitbake-zeus-22.0.4
sha: 1b3d68805fd9015a40bc52886618c513de7cc3817db8adbeb5daaa65e3c078eb
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.4/bitbake-zeus-22.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-3.0.4/bitbake-zeus-22.0.4.tar.bz2

---
Contributors
---
Adrian Bunk
Ahmad Fatoum
akuster
Alexander Kanavin
Anuj Mittal
Armin Kuster
Bruce Ashfield
Charles-Antoine Couret
haiqing
He Zhe
Hongxu Jia
Jain Sangeeta
Jan-Simon Moeller
jason.lau
Joe Slater
Kai Kang
Khem Raj
Konrad Weihmann
Lee Chee Yang
Lili Li
Li Zhou
Michael Halstead
Nicolas Dechesne
Otavio Salvador
Ovidiu Panait
Paul Barker
Peter Kjellerstedt
Pierre-Jean Texier
Rahul Taya
Ralph Siemsen
Richard Leitner
Richard Purdie
Sakib Sajal
Stephen Jolley
Tim Orling
Trevor Gamblin
Vineela Tummalapalli
wenlin.k...@windriver.com
Yann Dirson
Yi Zhao
Zhixiong Chi

---
 Known Issues
---
* vulkan-tools doesn't build on hosts where python3 is version 3.8. 
  For such hosts this can be worked around with a buildtools tarball.


---
Security Fixes
---
libpcre: Add fix for CVE-2020-14155
go: Security Advisory - go - CVE-2020-15586
glibc: CVE-2020-6096
nss: Fix CVE-2020-12399
sqlite: backport CVE fix
python3: fix CVE-2020-14422
systemd: fix CVE-2020-13776
wpa-supplicant: Security fix CVE-2020-12695
perl: fix CVE-2020-10543 & CVE-2020-10878
dbus: fix CVE-2020-12049
libexif: fix CVE-2020-13114
gnutls: fixed CVE-2020-13777
qemu: fix CVE-2020-10702 & CVE-2020-13765
libjpeg-turbo: Fix CVE-2020-13790
nfs-utils: fix CVE-2019-3689
bind: fix CVE-2020-8616/7
glibc: CVE-2020-1752
ghostscript : fix CVE-2019-10216
qemu: fix CVE-2020-11869
python3: fix CVE-2020-8492


---
Fixes
---
Documentation: Prepared for 3.0.4 release
build-appliance-image: Update to zeus head revision
poky.conf: Bump version for 3.0.4 zeus release
pypi.bbclass: use new pypi UPSTREAM_CHECK_URI
pypi.bbclass: mind package suffix on version check
gstreamer1.0: fix builds with make 4.3
core: glib-2.0: fix requested 

Re: [yocto] npmsw fetching error: package from npm-shrinkwrap is not downloaded so "Could not install from.../SONStream" as it does not contain a package.json file.

2020-08-21 Thread Randy MacLeod

On 2020-08-21 3:19 p.m., Cardenas Jose Antonio (JCARDENA) wrote:


Hi all, following with my work with yocto npm I got a new error.

I have declared in the recipe

SRC_URI = " \

git://github.com/SiliconLabs/gateway-management-ui.git;protocol=git \

npmsw://${THISDIR}/${PN}/npm-shrinkwrap.json \

"

And npm-shrinkwrap.json starts with :

{

  "name": "gateway_react_ui",

  "version": "2.5.0",

  "lockfileVersion": 1,

  "requires": true,

  "dependencies": {

    "JSONStream": {

  "version": "1.3.5",

  "resolved": 
"https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz;,


  "integrity": 
"sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",


  "dev": true,

  "requires": {

    "jsonparse": "^1.2.0",

    "through": ">=2.2.7 <3"

  }

    },

    "accepts": {

  "version": "1.3.7",

  "resolved": 
"https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz;,


  "integrity": 
"sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",


  "dev": true,

  "requires": {

    "mime-types": "~2.1.24",

    "negotiator": "0.6.2"

  }

    },

    "accord": {

  "version": "0.29.0",

  "resolved": "https://registry.npmjs.org/accord/-/accord-0.29.0.tgz;,

  "integrity": 
"sha512-3OOR92FTc2p5/EcOzPcXp+Cbo+3C15nV9RXHlOUBCBpHhcB+0frbSNR9ehED/o7sTcyGVtqGJpguToEdlXhD0w==",


  "dev": true,

  "requires": {

"convert-source-map": "^1.5.0",

    "glob": "^7.0.5",

    "indx": "^0.2.3",

    "lodash.clone": "^4.3.2",

"lodash.defaults": "^4.0.1",

"lodash.flatten": "^4.2.0",

    "lodash.merge": "^4.4.0",

"lodash.partialright": "^4.1.4",

    "lodash.pick": "^4.2.1",

    "lodash.uniq": "^4.3.0",

    "resolve": "^1.5.0",

    "semver": "^5.3.0",

    "uglify-js": "^2.8.22",

    "when": "^3.7.8"

  },

It seems that JSONStream dependency downloading step is ignored 
silently in do_fetch task so I get this error in do_configure task 
because it doesn’t find the files:



npm ERR! code ENOLOCAL

npm ERR! Could not install from 
"../../home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream" 
as it does not contain a package.json file.


npm ERR! A complete log of this run can be found in:

npm ERR! 
/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/npm-cache/_logs/2020-08-21T19_06_36_633Z-debug.log


ERROR: Logfile of failure stored in: 
/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/temp/log.do_configure.6983


ERROR: Task 
(/home/bob/develop/yocto/meta-niko/recipes-miscellaneous/zigbee/zigbee-ui-reactui.bb:do_configure) 
failed with exit code '1'


I attach the log:

$ cat 
/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/npm-cache/_logs/2020-08-21T19_06_36_633Z-debug.log


0 info it worked if it ends with ok

1 verbose cli [

1 verbose cli 
'/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/recipe-sysroot-native/usr/bin/node',


1 verbose cli 
'/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/recipe-sysroot-native/usr/bin/npm',


1 verbose cli   'pack',

1 verbose cli 
'/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream'


1 verbose cli ]

2 info using npm@6.13.4

3 info using node@v12.14.1

4 verbose npm-session 8672504930c3cab4

5 silly fetchPackageMetaData error for 
/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream 
Could not install from 
"../../home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream" 
as it does not contain a package.json file.


6 verbose stack Error: ENOENT: no such file or directory, open 
'/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream/package.json'


7 verbose cwd /tmp/tmptuei7c_m

8 verbose Linux 5.4.0-42-generic

9 verbose argv 
"/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/recipe-sysroot-native/usr/bin/node" 
"/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/recipe-sysroot-native/usr/bin/npm" 
"pack" 
"/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream"


10 verbose node v12.14.1

11 verbose npm  v6.13.4

12 error code ENOLOCAL

13 error Could not install from 

[yocto] npmsw fetching error: package from npm-shrinkwrap is not downloaded so "Could not install from.../SONStream" as it does not contain a package.json file.

2020-08-21 Thread Cardenas Jose Antonio (JCARDENA)
Hi all, following with my work with yocto npm I got a new error.

I have declared in the recipe

SRC_URI = " \
git://github.com/SiliconLabs/gateway-management-ui.git;protocol=git \
npmsw://${THISDIR}/${PN}/npm-shrinkwrap.json \
"

And npm-shrinkwrap.json starts with :

{
  "name": "gateway_react_ui",
  "version": "2.5.0",
  "lockfileVersion": 1,
  "requires": true,
  "dependencies": {
"JSONStream": {
  "version": "1.3.5",
  "resolved": 
"https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz;,
  "integrity": 
"sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
  "dev": true,
  "requires": {
"jsonparse": "^1.2.0",
"through": ">=2.2.7 <3"
  }
},
"accepts": {
  "version": "1.3.7",
  "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz;,
  "integrity": 
"sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
  "dev": true,
  "requires": {
"mime-types": "~2.1.24",
"negotiator": "0.6.2"
  }
},
"accord": {
  "version": "0.29.0",
  "resolved": "https://registry.npmjs.org/accord/-/accord-0.29.0.tgz;,
  "integrity": 
"sha512-3OOR92FTc2p5/EcOzPcXp+Cbo+3C15nV9RXHlOUBCBpHhcB+0frbSNR9ehED/o7sTcyGVtqGJpguToEdlXhD0w==",
  "dev": true,
  "requires": {
"convert-source-map": "^1.5.0",
"glob": "^7.0.5",
"indx": "^0.2.3",
"lodash.clone": "^4.3.2",
"lodash.defaults": "^4.0.1",
"lodash.flatten": "^4.2.0",
"lodash.merge": "^4.4.0",
"lodash.partialright": "^4.1.4",
"lodash.pick": "^4.2.1",
"lodash.uniq": "^4.3.0",
"resolve": "^1.5.0",
"semver": "^5.3.0",
"uglify-js": "^2.8.22",
"when": "^3.7.8"
  },

It seems that JSONStream dependency downloading step is ignored silently in 
do_fetch task so I get this error in do_configure task because it doesn't find 
the files:


npm ERR! code ENOLOCAL
npm ERR! Could not install from 
"../../home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream"
 as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR! 
/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/npm-cache/_logs/2020-08-21T19_06_36_633Z-debug.log


ERROR: Logfile of failure stored in: 
/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/temp/log.do_configure.6983
ERROR: Task 
(/home/bob/develop/yocto/meta-niko/recipes-miscellaneous/zigbee/zigbee-ui-reactui.bb:do_configure)
 failed with exit code '1'

I attach the log:

$ cat 
/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/npm-cache/_logs/2020-08-21T19_06_36_633Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   
'/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/recipe-sysroot-native/usr/bin/node',
1 verbose cli   
'/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/recipe-sysroot-native/usr/bin/npm',
1 verbose cli   'pack',
1 verbose cli   
'/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream'
1 verbose cli ]
2 info using npm@6.13.4
3 info using node@v12.14.1
4 verbose npm-session 8672504930c3cab4
5 silly fetchPackageMetaData error for 
/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream
 Could not install from 
"../../home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream"
 as it does not contain a package.json file.
6 verbose stack Error: ENOENT: no such file or directory, open 
'/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream/package.json'
7 verbose cwd /tmp/tmptuei7c_m
8 verbose Linux 5.4.0-42-generic
9 verbose argv 
"/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/recipe-sysroot-native/usr/bin/node"
 
"/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/recipe-sysroot-native/usr/bin/npm"
 "pack" 
"/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream"
10 verbose node v12.14.1
11 verbose npm  v6.13.4
12 error code ENOLOCAL
13 error Could not install from 
"../../home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/zigbee-ui-reactui/2.5.0-r0/git/reactui/node_modules/JSONStream"
 as it does not contain a package.json 

[yocto] [PATCH 1/3] poky: set preferred version for linux-yocto to be v5.8

2020-08-21 Thread Bruce Ashfield
From: Bruce Ashfield 

Signed-off-by: Bruce Ashfield 
---
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index f2ee0d1877..826f0d633a 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -21,7 +21,7 @@ POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
 
 DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
 
-PREFERRED_VERSION_linux-yocto ?= "5.4%"
+PREFERRED_VERSION_linux-yocto ?= "5.8%"
 
 SDK_NAME = 
"${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
-- 
2.19.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50318): https://lists.yoctoproject.org/g/yocto/message/50318
Mute This Topic: https://lists.yoctoproject.org/mt/76335684/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[yocto] [PATCH 3/3] yocto-bsp: update to v5.4.58

2020-08-21 Thread Bruce Ashfield
From: Bruce Ashfield 

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto_5.4.bbappend   | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend 
b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
index e1c7372417..9c37f91bc1 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
@@ -7,17 +7,17 @@ KMACHINE_genericx86 ?= "common-pc"
 KMACHINE_genericx86-64 ?= "common-pc-64"
 KMACHINE_beaglebone-yocto ?= "beaglebone"
 
-SRCREV_machine_genericx86 ?= "eaeb8b7e17aaf93a3b727a51731b1c9a3916009f"
-SRCREV_machine_genericx86-64 ?= "eaeb8b7e17aaf93a3b727a51731b1c9a3916009f"
-SRCREV_machine_edgerouter ?= "eaeb8b7e17aaf93a3b727a51731b1c9a3916009f"
-SRCREV_machine_beaglebone-yocto ?= "eaeb8b7e17aaf93a3b727a51731b1c9a3916009f"
+SRCREV_machine_genericx86 ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
+SRCREV_machine_genericx86-64 ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
+SRCREV_machine_edgerouter ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
+SRCREV_machine_beaglebone-yocto ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
 
 COMPATIBLE_MACHINE_genericx86 = "genericx86"
 COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
 COMPATIBLE_MACHINE_edgerouter = "edgerouter"
 COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
 
-LINUX_VERSION_genericx86 = "5.4.56"
-LINUX_VERSION_genericx86-64 = "5.4.56"
-LINUX_VERSION_edgerouter = "5.4.56"
-LINUX_VERSION_beaglebone-yocto = "5.4.56"
+LINUX_VERSION_genericx86 = "5.4.58"
+LINUX_VERSION_genericx86-64 = "5.4.58"
+LINUX_VERSION_edgerouter = "5.4.58"
+LINUX_VERSION_beaglebone-yocto = "5.4.58"
-- 
2.19.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50320): https://lists.yoctoproject.org/g/yocto/message/50320
Mute This Topic: https://lists.yoctoproject.org/mt/76335686/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[yocto] [PATCH 2/3] yocto-bsp: update to v5.4.56

2020-08-21 Thread Bruce Ashfield
From: Bruce Ashfield 

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto_5.4.bbappend   | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend 
b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
index 2c73eb2f67..e1c7372417 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
@@ -7,17 +7,17 @@ KMACHINE_genericx86 ?= "common-pc"
 KMACHINE_genericx86-64 ?= "common-pc-64"
 KMACHINE_beaglebone-yocto ?= "beaglebone"
 
-SRCREV_machine_genericx86 ?= "9fc2fb2e73466a520ee9a3c48b3ca2f5b21415dc"
-SRCREV_machine_genericx86-64 ?= "9fc2fb2e73466a520ee9a3c48b3ca2f5b21415dc"
-SRCREV_machine_edgerouter ?= "9fc2fb2e73466a520ee9a3c48b3ca2f5b21415dc"
-SRCREV_machine_beaglebone-yocto ?= "9fc2fb2e73466a520ee9a3c48b3ca2f5b21415dc"
+SRCREV_machine_genericx86 ?= "eaeb8b7e17aaf93a3b727a51731b1c9a3916009f"
+SRCREV_machine_genericx86-64 ?= "eaeb8b7e17aaf93a3b727a51731b1c9a3916009f"
+SRCREV_machine_edgerouter ?= "eaeb8b7e17aaf93a3b727a51731b1c9a3916009f"
+SRCREV_machine_beaglebone-yocto ?= "eaeb8b7e17aaf93a3b727a51731b1c9a3916009f"
 
 COMPATIBLE_MACHINE_genericx86 = "genericx86"
 COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
 COMPATIBLE_MACHINE_edgerouter = "edgerouter"
 COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
 
-LINUX_VERSION_genericx86 = "5.4.54"
-LINUX_VERSION_genericx86-64 = "5.4.54"
-LINUX_VERSION_edgerouter = "5.4.54"
-LINUX_VERSION_beaglebone-yocto = "5.4.54"
+LINUX_VERSION_genericx86 = "5.4.56"
+LINUX_VERSION_genericx86-64 = "5.4.56"
+LINUX_VERSION_edgerouter = "5.4.56"
+LINUX_VERSION_beaglebone-yocto = "5.4.56"
-- 
2.19.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50319): https://lists.yoctoproject.org/g/yocto/message/50319
Mute This Topic: https://lists.yoctoproject.org/mt/76335685/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[yocto] [PATCH 0/3] yocto-bsp/poky: kernel updates and default

2020-08-21 Thread Bruce Ashfield
From: Bruce Ashfield 

Richard,

Similar to oe-core, these are the patches I'm carrying to update the
reference BSPs to the latest 5.4 (we still need a 5.8 bbappend and
confirmed booting), as well as a switch to 5.8 as the default.

That being said, I'm not sure of the way you'd like the default kernel
set to differentiate between the reference BSPs and qemu. So currently,
I just have the single preferred version set.

Cheers,

Bruce

The following changes since commit c9d0bb421a2f7c6783f2c2bbf47c95da5537985d:

  linux-yocto/5.8: update to v5.8.2 (2020-08-21 14:55:05 -0400)

are available in the Git repository at:

  git://git.yoctoproject.org/poky-contrib zedd/kernel-yocto
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-yocto

Bruce Ashfield (3):
  poky: set preferred version for linux-yocto to be v5.8
  yocto-bsp: update to v5.4.56
  yocto-bsp: update to v5.4.58

 meta-poky/conf/distro/poky.conf  |  2 +-
 .../linux/linux-yocto_5.4.bbappend   | 16 
 2 files changed, 9 insertions(+), 9 deletions(-)

-- 
2.19.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50317): https://lists.yoctoproject.org/g/yocto/message/50317
Mute This Topic: https://lists.yoctoproject.org/mt/76335682/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[yocto] Question: how to properly enable PIC/PIE (Position Independent Code/Executable) in Yocto Warrior? #yocto #toolchain #linux

2020-08-21 Thread Daniel
Hi all,

I'm using Yocto warrior building a system based on NIVIDA tegra TX2i. My tree 
is using an external toolchain, gcc linaro 7.2.1 (specified through 
EXTERNAL_TOOLCHAIN variable in local.conf). I'm confused on setting up security 
flags.

In ,y local.conf, I have `GCCPIE ?= "--enable-default-pie"` enabled, but 
binaries built are not actually compiled with PIE not sure about PIC. I found 
out that this is due to the following condition in security_flags.inc:

```

# Inject pie flags into compiler flags if not configured with gcc itself

# especially useful with external toolchains

SECURITY_PIE_CFLAGS ?= "${@'' if '${GCCPIE}' else '-pie -fPIE'}"

```

So I tried to setup GCCPIE as `GCCPIE = ""`.  This actually includes `-pie 
-fPIE` in gcc, but then the build failed when building attr_2.4.47. The error 
messages are pretty long if anyone want to see it I will attach in a followup 
email.

My question is that is there a way to properly add PIE or at least PIC for 
Yocto Warrior with external toolchain?

Thanks
-Daniel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50316): https://lists.yoctoproject.org/g/yocto/message/50316
Mute This Topic: https://lists.yoctoproject.org/mt/76335335/21656
Mute #yocto: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/yocto
Mute #toolchain: 
https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/toolchain
Mute #linux: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/linux
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [yocto] Changing SDKPATH

2020-08-21 Thread Joshua Watt
On Fri, Aug 21, 2020 at 8:30 AM Damien LEFEVRE  wrote:
>
> Hi,
>
> I would need that to change the default location for the SDK install script 
> to avoid mistakes with multiple SDKs and ease installations. How can I change 
> the SDKPATH?
>
> My distro includes conf/distro/poky.conf and I overwrite
> SDKPATH = 
> "/opt/${IMAGE_BASENAME}-${SDK_VERSION}-${DISTRO_CODENAME}-${MACHINE}"

You can't include IMAGE_BASENAME in SDKPATH because it's not known at
the time recipe are built; it's only defined when the final image is
created. I'm guessing that's the source of your error.

For reference, we do:

  SDKPATH = "/opt/toolchains/${DISTRO}-${MACHINE}/${SDK_VERSION}"

and it works fine.

>
> If I set SDKPATH to something other than /opt/${DISTRO}/${SDK_VERSION} , 
> nativesdk-libgcc-initial fails some sanity test:
> ...
> checking how to run the C preprocessor... x86_64-pokysdk-linux-gcc -E 
> --sysroot=/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/recipe-sysroot
> configure: error: in 
> `/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/gcc-7.3.0/build.x86_64-pokysdk-linux.x86_64-pokysdk-linux/libgcc':
> configure: error: C preprocessor "x86_64-pokysdk-linux-gcc -E 
> --sysroot=/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/recipe-sysroot
>  " fails sanity check
> See `config.log' for more details.
> WARNING: exit code 1 from a shell command.
> ...
>
> Thanks,
> -Damien
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50315): https://lists.yoctoproject.org/g/yocto/message/50315
Mute This Topic: https://lists.yoctoproject.org/mt/76328600/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[yocto] Changing SDKPATH

2020-08-21 Thread Damien LEFEVRE
Hi,

I would need that to change the default location for the SDK install script
to avoid mistakes with multiple SDKs and ease installations. How can I
change the SDKPATH?

My distro includes conf/distro/poky.conf and I overwrite
SDKPATH =
"/opt/${IMAGE_BASENAME}-${SDK_VERSION}-${DISTRO_CODENAME}-${MACHINE}"

If I set SDKPATH to something other than /opt/${DISTRO}/${SDK_VERSION} ,
nativesdk-libgcc-initial fails some sanity test:
...
checking how to run the C preprocessor... x86_64-pokysdk-linux-gcc -E
--sysroot=/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/recipe-sysroot
configure: error: in
`/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/gcc-7.3.0/build.x86_64-pokysdk-linux.x86_64-pokysdk-linux/libgcc':
configure: error: C preprocessor "x86_64-pokysdk-linux-gcc -E
--sysroot=/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/recipe-sysroot
" fails sanity check
See `config.log' for more details.
WARNING: exit code 1 from a shell command.
...

Thanks,
-Damien
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50313): https://lists.yoctoproject.org/g/yocto/message/50313
Mute This Topic: https://lists.yoctoproject.org/mt/76328600/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[yocto] [PATCH] [meta-mingw] nativesdk-packagegroup-sdk-host: Update to match oe-core default providers handling

2020-08-21 Thread Richard Purdie
This was repsonsible for some strange differences in behaviour between
other OE-Core recipes and this one. Its assumed this package is present
in any SDK build.

Signed-off-by: Richard Purdie 
---
 .../packagegroups/nativesdk-packagegroup-sdk-host.bbappend   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend 
b/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
index a9a51a6..b3ffb82 100644
--- a/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
+++ b/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
@@ -1,4 +1,5 @@
 RDEPENDS_${PN}_mingw32 = "\
+nativesdk-sdk-provides-dummy \
 nativesdk-pkgconfig \
 nativesdk-libtool \
 nativesdk-qemu \
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50314): https://lists.yoctoproject.org/g/yocto/message/50314
Mute This Topic: https://lists.yoctoproject.org/mt/76328787/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [yocto] [yocto-builds] npmsw fetcher error : npm-shrinkwrap.json' has invalid parameters. Unsupported dependency: arr-flatten

2020-08-21 Thread Cardenas Jose Antonio (JCARDENA)
Hi Jean-Marie.

That was the problem! I was using an older format of npm-shrinkwrap.json file. 
I have regenerated the file and it’s working now.

Thank you very much!


From: Jean-Marie Lemetayer 
Sent: viernes, 21 de agosto de 2020 9:43
To: Randy MacLeod 
Cc: Cardenas Jose Antonio (JCARDENA) ; Yocto 
discussion list 
Subject: Re: [yocto] [yocto-builds] npmsw fetcher error : npm-shrinkwrap.json' 
has invalid parameters. Unsupported dependency: arr-flatten


CAUTION: This email originated from outside the organization. Do not click on 
links or open attachments unless you recognize the sender and know the content 
is safe.
Hi Jose and Randy,

Here is a quick and unverified response on my phone.

It seems that your shrinkwrap has no "resolved" fields nor "integrity" fields. 
See https://docs.npmjs.com/files/package-lock.json

Try re-generate one manually.

Best regards,
Jean-Marie

Le jeu. 20 août 2020 22:53, Randy MacLeod 
mailto:randy.macl...@windriver.com>> a écrit :
Hi Jose,

On 2020-08-20 5:33 a.m., Cardenas Jose Antonio (JCARDENA) wrote:
Hi all,

I’m trying to fech packages and dependencies from a nmp-shrinkwrap.json file 
but I get next error:

npm-shrinkwrap.json' has invalid parameters. Unsupported 
dependency: arr-flatten
I don't know but you'll get more people on the main yocto list so I've replied 
there.

People often mistakenly use yocto-builds so we're going to drop that list at 
some point.

../Randy



The fragment of shrinkwrap file is


{
  "name": "Gateway_node_webserver",
  "version": "2.5.0",
  "lockfileVersion": 1,
  "requires": true,
  "dependencies": {
"chokidar": {
  "version": "1.0.6",
  "requires": {
"anymatch": "1.3.2",
"arrify": "1.0.1",
"async-each": "0.1.6",
"glob-parent": "1.3.0",
"is-binary-path": "1.0.1",
"is-glob": "1.1.3",
"path-is-absolute": "1.0.1",
"readdirp": "1.4.0"
  },
  "dependencies": {
"anymatch": {
  "version": "1.3.2",
  "requires": {
"micromatch": "2.3.11",
"normalize-path": "2.1.1"
  },
  "dependencies": {
"micromatch": {
  "version": "2.3.11",
  "requires": {
"arr-diff": "2.0.0",
"array-unique": "0.2.1",
"braces": "1.8.5",
"expand-brackets": "0.1.5",
"extglob": "0.3.2",
"filename-regex": "2.0.1",
"is-extglob": "1.0.0",
"is-glob": "2.0.1",
"kind-of": "3.2.2",
"normalize-path": "2.1.1",
"object.omit": "2.0.1",
"parse-glob": "3.0.4",
"regex-cache": "0.4.4"
  },
  "dependencies": {
"arr-diff": {
  "version": "2.0.0",
  "requires": {
"arr-flatten": "1.1.0"
  },
  "dependencies": {
"arr-flatten": {
  "version": "1.1.0"
}
  }
},
"array-unique": {
  "version": "0.2.1"
},


The recipe SRC_URI is :

SRC_URI = " \
   npmsw://${THISDIR}/${PN}/npm-shrinkwrap.json \
   "

Any idea why is failing the fetch?

Regards.







--

# Randy MacLeod

# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50312): https://lists.yoctoproject.org/g/yocto/message/50312
Mute This Topic: https://lists.yoctoproject.org/mt/76317070/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [yocto] [yocto-builds] npmsw fetcher error : npm-shrinkwrap.json' has invalid parameters. Unsupported dependency: arr-flatten

2020-08-21 Thread Jean-Marie Lemetayer
Hi Jose and Randy,

Here is a quick and unverified response on my phone.

It seems that your shrinkwrap has no "resolved" fields nor "integrity"
fields. See https://docs.npmjs.com/files/package-lock.json

Try re-generate one manually.

Best regards,
Jean-Marie

Le jeu. 20 août 2020 22:53, Randy MacLeod  a
écrit :

> Hi Jose,
>
> On 2020-08-20 5:33 a.m., Cardenas Jose Antonio (JCARDENA) wrote:
>
> Hi all,
>
>
>
> I’m trying to fech packages and dependencies from a nmp-shrinkwrap.json
> file but I get next error:
>
>
>
> *npm-shrinkwrap.json' has invalid parameters. Unsupported
> dependency: arr-flatten*
>
> I don't know but you'll get more people on the main yocto list so I've
> replied there.
>
> People often mistakenly use yocto-builds so we're going to drop that list
> at some point.
>
> ../Randy
>
>
>
>
> The fragment of shrinkwrap file is
>
>
>
>
>
> {
>
>   "name": "Gateway_node_webserver",
>
>   "version": "2.5.0",
>
>   "lockfileVersion": 1,
>
>   "requires": true,
>
>   "dependencies": {
>
> "chokidar": {
>
>   "version": "1.0.6",
>
>   "requires": {
>
> "anymatch": "1.3.2",
>
> "arrify": "1.0.1",
>
> "async-each": "0.1.6",
>
> "glob-parent": "1.3.0",
>
> "is-binary-path": "1.0.1",
>
> "is-glob": "1.1.3",
>
> "path-is-absolute": "1.0.1",
>
> "readdirp": "1.4.0"
>
>   },
>
>   "dependencies": {
>
> "anymatch": {
>
>   "version": "1.3.2",
>
>   "requires": {
>
> "micromatch": "2.3.11",
>
> "normalize-path": "2.1.1"
>
>   },
>
>   "dependencies": {
>
> "micromatch": {
>
>   "version": "2.3.11",
>
>   "requires": {
>
> "arr-diff": "2.0.0",
>
> "array-unique": "0.2.1",
>
> "braces": "1.8.5",
>
> "expand-brackets": "0.1.5",
>
> "extglob": "0.3.2",
>
> "filename-regex": "2.0.1",
>
> "is-extglob": "1.0.0",
>
> "is-glob": "2.0.1",
>
> "kind-of": "3.2.2",
>
> "normalize-path": "2.1.1",
>
> "object.omit": "2.0.1",
>
> "parse-glob": "3.0.4",
>
> "regex-cache": "0.4.4"
>
>   },
>
>   "dependencies": {
>
> "arr-diff": {
>
>   "version": "2.0.0",
>
>   "requires": {
>
> "arr-flatten": "1.1.0"
>
>   },
>
>   "dependencies": {
>
> "arr-flatten": {
>
>   "version": "1.1.0"
>
> }
>
>   }
>
> },
>
> "array-unique": {
>
>   "version": "0.2.1"
>
> },
>
>
>
>
>
> The recipe SRC_URI is :
>
>
>
> SRC_URI = " \
>
>npmsw://${THISDIR}/${PN}/npm-shrinkwrap.json \
>
>"
>
>
>
> Any idea why is failing the fetch?
>
>
>
> Regards.
>
>
> --
> # Randy MacLeod
> # Wind River Linux
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50311): https://lists.yoctoproject.org/g/yocto/message/50311
Mute This Topic: https://lists.yoctoproject.org/mt/76317070/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [linux-yocto] [yocto-5.4][master][PATCH] features/media: set default for DVB_CORE to m

2020-08-21 Thread Lee Chee Yang
Request to merge this patch to 4.19 too.

Thanks

From: linux-yocto@lists.yoctoproject.org  
On Behalf Of Bruce Ashfield
Sent: Saturday, 8 August, 2020 10:39 AM
To: Mittal, Anuj 
Cc: Development list for the linux-yocto repositories 

Subject: Re: [linux-yocto] [yocto-5.4][master][PATCH] features/media: set 
default for DVB_CORE to m



On Fri, Aug 7, 2020 at 1:43 PM Anuj Mittal 
mailto:anuj.mit...@intel.com>> wrote:
MEDIA_SUPPORT is set by default to m so DVB_CORE can't be y and this is
the only tristate that we set to y that is controlled by MEDIA_SUPPORT.
Change it to m. Fixes:

[NOTE]: 'CONFIG_DVB_CORE' last val (y) and .config val (m) do not match
[INFO]: CONFIG_DVB_CORE : m ## .config: 3617 
:configs/v5.4/standard/features/media/media.cfg (y)
[INFO]: raw config text:

config DVB_CORE
tristate
default y
select CRC32
depends on MEDIA_SUPPORT && MEDIA_DIGITAL_TV_SUPPORT && (I2C || 
I2C = n) && MEDIA_SUPPORT

Config 'DVB_CORE' has the following Direct dependencies (DVB_CORE=m):
MEDIA_SUPPORT(=m) && MEDIA_DIGITAL_TV_SUPPORT(=y) && I2C(=y) || 
I2C(=y) = n (=y)
Parent dependencies are:
 MEDIA_DIGITAL_TV_SUPPORT [y] MEDIA_SUPPORT [m] I2C [y]
[INFO]: config 'CONFIG_DVB_CORE' was set, but it wasn't assignable, check 
(parent) dependencies

Thanks Anuj,

sorry to surprise everyone with the enhanced audit tools :D I hope the improved 
output made it easier to resolve the warning.

I've merged this to 5.4, master and the 5.8 branch that is just about ready to 
be pushed.

Cheers,

Bruce



Signed-off-by: Anuj Mittal mailto:anuj.mit...@intel.com>>
---
 features/media/media.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/media/media.cfg b/features/media/media.cfg
index 401acae6..13e57b73 100644
--- a/features/media/media.cfg
+++ b/features/media/media.cfg
@@ -38,7 +38,7 @@ CONFIG_VIDEOBUF2_VMALLOC=m
 #
 # Digital Video Broadcast support
 #
-CONFIG_DVB_CORE=y
+CONFIG_DVB_CORE=m
 CONFIG_DVB_NET=y
 CONFIG_DVB_MAX_ADAPTERS=8
 CONFIG_DVB_DYNAMIC_MINORS=y
--
2.25.4



--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at 
its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8986): 
https://lists.yoctoproject.org/g/linux-yocto/message/8986
Mute This Topic: https://lists.yoctoproject.org/mt/76054236/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-