* nodejs npm qemux86_64
@ 2019-11-07 21:56 Jonas Andersson
2019-11-08 9:46 ` Jean-Marie LEMETAYER
0 siblings, 1 reply; 4+ messages in thread
From: Jonas Andersson @ 2019-11-07 21:56 UTC (permalink / raw)
To: Yocto list discussion
[-- Attachment #1: Type: text/plain, Size: 753 bytes --]
Hi,
I have installation problems for npm recipes.
Using Yocto thud and machine=qemux86_64(wrlinux-x), but as I can see it
this concerns all
use of npm.bbclass for 64-bits system.
The problem seems to be the use of ${libdir} in npm.bbclass, when 64 bit is
used this expands to lib64.
npm install --prefix ${D}${prefix} installs to /usr/lib/node_modules which
is not
in sync with the following mv ${D}${libdir}/node_modules ${D}${libdir}/node.
I made an quick fix by replacing ${libdir} by ${prefix}/lib/, but as I see
it nodejs packages never is installed to lib64 in any other system as I can
find information about.
So the question is if the use of ${libdir} is bad and the path should
always be to /lib/?
Best regards
Jonas
[-- Attachment #2: Type: text/html, Size: 2154 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nodejs npm qemux86_64
2019-11-07 21:56 nodejs npm qemux86_64 Jonas Andersson
@ 2019-11-08 9:46 ` Jean-Marie LEMETAYER
2019-11-08 9:59 ` Jean-Marie LEMETAYER
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Marie LEMETAYER @ 2019-11-08 9:46 UTC (permalink / raw)
To: Jonas Andersson; +Cc: Yocto-mailing-list
Hi Jonas,
I am currently refactoring / updating the npm handling in Yocto:
http://lists.openembedded.org/pipermail/openembedded-core/2019-October/288352.html
http://lists.openembedded.org/pipermail/bitbake-devel/2019-October/020449.html
Your point is very interesting, I will take it into account for the next patchset version.
Best regards,
Jean-Marie
----- On Nov 7, 2019, at 10:56 PM, Jonas Andersson jonaskgandersson@gmail.com wrote:
> Hi,
>
> I have installation problems for npm recipes.
> Using Yocto thud and machine=qemux86_64(wrlinux-x), but as I can see it this
> concerns all
> use of npm.bbclass for 64-bits system.
>
> The problem seems to be the use of ${libdir} in npm.bbclass, when 64 bit is used
> this expands to lib64.
> npm install --prefix ${D}${prefix} installs to /usr/lib/node_modules which is
> not
> in sync with the following mv ${D}${libdir}/node_modules ${D}${libdir}/node.
>
> I made an quick fix by replacing ${libdir} by ${prefix}/lib/, but as I see it
> nodejs packages never is installed to lib64 in any other system as I can find
> information about.
>
> So the question is if the use of ${libdir} is bad and the path should always be
> to /lib/?
>
> Best regards
> Jonas
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nodejs npm qemux86_64
2019-11-08 9:46 ` Jean-Marie LEMETAYER
@ 2019-11-08 9:59 ` Jean-Marie LEMETAYER
2019-11-08 10:35 ` Gmail
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Marie LEMETAYER @ 2019-11-08 9:59 UTC (permalink / raw)
To: Jonas Andersson; +Cc: Yocto-mailing-list
Actually I just update my patchset to use ${nonarch_libdir} instead of ${libdir}.
This will be on the next patchset version.
For your information you can check the meta/conf/bitbake.conf file for others target filesystem paths.
Best regards,
Jean-Marie
On Nov 8, 2019, at 10:46 AM, Jean-Marie LEMETAYER jean-marie.lemetayer@savoirfairelinux.com wrote:
> Hi Jonas,
>
> I am currently refactoring / updating the npm handling in Yocto:
> http://lists.openembedded.org/pipermail/openembedded-core/2019-October/288352.html
> http://lists.openembedded.org/pipermail/bitbake-devel/2019-October/020449.html
>
> Your point is very interesting, I will take it into account for the next
> patchset version.
>
> Best regards,
> Jean-Marie
>
> On Nov 7, 2019, at 10:56 PM, Jonas Andersson jonaskgandersson@gmail.com wrote:
>> Hi,
>>
>> I have installation problems for npm recipes.
>> Using Yocto thud and machine=qemux86_64(wrlinux-x), but as I can see it this
>> concerns all
>> use of npm.bbclass for 64-bits system.
>>
>> The problem seems to be the use of ${libdir} in npm.bbclass, when 64 bit is used
>> this expands to lib64.
>> npm install --prefix ${D}${prefix} installs to /usr/lib/node_modules which is
>> not
>> in sync with the following mv ${D}${libdir}/node_modules ${D}${libdir}/node.
>>
>> I made an quick fix by replacing ${libdir} by ${prefix}/lib/, but as I see it
>> nodejs packages never is installed to lib64 in any other system as I can find
>> information about.
>>
>> So the question is if the use of ${libdir} is bad and the path should always be
>> to /lib/?
>>
>> Best regards
>> Jonas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nodejs npm qemux86_64
2019-11-08 9:59 ` Jean-Marie LEMETAYER
@ 2019-11-08 10:35 ` Gmail
0 siblings, 0 replies; 4+ messages in thread
From: Gmail @ 2019-11-08 10:35 UTC (permalink / raw)
To: Jean-Marie LEMETAYER; +Cc: Yocto-mailing-list
Great!
/Jonas Andersson
> 8 nov. 2019 kl. 10:59 skrev Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>:
>
> Actually I just update my patchset to use ${nonarch_libdir} instead of ${libdir}.
>
> This will be on the next patchset version.
>
> For your information you can check the meta/conf/bitbake.conf file for others target filesystem paths.
>
> Best regards,
> Jean-Marie
>
>> On Nov 8, 2019, at 10:46 AM, Jean-Marie LEMETAYER jean-marie.lemetayer@savoirfairelinux.com wrote:
>> Hi Jonas,
>>
>> I am currently refactoring / updating the npm handling in Yocto:
>> http://lists.openembedded.org/pipermail/openembedded-core/2019-October/288352.html
>> http://lists.openembedded.org/pipermail/bitbake-devel/2019-October/020449.html
>>
>> Your point is very interesting, I will take it into account for the next
>> patchset version.
>>
>> Best regards,
>> Jean-Marie
>>
>>> On Nov 7, 2019, at 10:56 PM, Jonas Andersson jonaskgandersson@gmail.com wrote:
>>> Hi,
>>>
>>> I have installation problems for npm recipes.
>>> Using Yocto thud and machine=qemux86_64(wrlinux-x), but as I can see it this
>>> concerns all
>>> use of npm.bbclass for 64-bits system.
>>>
>>> The problem seems to be the use of ${libdir} in npm.bbclass, when 64 bit is used
>>> this expands to lib64.
>>> npm install --prefix ${D}${prefix} installs to /usr/lib/node_modules which is
>>> not
>>> in sync with the following mv ${D}${libdir}/node_modules ${D}${libdir}/node.
>>>
>>> I made an quick fix by replacing ${libdir} by ${prefix}/lib/, but as I see it
>>> nodejs packages never is installed to lib64 in any other system as I can find
>>> information about.
>>>
>>> So the question is if the use of ${libdir} is bad and the path should always be
>>> to /lib/?
>>>
>>> Best regards
>>> Jonas
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-11-08 10:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 21:56 nodejs npm qemux86_64 Jonas Andersson
2019-11-08 9:46 ` Jean-Marie LEMETAYER
2019-11-08 9:59 ` Jean-Marie LEMETAYER
2019-11-08 10:35 ` Gmail
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.