FS#39495 - [quagga] build fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Sunday, 16 March 2014, 23:14 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 27 March 2014, 01:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This is related to the readline 6.3 changes

gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -I. -I.. -I.. -I../lib -I../lib -fPIE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/core_perl/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -I/usr/include -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT vtysh_user.o -MD -MP -MF .deps/vtysh_user.Tpo -c -o vtysh_user.o vtysh_user.c
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -I. -I.. -I.. -I../lib -I../lib -fPIE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/core_perl/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -I/usr/include -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT vtysh_config.o -MD -MP -MF .deps/vtysh_config.Tpo -c -o vtysh_config.o vtysh_config.c
vtysh_user.c:102:1: warning: no previous prototype for 'user_new' [-Wmissing-prototypes]
user_new ()
^
vtysh_user.c:108:1: warning: no previous prototype for 'user_free' [-Wmissing-prototypes]
user_free (struct vtysh_user *user)
^
vtysh_user.c:114:1: warning: no previous prototype for 'user_lookup' [-Wmissing-prototypes]
user_lookup (const char *name)
^
vtysh_user.c:128:1: warning: no previous prototype for 'user_config_write' [-Wmissing-prototypes]
user_config_write ()
^
vtysh_user.c:141:1: warning: no previous prototype for 'user_get' [-Wmissing-prototypes]
user_get (const char *name)
^
vtysh_user.c:169:1: warning: no previous prototype for 'vtysh_auth' [-Wmissing-prototypes]
vtysh_auth ()
^
vtysh_user.c:190:1: warning: no previous prototype for 'vtysh_user_init' [-Wmissing-prototypes]
vtysh_user_init ()
^
vtysh_config.c:51:1: warning: no previous prototype for 'line_cmp' [-Wmissing-prototypes]
line_cmp (char *c1, char *c2)
^
vtysh_config.c:57:1: warning: no previous prototype for 'line_del' [-Wmissing-prototypes]
line_del (char *line)
^
vtysh_config.c:63:1: warning: no previous prototype for 'config_new' [-Wmissing-prototypes]
config_new ()
^
vtysh_config.c:71:1: warning: no previous prototype for 'config_cmp' [-Wmissing-prototypes]
config_cmp (struct config *c1, struct config *c2)
^
vtysh_config.c:77:1: warning: no previous prototype for 'config_del' [-Wmissing-prototypes]
config_del (struct config* config)
^
vtysh_config.c:86:1: warning: no previous prototype for 'config_get' [-Wmissing-prototypes]
config_get (int index, const char *line)
^
vtysh_config.c:125:1: warning: no previous prototype for 'config_add_line' [-Wmissing-prototypes]
config_add_line (struct list *config, const char *line)
^
vtysh_config.c:131:1: warning: no previous prototype for 'config_add_line_uniq' [-Wmissing-prototypes]
config_add_line_uniq (struct list *config, const char *line)
^
vtysh_config.c:145:1: warning: no previous prototype for 'vtysh_config_parse_line' [-Wmissing-prototypes]
vtysh_config_parse_line (const char *line)
^
mv -f .deps/vtysh_user.Tpo .deps/vtysh_user.Po
./extract.pl ../bgpd/*.c ../isisd/*.c ../ospfd/*.c ../ospf6d/*.c ../ripd/*.c ../ripngd/*.c ../babeld/*.c ../lib/keychain.c ../lib/routemap.c ../lib/filter.c ../lib/plist.c ../lib/distribute.c ../lib/if_rmap.c ../lib/vty.c ../zebra/debug.c ../zebra/interface.c ../zebra/irdp_interface.c ../zebra/rtadv.c ../zebra/zebra_vty.c ../zebra/zserv.c ../zebra/router-id.c ../zebra/zebra_routemap.c ../zebra/zebra_fpm.c > vtysh_cmd.c
vtysh_main.c:67:1: warning: no previous prototype for 'sigtstp' [-Wmissing-prototypes]
sigtstp (int sig)
^
vtysh.c:254:1: warning: no previous prototype for 'vtysh_exit_ripd_only' [-Wmissing-prototypes]
vtysh_exit_ripd_only (void)
^
vtysh_main.c:88:1: warning: no previous prototype for 'sigint' [-Wmissing-prototypes]
sigint (int sig)
^
vtysh_main.c:102:1: warning: no previous prototype for 'vtysh_signal_set' [-Wmissing-prototypes]
vtysh_signal_set (int signo, void (*func)(int))
^
vtysh_main.c:125:1: warning: no previous prototype for 'vtysh_signal_init' [-Wmissing-prototypes]
vtysh_signal_init ()
^
vtysh_main.c:172:1: warning: no previous prototype for 'vtysh_rl_gets' [-Wmissing-prototypes]
vtysh_rl_gets ()
^
vtysh.c:550:1: warning: no previous prototype for 'vtysh_rl_describe' [-Wmissing-prototypes]
vtysh_rl_describe (void)
^
vtysh_main.c: In function 'log_it':
vtysh_main.c:205:16: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
char *user = getenv("USER") ? : "boot";
^
vtysh.c:823:1: warning: no previous prototype for 'vtysh_end' [-Wmissing-prototypes]
vtysh_end (void)
^
vtysh_main.c: In function 'main':
vtysh_main.c:313:12: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("/dev/null", "w", stdout);
^
vtysh.c: In function 'vtysh_write_terminal':
vtysh.c:1714:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^
vtysh.c: In function 'write_config_integrated':
vtysh.c:1784:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^
vtysh.c: In function 'execute_command':
vtysh.c:1949:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^
vtysh.c: In function 'vtysh_readline_init':
vtysh.c:2214:22: error: 'Function' undeclared (first use in this function)
rl_bind_key ('?', (Function *) vtysh_rl_describe);
^
vtysh.c:2214:22: note: each undeclared identifier is reported only once for each function it appears in
vtysh.c:2214:32: error: expected expression before ')' token
rl_bind_key ('?', (Function *) vtysh_rl_describe);
^
vtysh.c:2216:39: error: 'CPPFunction' undeclared (first use in this function)
rl_attempted_completion_function = (CPPFunction *)new_completion;
^
vtysh.c:2216:52: error: expected expression before ')' token
rl_attempted_completion_function = (CPPFunction *)new_completion;
^
vtysh.c: At top level:
vtysh.c:671:1: warning: 'new_completion' defined but not used [-Wunused-function]
new_completion (char *text, int start, int end)
^
Makefile:500: recipe for target 'vtysh.o' failed
make[2]: *** [vtysh.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/vtysh_main.Tpo .deps/vtysh_main.Po
mv -f .deps/vtysh_config.Tpo .deps/vtysh_config.Po
make[2]: Leaving directory '/build/quagga/src/quagga-0.99.22.4/vtysh'
Makefile:455: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/quagga/src/quagga-0.99.22.4'
Makefile:386: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Thursday, 27 March 2014, 01:11 GMT
Reason for closing:  Fixed
Comment by Bartłomiej Piotrowski (Barthalion) - Saturday, 22 March 2014, 12:03 GMT
This should fix readline-related issues.

Loading...