Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390533 - dev-util/cmake-2.8.6-r4 fails tests
Summary: dev-util/cmake-2.8.6-r4 fails tests
Status: RESOLVED FIXED
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: Fixed in 2.8.9
Keywords:
: 431590 (view as bug list)
Depends on:
Blocks: 391425
  Show dependency tree
 
Reported: 2011-11-14 14:01 UTC by Markus Walter
Modified: 2012-09-28 21:26 UTC (History)
5 users (show)

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


Attachments
build log (build.log,89.26 KB, text/plain)
2011-11-14 14:01 UTC, Markus Walter
Details
emerge --info (info.txt,5.39 KB, text/plain)
2011-11-14 14:02 UTC, Markus Walter
Details
build log with verbose test output (vanilla-gcc-4.6.2) bzipped (build.log.bz2,139.07 KB, application/x-bzip2)
2011-11-23 16:52 UTC, Markus Walter
Details
build log with verbose output for test failure 58 -- bzipped (build.log.bz2,138.33 KB, application/x-bzip2)
2011-11-25 10:02 UTC, Markus Walter
Details
TEST_VERBOSE=1 emerge -1vb cmake (build.log.xz,113.80 KB, text/plain)
2011-12-14 07:38 UTC, Nikoli
Details
verbose (compressed) build log showing still-failing test (dev-util:cmake-2.8.6-r4:20120107-040858.log.gz,183.99 KB, application/octet-stream)
2012-01-07 04:47 UTC, Jonathan Lovelace
Details
verbose build log from new chroot (dev-util:cmake-2.8.7-r4:20120310-075357.log.gz,201.83 KB, application/octet-stream)
2012-03-10 10:28 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-11-14 14:01:59 UTC
Created attachment 292527 [details]
build log

I see the following test errors on my ~amd64 machine with hardened gcc-4.6.2.

The following tests FAILED:
	 24 - FindModulesExecuteAll (Failed)
	 58 - BundleUtilities (Failed)
	137 - CTest.UpdateSVN (Failed)

The test BundleUtilities fails for cmake-2.8.6-r3, but not cmake-2.8.6-r2 or cmake-2.8.6-r1 (albeit I upgraded gcc from 4.6.1 to 4.6.2 in between of these builds).
Comment 1 Markus Walter 2011-11-14 14:02:53 UTC
Created attachment 292529 [details]
emerge --info
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-11-22 22:08:46 UTC
Test 24 was a home-made problem and is fixed in 2.8.6-r4. 

I cannot reproduce failure in 58 or 137, maybe that is a distinct hardened problem.
Comment 3 Markus Walter 2011-11-23 14:19:30 UTC
Test 24 now passes on my machine too.

Trying with vanilla-gcc-4.6.2 the failure for 58 vanishes, but 137 still fails.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-11-23 15:21:23 UTC
(In reply to comment #3)
> Test 24 now passes on my machine too.
> 
> Trying with vanilla-gcc-4.6.2 the failure for 58 vanishes, but 137 still fails.

Could you please re-run the emerge with TEST_VERBOSE=1 set and attach the resulting log? Warning, it's going to be BIG... :) 

i.e. 
TEST_VERBOSE=1 emerge dev-util/cmake

Other question, do you have dev-vcs/subversion installed, and if yes, which version?

Thanks!
Comment 5 Markus Walter 2011-11-23 16:52:06 UTC
Created attachment 293535 [details]
build log with verbose test output (vanilla-gcc-4.6.2) bzipped

I reran the test with vanilla-gcc-4.6.2 (hardened-gcc fails wrt bug 391717 ) and verbose logging.

I have subversion-1.7.1 installed.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-11-23 20:41:09 UTC
(In reply to comment #5)
> Created attachment 293535 [details]
> build log with verbose test output (vanilla-gcc-4.6.2) bzipped
> 
> I reran the test with vanilla-gcc-4.6.2 (hardened-gcc fails wrt bug 391717 )
> and verbose logging.
> 
> I have subversion-1.7.1 installed.

OK great, thanks. 137 (CTest.UpdateSVN) is now fixed... for the record the problem was related to subversion-1.7, see

http://public.kitware.com/Bug/view.php?id=12535

Now for these hardened issues...
Comment 7 Markus Walter 2011-11-25 10:02:52 UTC
Created attachment 293689 [details]
build log with verbose output for test failure 58 -- bzipped

This build log was produced with hardened-gcc-4.6.2.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-11-25 23:28:04 UTC
(In reply to comment #7)
> Created attachment 293689 [details]
> build log with verbose output for test failure 58 -- bzipped
> 
> This build log was produced with hardened-gcc-4.6.2.

The relevant part:


test 58
        Start  58: BundleUtilities

58: Test command: /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/bin/ctest "--build-and-test" "/var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6/Tests/BundleUtilities" "/var/tmp/portag
e/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities" "--build-generator" "Unix Makefiles" "--build-makeprogram" "/usr/bin/gmake" "--build-project" "BundleUtilities"
58: Test timeout computed to be: 1500
58: Internal cmake changing into directory: /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities
58: ======== CMake output     ======
58: The C compiler identification is GNU
58: The CXX compiler identification is GNU
58: Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc
58: Configuring
58: Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
58: Detecting C compiler ABI info
58: Configuring
58: Detecting C compiler ABI info - done
58: Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
58: Configuring
58: Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
58: Detecting CXX compiler ABI info
58: Configuring
58: Detecting CXX compiler ABI info - done
58: Configuring
58: Configuring done
58: Generating
58: Generating done
58: Build files have been written to: /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities
58: ======== End CMake output ======
58: Change Dir: /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities
58: 
58: Run Clean Command:/usr/bin/gmake "clean"
58: 
58: Run Build Command:/usr/bin/gmake
58: Scanning dependencies of target framework
58: [ 14%] Building CXX object CMakeFiles/framework.dir/framework.cpp.o
58: Linking CXX shared library libframework.so
58: [ 14%] Built target framework
58: Scanning dependencies of target shared2
58: [ 28%] Building CXX object CMakeFiles/shared2.dir/shared2.cpp.o
58: Linking CXX shared library libshared2.so
58: [ 28%] Built target shared2
58: Scanning dependencies of target module1
58: [ 42%] Building CXX object CMakeFiles/module1.dir/module.cpp.o
58: Linking CXX shared module module1.so
58: [ 42%] Built target module1
58: Scanning dependencies of target module2
58: [ 57%] Building CXX object CMakeFiles/module2.dir/module.cpp.o
58: Linking CXX shared module module2.so
58: [ 57%] Built target module2
58: Scanning dependencies of target shared
58: [ 71%] Building CXX object CMakeFiles/shared.dir/shared.cpp.o
58: Linking CXX shared library libshared.so
58: [ 71%] Built target shared
58: Scanning dependencies of target testbundleutils1
58: [ 85%] Building CXX object CMakeFiles/testbundleutils1.dir/testbundleutils1.cpp.o
58: Linking CXX executable testbundleutils1
58: [ 85%] Built target testbundleutils1
58: Scanning dependencies of target testbundleutils1_test
58: INPUT = /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities/testbundleutils1
58: MODULE = /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities/module1.so
58: INPUTDIR = /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities
58: OUTPUTDIR = /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities/testdir1
58: OUTPUT = /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities/testdir1/testbundleutils1
58: OUTPUTMODULE = /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities/testdir1/module1.so
58: -- fixup_bundle
58: --   app='/var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities/testdir1/testbundleutils1'
58: --   libs='/var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities/testdir1/module1.so'
58: --   dirs='/var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6_build/Tests/BundleUtilities'
58: -- warning: *NOT* handled - not .app dir, not executable file...
58: CMake Error at /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6/Modules/BundleUtilities.cmake:668 (message):
58:   error: fixup_bundle: not a valid bundle
58: Call Stack (most recent call first):
58:   /var/tmp/portage/dev-util/cmake-2.8.6-r4/work/cmake-2.8.6/Tests/BundleUtilities/bundleutils.cmake:37 (fixup_bundle)
58: 
58: 
58: gmake[2]: *** [CMakeFiles/testbundleutils1_test] Error 1
58: gmake[1]: *** [CMakeFiles/testbundleutils1_test.dir/all] Error 2
58: gmake: *** [all] Error 2
 58/210 Test  #58: BundleUtilities .............................***Failed    1.54 sec
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2011-11-25 23:41:31 UTC
(In reply to comment #7)
> Created attachment 293689 [details]
> build log with verbose output for test failure 58 -- bzipped
> 
> This build log was produced with hardened-gcc-4.6.2.

Please try again without ccache...
Comment 10 Markus Walter 2011-11-26 01:28:26 UTC
Rerunning without ccache and diffing the logs shows exactly the same error in both cases.
Comment 11 Toralf Förster gentoo-dev 2011-12-02 09:26:54 UTC
At an almost stable x86 Gentoo 1 test fails here :

        Start  24: FindModulesExecuteAll
 24/208 Test  #24: FindModulesExecuteAll .......................***Failed    9.98 sec


n22 ~ # emerge --info cmake
Portage 2.1.10.39 (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2-r0, 3.1.3 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.3-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 02 Dec 2011 08:15:01 +0000                                                                      
ccache version 3.1.6 [enabled]                                                                                          
app-shells/bash:          4.1_p9                                                                                        
dev-java/java-config:     2.1.11-r3                                                                                     
dev-lang/python:          2.7.2-r3, 3.1.4-r3                                                                            
dev-util/ccache:          3.1.6                                                                                         
dev-util/cmake:           2.8.4-r1                                                                                      
dev-util/pkgconfig:       0.26                                                                                          
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo betagarden toralf
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=y"
FEATURES="assume-digests binpkg-logs ccache compress-build-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mneisen.org/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j 3"
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="/var/lib/layman/betagarden /usr/local/portage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bittorrent bluetooth branding bzip2 cairo cdda cdr classic cli consolekit cracklib crypt css cups cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam fastbuild fat ffmpeg firefox flac fortran gdbm gdu gif git gmp gphoto2 gpm gtk hyphenation iconv ipv6 java jpeg kde kipi kqemu kvm lastfm lcms ldap libnotify lirc logrotate mad mbox mmx mng modules mp3 mp4 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 rdesktop readline sdl semantic-desktop session sieve spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd thinkpad tiff tk transparent-proxy truetype udev unicode usb vaapi vim-syntax vnc vorbis wmf x264 x86 xcb xcomposite xinerama xml xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" LIRC_DEVICES="devinput inputlirc" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-util/cmake-2.8.4-r1 was built with the following:
USE="(consolekit) ncurses (policykit) qt4 test vim-syntax -emacs"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
Comment 12 Toralf Förster gentoo-dev 2011-12-02 12:21:19 UTC
FWIW within a chrooted user mode linux image it builds fine :

n22 / # emerge --info cmake
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.6.2, glibc-2.12.2-r0, 3.1.3 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.3-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 02 Dec 2011 09:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo toralf
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs compress-build-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j2"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fam fastbuild gdbm gmp gpm iconv ipv6 logrotate mmx modules mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam pcre pppd readline session sse sse2 sse3 ssl ssse3 sysfs tcpd threads unicode userlocales webmail x86 xml xorg zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-util/cmake-2.8.6-r4 was built with the following:
USE="ncurses -emacs -qt4 -test -vim-syntax"
Comment 13 Nikoli 2011-12-14 07:38:49 UTC
Created attachment 295769 [details]
TEST_VERBOSE=1 emerge -1vb cmake

The following tests FAILED:
         24 - FindModulesExecuteAll (Failed)
        138 - CTestTestUpload (Failed)
Errors while running CTest

Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.9-gentoo x86_64)
=================================================================
Timestamp of tree: Wed, 14 Dec 2011 05:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo nikoli
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/core2"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nikoli"
USE="7zip X a52 aac acl acpi akonadi alsa amd64 amr atm audiofile bash-completion bluetooth bzip2 cairo caps cdda cddb cdio cdparanoia cdr celt cli consolekit cracklib crypt css cups cxx dbus djvu dri dts dv dvd dvdr emboss encode exif fat ffmpeg firefox flac fluidsynth fontconfig fortran gd gdu geoip gif gimp gmp gnutls gphoto2 gpm graphviz gsm gstreamer gtk handbook iconv icu id3tag idn ieee1394 ilbc imagemagick imap imlib ios ipod ipv6 jbig jpeg jpeg2k kde kipi kontact lame laptop lcms libnotify libproxy libsamplerate lm_sensors lzma lzo mac mad matroska mikmod mmx mmxext mng modplug modules mp3 mp4 mpeg mtp mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntfs nvidia ogg openal openexr opengl openmp pam pango pcre pdf pg-intdatetime phonon plasma pm-utils png policykit ppds pppd qt3support qt4 quicktime rar raw readline reiserfs replaygain rtmp sasl scanner schroedinger semantic-desktop session smp sndfile socks5 speex spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs taglib theora threads thumbnail tiff truetype tta udev unicode upnp usb v4l v4l2 vcd vorbis vpx wavpack webkit wifi wma wmf wps x264 xattr xcb xcomposite xface xinerama xml xmp xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="*" COLLECTD_PLUGINS="df interface load memory rrdtool swap syslog hddtemp sensors cpu cpufreq disk entropy network processes" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi gzip rewrite" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

[ebuild   R    ] dev-vcs/subversion-1.6.17-r7  USE="bash-completion nls perl sasl webdav-neon -apache2 -berkdb -ctypes-python -debug -doc -dso -emacs -extras -gnome-keyring -java -kde -python -ruby -vim-syntax -webdav-serf" 0 kB                        
[ebuild   R   ~] dev-vcs/mercurial-2.0.1  USE="gpg test -bugzilla -emacs -tk -zsh-completion" 0 kB
[ebuild   R    ] dev-vcs/git-1.7.3.4-r1  USE="bash-completion blksha1 curl iconv perl subversion threads webdav -cgi -cvs -doc -emacs -gtk (-ppcsha1) -tk -xinetd" 0 kB
Comment 14 Ian Delaney (RETIRED) gentoo-dev 2012-01-04 10:55:29 UTC
good here;

archtester pypy1.7 # uname -a
Linux archtester 2.6.38-tuxonice-r1-amd64 #15 SMP Fri Oct 7 15:58:37 WST 2011 x86_64 AMD Athlon(tm) II X4 645 Processor AuthenticAMD GNU/Linux

archtester pysqlite # emerge cmake -pv
Calculating dependencies... done!
[ebuild   R    ] dev-util/cmake-2.8.6-r4  USE="ncurses qt4 test* -emacs -vim-syntax" 0 kB

archtester pysqlite # emerge cmake
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-util/cmake-2.8.6-r4
>>> Installing (1 of 1) dev-util/cmake-2.8.6-r4
Comment 15 Jonathan Lovelace 2012-01-07 04:47:18 UTC
Created attachment 298153 [details]
verbose (compressed) build log showing still-failing test

One test still fails for me; I'm attaching a build log (with TEST_VERBOSE=1) showing the failing test.

emerge --info:

Portage 2.1.10.41 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.0.4-hardened-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.4-hardened-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6670_@_2.20GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 06 Jan 2012 14:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: sunrise gentoo-haskell seden gamerlay-stable local eclipse g-cpan hackport_laptop gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=core2"
CHOST="x86_64-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 /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs distlocks ebuild-locks fakeroot fixlafiles news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="C"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2 -l5"
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="/usr/portage/local/layman/sunrise /usr/portage/local/layman/haskell /usr/portage/local/layman/seden /usr/portage/local/layman/gamerlay /usr/local/portage /usr/portage/local/layman/eclipse /usr/portage/local/layman/g-cpan /usr/portage/local/layman/hackport /usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 bash-completion berkdb bluetooth bzip2 caps cracklib crypt cxx dri gdbm gpm hardened iconv ipv6 jpeg justify libnotify lm_sensors mmx modules mudflap multilib ncurses nls nptl nptlonly ogg openmp pam pax_kernel pcre png policykit pppd readline session speex sse sse2 sse3 ssl ssse3 startup-notification sysfs tcpd theora truetype udev unicode urandom vorbis xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="all" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" NETBEANS_MODULES="apisupport ergonomics cnd harness ide java nb ruby" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-20 07:57:53 UTC
The following tests FAILED:
        138 - CTestTestUpload (Failed)
Errors while running CTest
 * ERROR: dev-util/cmake-2.8.6-r4 failed (test phase):
 *   Tests failed

That's the failure on my system. It may help a little bit to split this bug, because it seems that different people get slightly different failures.
Comment 17 Ian Delaney (RETIRED) gentoo-dev 2012-01-24 12:55:15 UTC
re-tested on a separate gentoo with a relatively updated system.

gentoo64 cmake # ebuild cmake-2.8.6-r4.ebuild clean test

213/214 Test #213: CMake.GetPrerequisites ......................   Passed    0.30 sec
        Start 214: CMake.CheckSourceTree
214/214 Test #214: CMake.CheckSourceTree .......................   Passed    0.01 sec

100% tests passed, 0 tests failed out of 214

Label Time Summary:
Label1    =   0.02 sec
Label2    =   0.02 sec

gentoo64 cmake # uname -a
Linux gentoo64 2.6.38-tuxonice-r1-amd64 #11 SMP Tue Sep 6 16:05:10 WST 2011 x86_64 AMD Athlon(tm) II X4 645 Processor AuthenticAMD GNU/Linux

So one test failure occurred on a hardened system, the other on I believe an x86 system.  There was a python package that had a fail on the x86 system but passed on amd64 that was due to a data type mis-match when the code was implemented on the x86 system.  Wonder if something similar might be happening here.
Comment 18 Jonathan Lovelace 2012-03-10 10:28:08 UTC
Created attachment 304817 [details]
verbose build log from new chroot

All versions currently in the tree fail tests (specifically, test #58 BundleUtilities) for me. Today I tried all three versions in a clean chroot, and all failed that test. (I attach a representative build log, with verbosity increased as before, compressed.) I then tried letting them build and install in the chroot without running tests, then rebuilding the same version with FEATURES=test, and the test still failed.

emerge --info of the chroot:

Portage 2.1.10.44 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.2.2-hardened-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.2-hardened-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6670_@_2.20GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 09 Mar 2012 14:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: sunrise gentoo-haskell seden gamerlay-stable local eclipse g-cpan hackport_laptop gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=core2 -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=core2 -march=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs distlocks ebuild-locks fakeroot fixlafiles news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2 -l5"
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="/usr/portage/local/layman/sunrise /usr/portage/local/layman/haskell /usr/portage/local/layman/seden /usr/portage/local/layman/gamerlay /usr/local/portage /usr/portage/local/layman/eclipse /usr/portage/local/layman/g-cpan /usr/portage/local/layman/hackport /usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl alsa amd64 bash-completion berkdb bzip2 caps cracklib crypt cxx dri gdbm gpm hardened iconv ipv6 justify mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pax_kernel pcre pppd readline session sse sse2 sse3 ssl ssse3 sysfs tcpd udev unicode urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="all" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" NETBEANS_MODULES="apisupport ergonomics cnd harness ide java nb ruby" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-util/cmake-2.8.7-r5 was built with the following:
USE="(multilib) ncurses -emacs -qt4 -test -vim-syntax"
Comment 19 Chris Reffett (RETIRED) gentoo-dev Security 2012-04-22 17:17:07 UTC
And now 2.8.8 is in the overlay, and it fails  62 - Qt4Deploy and 138 - CTest.UpdateCVS. For the first, it's attempting to use /usr/local, and is actually installing things outside of the sandbox somehow. (It also wiped out /usr/local for me, not really sure why or how, investigating that more). The reason appears to be this line commented out in cmake-2.8.8/Tests/Qt4Deploy/CMakeLists.txt: "#IGNORE set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/install)" and I'm working on a fix for that now.

For the second, the failure message is cvs [commit aborted]: 'root' is not allowed to commit files. That test should probably just be patched out.
Comment 20 Michael Palimaka (kensington) gentoo-dev 2012-07-06 14:05:23 UTC
BundleUtilities test has been fixed upstream: http://cmake.org/gitweb?p=cmake.git;a=commit;h=ac7a19
Comment 21 Johannes Huber (RETIRED) gentoo-dev 2012-08-15 13:57:42 UTC
Test result with 2.8.9 on x86:
> 100% tests passed, 0 tests failed out of 231

Will check amd64 later.
Comment 22 Chris Reffett (RETIRED) gentoo-dev Security 2012-08-15 14:17:46 UTC
AMD64 passes all tests for me. Woo!
Comment 23 Johannes Huber (RETIRED) gentoo-dev 2012-08-16 08:47:42 UTC
*** Bug 431590 has been marked as a duplicate of this bug. ***
Comment 24 Michael Palimaka (kensington) gentoo-dev 2012-08-16 12:18:16 UTC
@blueness: can you please attach the verbose test output of the failing test?
Comment 25 Anthony Basile gentoo-dev 2012-08-16 21:33:47 UTC
(In reply to comment #24)
> @blueness: can you please attach the verbose test output of the failing test?

hardenedmx6 BundleUtilities # pwd
/var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities
hardenedmx6 BundleUtilities # make
[ 14%] Building CXX object CMakeFiles/framework.dir/framework.cpp.o
Linking CXX shared library libframework.so
[ 14%] Built target framework
[ 28%] Building CXX object CMakeFiles/shared2.dir/shared2.cpp.o
Linking CXX shared library libshared2.so
[ 28%] Built target shared2
[ 42%] Building CXX object CMakeFiles/module1.dir/module.cpp.o
Linking CXX shared module module1.so
[ 42%] Built target module1
[ 57%] Building CXX object CMakeFiles/module2.dir/module.cpp.o
Linking CXX shared module module2.so
[ 57%] Built target module2
[ 71%] Building CXX object CMakeFiles/shared.dir/shared.cpp.o
Linking CXX shared library libshared.so
[ 71%] Built target shared
[ 85%] Building CXX object CMakeFiles/testbundleutils1.dir/testbundleutils1.cpp.o
Linking CXX executable testbundleutils1
[ 85%] Built target testbundleutils1
INPUT = /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities/testbundleutils1
MODULE = /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities/module1.so
INPUTDIR = /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities
OUTPUTDIR = /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities/testdir1
OUTPUT = /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities/testdir1/testbundleutils1
OUTPUTMODULE = /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities/testdir1/module1.so
-- fixup_bundle
--   app='/var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities/testdir1/testbundleutils1'
--   libs='/var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities/testdir1/module1.so'
--   dirs='/var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8_build/Tests/BundleUtilities'
-- warning: *NOT* handled - not .app dir, not executable file...
CMake Error at /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8/Modules/BundleUtilities.cmake:668 (message):
  error: fixup_bundle: not a valid bundle
Call Stack (most recent call first):
  /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8/Tests/BundleUtilities/bundleutils.cmake:37 (fixup_bundle)


make[2]: *** [CMakeFiles/testbundleutils1_test] Error 1
make[1]: *** [CMakeFiles/testbundleutils1_test.dir/all] Error 2
make: *** [all] Error 2
Comment 26 Michael Palimaka (kensington) gentoo-dev 2012-08-17 15:35:41 UTC
@blueness: what is the output of 'file testbundleutils1'?
Comment 27 Anthony Basile gentoo-dev 2012-08-17 20:20:39 UTC
(In reply to comment #26)
> @blueness: what is the output of 'file testbundleutils1'?

hardenedmx6 BundleUtilities # file testbundleutils1
testbundleutils1: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
Comment 28 Anthony Basile gentoo-dev 2012-08-18 13:30:23 UTC
Okay the situation with tests on arm is a little more complicated:

1) Vanilla gcc-4.5.3-r2 + cmake-2.8.8-r3.  The following tests FAILED:

       27 - TryCompile (Failed)
       99 - complex (Failed)
      100 - complexOneConfig (Failed)

2) Hardened gcc-4.5.3-r2 + cmake-2.8.8-r3.  The following tests FAILED:

       27 - TryCompile (Failed)
       59 - BundleUtilities (Failed)
       99 - complex (Failed)
      100 - complexOneConfig (Failed)

3) Vanilla gcc 4.6.3 + cmake-2.8.8-r3.  No tests failed.

4) Hardened gcc 4.6.3 + cmake-2.8.8-r3.  The followin test FAILED:

      59 - BundleUtilities (Failed)


so test 59 seems hardened realted.  The others were fixed with gcc 4.6.3.  Recommendations about stabilizatoin on arm?  Go ahead and stabilize cmake-2.8.8-r3?
Comment 29 Anthony Basile gentoo-dev 2012-08-18 13:40:59 UTC
> 1) Vanilla gcc-4.5.3-r2 + cmake-2.8.8-r3.  The following tests FAILED:

To be clear "vanilla" here just measn USE="-hardened"
Comment 30 Johannes Huber (RETIRED) gentoo-dev 2012-08-18 13:45:58 UTC
(In reply to comment #28)
> 1) Vanilla gcc-4.5.3-r2 + cmake-2.8.8-r3.  The following tests FAILED:
> 
>        27 - TryCompile (Failed)
>        99 - complex (Failed)
>       100 - complexOneConfig (Failed)
> 
> 
> so test 59 seems hardened realted.  The others were fixed with gcc 4.6.3. 
> Recommendations about stabilizatoin on arm?  Go ahead and stabilize
> cmake-2.8.8-r3?

If current arm stable cmake produces the same test result its not a regression.
Comment 31 Anthony Basile gentoo-dev 2012-08-18 14:53:19 UTC
(In reply to comment #30)
> (In reply to comment #28)
> > 1) Vanilla gcc-4.5.3-r2 + cmake-2.8.8-r3.  The following tests FAILED:
> > 
> >        27 - TryCompile (Failed)
> >        99 - complex (Failed)
> >       100 - complexOneConfig (Failed)
> > 
> > 
> > so test 59 seems hardened realted.  The others were fixed with gcc 4.6.3. 
> > Recommendations about stabilizatoin on arm?  Go ahead and stabilize
> > cmake-2.8.8-r3?
> 
> If current arm stable cmake produces the same test result its not a
> regression.

Then it is a regression because gcc-4.5.3-r2 + =dev-util/cmake-2.8.7-r5 has all its tests passing on arm.
Comment 32 Michael Palimaka (kensington) gentoo-dev 2012-08-18 15:12:02 UTC
(In reply to comment #27)
> hardenedmx6 BundleUtilities # file testbundleutils1
> testbundleutils1: ELF 32-bit LSB shared object, ARM, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
Correct that this is a hardened issue. It's a false positive and is fixed in 4.8.9
Comment 33 Johannes Huber (RETIRED) gentoo-dev 2012-08-19 12:58:13 UTC
=dev-util/cmake-2.8.9 is now in tree. It passes all tests for me on x86.
Comment 34 Michael Palimaka (kensington) gentoo-dev 2012-08-31 15:01:03 UTC
4.8.9 passes all tests here with hardened on amd64.
Comment 35 Markus Walter 2012-09-01 12:21:24 UTC
I can confirm, that cmake 4.8.9 passes all tests.
Comment 36 Michael Palimaka (kensington) gentoo-dev 2012-09-04 17:45:36 UTC
Three confirmations, closing. Thanks everyone!
Comment 37 Nikoli 2012-09-28 21:26:46 UTC
Not fixed, tests fail without network (bug #436188) and with (bug #436540)