It seems that the greater strictness of gcc-4.0.0 affects acpid-1.0.4-r1. I filed an issue upstream at https://sourceforge.net/tracker/index.php?func=detail&aid=1189263&group_id=33140&atid=407341 as well. Reproducible: Always Steps to Reproduce: 1. Emerge acpid-1.0.4-r1 with gcc-4.0.0 selected as compiler. Actual Results: cc -Wall -Werror -g -DVERSION="\"1.0.4\"" -c -o ud_socket.o ud_socket.c cc1: warnings being treated as errors ud_socket.c: In function 'ud_accept': ud_socket.c:63: warning: pointer targets in passing argument 3 of 'accept' differ in signedness ud_socket.c:74: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness make: *** [ud_socket.o] Error 1 Expected Results: Build completes.
*** Bug 64844 has been marked as a duplicate of this bug. ***
I'll take care of this.
Created attachment 57213 [details, diff] Patch against acpid-1.0.4-r1.ebuild Please see if these changes to the ebuild solves the issue for you.
That patch allowed it to compile.
Looks like azarah has already fixed this in CVS. In the future, please consult with the owner of the package first.