<div dir="ltr"><div>This isn't a problem on my path as I'm not trying to build telepathy-salut from the source code so I didn't clone telepathy-salut,</div><div>building telepathy-salut locally and on koji doesn't work because of what I stated above, I should've included the error</div><div>I got from the build log earlier; <br></div><div><br></div><div><pre>Patch #1 (update-wocky-to-fix-openssl1.1-build-issue.patch):
+ echo 'Patch #1 (update-wocky-to-fix-openssl1.1-build-issue.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
File lib/ext/wocky is not a regular file -- refusing to patch<br><br></pre></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:monospace,monospace"><br></span></pre><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:arial,sans-serif">You can find the full build log <a href="https://kojipkgs.fedoraproject.org//work/tasks/1714/57311714/build.log">here</a>.<br><br></span></pre><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:arial,sans-serif">The error seems to happen because in the source code, <a href="https://github.com/TelepathyIM/wocky/tree/64062d2f0119b89d15e7bb0e0f6fa54ec23ff7f8">lib/ext/wocky</a> is pointing to a particular commit in the wocky submodule,<br></span></pre><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:arial,sans-serif">hence the patch failing as that's not a regular file.<br></span></pre><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:monospace,monospace"><br></span></pre><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:monospace,monospace">-- <br></span></pre><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><span></span><span></span>Ibiam Chihurumnaya <br></span></div><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><a href="mailto:ibiamchihurumnaya@gmail.com" style="color:rgb(42,118,198)" target="_blank">ibiamchihurumnaya@gmail.com</a></span></div><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><br></span></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 19, 2020 at 12:43 AM James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</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 Thu, Dec 17, 2020 at 12:52:11PM +0100, Chihurumnaya Ibiam wrote:<br>
> Hi Everyone,<br>
> <br>
> I'm currently working on fixing telepathy-salut to use openssl 1.0<br>
> which has been fixed upstream in this [1]commit but the problem is,<br>
> lib/ext/wocky points to a particular commit in the wocky submodule<br>
> of TelepathyIM hence the patch fails as it isn't a regular file,<br>
> it's supposed to be a directory but in this case it's empty as it's<br>
> pointing to a particular commit.<br>
<br>
When the wocky directory is empty, that suggests the submodule has not<br>
been checked out.<br>
<br>
> What are the possible ways to fix this?<br>
<br>
When cloning, use --recurse-submodules. Or, use `git submodule update<br>
--init --recursive` after cloning.<br>
<br>
Should you be preparing a patch for packaging, you can also work<br>
around such git problems by using a recursive diff between two clones<br>
of wocky. You may need to tweak the diffs with sed.<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</blockquote></div>