You can try to issue 'bitbake -e easyloggingpp' which will print all variables and how their values are formed. Look particularly for PACKAGES and FILES entries, as those will contain clues as to why the file isn't being picked up by packaging.
Alex On Mon, 18 Mar 2024 at 19:05, Bratiranjan Acharya <[email protected]> wrote: > > Hi, > There is a library i want to use from the upstream named as easyloggingpp the > link is here https://github.com/abumq/easyloggingpp and following the readme > to generate the static library "libeasyloggingpp.a" i have written a recipe > for a particular tag. > easyloggingpp.bb > ---------------------------------- > LICENSE = "MIT" > LIC_FILES_CHKSUM = "file://LICENSE;md5=a5579a1688435c42607edb4b751495bf" > #PACKAGE_ARCH = "${MACHINE_ARCH}" > SRC_URI = > "git://github.com/abumq/easyloggingpp.git;protocol=https;branch=master" > PV = "1.0+git${SRCPV}" > SRCREV = "v9.97.1" > S = "${WORKDIR}/git" > inherit cmake > EXTRA_OECMAKE = "-Dbuild_static_lib=ON" > ---------------------------------------------- > "-Dbuild_static_lib=ON" will generate the libeasylogging.a but i when i am > executing this recipe i am stucking with this error > ERROR > ------------------------------------------------ > ERROR: easyloggingpp-1.0+gitAUTOINC+f1f6d98c4c-r0 do_package: QA Issue: > easyloggingpp: Files/directories were installed but not shipped in any > package: > /usr/lib > /usr/lib/libeasyloggingpp.a > Please set FILES such that these items are packaged. Alternatively if they > are unneeded, avoid installing them or delete them within do_install. > easyloggingpp: 2 installed and not shipped files. [installed-vs-shipped] > ERROR: easyloggingpp-1.0+gitAUTOINC+f1f6d98c4c-r0 do_package: Fatal QA errors > were found, failing task. > ERROR: Logfile of failure stored in: > /local/home/acbratir/Workspace/build/tmp/work/armv8-2a-poky-linux/easyloggingpp/1.0+gitAUTOINC+f1f6d98c4c-r0/temp/log.do_package.8024 > ERROR: Task > (/local/home/acbratir/Workspace/poky/../sources/meta-juju/recipes-support/easyloggingpp/easyloggingpp_9.97.1.bb:do_package) > failed with exit code '1' > ------------------------------------------------------------- > I have tried many ways to slove this by using ${PN}-static dev first the > ${PN}-dev as per the order. But i was unable to solve this and now i am > clueless to solve this.Kindly help! > In the ${WORKDIR} these are the paths where the lib is generating > ----------------------------------------------------------------------------------------- > ./build/libeasyloggingpp.a > ./package/usr/lib/libeasyloggingpp.a > ./image/usr/lib/libeasyloggingpp.a > --------------------------------------------------------------------------- > Help me to solve > > Thanks & Regards > Brati > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62792): https://lists.yoctoproject.org/g/yocto/message/62792 Mute This Topic: https://lists.yoctoproject.org/mt/105008765/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
