Bug 14754 - npm app module symbolic link creation fails
Summary: npm app module symbolic link creation fails
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.1
Assignee: Randy MacLeod
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-03-07 08:31 UTC by Ganesh Sha Selvam Sha
Modified: 2026-05-07 15:09 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.