Recipe bb file error .. I am in need

I met the following error…

ERROR: opencv-apps-0.1-r0 do_packagedata: The recipe opencv-apps is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
    (matched in manifest-apalis_imx8-opencv.packagedata)
Please verify which recipe should provide the above files.

with the following bb file.

DESCRIPTION = "Application for Face Recognition"
SUMMARY     = "Face Recognition in C++"
HOMEPAGE    = ""
PV          = "0.1"
PROVIDES    = "app"

LIC_FILES_CHKSUM = "file://LICENSE;md5=d41d8cd98f00b204e9800998ecf8427e"
SRC_URI          = "file://opencv-apps.tar.bz2"
SRC_URI[md5sum]  = "c89223279ba8e5f893fb5aaf5872d768"

do_configure() {
        autoreconf --install -v
        ./configure --prefix=/usr --host=${TUNE_ARCH}-linux --build=${BUILD_ARCH}-linux --target=${TUNE_ARCH}-linux

DEPENDS     = "opencv"

PROTOBUF_LIB="-L${COMPONENTS_DIR}/${HOST_ARCH}/protobuf/usr/lib -lprotobuf"
GPHOTO2_LIB ="-L${COMPONENTS_DIR}/${HOST_ARCH}/libgphoto2/usr/lib -lgphoto2"
EXIF_LIB    ="-L${COMPONENTS_DIR}/${HOST_ARCH}/libexif/usr/lib -lexif"
TBB_LIB     ="-L${COMPONENTS_DIR}/${HOST_ARCH}/tbb/usr/lib -ltbb"
OCV_LIB     ="-L${COMPONENTS_DIR}/${MACHINE_SOCARCH}/opencv/usr/lib -lopencv_core -lopencv_dnn -lopencv_ml -lopencv_calib3d -lopencv_features2d -lopencv_flann -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_objdetect -lopencv_stitching -lopencv_photo -lopencv_videoio -lopencv_video "
OCV_INC     ="-I${COMPONENTS_DIR}/${MACHINE_SOCARCH}/opencv/usr/include/opencv4"

do_compile() {

do_install() {
        echo "Destination = ${D}"
        oe_runmake DESTDIR=${D} install

do_packagedata() {
        echo "Do nothing..."

Can you guess why such an error keeps coming up ? I am very urgent…


The opencv recipe provides among others a package opencv-apps.
I assume that the recipe above is named I.e. it will create also a package opencv-apps.

In the do_packagedata tasks your recipe tries to copy files to somewhere the opencv recipe already provided its files. BOOM.

Maybe it is enough to rename your recipe to get further.