Skip to contentSkip to conversation

Skipping already-stripped check doesn't work

DISCUSSION Alessandro Tagliapietra 4 participants 14 messages Apr 11, 2022 – Apr 12, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I've created an npm package recipe for node-red-node-serialport ( https://www.npmjs.com/package/node-red-node-serialport ) using

devtool add "npm://registry.npmjs.org;package=node-red-node-serialport;version=1.0.1"

which generated this ( https://gist.github.com/alex88/e0e1bca5ac07137229839120f8bfe273 ) recipe.

The problem is when building I get

Quoted 40 lines

WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs
argument of NpmEnvironment.run() function is deprecated. Please use args
argument instead.
WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs
argument of NpmEnvironment.run() function is deprecated. Please use args
argument instead.
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv6.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: Fatal QA errors
found, failing task.
ERROR: Logfile of failure stored in:
/home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/temp/log.do_package.75444

Quoted 4 lines

ERROR: Task (/home/alex/Projects/yocto/meta-things5/recipes-devtools/node-red-node-serialport/node-red-node-serialport_1.0.1.bb:do_package) failed with exit code '1'

I've tried to add

INSANE_SKIP_${PN} += "already-stripped"

in the recipe and in a bbappend but I still get the error.

Why? I need to get this out asap so any help is appreciated.

#1 lore raw

The prebuilds are for other architectures. so perhaps you can rm them in a do_install_append() or if they are really needed
you perhaps would also need INSANE_SKIP_<name of package> = "arch" eventually

is your recipe called node-red-node-serialport ? INSANE_SKIP_${PN} is only accounting for one output package. You perhaps will need to specify it for all the packages generated by this recipe.
so check where these files are landing in packages-split/ folder in the build area of this recipe

Quoted 39 lines · Alessandro Tagliapietra

I've created an npm package recipe for node-red-node-serialport using

devtool add "npm://registry.npmjs.org;package=node-red-node-serialport;version=1.0.1"

which generated this recipe.

The problem is when building I get

WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs argument of NpmEnvironment.run() function is deprecated. Please use args argument instead.
WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs argument of NpmEnvironment.run() function is deprecated. Please use args argument instead.
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv6.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/temp/log.do_package.75444
ERROR: Task (/home/alex/Projects/yocto/meta-things5/recipes-devtools/node-red-node-serialport/node-red-node-serialport_1.0.1.bb:do_package) failed with exit code '1'

I've tried to add

INSANE_SKIP_${PN} += "already-stripped"

in the recipe and in a bbappend but I still get the error.

Why? I need to get this out asap so any help is appreciated.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56718): https://lists.yoctoproject.org/g/yocto/message/56718
Mute This Topic: https://lists.yoctoproject.org/mt/90398675/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Thank you for helping!

The package is node-red-node-serialport, it doesn't seem to create child packages for the dependencies, the nodejs deps only reside in the package node-modules folder.
The packages-split only contained node-red-node-serialport-* packages.

So I've tried to add the skips for these child packages too:

INSANE_SKIP_${PN} += "already-stripped arch" INSANE_SKIP_${PN}-dbg += "already-stripped arch" INSANE_SKIP_${PN}-dev += "already-stripped arch" INSANE_SKIP_${PN}-doc += "already-stripped arch" INSANE_SKIP_${PN}-locale += "already-stripped arch" INSANE_SKIP_${PN}-src += "already-stripped arch" INSANE_SKIP_${PN}-staticdev += "already-stripped arch"

and I still get the error.

I've then tried to remove them:

do_install:prepend() {
rm -Rf
${NPM_BUILD}/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds }

and it seems to work, however I would like to keep them as the armv7 is the one that's probably used for the raspberry.
Any other things I can try to ignore the QA check?

Thank you

Quoted 86 lines · Khem Raj

The prebuilds are for other architectures. so perhaps you can rm them in a do_install_append() or if they are really needed
you perhaps would also need INSANE_SKIP_<name of package> = "arch" eventually

is your recipe called node-red-node-serialport ? INSANE_SKIP_${PN} is only accounting for one output package. You perhaps will need to specify it for all the packages generated by this recipe.
so check where these files are landing in packages-split/ folder in the build area of this recipe

Quoted 4 lines · Alessandro Tagliapietra

I've created an npm package recipe for node-red-node-serialport using

devtool add "npm://registry.npmjs.org

;package=node-red-node-serialport;version=1.0.1"

Quoted 6 lines

which generated this recipe.

The problem is when building I get

WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs

argument of NpmEnvironment.run() function is deprecated. Please use args argument instead.

Quoted 1 line

WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs

argument of NpmEnvironment.run() function is deprecated. Please use args argument instead.

Quoted 1 line

ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File

'/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]

Quoted 1 line

ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File

'/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]

Quoted 1 line

ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File

'/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv6.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]

Quoted 1 line

ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File

'/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]

Quoted 1 line

ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File

'/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]

Quoted 1 line

ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File

'/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]

Quoted 1 line

ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File

'/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]

Quoted 1 line

ERROR: node-red-node-serialport-1.0.1-r0 do_package: Fatal QA errors

found, failing task.

Quoted 1 line

ERROR: Logfile of failure stored in:

/home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/temp/log.do_package.75444

Quoted 1 line

ERROR: Task

(/home/alex/Projects/yocto/meta-things5/recipes-devtools/node-red-node-serialport/node-red-node-serialport_1.0.1.bb:do_package) failed with exit code '1'

Quoted 5 lines

I've tried to add

INSANE_SKIP_${PN} += "already-stripped"

Quoted 8 lines

in the recipe and in a bbappend but I still get the error.

Why? I need to get this out asap so any help is appreciated.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. You automatically follow any topics you start or reply to. View/Reply Online (#56718):

https://lists.yoctoproject.org/g/yocto/message/56718

Quoted 3 lines

Mute This Topic: https://lists.yoctoproject.org/mt/90398675/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): 14b889eed4e3a424b27120bd7d231ae8fcdce1df.camel@linuxfoundation.org

#4 lore raw

Thank you so much! That was the problem!

Quoted 29 lines · Richard Purdie
Quoted 9 lines · Alessandro Tagliapietra

Thank you for helping!

The package is node-red-node-serialport, it doesn't seem to create child packages for the dependencies, the nodejs deps only reside in the package node-modules folder.
The packages-split only contained node-red-node-serialport-* packages.

So I've tried to add the skips for these child packages too:

Quoted 7 lines

INSANE_SKIP_${PN} += "already-stripped arch" INSANE_SKIP_${PN}-dbg += "already-stripped arch" INSANE_SKIP_${PN}-dev += "already-stripped arch" INSANE_SKIP_${PN}-doc += "already-stripped arch" INSANE_SKIP_${PN}-locale += "already-stripped arch" INSANE_SKIP_${PN}-src += "already-stripped arch" INSANE_SKIP_${PN}-staticdev += "already-stripped arch"

For honister the syntax would be:

INSANE_SKIP:${PN}

as the override change applies there.

Cheers,

Richard

#5 lore raw
In reply to Alessandro Tagliapietra
Quoted 6 lines · Alessandro Tagliapietra

Thank you for helping!

The package is node-red-node-serialport, it doesn't seem to create child packages for the dependencies, the nodejs deps only reside in the package node-modules folder. The packages-split only contained node-red-node-serialport-* packages.

what package folders do you see under packages-split/ folder in your build area for this recipe ?

Quoted 78 lines

So I've tried to add the skips for these child packages too:

INSANE_SKIP_${PN} += "already-stripped arch" INSANE_SKIP_${PN}-dbg += "already-stripped arch" INSANE_SKIP_${PN}-dev += "already-stripped arch" INSANE_SKIP_${PN}-doc += "already-stripped arch" INSANE_SKIP_${PN}-locale += "already-stripped arch" INSANE_SKIP_${PN}-src += "already-stripped arch" INSANE_SKIP_${PN}-staticdev += "already-stripped arch"

and I still get the error.

I've then tried to remove them:

do_install:prepend() {
    rm -Rf ${NPM_BUILD}/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds
}

and it seems to work, however I would like to keep them as the armv7 is the one that's probably used for the raspberry. Any other things I can try to ignore the QA check?

Thank you

Quoted 53 lines · Khem Raj

The prebuilds are for other architectures. so perhaps you can rm them in a do_install_append() or if they are really needed
you perhaps would also need INSANE_SKIP_<name of package> = "arch" eventually

is your recipe called node-red-node-serialport ? INSANE_SKIP_${PN} is only accounting for one output package. You perhaps will need to specify it for all the packages generated by this recipe.
so check where these files are landing in packages-split/ folder in the build area of this recipe

Quoted 39 lines · Alessandro Tagliapietra

I've created an npm package recipe for node-red-node-serialport using

devtool add "npm://registry.npmjs.org;package=node-red-node-serialport;version=1.0.1"

which generated this recipe.

The problem is when building I get

WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs argument of NpmEnvironment.run() function is deprecated. Please use args argument instead.
WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs argument of NpmEnvironment.run() function is deprecated. Please use args argument instead.
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv6.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node' from node-red-node-serialport was already stripped, this will prevent future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/temp/log.do_package.75444
ERROR: Task (/home/alex/Projects/yocto/meta-things5/recipes-devtools/node-red-node-serialport/node-red-node-serialport_1.0.1.bb:do_package) failed with exit code '1'

I've tried to add

INSANE_SKIP_${PN} += "already-stripped"

in the recipe and in a bbappend but I still get the error.

Why? I need to get this out asap so any help is appreciated.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56718): https://lists.yoctoproject.org/g/yocto/message/56718
Mute This Topic: https://lists.yoctoproject.org/mt/90398675/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw
Quoted 4 lines · Khem Raj

what package folders do you see under packages-split/ folder in your build area for this recipe ?

The ones I've added in the INSANE_SKIP

ls -lah /home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/packages-split total 32K
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dbg
drwxr-xr-x 2 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dev

drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-doc
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-locale
-rw-r--r-- 1 alex alex   57 Apr  6 16:04 node-red-node-serialport.shlibdeps

drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-src drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04 node-red-node-serialport-staticdev

#7 lore raw
Quoted 15 lines · Alessandro Tagliapietra
Quoted 4 lines · Khem Raj

what package folders do you see under packages-split/ folder in your build area for this recipe ?

The ones I've added in the INSANE_SKIP

ls -lah /home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/packages-split total 32K
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dbg
drwxr-xr-x 2 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dev

Quoted 6 lines
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-doc
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-locale
-rw-r--r-- 1 alex alex   57 Apr  6 16:04 node-red-node-serialport.shlibdeps

drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-src drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04 node-red-node-serialport-staticdev

Ok then next thing you want to check is where the reported stripped file is located and even if it does not work then perhaps look into removing these files if they are not needed

Quoted 3 lines
#8 lore raw

Removing works, the build succeeded, however I can't test if it's actually needed by the package, I'll try that tomorrow.
Regarding file paths for example file linux-arm/node.napi.armv7.node is in these paths:

image/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node packages-split/node-red-node-serialport/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node npm-build/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node package/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node npm/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

so it seems to be in node-red-node-serialport which is our package so INSANE_SKIP_${PN} += "already-stripped arch" should work.

Quoted 36 lines · Khem Raj
Quoted 15 lines · Alessandro Tagliapietra
Quoted 4 lines · Khem Raj

what package folders do you see under packages-split/ folder in your build area for this recipe ?

The ones I've added in the INSANE_SKIP

ls -lah /home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/packages-split total 32K
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dbg
drwxr-xr-x 2 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dev

Quoted 8 lines
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-doc
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-locale
-rw-r--r-- 1 alex alex   57 Apr  6 16:04

node-red-node-serialport.shlibdeps
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-src drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04 node-red-node-serialport-staticdev

Ok then next thing you want to check is where the reported stripped file is located and even if it does not work then perhaps look into removing these files if they are not needed

Quoted 3 lines
#9 lore raw

which release branch are you using?

Quoted 44 lines · Alessandro Tagliapietra

Removing works, the build succeeded, however I can't test if it's actually needed by the package, I'll try that tomorrow. Regarding file paths for example file linux-arm/node.napi.armv7.node is in these paths:

image/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node packages-split/node-red-node-serialport/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node npm-build/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node package/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node npm/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

so it seems to be in node-red-node-serialport which is our package so INSANE_SKIP_${PN} += "already-stripped arch" should work.

Quoted 30 lines · Khem Raj
Quoted 15 lines · Alessandro Tagliapietra
Quoted 4 lines · Khem Raj

what package folders do you see under packages-split/ folder in your build area for this recipe ?

The ones I've added in the INSANE_SKIP

ls -lah /home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/packages-split total 32K
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dbg
drwxr-xr-x 2 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dev

Quoted 5 lines
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-doc
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-locale
-rw-r--r-- 1 alex alex   57 Apr  6 16:04 node-red-node-serialport.shlibdeps

drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-src drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04 node-red-node-serialport-staticdev

Ok then next thing you want to check is where the reported stripped file is located and even if it does not work then perhaps look into removing these files if they are not needed

Quoted 3 lines
#10 lore raw

I'm using honister (it's from a few months ago, I'm currently rebuilding using the latest commit)

Quoted 64 lines · Khem Raj

which release branch are you using?

Quoted 2 lines · Alessandro Tagliapietra

Removing works, the build succeeded, however I can't test if it's

actually needed by the package, I'll try that tomorrow.

Quoted 1 line

Regarding file paths for example file linux-arm/node.napi.armv7.node is

in these paths:

Quoted 2 lines

image/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line

packages-split/node-red-node-serialport/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line

npm-build/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line

package/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line

npm/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 2 lines

so it seems to be in node-red-node-serialport which is our package so

INSANE_SKIP_${PN} += "already-stripped arch" should work.

Quoted 7 lines · Khem Raj
Quoted 4 lines

On Mon, Apr 11, 2022 at 1:43 PM Alessandro Tagliapietra <

Quoted 11 lines · [email protected]> wrote:
Quoted 11 lines
Quoted 11 lines · Khem Raj
Quoted 4 lines

what package folders do you see under packages-split/ folder in your build area for this recipe ?

The ones I've added in the INSANE_SKIP

ls -lah

/home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/packages-split

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

total 32K
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dbg drwxr-xr-x 2 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dev drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04 node-red-node-serialport-doc drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04

node-red-node-serialport-locale

Quoted 1 line
Quoted 1 line
Quoted 1 line

-rw-r--r-- 1 alex alex 57 Apr 6 16:04

node-red-node-serialport.shlibdeps

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-src drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04

node-red-node-serialport-staticdev

Quoted 3 lines
Quoted 3 lines

Ok then next thing you want to check is where the reported stripped

file is located and even if it does not work then perhaps look into removing these files if they are not needed

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
#11 lore raw

Tested with updated honister branch, same error

Signature · 4 lines
Alessandro Tagliapietra


On Mon, Apr 11, 2022 at 2:41 PM Alessandro Tagliapietra <
Quoted 70 lines · [email protected]> wrote:

I'm using honister (it's from a few months ago, I'm currently rebuilding using the latest commit)

Quoted 64 lines · Khem Raj

which release branch are you using?

Quoted 2 lines · Alessandro Tagliapietra

Removing works, the build succeeded, however I can't test if it's

actually needed by the package, I'll try that tomorrow.

Quoted 1 line

Regarding file paths for example file linux-arm/node.napi.armv7.node is

in these paths:

Quoted 2 lines

image/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line

packages-split/node-red-node-serialport/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line

npm-build/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line

package/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line

npm/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 2 lines

so it seems to be in node-red-node-serialport which is our package so

INSANE_SKIP_${PN} += "already-stripped arch" should work.

Quoted 7 lines · Khem Raj
Quoted 4 lines

On Mon, Apr 11, 2022 at 1:43 PM Alessandro Tagliapietra <

Quoted 11 lines · [email protected]> wrote:
Quoted 11 lines
Quoted 11 lines · Khem Raj
Quoted 4 lines

what package folders do you see under packages-split/ folder in your build area for this recipe ?

The ones I've added in the INSANE_SKIP

ls -lah

/home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/packages-split

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

total 32K
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dbg drwxr-xr-x 2 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dev drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04 node-red-node-serialport-doc drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04

node-red-node-serialport-locale

Quoted 1 line
Quoted 1 line
Quoted 1 line

-rw-r--r-- 1 alex alex 57 Apr 6 16:04

node-red-node-serialport.shlibdeps

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-src drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04

node-red-node-serialport-staticdev

Quoted 3 lines
Quoted 3 lines

Ok then next thing you want to check is where the reported stripped

file is located and even if it does not work then perhaps look into removing these files if they are not needed

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
#12 lore raw

As already pointed out on IRC, the only real solution is:
a) removing the shipped binaries from the install (as Khem also mentioned) and b) making the module re-build the binaries using the cross toolchain that the rest of the build also uses.

Greetz

Am Di., 12. Apr. 2022 um 00:26 Uhr schrieb Alessandro Tagliapietra <[email protected]>:

Quoted 72 lines

Tested with updated honister branch, same error

--
Alessandro Tagliapietra

Quoted 53 lines · Alessandro Tagliapietra

I'm using honister (it's from a few months ago, I'm currently rebuilding using the latest commit)

Quoted 49 lines · Khem Raj

which release branch are you using?

Quoted 44 lines · Alessandro Tagliapietra

Removing works, the build succeeded, however I can't test if it's actually needed by the package, I'll try that tomorrow. Regarding file paths for example file linux-arm/node.napi.armv7.node is in these paths:

image/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node packages-split/node-red-node-serialport/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node npm-build/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node package/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node npm/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

so it seems to be in node-red-node-serialport which is our package so INSANE_SKIP_${PN} += "already-stripped arch" should work.

Quoted 30 lines · Khem Raj
Quoted 15 lines · Alessandro Tagliapietra
Quoted 4 lines · Khem Raj

what package folders do you see under packages-split/ folder in your build area for this recipe ?

The ones I've added in the INSANE_SKIP

ls -lah /home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/packages-split total 32K
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dbg
drwxr-xr-x 2 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-dev

Quoted 5 lines
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-doc
drwxr-xr-x 2 alex alex 4.0K Apr  6 16:04 node-red-node-serialport-locale
-rw-r--r-- 1 alex alex   57 Apr  6 16:04 node-red-node-serialport.shlibdeps

drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport-src drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04 node-red-node-serialport-staticdev

Ok then next thing you want to check is where the reported stripped file is located and even if it does not work then perhaps look into removing these files if they are not needed

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to.
View/Reply Online (#56729): https://lists.yoctoproject.org/g/yocto/message/56729
Mute This Topic: https://lists.yoctoproject.org/mt/90398675/4689568
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#13 lore raw

I've ended up removing the wrong arch binaries and ignoring the stripped ones.
Unfortunately I have no idea on where to start to rebuild the binaries using the cross toolchain, everything seems to be handled by the npm bbclass and node-gyp.

Quoted 107 lines · Josef Holzmayr

As already pointed out on IRC, the only real solution is:
a) removing the shipped binaries from the install (as Khem also mentioned) and b) making the module re-build the binaries using the cross toolchain that the rest of the build also uses.

Greetz

Am Di., 12. Apr. 2022 um 00:26 Uhr schrieb Alessandro Tagliapietra <[email protected]>:

Quoted 8 lines

Tested with updated honister branch, same error

--
Alessandro Tagliapietra

On Mon, Apr 11, 2022 at 2:41 PM Alessandro Tagliapietra <

Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines

I'm using honister (it's from a few months ago, I'm currently

rebuilding using the latest commit)

Quoted 9 lines
Quoted 9 lines · Khem Raj
Quoted 7 lines

which release branch are you using?

Quoted 2 lines · Alessandro Tagliapietra

Removing works, the build succeeded, however I can't test if it's

actually needed by the package, I'll try that tomorrow.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Regarding file paths for example file linux-arm/node.napi.armv7.node

is in these paths:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

image/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

packages-split/node-red-node-serialport/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

npm-build/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

package/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

npm/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

so it seems to be in node-red-node-serialport which is our package

so INSANE_SKIP_${PN} += "already-stripped arch" should work.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Khem Raj
Quoted 4 lines

On Mon, Apr 11, 2022 at 1:43 PM Alessandro Tagliapietra <

Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Mon, Apr 11, 2022 at 1:36 PM Khem Raj <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

what package folders do you see under packages-split/ folder in

your

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line

build area for this recipe ?

The ones I've added in the INSANE_SKIP

ls -lah

/home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/packages-split

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

total 32K
drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23 node-red-node-serialport drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23

node-red-node-serialport-dbg

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

drwxr-xr-x 2 alex alex 4.0K Apr 11 13:23

node-red-node-serialport-dev

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04

node-red-node-serialport-doc

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04

node-red-node-serialport-locale

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

-rw-r--r-- 1 alex alex 57 Apr 6 16:04

node-red-node-serialport.shlibdeps

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

drwxr-xr-x 3 alex alex 4.0K Apr 11 13:23

node-red-node-serialport-src

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

drwxr-xr-x 2 alex alex 4.0K Apr 6 16:04

node-red-node-serialport-staticdev

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Ok then next thing you want to check is where the reported stripped

file is located and even if it does not work then perhaps look into removing these files if they are not needed

Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. You automatically follow any topics you start or reply to. View/Reply Online (#56729):

https://lists.yoctoproject.org/g/yocto/message/56729

Quoted 3 lines

Mute This Topic: https://lists.yoctoproject.org/mt/90398675/4689568
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#14 lore raw
In reply to Alessandro Tagliapietra

Alessandro Tagliapietra <[email protected]> escreveu no dia segunda, 11/04/2022 à(s) 17:13:

Quoted 53 lines

I've created an npm package recipe for node-red-node-serialport
<https://www.npmjs.com/package/node-red-node-serialport> using

devtool add "npm://registry.npmjs.org
;package=node-red-node-serialport;version=1.0.1"

which generated this
<https://gist.github.com/alex88/e0e1bca5ac07137229839120f8bfe273> recipe.

The problem is when building I get

WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs
argument of NpmEnvironment.run() function is deprecated. Please use args
argument instead.
WARNING: node-red-node-serialport-1.0.1-r0 do_compile: Use of configs
argument of NpmEnvironment.run() function is deprecated. Please use args
argument instead.
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv6.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm64/node.napi.armv8.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: QA Issue: File '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node' from node-red-node-serialport was already stripped, this will prevent
future debugging! [already-stripped]
ERROR: node-red-node-serialport-1.0.1-r0 do_package: Fatal QA errors
found, failing task.
ERROR: Logfile of failure stored in:
/home/alex/Projects/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/node-red-node-serialport/1.0.1-r0/temp/log.do_package.75444
ERROR: Task (/home/alex/Projects/yocto/meta-things5/recipes-devtools/node-red-node-serialport/node-red-node-serialport_1.0.1.bb:do_package) failed with exit code '1'

Quoted 8 lines

I've tried to add

INSANE_SKIP_${PN} += "already-stripped"

in the recipe and in a bbappend but I still get the error.

Why? I need to get this out asap so any help is appreciated.

Hi Alessandro,

This is because the package that you are building is already compiled and there seems to be too many archs.
Your target archs is arm (cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi) and it is pre builded for a bunch of arch (prebuilds/linux-XX, where XX is the arch).
Yocto can cross compile the code for you and probably you don't need the pre-built binaries.

Jose

Quoted 11 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#56718):
https://lists.yoctoproject.org/g/yocto/message/56718
Mute This Topic: https://lists.yoctoproject.org/mt/90398675/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma