Bug 14754

Summary: npm app module symbolic link creation fails
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ganesh Sha Selvam Sha <GaneshSha_SelvamSha>
Component: devtools / tool chainAssignee: Randy MacLeod <randy.macleod>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: jeanmarie.lemetayer, meta.mr.watcher, meta.watcher, randy.macleod
Version: unspecified   
Target Milestone: 6.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Ganesh Sha Selvam Sha 2022-03-07 08:31:55 UTC
We are facing an issue while creating the symbolic link for /usr/lib/node the link is not creating as expected with the below error message,
ERROR: bcm3162x-docsishal-0.1.5-r0 do_prepare_recipe_sysroot: The file /usr/lib/node is installed by both pegjs-native and brcm-sift-native, aborting

File: meta/classes/npm.bbclass
ln -fs node_modules ${D}/${nonarch_libdir}/node

As a temporary fix, we are commenting on the above line.

I could these changes are done in the below ref link,
https://git.openembedded.org/openembedded-core/commit/?h=dunfell&id=fb2252ee0777c6d26dea94c7588c323a6b97e961
Comment 1 Randy MacLeod 2022-03-10 15:52:59 UTC
I'm not sure if Jean-Marie is still working on node in YP but I've assigned this bug to him. I may be that the line that makes the link needs to be done in the node recipe in meta-oe. Could you send patches as needed?
Comment 2 Randy MacLeod 2023-10-30 15:37:29 UTC
Build move to 5.0 -- ../Randy
Comment 3 Randy MacLeod 2024-04-25 01:13:54 UTC
Bulk move of 5.0 medium importance issues to 5.99.
Move to 5.1 if you want to actively work on an issue.
Comment 4 Randy MacLeod 2024-04-25 01:23:10 UTC
Move to 5.99 since no one is actively working on this issue.
Move to 5.x if you start on a task, please.
Comment 5 Randy MacLeod 2026-05-07 15:08:48 UTC
Need to move the link from npm to nodejs itself.