<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi Schorsch,</p>
<p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> it finds only the already installed lib.</p>
<p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">So that's a bug - the repositories are not refreshed automatically in the Docker-based build engine.</p>
<p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">You can fix that simply by using Qt Creator > Options > Sailfish OS > Build Engine > Manage Build Targets > Refresh or from command line with `sfdk tools update` for each build target.</p>
<p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">BR,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Martin</p>
<p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On úterý 12. května 2020 7:08:21 CEST george b wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Thank you both for your comments. One step closer, but does not solve my</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> issue.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> If I use the GUI way to search for the devel headers, it finds only the</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> already installed lib.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> SSH into the mer docker build engine results in similar output:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > ssh -p 2222 -i</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> ~/bins//SailfishOS317/vmshare/ssh/private_keys/engine/mersdk</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> mersdk@localhost</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > sb2 -t SailfishOS-3.3.0.16-armv7hl -m sdk-install -R zypper up</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Loading repository data...</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Reading installed packages...</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Nothing to do.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > sb2 -t SailfishOS-3.3.0.16-armv7hl -m sdk-install -R zypper se *ssl*</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Loading repository data...</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Reading installed packages...</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> S | Name         | Summary                                             |</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Type</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> --+--------------+-----------------------------------------------------+----</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> ---- i | openssl-libs | A general purpose cryptography library with TLS i-></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> | package</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > ls</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> /host_install/mersdk/targets/SailfishOS-3.3.0.16-armv7hl/usr/include/openssl</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> * ls: cannot access</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> '/host_install/mersdk/targets/SailfishOS-3.3.0.16-armv7hl/usr/include/openss</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> l': No such file or directory</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> It seems to me that the openssl-devel package is not available in the repo,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> neither installed in the system. Same issue for libxml2-devel.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Further suggestions are welcome :-).</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Best regards</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Schorsch</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Am Mo., 11. Mai 2020 um 22:14 Uhr schrieb Martin Kampas <</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> martin.kampas@jolla.com>:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Hi George,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > As long as you list all your dependencies in the .spec file (you seem to</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > do so in the linked sources), you do not need to do anything to get them</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > installed. Installing build time dependencies happens automatically as</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > part</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > of the build process.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Should you need to manage packages under build targets for some reason,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > you may use either Qt Creator > Options > Sailfish OS > Build Engine ></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Manage Build Targets > Manage packages, or achieve the same on command</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > line</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > with `sfdk tools package-install` and related commands. Find sfdk in the</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > bin subdirectory of Sailfish SDK installation directory.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > BR,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Martin</p>
<p> <p> </body>
</html>