Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227175 - sys-power/acpid-1.0.6-r1 compilation fails
Summary: sys-power/acpid-1.0.6-r1 compilation fails
Status: RESOLVED DUPLICATE of bug 225417
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-15 13:09 UTC by BedOS_Gui
Modified: 2008-06-15 13:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2008-06-15 13:09:41 UTC
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
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-15 13:16:39 UTC
emerge --sync and try again.

*** This bug has been marked as a duplicate of bug 225417 ***
Comment 2 BedOS_Gui 2008-06-15 13:18:08 UTC
Sorry for the report, it's a dupl of #225417