Date: Mon, 30 Sep 2024 15:20:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281776] devel/readline: 8.2.13_1 update breaks build of net/samba419 Message-ID: <bug-281776-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281776 Bug ID: 281776 Summary: devel/readline: 8.2.13_1 update breaks build of net/samba419 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: chris@chrullrich.net CC: samba@FreeBSD.org, sunpoet@FreeBSD.org CC: samba@FreeBSD.org, sunpoet@FreeBSD.org The recent patch to devel/readline breaks the build of net/samba419. readli= ne is an unavoidable dependency there. (Python needs it, and Samba needs Pytho= n.) [00:01:18] [1683/2606] Compiling libcli/smbreadline/smbreadline.c [00:01:18] runner ['cc', '-D_SAMBA_BUILD_=3D4', '-DHAVE_CONFIG_H=3D1', '-O2= ', '-pipe', '-march=3Dhaswell', '-DLIBICONV_PLUG', '-DLDAP_DEPRECATED', '-fno-color-diagnostics', '-fstack-protector-strong', '-isystem', '/usr/local/include', '-fno-strict-aliasing', '-fno-omit-frame-pointer', '-MMD', '-D_GNU_SOURCE=3D1', '-D_XOPEN_SOURCE_EXTENDED=3D1', '-DHAVE_CONFIG= _H=3D1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=3D1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_SMBREADLINE_MODULES=3DNULL', '-DSTATIC_SMBREADLINE_MODULES_PROTO= =3Dextern void __SMBREADLINE_dummy_module_proto(void)', '-Ilibcli/smbreadline', '-I../../libcli/smbreadline', '-Iinclude/public', '-I../../include/public', '-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib', '-I../../source4/lib', '-Isource4/include', '-I../../source4/include', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-I= .', '-I../..', '-I/usr/local/include', '../../libcli/smbreadline/smbreadline.c', '-c', '-o/wrkdirs/usr/ports/net/samba419/work/samba-4.19.8/bin/default/libcli/smb= readline/smbreadline.c.1.o', '-DLIBICONV_PLUG', '-isystem', '/usr/local/include'] [00:01:18] ../../libcli/smbreadline/smbreadline.c:139:38: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] [00:01:18] 139 | rl_attempted_completion_function =3D RL_COMPLETION_CAST completion_fn; [00:01:18] | ^ [00:01:18] ../../lib/replace/system/readline.h:50:31: note: expanded from m= acro 'RL_COMPLETION_CAST' [00:01:18] 50 | # define RL_COMPLETION_CAST (CPPFunction *) [00:01:18] | ^ [00:01:18] /usr/local/include/readline/rltypedefs.h:38:50: note: 'CPPFuncti= on' has been explicitly marked deprecated here [00:01:18] 38 | typedef char **CPPFunction (void) __attribute__((deprecated)); [00:01:18] | ^ [00:01:18] ../../libcli/smbreadline/smbreadline.c:139:36: error: incompatib= le function pointer types assigning to 'rl_completion_func_t *' (aka 'char **(*)(const char *, int, int)') from 'CPPFunction *' (aka 'char **(*)(void)= ') [-Wincompatible-function-pointer-types] [00:01:18] 139 | rl_attempted_completion_function =3D RL_COMPLETION_CAST completion_fn; [00:01:18] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:01:18] 1 warning and 1 error generated. [00:01:18]=20 [00:01:18] Waf: Leaving directory `/wrkdirs/usr/ports/net/samba419/work/samba-4.19.8/bin/default' [00:01:18] Build failed --=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-281776-7788>