<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 5, 2022 at 8:53 AM Christoph Cullmann (<a href="http://cullmann.io">cullmann.io</a>) <<a href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2022-01-04 20:23, Ben Cooksley wrote:<br>
> On Wed, Jan 5, 2022 at 6:36 AM Christoph Cullmann (<a href="http://cullmann.io" rel="noreferrer" target="_blank">cullmann.io</a> [1])<br>
> <<a href="mailto:christoph@cullmann.io" target="_blank">christoph@cullmann.io</a>> wrote:<br>
> <br>
>> On 2022-01-04 18:24, Ben Cooksley wrote:<br>
>>> Hi all,<br>
>>> <br>
>>> Next update in this saga appears to be a defect in KDeclarative,<br>
>> which<br>
>>> apparently has a hard dependency on KGlobalAccel.<br>
>>> <a href="https://invent.kde.org/sysadmin/ci-management/-/jobs/195039" rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/ci-management/-/jobs/195039</a><br>
>>> <br>
>>> While this is something that we have previously built on Windows,<br>
>> from<br>
>>> my understanding it is essentially a no-op that does nothing so we<br>
>>> should probably skip building it.<br>
>>> <br>
>>> Can someone please take a look into this and advise whether<br>
>>> KDeclarative can also make it optional?<br>
>> <br>
>> Hi,<br>
>> <br>
>> I can take a look.<br>
> <br>
> If you could, that would be much appreciated.<br>
<br>
Nicolas was faster :=)<br>
<br>
I would assume master should already build.<br>
<br>
I have some additional small patch here<br>
<br>
<a href="https://invent.kde.org/frameworks/kdeclarative/-/commit/7200ad3d518f199ac040afcaf8d3330fd3f79ab7" rel="noreferrer" target="_blank">https://invent.kde.org/frameworks/kdeclarative/-/commit/7200ad3d518f199ac040afcaf8d3330fd3f79ab7</a><br>
<br>
Btw., it seems the unit tests fail in the classic CI.<br>
Is it possible that some data/ dir is created in bin/ for Windows?<br>
This seems to confuse the auto tests where to find their input.<br></blockquote><div><br></div><div>Yes, that is to be expected.<br></div><div><br></div><div>On Windows QStandardPaths expects to find resources in the folder data/ immediately relative to the executable.</div><div>As our executables are installed into bin/ we therefore have to install those resources (which on a OSS Unix system would be in $prefix/share/) into $prefix/bin/data/</div><div><br></div><div>The CI Tooling also does some additional tweaking in that department by copying in the resources from the libraries made available via Craft to that location as well (otherwise things like shared-mime-database won't be found)<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Greetings<br>
Christoph<br></blockquote><div><br></div><div>Cheers,</div><div>Ben</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> <br>
>> Greetings<br>
>> Christoph<br>
> <br>
> Cheers,<br>
> Ben<br>
> <br>
>>> <br>
>>> Thanks,<br>
>>> Ben<br>
>>> <br>
>>> On Tue, Jan 4, 2022 at 7:51 AM Ben Cooksley <<a href="mailto:bcooksley@kde.org" target="_blank">bcooksley@kde.org</a>><br>
>> wrote:<br>
>>> <br>
>>>> On Mon, Jan 3, 2022 at 9:00 AM Ben Cooksley <<a href="mailto:bcooksley@kde.org" target="_blank">bcooksley@kde.org</a>><br>
>>>> wrote:<br>
>>>> <br>
>>>>> Hi all,<br>
>>>>> <br>
>>>>> Over the past few days substantial progress has been made in<br>
>>>>> getting Windows builds running under Gitlab, to the point where<br>
>>>>> some Frameworks are now successfully compiling.<br>
>>>>> <br>
>>>>> Unfortunately we've run into a little issue with breeze-icons as<br>
>>>>> can be seen at<br>
>>>>> <a href="https://invent.kde.org/sysadmin/ci-management/-/jobs/193039" rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/ci-management/-/jobs/193039</a><br>
>>>> <br>
>>>> Following investigation and some testing by Harald we've<br>
>> confirmed<br>
>>>> that this is a CMake bug - with it being unable to handle<br>
>> symlinks<br>
>>>> on Windows correctly.<br>
>>>> For now I shall workaround the issue by disabling use of symlinks<br>
>> on<br>
>>>> Windows in Git (git config --system core.symlinks false) however<br>
>>>> that is not an ideal long term fix.<br>
>>>> <br>
>>>> Do we have any contacts at CMake we can escalate this bug to?<br>
>>>> <br>
>>>> As for why this didn't show up earlier - it seems our Windows<br>
>>>> builders for Jenkins have symlinks disabled (indicating that<br>
>> either<br>
>>>> the feature was still too experimental back then or that we did<br>
>> hit<br>
>>>> this back then and worked around it then as well)<br>
>>>> <br>
>>>>> Any ideas?<br>
>>>>> <br>
>>>>> Thanks,<br>
>>>>> Ben<br>
>>>> <br>
>>>> Cheers,<br>
>>>> Ben<br>
>> <br>
>> --<br>
>> Ignorance is bliss...<br>
>> <a href="https://cullmann.io" rel="noreferrer" target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" rel="noreferrer" target="_blank">https://kate-editor.org</a><br>
> <br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="http://cullmann.io" rel="noreferrer" target="_blank">http://cullmann.io</a><br>
<br>
-- <br>
Ignorance is bliss...<br>
<a href="https://cullmann.io" rel="noreferrer" target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" rel="noreferrer" target="_blank">https://kate-editor.org</a><br>
</blockquote></div></div>