Hi Dylan,

Sounds reasonable. The "console" CONFIG option will have any effect on 
win32-only. It is not needed on other OSes.

BR,
Martin

________________________________
From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van Assche 
via Devel [devel@lists.sailfishos.org]
Sent: Wednesday, August 15, 2018 9:34 AM
To: Sailfish OS Developers mailing list
Subject: Re: [SailfishDevel] RPM build error

Hi,

Thanks for the help! Removing that line in my spec file fixed the problem.
David's solution is the same by adding some stuff to copy for that line in the 
spec file and works too :)

Since we're talking about spec files, I only care about a simple console 
application for the tests.
If I remove the following things from the spec file:
- %{_datadir}/applications/%{name}.desktop
- %{_datadir}/icons/hicolor/*/apps/%{name}.png

And set the CONFIG in the pro file from sailfishapp to console I can build a 
console application for Sailfish OS I think?

Kind regards,
Dylan Van Assche


Sent with ProtonMail<https://protonmail.com> Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On 15 August 2018 6:02 AM, Martin Kampas <martin.kam...@jolla.com> wrote:

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

Reply via email to