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]>:
>
> Tested with updated honister branch, same error
>
> --
> Alessandro Tagliapietra
>
>
> On Mon, Apr 11, 2022 at 2:41 PM Alessandro Tagliapietra 
> <[email protected]> wrote:
>>
>> I'm using honister (it's from a few months ago, I'm currently rebuilding 
>> using the latest commit)
>>
>> On Mon, Apr 11, 2022 at 2:29 PM Khem Raj <[email protected]> wrote:
>>>
>>> which release branch are you using?
>>>
>>> On Mon, Apr 11, 2022 at 2:27 PM Alessandro Tagliapietra
>>> <[email protected]> wrote:
>>> >
>>> > 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.
>>> >
>>> >
>>> > On Mon, Apr 11, 2022 at 2:14 PM Khem Raj <[email protected]> wrote:
>>> >>
>>> >>
>>> >>
>>> >> On Mon, Apr 11, 2022 at 1:43 PM Alessandro Tagliapietra 
>>> >> <[email protected]> wrote:
>>> >>>
>>> >>> On Mon, Apr 11, 2022 at 1:36 PM Khem Raj <[email protected]> wrote:
>>> >>>>
>>> >>>>
>>> >>>> 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
>>> >>
>>> >>
>>> >> 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
>>> >>>
>>> >>>
>>> >>>
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56738): https://lists.yoctoproject.org/g/yocto/message/56738
Mute This Topic: https://lists.yoctoproject.org/mt/90398675/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to