| Summary: | Multiple problems with npm packages | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Kristupas Savickas <kristupas.savickas> | ||||||||||||
| Component: | Scripts and Tools | Assignee: | Razi Seyyedi <razi.seyyedi> | ||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||
| Severity: | major | ||||||||||||||
| Priority: | Medium | CC: | jeanmarie.lemetayer, kristupas.savickas, poky.bs.watcher, poky.watcher, randy.macleod, ross.burton, tim.orling | ||||||||||||
| Version: | unspecified | ||||||||||||||
| Target Milestone: | Future | ||||||||||||||
| Hardware: | x86 | ||||||||||||||
| OS: | Multiple | ||||||||||||||
| Whiteboard: | |||||||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||||||
| Verified: | Documentation change: | Don't know | |||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Kristupas Savickas
2019-06-20 10:36:32 UTC
Created attachment 4529 [details]
do_install
My comment got chopped in half.
I figured something was wrong with the PV field of the recipe. It was looking for factory-tunnel-1.0.0+git999.tgz even though only factory-tunnel-1.0.0.tgz existed. I changed PV to "1.0.0" and everything built as intended using devtool build.
Created attachment 4530 [details]
do_populate_lic
Then there was an issue with the licenses. When I ran bitbake factory-tunnel I got an error on do_populate_lic task (even though devtool build succeeded). Bitbake was looking trying to find the license for async-limiter (which is a dependancy of ws) inside "node_modules/ws/node_modoles/async-limiter", while it was actually in "node_modules/async-limiter" (which is the correct place of it as far as I'm aware). I was able to change the LIC_FILES_CHKSUM to overcome this issue.
Created attachment 4531 [details]
do_compile
Then I ran into this: running bitbake factory-tunnel, or devtool build-image caught an error during do_compile. I was not able to overcome it.
Created attachment 4532 [details]
2019-06-20T10_48_45_724Z-debug.log
Since npm isn't part of oe-core, you'll have to use the meta-oe email list to get support. We'll leave this defect open in case there is an issue with recipetool that we need to fix. Do you have a public git repo that can be used to reproduce the error. (In reply to comment #5) > Do you have a public git repo that can be used to reproduce the error. Sadly, not at the moment. I'll attach a package.json file, it should be enough to reproduce this. Created attachment 4534 [details]
package.json
See if this is something that Razi can work on. This must be fixed in the master. I can't really test the issue but since it's a pretty simple package.json and all the issues seen in the logs have been fixed, I would say it's fine. |