-- pcre_jit_exec is -NOT- supported -- pthread_mutexattr_setpshared is supported CMake Error at CMakeLists.txt:1073 (MESSAGE): Your system does not support getaddrinfo call, please consider upgrading it to run rspamd ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_libressl_20171214-165920 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv mail-filter/rspamd [ebuild N ] mail-filter/rspamd-1.6.5 USE="jit libressl -fann -gd -jemalloc -pcre2" CPU_FLAGS_X86="ssse3"
Created attachment 511096 [details] emerge-info.txt
Created attachment 511098 [details] CMakeError.log
Created attachment 511100 [details] CMakeOutput.log
Created attachment 511102 [details] emerge-history.txt
Created attachment 511104 [details] environment
Created attachment 511106 [details] etc.portage.tbz2
Created attachment 511108 [details] logs.tbz2
Created attachment 511110 [details] mail-filter:rspamd-1.6.5:20171220-014535.log
Created attachment 511112 [details] temp.tbz2
For me it looks like you have some trouble with your glibc. But I am not sure. When looking at the Cmake error log file, I see many times that libnsl is not found. Do you have any /lib64/libnsl-* file? Are you sure, your "unstable" system is not broken? You use gcc 7.2 and latest glibc. Is your @system env built cleanly?
I am having the same issue. I tried re-emerging system with "emerge -pvuDUe --with-bdeps=y system". After that, re-emerging world with the same command, I get this error. I do have libnsl in /lib: minuteware ~ # ll /lib/libnsl* -rwxr-xr-x 1 root root 90K Jan 3 21:19 /lib/libnsl-2.26.so lrwxrwxrwx 1 root root 14 Jan 3 21:18 /lib/libnsl.so.1 -> libnsl-2.26.so If I emerge net-libs/libnsl, rspamd builds correctly. Is that a dependency issue? Perhaps net-libs/libnsl should be added as a dependency of rspamd. My system is ~x86, GCC i686-pc-linux-gnu-7.2.0, sys-libs/glibc-2.26-r5
Emerging net-libs/libnsl before mail-filter/rspamd solved the build problem for me as well.
Same issue here "cannot find -lns" in CMakeError.log) with rspamd-1.7.5 Actually libnsl is required https://github.com/vstakhov/rspamd/blob/1.7.5/CMakeLists.txt#L564 If I emerge net-libs/libnsl, rspamd builds correctly. I think it should be added as a dependency.
Christian, it looks like we should add nsl as a dependency. Can you sort that out?
I will find time at the end of next week.
Are you still able to reproduce with latest v1.8.3?