Created attachment 419544 [details] build.log Hi, net-misc/sipsak-0.9.6_p1-r1 doesn't build with gcc-5: In file included from request.c:29:0: header_f.h:64:14: warning: inline function ‘get_body’ declared but never defined inline char* get_body(char *mes); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wall -fstack-protector -I/usr/include -c sipsak.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wall -fstack-protector -I/usr/include -c exit_code.c helper.c: In function ‘skip_rr’: helper.c:222:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] int status, dlen; ^ helper.c: In function ‘skip_query’: helper.c:239:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] int status; ^ helper.c: At top level: In file included from shoot.c:46:0: header_f.h:64:14: warning: inline function ‘get_body’ declared but never defined inline char* get_body(char *mes); ^ helper.c:325:62: warning: ‘cares_callback’ is static but used in inline function ‘srv_ares’ which is not static ares_query(channel, srvh, CARES_CLASS_C_IN, CARES_TYPE_SRV, cares_callback, (char *) NULL); ^ In file included from sipsak.c:59:0: header_f.h:64:14: warning: inline function ‘get_body’ declared but never defined inline char* get_body(char *mes); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wall -fstack-protector -I/usr/include -c transport.c In file included from transport.c:67:0: header_f.h:64:14: warning: inline function ‘get_body’ declared but never defined inline char* get_body(char *mes); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wall -fstack-protector -I/usr/include -Wl,-O1 -Wl,--as-needed -o sipsak auth.o header_f.o helper.o md5.o request.o shoot.o sipsak.o exit_code.o transport.o -lcrypto -lcrypto -L/usr/lib64 -lcares transport.o: In function `complete_mes': transport.c:(.text+0xb89): undefined reference to `get_body' collect2: error: ld returned 1 exit status Makefile:258: recipe for target 'sipsak' failed make[1]: *** [sipsak] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/sipsak-0.9.6_p1-r1/work/sipsak-0.9.6' Makefile:180: recipe for target 'all' failed make: *** [all] Error 2 Passing CFlag "-std=gnu89" solves the problem.
Created attachment 419546 [details, diff] Patch for ebuild to build with gcc-5
Thank you Thomas, that is in the tree now.