Patrick Ohly <[email protected]> writes:

> Milan Crha <[email protected]> writes:
>> On Sat, 2020-12-19 at 12:40 +0100, Patrick Ohly wrote:
>>> I have tagged and built SyncEvolution 1.99.1, a pre-release of what
>>> will become 2.0.0.
>>
>>      Hi,
>> I gave it a try under Fedora Rawhide and after removing unneeded
>> downstream patches and updating one due to the boost changes (see the
>> attached patch) I get a linker error (see the very end of the log):
>> https://kojipkgs.fedoraproject.org//work/tasks/2132/58912132/build.log
>
> Unfortunately I looked at this too late and now the link isn't working
> anymore. Do you have a more recent build log with the failure?
>
> I also tried to reproduce this and (at the same time) prevent future
> regressions by building on rawhide inside a Docker container. However,
> that currently fails because rawhide containers don't work on current
> runc runtimes (https://bugzilla.redhat.com/show_bug.cgi?id=1900021).

I was able to work around that by disabling the seccomp filter in the
"docker run" invocation.

I fixed a few compiler warnings related to C++17 and GObject
deprecations and now it fails to link with:

libtool: link: g++ -Wl,--as-needed  -fPIC -DPIC -shared -nostdlib 
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crti.o 
/usr/lib/gcc/x86_64-redhat-linux/11/crtbeginS.o  
src/backends/akonadi/.libs/syncakonadi_la-akonadisyncsource.o   -Wl,-rpath 
-Wl,/srv/runtests/docker/2021-01-30-06-46-fedora-rawhide-fedoraw-rawhide/tmp/build/src/syncevo/.libs
 -Wl,-rpath -Wl,/usr/lib64 -L/usr/lib64/ -lakonadi-kde -lQtDBus -lQtXml 
-lQtCore -lkdeui -lkdecore src/syncevo/.libs/libsyncevolution.so -lrt -L. 
-L/usr/lib/gcc/x86_64-redhat-linux/11 
-L/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64 -L/lib/../lib64 
-L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../.. -lstdc++ -lm 
-lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/11/crtendS.o 
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crtn.o  -Wl,--as-needed 
-g -O2 -Wl,--as-needed   -pthread -Wl,-soname -Wl,syncakonadi.so -o 
src/backends/akonadi/.libs/syncakonadi.so
/usr/bin/ld: cannot find -lkdeui
/usr/bin/ld: cannot find -lkdecore

That's with --enable-akonadi, something that I wanted to stop testing
because there are known issues with it even when it compiles. Perhaps
also remove KDE support from the Fedora .spec file?

-- 
Best Regards

Patrick Ohly
_______________________________________________
SyncEvolution mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to