Skip to contentSkip to conversation

trying to install files when those files already exist

DISCUSSION Ron Eggler 2 participants 3 messages Feb 21, 2023

lore
Share & tools
lore

Ron Eggler

author
#0 lore raw

Hi,

I'm running into a "is trying to install files into a shared area when those files already exist." error and am not sure how to resolve it. I get the following:

ERROR: linux-renesas-5.10.83-cip1+gitAUTOINC+e52825e45b-r1 do_packagedata: The recipe linux-renesas is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/kernel-module-cfg80211-5.10.83-cip1-yocto-standard
    (matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata) /home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/kernel-module-cfg80211-5.10.83-cip1-yocto-standard.packaged
    (matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata) /home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/lib32-kernel-module-cfg80211-5.10.83-cip1-yocto-standard
    (matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata)
Please verify which recipe should provide the above files.

It obviously has something to do with the drivers for the lwb5p laird module I'm trying to add.

How do I go about resolving this on my dunfell based build?

Signature · 1 line
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com
#1 lore raw
Quoted 14 lines · Mistyron

Hi,

I'm running into a "is trying to install files into a shared area when those files already exist." error and am not sure how to resolve it. I get the following:

ERROR: linux-renesas-5.10.83-cip1+gitAUTOINC+e52825e45b-r1 do_packagedata: The recipe linux-renesas is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/kernel-module-cfg80211-5.10.83-cip1-yocto-standard
(matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata)
/home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/kernel-module-cfg80211-5.10.83-cip1-yocto-standard.packaged
(matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata)
/home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/lib32-kernel-module-cfg80211-5.10.83-cip1-yocto-standard
(matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata)
Please verify which recipe should provide the above files.

Quoted 4 lines

It obviously has something to do with the drivers for the lwb5p laird module I'm trying to add.

How do I go about resolving this on my dunfell based build?

there are two recipes building same files which end up in same location on target rootfs. So you should either disable the in-kernel module or not include out of kernel module recipe

Quoted 12 lines

--
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com

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

author
#2 lore raw
Quoted 14 lines · Khem Raj
Quoted 13 lines · Mistyron

Hi,

I'm running into a "is trying to install files into a shared area when those files already exist." error and am not sure how to resolve it. I get the following:

ERROR: linux-renesas-5.10.83-cip1+gitAUTOINC+e52825e45b-r1 do_packagedata: The recipe linux-renesas is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/kernel-module-cfg80211-5.10.83-cip1-yocto-standard
(matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata)
/home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/kernel-module-cfg80211-5.10.83-cip1-yocto-standard.packaged
(matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata)
/home/yocto/rzg_vlp_v3.0.0/build/tmp/pkgdata/smarc-rzg2l/runtime/lib32-kernel-module-cfg80211-5.10.83-cip1-yocto-standard
(matched in manifest-smarc_rzg2l-kernel-module-lwb5p-backports-laird.packagedata)
Please verify which recipe should provide the above files.

Quoted 7 lines
Quoted 4 lines

It obviously has something to do with the drivers for the lwb5p laird module I'm trying to add.

How do I go about resolving this on my dunfell based build?

there are two recipes building same files which end up in same location on target rootfs. So you should either disable the in-kernel module or not include out of kernel module recipe

Okay Thanks, since it complains about 20211, it may be the following kernel config:
CONFIG_CFG80211=m

I'll remove it retry.
Thanks!

Quoted 12 lines
Quoted 12 lines

--
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com

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

Signature · 1 line
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com