FS#39483 - [tdl] build fails
Attached to Project:
Community Packages
Opened by Joel Teichroeb (klusark) - Sunday, 16 March 2014, 16:04 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 12 April 2014, 16:56 GMT
Opened by Joel Teichroeb (klusark) - Sunday, 16 March 2014, 16:04 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 12 April 2014, 16:56 GMT
|
Details
Description:
Caused by readline 6.3 ==> Starting build()... Testing whether your compiler "gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" works : it works Testing what to include for readline : <readline/readline.h> Testing extra libraries to link with readline : (none) Testing for completion_matches in readline : no Testing for rl_completion_matches in readline : yes Generating Makefile gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c main.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c io.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c add.c main.c:83:22: warning: function definition has qualified void return type [enabled by default] static volatile void unlock_and_exit(int code)/*{{{*/ ^ main.c: In function 'get_database_path': main.c:189:26: warning: function with qualified void return type called [enabled by default] unlock_and_exit(1); ^ main.c: In function 'save_database': main.c:336:22: warning: function with qualified void return type called [enabled by default] unlock_and_exit(1); ^ main.c:343:22: warning: function with qualified void return type called [enabled by default] unlock_and_exit(1); ^ main.c: In function 'process_exit': main.c:540:18: warning: function with qualified void return type called [enabled by default] unlock_and_exit(0); ^ main.c: In function 'process_quit': main.c:559:18: warning: function with qualified void return type called [enabled by default] unlock_and_exit(0); ^ main.c: In function 'guarded_sigaction': main.c:646:20: warning: function with qualified void return type called [enabled by default] unlock_and_exit(1); ^ main.c: In function 'setup_signals': main.c:655:20: warning: function with qualified void return type called [enabled by default] unlock_and_exit(1); ^ main.c: In function 'dispatch': main.c:686:20: warning: function with qualified void return type called [enabled by default] unlock_and_exit(0); ^ main.c:739:24: warning: function with qualified void return type called [enabled by default] unlock_and_exit(-result); ^ main.c:755:22: warning: function with qualified void return type called [enabled by default] unlock_and_exit(0); ^ main.c:761:22: warning: function with qualified void return type called [enabled by default] unlock_and_exit(1); ^ main.c: In function 'main': main.c:865:18: warning: function with qualified void return type called [enabled by default] unlock_and_exit(0); ^ gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c done.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c remove.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c move.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c list.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c report.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c purge.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c util.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c dates.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c impexp.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -c narrow.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DUSE_DOTLOCK=1 -DUSE_READLINE=1 -DBARE_READLINE_H=0 -DUSE_RL_COMPLETION_MATCHES=1 -c inter.c inter.c: In function 'interactive_text_readline': inter.c:559:3: error: unknown type name 'Function' Function *old_rl_pre_input_hook = NULL; ^ inter.c:562:25: warning: assignment from incompatible pointer type [enabled by default] old_rl_pre_input_hook = rl_pre_input_hook; ^ inter.c:568:21: warning: assignment from incompatible pointer type [enabled by default] rl_pre_input_hook = old_rl_pre_input_hook; ^ inter.c: In function 'interactive_text': inter.c:636:41: error: 'CPPFunction' undeclared (first use in this function) rl_attempted_completion_function = (CPPFunction *) null_tdl_completion; ^ inter.c:636:41: note: each undeclared identifier is reported only once for each function it appears in inter.c:636:54: error: expected expression before ')' token rl_attempted_completion_function = (CPPFunction *) null_tdl_completion; ^ inter.c:638:54: error: expected expression before ')' token rl_attempted_completion_function = (CPPFunction *) tdl_completion; ^ inter.c: In function 'interactive': inter.c:656:41: error: 'CPPFunction' undeclared (first use in this function) rl_attempted_completion_function = (CPPFunction *) tdl_completion; ^ inter.c:656:54: error: expected expression before ')' token rl_attempted_completion_function = (CPPFunction *) tdl_completion; ^ Makefile:61: recipe for target 'inter.o' failed make: *** [inter.o] Error 1 ==> ERROR: A failure occurred in build(). Steps to reproduce: sudo extra-x86_64-build |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Saturday, 12 April 2014, 16:56 GMT
Reason for closing: Fixed
Saturday, 12 April 2014, 16:56 GMT
Reason for closing: Fixed
Comment by Doug Newgard (Scimmia) -
Monday, 17 March 2014, 00:16 GMT
More readline 6.3 issues...
Comment by
Alexander F. Rødseth (xyproto) -
Monday, 07 April 2014, 21:50 GMT
Thanks for reporting. Will look into this.
Comment by
Alexander F. Rødseth (xyproto) -
Saturday, 12 April 2014, 16:56 GMT
Patched the readline problems and pushed a new package to
[community].