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

Bug 265290

Summary: dev-util/cmake - Error when bootstrapping CMake: Problem while running gmake - work/cmake-2.8.11.1/Source/kwsys/kwsysPlatformTestsCXX.cxx:457:13: error: 'environ' was not declared in this scope
Product: Gentoo Linux Reporter: Tom Wunder <tom>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED NEEDINFO    
Severity: normal CC: enelar, loki_val
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
output of "emerge cmake"

Description Tom Wunder 2009-04-07 11:56:27 UTC
I'm having exaclty (except that I'm trying to emerge version 2.6.3) the same bug as described in 250703 but this was closed and nobody said what to do in this case.

The error first occured when I tried to emerge kdebase-meta-4.2.1 on my newly installed base system. I also tried to emerge other versions of cmake (2.6.2-r1) and I tried to do so in a linux32 environment. The problem is always the same.
(I guess I should mention that I'm trying to build a 32bit system and therefore I used a x86 stage3 tarball.)

Reproducible: Always

Actual Results:  
compilation of cmake fails with
...
/var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3/Bootstrap.cmk/cmsys/ios/sstream: In member function 'void cmsys_ios::istringstream::clear(int)':
/var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3/Bootstrap.cmk/cmsys/ios/sstream:178: error: invalid conversion from 'int' to 'std::_Ios_Iostate'
/var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3/Bootstrap.cmk/cmsys/ios/sstream:178: error:   initializing argument 1 of 'void std::basic_ios<_CharT, _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits = std::char_traits<char>]'
...
Error when bootstrapping CMake:
Problem while running gmake
...


Expected Results:  
cmake should compile fine
Comment 1 Tom Wunder 2009-04-07 11:58:26 UTC
Created attachment 187557 [details]
emerge --info
Comment 2 Tom Wunder 2009-04-07 12:01:45 UTC
Created attachment 187561 [details]
output of "emerge cmake"
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-07 13:52:49 UTC
See also http://www.vtk.org/Bug/bug_view_advanced_page.php?bug_id=7231
Please also post:
/var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3/Bootstrap.cmk/cmake_bootstrap.log
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-07 21:54:23 UTC
(Re-open when appropriate)
Comment 5 Kirill Berezin 2013-06-28 07:26:31 UTC
http://bpaste.net/show/110407/  (build.log)
http://bpaste.net/show/110408/  (bootsrap log)
http://bpaste.net/show/110412/  (emerge --info)
armv71 hard float gentoo
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-09 17:34:22 UTC
Please don't add arch teams manually, thank you in advance.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2013-07-11 13:08:42 UTC
What is the output of 'c++ -v' ?
Comment 8 Michael Palimaka (kensington) gentoo-dev 2013-08-06 09:40:01 UTC
(In reply to Michael Palimaka (kensington) from comment #7)
> What is the output of 'c++ -v' ?