<div dir="ltr">Thanks Tanghus! As discussed earlier, I needed to remove the /lib subfolder from those paths to build the project. Now it makes the RPM packages nicely, but I noticed some errors: <div><span style="color:rgb(170,0,0)">WARNING: translations.path is not defined: install target not created<br>- -</span></div><div><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">- -</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir</span></p><p style="margin:0px">
</p><p style="margin:0px"><span style="color:rgb(170,0,0)">warning: File listed twice: /usr/lib/debug/.build-id</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)"><br></span></p></div><div>Also, RPM validator says the following:<p style="margin:0px"><font color="#000000">- -</font></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">Libraries</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">=========</span></p>
<p style="margin:0px"><span style="color:rgb(0,170,170)">INFO</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so</span><span style="color:rgb(0,0,0)">] Shared library for private QML import (qmldir found)</span></p>
<p style="margin:0px"><span style="color:rgb(0,170,0)">PASSED</span></p>
<p style="margin:0px;color:rgb(0,0,0)">- -</p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">Provides</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">========</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libinsomniac.so</span><span style="color:rgb(0,0,0)">] 'Provides: libinsomniac.so' not allowed in RPM</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">FAILED</span></p>
<p style="margin:0px;color:rgb(0,0,0)">- -</p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">Requires</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">========</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libc.so.6(GLIBC_2.17)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libc.so.6(GLIBC_2.17)'</span></p>
<p style="margin:0px"><span style="color:rgb(0,170,170)">INFO</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">harbour-simplestopwatch</span><span style="color:rgb(0,0,0)">] Please see our FAQ here: <a href="https://harbour.jolla.com/faq#2.6.0">https://harbour.jolla.com/faq#2.6.0</a> how to use '__provides_exclude_from' and '__requires_exclude' .spec file to avoid that</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">FAILED</span></p>
<p style="margin:0px;color:rgb(0,0,0)">- -</p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">RPATH</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">=====</span></p>
<p style="margin:0px"><span style="color:rgb(0,170,0)">OK</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">rpath in binary seems to be ok: '/usr/share/harbour-simplestopwatch/lib'</span><span style="color:rgb(0,0,0)">]</span></p>
<p style="margin:0px"><span style="color:rgb(0,170,0)">PASSED</span></p>
<p style="margin:0px;color:rgb(0,0,0)">- -</p>
<p style="margin:0px;color:rgb(0,0,0)"><br></p><p style="margin:0px;color:rgb(0,0,0)"><span style="color:rgb(34,34,34)">So, I can't submit it to the Harbour. How to fix? :) I updated my source code at <a href="http://github.com/jollailija/simplestopwatch">github.com/jollailija/simplestopwatch</a></span><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-27 16:01 GMT+03:00 Thomas Tanghus <span dir="ltr"><<a href="mailto:thomas@tanghus.net" target="_blank">thomas@tanghus.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday 25 September 2015 15:58:28 <a href="mailto:jollailija@gmail.com">jollailija@gmail.com</a> wrote:<br>
> Maybe I am just too tired, but I don't understand what I should be looking<br>
> for in the <a href="http://kitchentimer.pro" rel="noreferrer" target="_blank">kitchentimer.pro</a> file. I'll look at it more tomorrow<br>
<br>
</span>I'm not quite sure how this works, but in /rpm/harbour-simplestopwatch.yaml<br>
try to add under "Files:":<br>
<br>
- '%{_datadir}/%{name}/lib/harbour/simplestopwatch/insomniac'<br>
- '%{_datadir}/%{name}/lib/harbour/simplestopwatch'<br>
- '%{_datadir}/%{name}/lib/harbour'<br>
<br>
At least that's how it looks in my setup.<br>
<span class="im HOEnZb"><br>
--<br>
Med venlig hilsen / Best regards<br>
<br>
Thomas Tanghus<br>
<br>
</span><div class="HOEnZb"><div class="h5">A: Because it breaks the logical sequence of discussion<br>
Q: Why is top posting bad?<br>
</div></div><br>_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br></blockquote></div><br></div>