Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265290 - 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
Summary: dev-util/cmake - Error when bootstrapping CMake: Problem while running gmake ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 11:56 UTC by Tom Wunder
Modified: 2013-08-20 13:06 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info,3.75 KB, text/plain)
2009-04-07 11:58 UTC, Tom Wunder
Details
output of "emerge cmake" (emerge-info,81.88 KB, text/plain)
2009-04-07 12:01 UTC, Tom Wunder
Details

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