Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503600 - <dev-perl/Term-ReadLine-Gnu-1.220.0 with =sys-libs/readline-6.3 - Gnu.xs:63:1: erreur: unknown type name ‘Function’ extern Function *rl_last_func;
Summary: <dev-perl/Term-ReadLine-Gnu-1.220.0 with =sys-libs/readline-6.3 - Gnu.xs:63:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: http://cpansearch.perl.org/src/HAYASH...
Whiteboard:
Keywords:
Depends on:
Blocks: readline-6.3
  Show dependency tree
 
Reported: 2014-03-06 10:41 UTC by Guillaume Castagnino
Modified: 2014-03-09 07:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Castagnino 2014-03-06 10:41:55 UTC
=dev-perl/Term-ReadLine-Gnu-1.200.0 needs fix with readline 6.3:

Gnu.xs:63:1: erreur: unknown type name ‘Function’
 extern Function *rl_last_func;
 ^
Gnu.xs:63:18: erreur: conflicting types for ‘rl_last_func’
 extern Function *rl_last_func;
                  ^
In file included from Gnu.xs:28:0:
/usr/include/readline/readline.h:544:27: note: previous declaration of ‘rl_last_func’ was here
 extern rl_command_func_t *rl_last_func;
                           ^
Gnu.xs:488:3: erreur: unknown type name ‘Function’
   Function **rlfuncp;  /* GNU Readline Library variable */
   ^
Gnu.xs:489:3: erreur: unknown type name ‘Function’
   Function *defaultfn;  /* default function */
   ^
Gnu.xs:490:3: erreur: unknown type name ‘Function’
   Function *wrapper;  /* wrapper function */
   ^
Gnu.xs:493:3: attention : initialization from incompatible pointer type [enabled by default]
   { &rl_startup_hook, NULL, startup_hook_wrapper, NULL }, /* 0 */
   ^





The fix is easy, simply bump to Term-ReadLine-Gnu-1.22: fix is included !
Comment 1 SpanKY gentoo-dev 2014-03-09 07:02:00 UTC
should be all set now in the tree; thanks for the report!

Commit message: Version bump for readline-6.3 support
http://sources.gentoo.org/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.220.0.ebuild?rev=1.1