Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641796 - mail-filter/rspamd-1.6.5: CMake Error at CMakeLists.txt:1073: Your system does not support getaddrinfo call
Summary: mail-filter/rspamd-1.6.5: CMake Error at CMakeLists.txt:1073: Your system doe...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christian Roessner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 10:09 UTC by Toralf Förster
Modified: 2019-01-16 12:48 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.06 KB, text/plain)
2017-12-20 10:09 UTC, Toralf Förster
Details
CMakeError.log (CMakeError.log,107.21 KB, text/plain)
2017-12-20 10:09 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,109.59 KB, text/plain)
2017-12-20 10:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,234.48 KB, text/plain)
2017-12-20 10:09 UTC, Toralf Förster
Details
environment (environment,141.35 KB, text/plain)
2017-12-20 10:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.92 KB, application/x-bzip)
2017-12-20 10:09 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.15 KB, application/x-bzip)
2017-12-20 10:09 UTC, Toralf Förster
Details
mail-filter:rspamd-1.6.5:20171220-014535.log (mail-filter:rspamd-1.6.5:20171220-014535.log,14.54 KB, text/plain)
2017-12-20 10:09 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.79 KB, application/x-bzip)
2017-12-20 10:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-20 10:09:10 UTC
-- 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"
Comment 1 Toralf Förster gentoo-dev 2017-12-20 10:09:13 UTC
Created attachment 511096 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-20 10:09:16 UTC
Created attachment 511098 [details]
CMakeError.log
Comment 3 Toralf Förster gentoo-dev 2017-12-20 10:09:19 UTC
Created attachment 511100 [details]
CMakeOutput.log
Comment 4 Toralf Förster gentoo-dev 2017-12-20 10:09:22 UTC
Created attachment 511102 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-12-20 10:09:25 UTC
Created attachment 511104 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-12-20 10:09:28 UTC
Created attachment 511106 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-12-20 10:09:31 UTC
Created attachment 511108 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-12-20 10:09:34 UTC
Created attachment 511110 [details]
mail-filter:rspamd-1.6.5:20171220-014535.log
Comment 9 Toralf Förster gentoo-dev 2017-12-20 10:09:37 UTC
Created attachment 511112 [details]
temp.tbz2
Comment 10 Christian Roessner 2017-12-28 09:42:24 UTC
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?
Comment 11 Andrii Yurchuk 2018-01-04 12:12:04 UTC
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
Comment 12 Rabbe Fogelholm 2018-03-12 21:42:18 UTC
Emerging net-libs/libnsl before mail-filter/rspamd solved the build problem for me as well.
Comment 13 ABLM 2018-06-26 04:48:23 UTC
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.
Comment 14 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-06-27 09:16:38 UTC
Christian, it looks like we should add nsl as a dependency. Can you sort that out?
Comment 15 Christian Roessner 2018-06-27 16:16:28 UTC
I will find time at the end of next week.
Comment 16 Thomas Deutschmann (RETIRED) gentoo-dev 2019-01-16 12:48:50 UTC
Are you still able to reproduce with latest v1.8.3?