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

Bug 671856

Summary: =sys-fs/udev-239 fails to build against glibc-2.28: error: redefinition of 'struct statx_timestamp'
Product: Gentoo Linux Reporter: Tom Li <biergaizi2009>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=662776
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 663916    

Description Tom Li 2018-11-25 10:44:00 UTC
Identical to Bug 662776 and Bug 669846. Same fix for systemd and systemd-boot should be applied to udev as well. 

In file included from ../systemd-239/src/basic/missing.h:18,                                                                                                                     
                 from ../systemd-239/src/basic/util.h:28,                                                                                                                        
                 from ../systemd-239/src/basic/clock-util.c:17:                                                                                                                  
/usr/include/linux/stat.h:17:8: error: redefinition of ‘struct statx_timestamp’                                                                                                  
 struct statx_timestamp {                                                                                                                                                        
        ^~~~~~~~~~~~~~~                                                                                                                                                          
In file included from /usr/include/sys/stat.h:446,                                                                                                                               
                 from ../systemd-239/src/basic/util.h:19,                                                                                                                        
                 from ../systemd-239/src/basic/clock-util.c:17:                                                                                                                  
/usr/include/bits/statx.h:25:8: note: originally defined here                                                                                                                    
 struct statx_timestamp                                                                                                                                                          
        ^~~~~~~~~~~~~~~                                                                                                                                                          
In file included from ../systemd-239/src/basic/missing.h:18,
                 from ../systemd-239/src/basic/util.h:28,                                                                                                                        
                 from ../systemd-239/src/basic/clock-util.c:17:                                                                                                                  
/usr/include/linux/stat.h:60:8: error: redefinition of ‘struct statx’                                                                                                            
 struct statx {                                                                                                                                                                          ^~~~~                                                                                                                                                                    
In file included from /usr/include/sys/stat.h:446,                                                                                                                               
                 from ../systemd-239/src/basic/util.h:19,                                                                                                                        
                 from ../systemd-239/src/basic/clock-util.c:17:                                                                                                                  
/usr/include/bits/statx.h:36:8: note: originally defined here                                                                                                                    
 struct statx                                                                                                                                                                    
        ^~~~~                                                                                                                                                                    
ninja: build stopped: subcommand failed.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-25 11:11:34 UTC
systemd-239 has the same problem. bug #662776 has a fix.
Comment 2 Tom Li 2018-11-25 11:26:29 UTC
Sorry for the noise. Something wrong with my mirror, the fixed version never shows up in my portage tree...
Comment 3 Tom Li 2018-11-25 11:28:18 UTC
Already fixed in dbb9fccb96b31a786aeedcaded94e9402de635ae.