Summary: | devel/readline: 8.2.13_1 update breaks build of net/samba419 and net/samba416 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Christian Ullrich <chris> | ||||
Component: | Individual Port(s) | Assignee: | FreeBSD Samba Team <samba> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | 0mp, crest, dim, freebsd, kib, nikita, rozhuk.im, samba, sunpoet, tomas, yasu | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281633 | ||||||
Bug Depends on: | 281817, 281818 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Christian Ullrich
2024-09-30 15:20:22 UTC
Thanks for the report! I could confirm that it breaks net/samba{416,419}. *** Bug 281789 has been marked as a duplicate of this bug. *** As workaround add to make.conf: .if ${.CURDIR:M*/net/samba419} CFLAGS+=-D_FUNCTION_DEF .endif (In reply to Po-Chuan Hsieh from comment #2) Confirm for both (FreeBSD 14.1, Poudriere) Created attachment 253952 [details]
Patch file
Fix build after commit ee994524fffd.
I confirmed build of net/samba416 and net/samba419 succeeds with poudriere and 14.1-RELEASE amd64 jail.
(In reply to Yasuhiro Kimura from comment #6) I've not looked deep into why -D_FUNCTION_DEF would fix the issue, but if it is working, let's commit that. Reviewed by: 0mp (In reply to Mateusz Piotrowski from comment #7) It works because readline tries to deprecate parts of its API, but the header setting __attribute__((deprecated)) provides an escape hatch: https://git.savannah.gnu.org/cgit/readline.git/tree/rltypedefs.h#n31. (lines 31 to 44). *** Bug 281818 has been marked as a duplicate of this bug. *** If it is only a temporary fix, then let's go for the fix suggested by dim@ in 281818. Comment on attachment 253952 [details]
Patch file
Let's commit the patch suggested by dim@ in 281818.
Fixes for samba have been committed: * net/samba416: https://cgit.freebsd.org/ports/commit/?id=48cea5704f4376df85a42c5b145c62f8830c6822 * net/samba419: https://cgit.freebsd.org/ports/commit/?id=c81f658808ee608f60198584a870087946cefc98 Thank you, Dimitry! |