Date: Wed, 23 May 2018 18:43:42 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228443] devel/cmake: cmake fails to find the 'clog' function (using check_function_exists) in 12 Message-ID: <bug-228443-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228443 Bug ID: 228443 Summary: devel/cmake: cmake fails to find the 'clog' function (using check_function_exists) in 12 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: yuri@freebsd.org Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org 'clog' has been recently added in 12 @ /usr/include/complex.h:104. However, cmake's check_function_exists doesn't find it, see this log: http://beefy11.nyi.freebsd.org/data/head-i386-default/p470591_s333820/logs/= moony-lv2-0.22.0.log This port's CMakeLists.txt has "check_function_exists(clog FreeBSD_CLOG_EXISTS)". The log says that it isn't found (in libraries): > -- Looking for clog > -- Looking for clog - not found But the build later fails because 'clog' is present in the headers: > lcomplex/lcomplex.c:84:16: error: static declaration of 'clog' follows no= n-static declaration > static Complex clog(Complex z) {return log(cabs(z)) + I * carg(z);} ^ > /usr/include/complex.h:104:16: note: previous declaration is here > double complex clog(double complex); > ^ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228443-7788>