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

Bug 397589

Summary: app-portage/eix-0.23.3-r1 fails to compile with gcc-4.7.0_pre9999 (patch included)
Product: Portage Development Reporter: Göktürk Yüksek <gokturk>
Component: UnclassifiedAssignee: Martin Väth <martin>
Status: RESOLVED FIXED    
Severity: normal CC: darkside
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://pubs.opengroup.org/onlinepubs/007904875/basedefs/unistd.h.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    
Attachments: emerge --info =app-portage/eix-0.23.3-r1
Build log
Proposed patch

Description Göktürk Yüksek archtester gentoo-dev 2012-01-04 04:43:41 UTC
eix makes use of close() and isatty() calls without including <unistd.h> header in some of the files, which causes a build failure with gcc-4.7.0_pre9999. I attached a trivial patch to fix this. SVN revision of gcc is r182860, in case you need.

Reproducible: Always
Comment 1 Göktürk Yüksek archtester gentoo-dev 2012-01-04 04:44:43 UTC
Created attachment 297869 [details]
emerge --info =app-portage/eix-0.23.3-r1
Comment 2 Göktürk Yüksek archtester gentoo-dev 2012-01-04 04:45:11 UTC
Created attachment 297871 [details]
Build log
Comment 3 Göktürk Yüksek archtester gentoo-dev 2012-01-04 04:45:37 UTC
Created attachment 297873 [details, diff]
Proposed patch
Comment 4 Martin Väth 2012-01-04 17:55:44 UTC
Thanks. Missing includes of md5.cc had already been fixed in eix-0.23.4,
but the isatty() calls were not yet included in src/check_includes.sh

This is now fixed in eix git master at BerliOS (>=eix-0.23.6).
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-01-16 02:59:04 UTC
+*eix-0.23.6 (16 Jan 2012)
+
+  16 Jan 2012; Jeremy Olexa <darkside@gentoo.org> +eix-0.23.6.ebuild:
+  Version bump, small bug fixes including Gentoo bug 397589 and new cache
+  method (mainly for Funtoo Linux usage)