This queue is for tickets about the Term-ReadLine-Gnu CPAN distribution.
Maintainer(s)' notes
When you report a bug, please provide the following information;
- output of
perl -V
perl Makefile.PL verbose
make test TEST_VERBOSE=1
perl -Mblib t/00checkver.t
echo $TERM
- terminal emulator which you are using
- compiler which is used to compile the GNU Readline Library (libreadline.a) if you can know.
Read
INSTALL in the distribution for more details.
Owner: |
Nobody in particular
|
Requestors: |
ppisar [...] redhat.com
|
Cc: |
|
AdminCc: |
|
|
Severity: |
(no value)
|
Broken in: |
1.24 |
Fixed in: |
(no value)
|
|
Tue Jul 15 11:53:22 2014
ppisar [...] redhat.com - Ticket created
I cannot use Term-ReadLine-Gnu-1.24 against readline-6.3.
The problem is readline-6.3 declares rl_executing_key and rl_executing_keyseq symbols, but does not define them. The DynaLoader fails to load the Gnu.so then. However the croak message gets lost somewhere, so this real cause is not easily visible.
This is relevant code from Gnu.xs:
#if (RL_READLINE_VERSION < 0x0603)
/* documented by 6.3 but implemented since 2.1 */
extern int rl_key_sequence_length;
#if (RL_READLINE_VERSION > 0x0600)
/* externed by 6.3 but implemented since 6.1 */
extern void rl_free_keymap PARAMS((Keymap));
#endif
/* features introduced by GNU Readline 6.3 */
static rl_hook_func_t *rl_signal_event_hook = NULL;
static rl_hook_func_t *rl_input_available_hook = NULL;
static int rl_executing_key = 0;
static char *rl_executing_keyseq = NULL;
static int rl_change_environment = 1;
static rl_icppfunc_t *rl_filename_stat_hook = NULL;
void rl_clear_history (void) {}
/*
NOT IMPLEMENTED YET !!!FIXIT!!!
documented by 6.3 but implemented since 2.1
static HISTORY_STATE *history_get_hitory_state();
static void *history_set_hitory_state(HISTORY_STATE *state)
*/
#endif /* (RL_READLINE_VERSION < 0x0603) */
I believe Gnu.xs should define the two symbols.
-- Petr
Wed Jul 16 03:37:31 2014
ppisar [...] redhat.com - Correspondence added
Dne Út 15.čec.2014 11:53:22, ppisar napsal(a):
Show quoted text> I cannot use Term-ReadLine-Gnu-1.24 against readline-6.3.
>
> The problem is readline-6.3 declares rl_executing_key and
> rl_executing_keyseq symbols, but does not define them.
It looks like a downstream breakage on Fedora side <
https://bugzilla.redhat.com/show_bug.cgi?id=1120050>. I'm sorry for bothering you.
-- Petr
Wed Jul 16 10:38:05 2014
HAYASHI [...] cpan.org - Correspondence added
Show quoted text> The problem is readline-6.3 declares rl_executing_key and rl_executing_keyseq symbols, but does not define them.
rl_executing_key and rl_executing_keyseq are defined in readline.c in readline-6.3.
Show quoted text
Never mind.
Let me close this ticket.
Wed Jul 16 10:38:05 2014
The RT System itself - Status changed from 'new' to 'open'