Compile with GCC 4.3.3 and glibc >=2.8 (FORTIFY_SOURCE=2)
Compiler hit a warning about ignoring return value of 'chdir', declared with attribute warn_unused_result
but warnings is being treated as errors.
Steps to Reproduce:
1.Compile tha package with gcc 4.3.3 and glibc >=2.8 from portage
cc -O2 -pipe -Wall -Werror -O2 -c -o tube.o tube.c
cc1: warnings being treated as errors
beanstalkd.c: In function 'daemonize':
beanstalkd.c:64: error: ignoring return value of 'chdir', declared with attribute warn_unused_result
make: *** [beanstalkd.o] Error 1
Would compile fine.
Created attachment 183077 [details]
Build log of beanstalkd-1.0
*** This bug has been marked as a duplicate of bug 259013 ***