FS#39282 - [cdcd] build fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 15:23 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 11 March 2014, 20:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Federico Cinelli (Cinelli)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_FORTIFY_SOURCE=2 -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT cdcd-interface.o -MD -MP -MF ".deps/cdcd-interface.Tpo" -c -o cdcd-interface.o `test -f 'interface.c' || echo './'`interface.c; \
then mv -f ".deps/cdcd-interface.Tpo" ".deps/cdcd-interface.Po"; else rm -f ".deps/cdcd-interface.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_FORTIFY_SOURCE=2 -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT cdcd-cmdline.o -MD -MP -MF ".deps/cdcd-cmdline.Tpo" -c -o cdcd-cmdline.o `test -f 'cmdline.c' || echo './'`cmdline.c; \
then mv -f ".deps/cdcd-cmdline.Tpo" ".deps/cdcd-cmdline.Po"; else rm -f ".deps/cdcd-cmdline.Tpo"; exit 1; fi
interface.c: In function 'cddb_lookup':
interface.c:364:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets (inbuffer, 256, stdin);
^
if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_FORTIFY_SOURCE=2 -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT cdcd-cmd_cdcd.o -MD -MP -MF ".deps/cdcd-cmd_cdcd.Tpo" -c -o cdcd-cmd_cdcd.o `test -f 'cmd_cdcd.c' || echo './'`cmd_cdcd.c; \
then mv -f ".deps/cdcd-cmd_cdcd.Tpo" ".deps/cdcd-cmd_cdcd.Po"; else rm -f ".deps/cdcd-cmd_cdcd.Tpo"; exit 1; fi
cmd_cdcd.c: In function 'cmd_cdcd_mainloop':
cmd_cdcd.c:1269:39: error: 'CPPFunction' undeclared (first use in this function)
rl_attempted_completion_function = (CPPFunction *) cdcd_completion;
^
cmd_cdcd.c:1269:39: note: each undeclared identifier is reported only once for each function it appears in
cmd_cdcd.c:1269:52: error: expected expression before ')' token
rl_attempted_completion_function = (CPPFunction *) cdcd_completion;
^
cmd_cdcd.c: In function 'cmd_excl':
cmd_cdcd.c:270:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
system ("sh");
^
cmd_cdcd.c:275:14: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
system (cmd);
^
Makefile:445: recipe for target 'cdcd-cmd_cdcd.o' failed
make[2]: *** [cdcd-cmd_cdcd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/cdcd/src/cdcd-0.6.6'
Makefile:640: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/cdcd/src/cdcd-0.6.6'
Makefile:222: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
This task depends upon

Closed by  Jelle van der Waa (jelly)
Tuesday, 11 March 2014, 20:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed
Comment by Joel Teichroeb (klusark) - Monday, 10 March 2014, 15:24 GMT
Wow, I did a bad job entering that. It should say in the title "build failed"

And the message should be

if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_FORTIFY_SOURCE=2 -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT cdcd-interface.o -MD -MP -MF ".deps/cdcd-interface.Tpo" -c -o cdcd-interface.o `test -f 'interface.c' || echo './'`interface.c; \
then mv -f ".deps/cdcd-interface.Tpo" ".deps/cdcd-interface.Po"; else rm -f ".deps/cdcd-interface.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_FORTIFY_SOURCE=2 -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT cdcd-cmdline.o -MD -MP -MF ".deps/cdcd-cmdline.Tpo" -c -o cdcd-cmdline.o `test -f 'cmdline.c' || echo './'`cmdline.c; \
then mv -f ".deps/cdcd-cmdline.Tpo" ".deps/cdcd-cmdline.Po"; else rm -f ".deps/cdcd-cmdline.Tpo"; exit 1; fi
interface.c: In function 'cddb_lookup':
interface.c:364:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets (inbuffer, 256, stdin);
^
if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_FORTIFY_SOURCE=2 -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT cdcd-cmd_cdcd.o -MD -MP -MF ".deps/cdcd-cmd_cdcd.Tpo" -c -o cdcd-cmd_cdcd.o `test -f 'cmd_cdcd.c' || echo './'`cmd_cdcd.c; \
then mv -f ".deps/cdcd-cmd_cdcd.Tpo" ".deps/cdcd-cmd_cdcd.Po"; else rm -f ".deps/cdcd-cmd_cdcd.Tpo"; exit 1; fi
cmd_cdcd.c: In function 'cmd_cdcd_mainloop':
cmd_cdcd.c:1269:39: error: 'CPPFunction' undeclared (first use in this function)
rl_attempted_completion_function = (CPPFunction *) cdcd_completion;
^
cmd_cdcd.c:1269:39: note: each undeclared identifier is reported only once for each function it appears in
cmd_cdcd.c:1269:52: error: expected expression before ')' token
rl_attempted_completion_function = (CPPFunction *) cdcd_completion;
^
cmd_cdcd.c: In function 'cmd_excl':
cmd_cdcd.c:270:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
system ("sh");
^
cmd_cdcd.c:275:14: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
system (cmd);
^
Makefile:445: recipe for target 'cdcd-cmd_cdcd.o' failed
make[2]: *** [cdcd-cmd_cdcd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/cdcd/src/cdcd-0.6.6'
Makefile:640: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/cdcd/src/cdcd-0.6.6'
Makefile:222: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Comment by Doug Newgard (Scimmia) - Monday, 10 March 2014, 18:02 GMT
Edited correct title and message in.

Most likely related to readline 6.3 API change.
Comment by Jelle van der Waa (jelly) - Tuesday, 11 March 2014, 20:42 GMT
Yes it does, fixed

Loading...