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

Bug 421071

Summary: =media-gfx/hugin-2011.4.0 fails to build with gcc-4.7
Product: Gentoo Linux Reporter: Bernard Cafarelli <voyageur>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: b.buschinski, Martin.Jansa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://launchpad.net/bugs/913250
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    

Description Bernard Cafarelli gentoo-dev 2012-06-14 08:50:03 UTC
/var/tmp/portage/media-gfx/hugin-2011.4.0/work/hugin-2011.4.0/src/celeste/Utilities.cpp: In function ‘void celeste::FileCreateError(char*)’:
/var/tmp/portage/media-gfx/hugin-2011.4.0/work/hugin-2011.4.0/src/celeste/Utilities.cpp:197:31: erreur: ‘getcwd’ was not declared in this scope
/var/tmp/portage/media-gfx/hugin-2011.4.0/work/hugin-2011.4.0/src/celeste/Utilities.cpp: In function ‘void celeste::FileOpenError(char*)’:
/var/tmp/portage/media-gfx/hugin-2011.4.0/work/hugin-2011.4.0/src/celeste/Utilities.cpp:206:31: erreur: ‘getcwd’ was not declared in this scope


Including <unistd.h> fixes compilation, upstream already committed it (see upstream bug, which also includes the zthread part reported in #414133)
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-06-30 22:01:33 UTC
Fixed in media-gfx/hugin-2011.4.0-r1, thanks. 

In addition that version requires boost-1.49 because of bug 424319.