[MacPorts] #59590: impitool @1.8.18.20190905: error: use of undeclared identifier 'rl_event_hook'

MacPorts noreply at macports.org
Mon Nov 4 15:02:26 UTC 2019


#59590: impitool @1.8.18.20190905: error: use of undeclared identifier
'rl_event_hook'
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  drkp
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  impitool
------------------------+----------------------
 [https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/1282/steps
 /install-port/logs/stdio ipmitool does not build]:

 {{{
 /usr/bin/clang -DHAVE_CONFIG_H -I. -I..  -I../include -I/opt/local/include
 -Ds6_addr16=__u6_addr.__u6_addr16  -pipe -Os -arch x86_64 -Wall -Wextra
 -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -MT ipmishell.o -MD -MP
 -MF .deps/ipmishell.Tpo -c -o ipmishell.o ipmishell.c
 ipmishell.c:114:3: error: use of undeclared identifier 'rl_event_hook'
                 rl_event_hook = rl_event_keepalive;
                 ^
 ipmishell.c:118:3: warning: implicit declaration of function
 'rl_set_keyboard_input_timeout' is invalid in C99 [-Wimplicit-function-
 declaration]
                 rl_set_keyboard_input_timeout(1000 * 1000 - 1);
                 ^
 }}}

 This is not surprising to me, since `rl_event_hook` and
 `rl_set_keyboard_input_timeout` are in libreadline, and it is not linking
 with `-lreadline` here (though it is elsewhere; I don't know why it's not
 here).

 Please check the other open tickets as well for other build failures.

-- 
Ticket URL: <https://trac.macports.org/ticket/59590>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list