<div dir="ltr">You need to mention these files in .yaml (or user editable part of .spec that's generated from .yaml).<div><br></div><div>Basically here's what happens:</div><div><br></div><div>1. Your project files are mounted to the virtual build machine</div>
<div>2. make install copies data to the appropriate "final" folders on the build machine (not visible from your PC)</div><div>3. RPM generation happens on build machine. RPM packager puts "installed" file to one or more (just one for a simple case) RPM packages according to .yaml/.spec and then it figures that some "installed" files are not going into any .rpm, so it gives you an error:</div>
<div>"<span style="color:rgb(190,20,20);font-family:arial,sans-serif;font-size:16px">Installed (but unpackaged) file(s) found:</span>"</div><div><br></div><div>Cheers,</div><div>Artem.</div><div><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 9:45 PM, Wim de Vries <span dir="ltr"><<a href="mailto:wsvries@xs4all.nl" target="_blank">wsvries@xs4all.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi,<br>
I am able to deploy via RPM. Or better, QtCreator is able to do it
;-)<br>
Still, I need to install some data files as well.<br>
pro file:<br>
<br>
data.files = checklistsdata/*<br>
OTHER_FILES += \<br>
checklistsdata/skyArrow-walkaround \<br>
checklistsdata/skyArrowEMERGENCY \<br>
.....<br>
<br>
In the .pri:<br>
data.path = /home/nemo/checklistsdata<br>
INSTALLS += target qml desktop data<br>
<br>
As far as I understand this should be sufficient.<br>
Still deployment fails.<br>
Any hints?<br>
Thanks.<br>
<br>
Output when deploying:<br>
<br>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">nstall -m 755 -p "checklists"
"/home/deploy/installroot/usr/bin/checklists"</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/main.qml
/home/deploy/installroot/usr/share/checklists/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">cp -f -R
/home/mersdk/qt/checklists/pages
/home/deploy/installroot/usr/share/checklists/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">cp -f -R
/home/mersdk/qt/checklists/cover
/home/deploy/installroot/usr/share/checklists/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">cp -f -R
/home/mersdk/qt/checklists/controls
/home/deploy/installroot/usr/share/checklists/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/main.qml
/home/deploy/installroot/usr/share/checklists/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklists.desktop
/home/deploy/installroot/usr/share/applications/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/eurofox
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/eurofoxEMERGENCY
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO1
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO2
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO3
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO4
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO5
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO6
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO7
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO8
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/GEO9
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/skyArrow
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/skyArrow-walkaround
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">install -m 755 -p
/home/mersdk/qt/checklists/checklistsdata/skyArrowEMERGENCY
/home/deploy/installroot/home/nemo/checklistsdata/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">+ /usr/lib/rpm/find-debuginfo.sh
--strict-build-id /home/mersdk/qt/checklists/</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;color:#be1414">.........<br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;color:#be1414"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;color:#be1414">
</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Processing files:
checklists-0.1-1.i586</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Requires(rpmlib):
rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests)
<= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Requires: libGLESv2.so.2
libQt5Core.so.5 libQt5Gui.so.5 libQt5Network.so.5
libQt5Qml.so.5 libQt5Quick.so.5 libc.so.6 libc.so.6(GLIBC_2.0)
libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libpthread.so.0
libstdc++.so.6 libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH)</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Processing files:
checklists-debugsource-0.1-1.i586</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Processing files:
checklists-debuginfo-0.1-1.i586</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Provides: debuginfo(build-id) =
3196c82eb7247c3f8a80152b57c0863007c4c887</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Requires(rpmlib):
rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests)
<= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Checking for unpackaged file(s):
/usr/lib/rpm/check-files /home/deploy/installroot</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">error: </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;color:#3c3c3c"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;color:#3c3c3c"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">RPM build errors:</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">Installed (but unpackaged) file(s)
found:</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO1</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO2</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO3</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO4</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO5</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO6</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO7</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO8</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO9</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/eurofox</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">
/home/nemo/checklistsdata/eurofoxEMERGENCY</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/skyArrow</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">
/home/nemo/checklistsdata/skyArrow-walkaround</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">
/home/nemo/checklistsdata/skyArrowEMERGENCY</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> Installed (but unpackaged) file(s)
found:</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO1</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO2</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO3</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO4</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO5</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO6</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO7</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO8</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/GEO9</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/eurofox</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">
/home/nemo/checklistsdata/eurofoxEMERGENCY</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414"> /home/nemo/checklistsdata/skyArrow</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">
/home/nemo/checklistsdata/skyArrow-walkaround</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">
/home/nemo/checklistsdata/skyArrowEMERGENCY</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;color:#be1414"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;color:#be1414"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">receiving incremental file list</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">drwxr-xr-x 4096 2013/11/20 14:24:08 .</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">-rwxr-xr-x 376569 2013/11/20 14:24:08
checklists-0.1-1.i586.rpm</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;color:#3c3c3c"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">sent 11 bytes received 69 bytes 160.00
bytes/sec</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">total size is 376569 speedup is
4707.11</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#3c3c3c">Command failed: A filename to install
is required</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-weight:600;color:#be1414">20:16:19: The process
"/home/wim/.config/SailfishAlpha2/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy"
exited with code 3.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">Error while building/deploying project
checklists (kit: MerSDK-SailfishOS-i486-x86-GCC (MerSDK
SailfishOS-i486-x86))</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#be1414">When executing step 'Rpm'</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#1414be">20:16:19: Elapsed time: 00:06.</span></p>
<br>
<p></p>
<br>
</div>
<br>_______________________________________________<br>
SailfishOS.org Devel mailing list<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Artem Marchenko<br><a href="http://agilesoftwaredevelopment.com" target="_blank">http://agilesoftwaredevelopment.com</a><br>
<a href="http://twitter.com/AgileArtem" target="_blank">http://twitter.com/AgileArtem</a>
</div>