Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 252370

Summary: sys-libs/gpm-1.20.1-r6 fails to build with sys-devel/gcc-4.3.2
Product: Gentoo Linux Reporter: Caleb Cushing <xenoterracide>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Caleb Cushing 2008-12-24 12:02:13 UTC
gpm.c: In function 'getMouseData':                                              
gpm.c:380: warning: pointer targets in initialization differ in signedness      
gpm.c:399: warning: pointer targets in return differ in signedness              
gpm.c:430: warning: pointer targets in return differ in signedness              
gpm.c: In function 'processMouse':                                              
gpm.c:482: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness                                                    
gpm.c: In function 'processConn':                                               
gpm.c:812: warning: passing argument 3 of 'accept' from incompatible pointer type                                                                               
gpm.c:859: error: storage size of 'sucred' isn't known                          
gpm.c:860: error: invalid application of 'sizeof' to incomplete type 'struct ucred'                                                                             
gpm.c:859: warning: unused variable 'sucred'                                    
gpm.c: In function 'old_main':                                                  
gpm.c:1123: warning: value computed is not used                                 
make[1]: *** [gpm.o] Error 1                                                    
make[1]: *** Waiting for unfinished jobs....                                    
gpn.c: In function 'loadlut':                                                   
gpn.c:108: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness                                                                      
gpn.c:110: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness                                                                      
make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src'                                                                        
make: *** [do-all] Error 1        

Reproducible: Always
Comment 1 Caleb Cushing 2008-12-24 12:03:20 UTC
Created attachment 176289 [details]
emerge --info
Comment 2 Caleb Cushing 2008-12-24 12:06:53 UTC
just as a note gpm-1.20.5 does build.
Comment 3 Rafał Mużyło 2008-12-24 13:59:19 UTC
Well, actually this looks more like a glibc-2.8 -D_GNU_SOURCE
problem.
Comment 4 Caleb Cushing 2008-12-24 18:15:59 UTC
I suppose it could be.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-12-25 03:29:37 UTC

*** This bug has been marked as a duplicate of bug 241144 ***