[Bug 275881] devel/php82-readline: 8.2.14 fails to build with 'use of undeclared identifier rl_mark'

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Dec 2023 08:50:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275881

            Bug ID: 275881
           Summary: devel/php82-readline: 8.2.14 fails to build with 'use
                    of undeclared identifier rl_mark'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: raul.munoz@custos.es
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

Upgrading php82-readline-8.2.13 to 8.2.14 using portmaster-3.29 on
14.0-RELEASE-p4:

[....]
--- readline.lo ---
 cc -I. -I/usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline
-I/usr/ports/devel/php82-readline/work/php-8.
2.14/ext/readline/include
-I/usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline/main
-I/usr/ports/devel/php
82-readline/work/php-8.2.14/ext/readline -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include
/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/include/php/ext/date/lib -I/usr/lo
cal/include -I/usr/local/include/editline -isystem /usr/local/include
-DHAVE_CONFIG_H -O2 -pipe -fstack-protector-st
rong -isystem /usr/local/include -fno-strict-aliasing -D_GNU_SOURCE
-Wno-strict-prototypes -DZEND_COMPILE_DL_EXT=1 -
c /usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline/readline.c -MMD
-MF readline.dep -MT readline.lo  -fP
IC -DPIC -o .libs/readline.o
/usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline/readline.c:163:38:
error: use of undeclared identifier
'rl_mark'
                add_assoc_long(return_value,"mark",rl_mark);
                                                   ^
/usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline/readline.c:165:47:
error: use of undeclared identifier
'rl_pending_input'
                add_assoc_long(return_value,"pending_input",rl_pending_input);
                                                            ^
/usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline/readline.c:201:16:
error: use of undeclared identifier
'rl_mark'
                        RETVAL_LONG(rl_mark);
                                    ^
/usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline/readline.c:209:13:
error: use of undeclared identifier
'rl_pending_input'
                        oldval = rl_pending_input;
                                 ^
/usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline/readline.c:214:5:
error: use of undeclared identifier 'rl_pending_input'
                                rl_pending_input = Z_STRVAL_P(value)[0];
                                ^
5 errors generated.
*** [readline.lo] Error code 1

make[1]: stopped in
/usr/ports/devel/php82-readline/work/php-8.2.14/ext/readline
[....]

-- 
You are receiving this mail because:
You are the assignee for the bug.