Hi Dylan, I believe the reason for this error is that you list "%{_datadir}/%{name}" under the "%files" section in qrail.spec while it is not being created by the "%install" step. I couldn't verify because for me there are more errors that prevent the build to proceed that far.
BR, Martin ________________________________ From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van Assche via Devel [devel@lists.sailfishos.org] Sent: Tuesday, August 14, 2018 8:20 PM To: Sailfish OS Developers mailing list Subject: [SailfishDevel] RPM build error Hi, I'm having some trouble with building my test application for my QRail shared library. The RPM can't be build for some reason, I'm not sure why... error: File not found: /home/deploy/installroot/usr/share/qrail-tests File not found: /home/deploy/installroot/usr/share/qrail-tests 19:58:02: The process "/home/dylan/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build Engine/SailfishOS-2.2.0.29-armv7hl/deploy" exited with code 1. Error while building/deploying project qrail-tests (kit: SailfishOS-2.2.0.29-armv7hl (in Sailfish OS Build Engine)) The kit SailfishOS-2.2.0.29-armv7hl (in Sailfish OS Build Engine) has configuration issues which might be the root cause for this problem. When executing step "RPM" I haven't seen this error in any other project I did with the Sailfish SDK, I haven absolutely no idea what the cause of this is. Here's a link to my Github repo where you can find my code: https://github.com/DylanVanAssche/QRail. The application is in the folder 'tests', which provides tests for the QRail library. Any idea's? Kind regards, Dylan Van Assche
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org