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

Bug 334135

Summary: dev-cpp/commoncpp2 fails to build with glibc 2.12
Product: Gentoo Linux Reporter: Stefan Böhmann <devel>
Component: New packagesAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: arttuv69
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331665    
Attachments: build log
emerge --info
adds the missing sys/stat.h

Description Stefan Böhmann 2010-08-23 19:07:21 UTC
commoncpp2 doesn't compile with recent glibc (I'm using glibc-2.12.1-r1).


Reproducible: Always
Comment 1 Stefan Böhmann 2010-08-23 19:07:59 UTC
Created attachment 244277 [details]
build log
Comment 2 Stefan Böhmann 2010-08-23 19:08:34 UTC
Created attachment 244279 [details]
emerge --info
Comment 3 Arttu Valo 2010-08-24 00:11:45 UTC
Created attachment 244313 [details, diff]
adds the missing sys/stat.h
Comment 4 Arttu Valo 2010-08-24 00:15:50 UTC
On a second thought ... maybe I should've put that HAVE_SYS_STAT_H into the cpp file instead, as it's not header stuff but rather implementation details. (And forgot to CC myself.)

Anyway, it compiles with the patch, on an ~x86 with glibc 2.12.1.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-08-24 14:13:15 UTC
The same package has sys/stat.h everywhere and doesn't check for it beforehand, so no need for this either

Fixed now