When compiling acpid-1.0.6-r1 this error occurs, perhaps due to Gcc-4.3.1 or glibc-2.8 migration : >>> Starting src_compile make -j3 CC=x86_64-pc-linux-gnu-gcc INSTPREFIX=/var/tmp/paludis/sys-power-acpid-1.0.6-r1/image/ x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -msse3 -Wall -DVERSION="\"1.0.6\"" -c -o acpid.o acpid.c x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -msse3 -Wall -DVERSION="\"1.0.6\"" -c -o event.o event.c x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -msse3 -Wall -DVERSION="\"1.0.6\"" -c -o ud_socket.o ud_socket.c x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -msse3 -Wall -DVERSION="\"1.0.6\"" -c -o acpi_listen.o acpi_listen.c In file included from acpi_listen.c:41: ud_socket.h:12: warning: 'struct ucred' declared inside parameter list ud_socket.h:12: warning: its scope is only this definition or declaration, which is probably not what you want In file included from ud_socket.c:19: ud_socket.h:12: warning: 'struct ucred' declared inside parameter list ud_socket.h:12: warning: its scope is only this definition or declaration, which is probably not what you want ud_socket.c:56: warning: 'struct ucred' declared inside parameter list ud_socket.c:56: error: conflicting types for 'ud_accept' ud_socket.h:12: error: previous declaration of 'ud_accept' was here ud_socket.c: In function 'ud_accept': ud_socket.c:73: error: invalid application of 'sizeof' to incomplete type 'struct ucred' make: *** [ud_socket.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from acpid.c:40: ud_socket.h:12: warning: 'struct ucred' declared inside parameter list ud_socket.h:12: warning: its scope is only this definition or declaration, which is probably not what you want acpid.c: In function 'main': acpid.c:231: error: storage size of 'creds' isn't known acpid.c:231: warning: unused variable 'creds' make: *** [acpid.o] Error 1 !!! ERROR in sys-power/acpid-1.0.6-r1: !!! In src_compile at line 3331 !!! emake failed Reproducible: Always
emerge --sync and try again. *** This bug has been marked as a duplicate of bug 225417 ***
Sorry for the report, it's a dupl of #225417