Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421071 - =media-gfx/hugin-2011.4.0 fails to build with gcc-4.7
Summary: =media-gfx/hugin-2011.4.0 fails to build with gcc-4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-06-14 08:50 UTC by Bernard Cafarelli
Modified: 2012-06-30 22:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.