How to handle RDEPENDS for " libgcc_s.so.1, but no providers "
Hi All ,
1) I am trying to compile an application " https://github.com/tom-2015/rpi-AR1100" ( https://github.com/tom-2015/rpi-AR1100 ) But i get error like mentioned below for few library.so :
*ERROR: AR1100-1.0-r0 do_package_qa: QA Issue: /usr/bin/<OUR-CUSTOM-BINARY> contained in package AR1100 requires libgcc_s.so.1,* *but no providers found in RDEPENDS_AR1100? [file-rdeps]*
2) I checked the library and seems to be present in the ROOTFS at /lib/libgcc_s.so.1.
3) I tried , passing location of lib folder to recipe via CFLAGS_prepend = "-I ${libdir}" . But still the error is observed.
4) I even tried adding " libgcc " to RDEPENDS , but the error is still there .
Can any please provide an pointer or let me know if i am missing any part here .
Thanks
Ashish
Quoted 5 lines · Ashish
Hi All ,
1) I am trying to compile an application " https://github.com/tom-2015/rpi-AR1100" ( https://github.com/tom-2015/rpi-AR1100 ) But i get error like mentioned below for few library.so :
*ERROR: AR1100-1.0-r0do_package_qa: QA Issue: /usr/bin/<OUR-CUSTOM-BINARY> contained in package AR1100 requires libgcc_s.so.1,*
Is this /usr/bin/<OUR-CUSTOM-BINARY> a prebuilt binary, not compiled by OE/Yocto? If so, you are better off inhibiting the "file-rdeps" QA check with INSANE_SKIP...
Quoted 15 lines
*but no providers found in
RDEPENDS_AR1100? [file-rdeps]*2) I checked the library and seems to be present in the ROOTFS at
/lib/libgcc_s.so.1.3) I tried , passing location of lib folder to recipe via
CFLAGS_prepend= "=I ${includedir}/lib" . But still the error is observed.4) I even tried adding " libgcc " to RDEPENDS , but the error is still there .
Can any please provide an pointer or let me know if i am missing any part here .
Thanks
Ashish
The "file-rdeps" was an important aspect.
Was able to address the issue by :-
1) Addressing , AR1100-dev doesn't match the [a-z0-9.+-]+ regex [pkgname] log message
2) RDEPENDS_${PN} += "glibc gtk+ libgcc"
DEPENDS += " \
gtk+ \
libusb1 \
libgcc \
"
Thanks
Ashish