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, building telepathy-salut locally and on koji doesn't work because of what I stated above, I should've included the error I got from the build log earlier;
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 You can find the full build log here <https://kojipkgs.fedoraproject.org//work/tasks/1714/57311714/build.log>. The error seems to happen because in the source code, lib/ext/wocky <https://github.com/TelepathyIM/wocky/tree/64062d2f0119b89d15e7bb0e0f6fa54ec23ff7f8> is pointing to a particular commit in the wocky submodule, hence the patch failing as that's not a regular file. -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sat, Dec 19, 2020 at 12:43 AM James Cameron <qu...@laptop.org> wrote: > On Thu, Dec 17, 2020 at 12:52:11PM +0100, Chihurumnaya Ibiam wrote: > > Hi Everyone, > > > > I'm currently working on fixing telepathy-salut to use openssl 1.0 > > which has been fixed upstream in this [1]commit but the problem is, > > lib/ext/wocky points to a particular commit in the wocky submodule > > of TelepathyIM hence the patch fails as it isn't a regular file, > > it's supposed to be a directory but in this case it's empty as it's > > pointing to a particular commit. > > When the wocky directory is empty, that suggests the submodule has not > been checked out. > > > What are the possible ways to fix this? > > When cloning, use --recurse-submodules. Or, use `git submodule update > --init --recursive` after cloning. > > Should you be preparing a patch for packaging, you can also work > around such git problems by using a recursive diff between two clones > of wocky. You may need to tweak the diffs with sed. > > -- > James Cameron > http://quozl.netrek.org/ >
_______________________________________________ SoaS mailing list SoaS@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/soas