Date: Wed, 11 Nov 2020 14:16:38 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250740] mail/mailsync 12.2-RELEASE breaks package build Message-ID: <bug-250740-7788-zwEUeG289G@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250740-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-250740-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250740 Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fernape@FreeBSD.org --- Comment #1 from Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> --- Created attachment 219554 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219554&action= =3Dedit Patch to the ports tree Hi Colin, Thanks for the report. I see mail/mailsync does not build in 11.4 or 12.2 b= ut it does build in 12.1 and 13-current. Would you mind trying this patch? It basically builds with GCC in those cas= es. I will investigate a bit more. The culprit seems to be this in mail/cclient: configure:5854: checking if adding -fno-operator-names helps configure:5864: c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-alias= ing=20 -fno-operator-names -I/usr/local/include/c-client conftest.cpp >&5 In file included from conftest.cpp:32: In file included from /usr/local/include/c-client/c-client.h:42: In file included from /usr/local/include/c-client/osdep.h:29: In file included from /usr/include/c++/v1/stdlib.h:100: In file included from /usr/include/c++/v1/math.h:311: /usr/include/c++/v1/type_traits:1364:1: error: unknown type name 'cclientPrivate' private: ^ /usr/local/include/c-client/c-client.h:35:17: note: expanded from macro 'private' #define private cclientPrivate /* private to c-client */ ^ In file included from conftest.cpp:32: In file included from /usr/local/include/c-client/c-client.h:42: In file included from /usr/local/include/c-client/osdep.h:29: In file included from /usr/include/c++/v1/stdlib.h:100: In file included from /usr/include/c++/v1/math.h:311: /usr/include/c++/v1/type_traits:1365:5: error: expected expression typedef _LIBCPP_NODEBUG_TYPE typename remove_reference<_Tp>::type _Up; ^ /usr/include/c++/v1/type_traits:1367:51: error: use of undeclared identifier '_Up' typedef _LIBCPP_NODEBUG_TYPE typename __decay<_Up, __is_referenceable<_Up>::value>::type type; ^ /usr/include/c++/v1/type_traits:1367:81: error: non-friend class member 'va= lue' cannot have a qualified name typedef _LIBCPP_NODEBUG_TYPE typename __decay<_Up, __is_referenceable<_Up>::value>::type type; =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 ~~^ /usr/include/c++/v1/type_traits:1367:81: error: typedef declarator cannot be qualified typedef _LIBCPP_NODEBUG_TYPE typename __decay<_Up, __is_referenceable<_Up>::value>::type type; =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 ~~^ /usr/include/c++/v1/type_traits:1367:86: error: expected ';' at end of declaration list typedef _LIBCPP_NODEBUG_TYPE typename __decay<_Up, __is_referenceable<_Up>::value>::type type; =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/include/c++/v1/type_traits:1721:1: error: unknown type name 'cclientPrivate' private: ^ With the patch, it builds in {11.4,12.1}{amd64,i386} 12.2amd64 and 13-curre= nt amd64. --=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-250740-7788-zwEUeG289G>