Hi Giordan, https://wiki.yoctoproject.org/wiki/TipsAndTricks/Packaging_Prebuilt_Libraries might be helpful to you.
One useful thing would be to show us exactly what files are being installed (and what files are symlinks). It sounds like xrootd is messing up library installation... Ross On 28 June 2018 at 22:19, Giordon Stark <kra...@gmail.com> wrote: > Hi, > > I've read the emails in this mailing list. I'm mostly struggling to > understand the situation for which "-dev package contains non-symlink .so" > occurs. I understand that normally, one expects "*.so" files installed as > part of the package, with symlinks to these versions in the "-dev" package. > What I don't understand is the fix, and why this problem occurs in the first > place. > > The recipe I'm working on in question is here: xrootd_4.8.3.bb (if this link > doesn't work in the future, it's probably because I've merged this to > master). This recipe is to install this piece of code: > https://github.com/xrootd/xrootd. > > Here's an example of the errors: > > ERROR: xrootd-4.8.3-r0 do_package_qa: QA Issue: -dev package contains > non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdThrottle-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdSecsss-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdSecunix-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdSecpwd-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdN2No2p-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdSec-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdFileCache-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdSsiLog-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdCksCalczcrc32-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdBwm-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdBlacklistDecision-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdClProxyPlugin-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdSecProt-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdOssSIgpfsT-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdSsi-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdPss-4.so' > -dev package contains non-symlink .so: xrootd-dev path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd-dev/usr/lib/libXrdXrootd-4.so' > [dev-elf] > ERROR: xrootd-4.8.3-r0 do_package_qa: QA run found fatal errors. Please > consider fixing them. > ERROR: xrootd-4.8.3-r0 do_package_qa: Function failed: do_package_qa > ERROR: Logfile of failure stored in: > /local/d4/gstark/poky/build/tmp/work/aarch64-poky-linux/xrootd/4.8.3-r0/temp/log.do_package_qa.28174 > ERROR: Task > (/local/d4/gstark/meta-l1calo/recipes-core/root/xrootd_4.8.3.bb:do_package_qa) > failed with exit code '1' > > Then, when I add these lines to the recipe: > > FILES_SOLIBSDEV = "" > FILES_${PN} += "${libdir}/*.so" > > I find that nothing is really fixed. It seems to be a similar error, but > with different files now: > > ERROR: xrootd-4.8.3-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- > package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdXml.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdSsiLib.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdCryptoLite.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdAppUtils.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdCrypto.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdPosix.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdUtils.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdSsiShMap.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdCl.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdClient.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdServer.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdPosixPreload.so' > non -dev/-dbg/nativesdk- package contains symlink .so: xrootd path > '/work/aarch64-poky-linux/xrootd/4.8.3-r0/packages-split/xrootd/usr/lib/libXrdFfs.so' > [dev-so] > ERROR: xrootd-4.8.3-r0 do_package_qa: QA run found fatal errors. Please > consider fixing them. > ERROR: xrootd-4.8.3-r0 do_package_qa: Function failed: do_package_qa > ERROR: Logfile of failure stored in: > /local/d4/gstark/poky/build/tmp/work/aarch64-poky-linux/xrootd/4.8.3-r0/temp/log.do_package_qa.30048 > ERROR: Task > (/local/d4/gstark/meta-l1calo/recipes-core/root/xrootd_4.8.3.bb:do_package_qa) > failed with exit code '1' > > I'm getting a bit confused as these errors didn't show up the first time. > And I suppose part of the confusing is about packaging vs installation. > > Thanks, > > Giordon > -- > Giordon Stark > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto