While in the chroot-environment for a new system, i can't get cmake compiled. I disabled sandbox and distcc, both did not help. As i can't install any further without cmake, i would be very glad to see this getting solved soon, it's a business-server... Here's the shell-printout: ------------------------------------------ /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. i686-pc-linux-gnu-gcc -O2 -march=i686 -fomit-frame-pointer -pipe -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk -c /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source/cmListFileLexer.c -o cmListFileLexer.o i686-pc-linux-gnu-g++ -O2 -march=i686 -fomit-frame-pointer -pipe -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source/kwsys/Directory.cxx -o Directory.o i686-pc-linux-gnu-g++ -O2 -march=i686 -fomit-frame-pointer -pipe -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source/kwsys/Glob.cxx -o Glob.o i686-pc-linux-gnu-g++ -O2 -march=i686 -fomit-frame-pointer -pipe -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source/kwsys/RegularExpression.cxx -o RegularExpression.o i686-pc-linux-gnu-g++ -O2 -march=i686 -fomit-frame-pointer -pipe -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source -I/tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source/kwsys/SystemTools.cxx -o SystemTools.o In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/backward/strstream:51, from /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk/cmsys/ios/sstream:40, from /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source/kwsys/SystemTools.cxx:21: /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Source/kwsys/SystemTools.cxx:21: /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk/cmsys/ios/sstream: In member function 'void cmsys_ios::istringstream::clear(int)': /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk/cmsys/ios/sstream:178: error: invalid conversion from 'int' to 'std::_Ios_Iostate' /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/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>]' gmake: *** [SystemTools.o] Error 1 --------------------------------------------- Error when bootstrapping CMake: Problem while running gmake --------------------------------------------- Log of errors: /tmp/portage/dev-util/cmake-2.6.2-r1/work/cmake-2.6.2/Bootstrap.cmk/cmake_bootstrap.log --------------------------------------------- * * ERROR: dev-util/cmake-2.6.2-r1 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2880: Called die * The specific snippet of code: * ./bootstrap --system-libs --prefix=/usr --docdir=/share/doc/${PF} --datadir=/share/${PN} --mandir=/share/man "$qt_arg" "$par_arg" || die "./bootstrapfailed"; * The die message: * ./bootstrap failed Reproducible: Always Steps to Reproduce: 1. emerge cmake Actual Results: stops with failure Expected Results: runs through
Please post your "emerge --info" and attach the cmake_bootstrap.log file to this bug.
Created attachment 193253 [details] build.log
Created attachment 193255 [details] cmake_bootstrap.log
Created attachment 193257 [details] eclass-debug.log
Created attachment 193259 [details] environment
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.17-gentoo-r8_terminalserver i686) ================================================================= System uname: 2.6.17-gentoo-r8_terminalserver i686 Intel(R) Xeon(TM) CPU 2.66GHz Timestamp of tree: Tue, 27 Jan 2009 09:35:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl acpi audiofile bash-completion berkdb bzip2 cli cracklib crypt cups dga dri dvd font-server foomatic foomaticdb gdbm gimpprint gpm iconv imagemagick isdnlog jpeg2k kde ldap lm_sensors mbox midi mmx mng mudflap mysql ncurses nls nptl nptlonly offensive openmp pam pcre perl postgres pppd python rdesktop readline reflection samba session slang snmp spl sse sse2 ssl svg sysfs tcpd tiff ucs2 unicode vnc win32codecs wmf x86 xine xinetd xorg xprint xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 s3virge savage sis r128 radeon fbdev nv s3 vesa fglrx nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Although this is a duplicate of bug #250703 I don't mark it as dupe now as the other bug contains no solution. What I see is that cmake uses gcc-4.3.2 for compilation but your emerge --info shows gcc-4.1.2 as your system compiler. Furthermore there's already cmake-2.6.4 in the stable branch so can you try that version as well?
i fixed the gcc-version and took cmake-2.6.4, but result's the same :( Some more words to the case: Different to the gentoo-handbook, if i install gentoo, i don't reboot until i merged all i want in the chroot, so a chroot-setup in my case is inclusive kde, ooffice, etc.. If i reboot, the system is ready for usage. I have done this in this way i guess more than twenty times, so i am pretty sure, this could not be the reason for the bug. As this is a remote server, i have in either way no other possibilty than doing it like this, the server must work completely after reboot, because it is a terminal-server with ltsp in production. I hope, this is not the first time, that i'ld have to reboot while merging the whole system?
Bug seems legitime. Tho i have no idea how to workaround/fix it. Reassigning to us. @user: you dont have to cc yourself on bug when you are creator, you get mails anyway :]
As i can't install a customer server, i changed severity to "blocker". Any new ideas? Can i help somehow? Cheers, Florian
When i am reading your build log it shows that it: emerge cmake-2.6.2-r1 and uses gcc-4.3.2. So please try to use 2.6.4 and paste its build log.
As mentioned in Comment#8 i DID try 2.6.4, the result kept the same, so i didn't update the files.
Created attachment 194406 [details] v2.6.4
Okey, try to update to gilbc-2.8 please.
glibc is glibc-2.8_p20080602-r1
Please post the emerge --info of the host too. I'm wondering what glibc, gcc and kernel you have in the host and what profile you're using.
(chroot)terminal-server / # emerge --info Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.17-gentoo-r8_terminalserver i686) ================================================================= System uname: Linux-2.6.17-gentoo-r8_terminalserver-i686-Intel-R-_Xeon-TM-_CPU_2.66GHz-with-glibc2.0 Timestamp of tree: Tue, 02 Jun 2009 09:00:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.4.4-r13, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi audiofile bash-completion berkdb bzip2 cli cracklib crypt cups dga dri dvd font-server foomatic foomaticdb gdbm gimp gimpprint gpm iconv imagemagick isdnlog jpeg jpeg2k kde mbox midi minimal mmx mng mudflap ncurses nls nptl nptlonly offensive opengl openmp pam pcre perl png pppd python qt3support qt4 rdesktop readline reflection samba session slang snmp spamassassin spl sse sse2 ssl svg sysfs tcpd tiff truetype ucs2 unicode vnc win32codecs wmf x86 xcomposite xine xinetd xorg xprint xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 s3virge savage sis r128 radeon fbdev nv s3 vesa ati" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Anything new here? Can i help?
I finally rebuild the whole system with actual portagetree and the error is gone. So it's kind of "solved"...