Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
This bug is kde4 test failitures tracker, do not write stuff which fails here but create separate bug and add it into depends.
these failures are caused by kde4-base.eclass setting -DKDE4_BUILD_TESTS=OFF in kde4-base_src_configure(). The tests are built during src_compile: [ 92%] Built target kdeinit_konsole Scanning dependencies of target konsole [ 93%] Generating PartTest.moc Building CXX object apps/konsole/src/CMakeFiles/konsole.dir/konsole_dummy.o Generating ProfileTest.moc Linking CXX executable konsole [ 93%] [ 93%] Built target konsolepart Built target konsole Generating SessionManagerTest.moc Scanning dependencies of target PartTest Scanning dependencies of target ProfileTest [ 94%] Building CXX object apps/konsole/src/tests/CMakeFiles/ProfileTest.dir/ProfileTest.o [ 95%] Building CXX object apps/konsole/src/tests/CMakeFiles/PartTest.dir/PartTest.o [ 96%] Building CXX object apps/konsole/src/tests/CMakeFiles/PartTest.dir/PartTest_automoc.o Scanning dependencies of target SessionManagerTest [ 97%] Building CXX object apps/konsole/src/tests/CMakeFiles/SessionManagerTest.dir/SessionManagerTest.o [ 98%] Building CXX object apps/konsole/src/tests/CMakeFiles/SessionManagerTest.dir/SessionManagerTest_automoc.o [100%] Building CXX object apps/konsole/src/tests/CMakeFiles/ProfileTest.dir/ProfileTest_automoc.o Linking CXX executable PartTest Linking CXX executable ProfileTest Linking CXX executable SessionManagerTest [100%] Built target PartTest [100%] Built target ProfileTest [100%] Built target SessionManagerTest >>> Source compiled. >>> Creating Manifest for /usr/portage/kde-base/konsole digest.assumed 1 konsole-3.5.9::kdebase-3.5.9.tar.bz2 make -j4 [ 1%] Built target fontembedder [ 2%] Built target konsole-handbook [ 4%] Built target kded_kwrited [ 44%] Built target konsolepart [ 92%] Built target kdeinit_konsole [ 93%] Built target konsole [ 95%] Built target PartTest [ 97%] Built target ProfileTest [100%] Built target SessionManagerTest * >>> Test phase [test]: kde-base/konsole-4.1.3 make -j4 -j1 test Running tests... Start processing tests Test project /var/tmp/portage/kde-base/konsole-4.1.3/work/konsole_build 1/ 2 Testing ProfileTest Passed 2/ 2 Testing SessionManagerTest Passed 100% tests passed, 0 tests failed out of 2
Yeah, this seems to be such a trivial hack to fix: kde4-base.class if [[ $BUILD_TYPE = live ]]; then # Disable tests for live ebuilds RESTRICT="${RESTRICT} test" # Live ebuilds in kde-base default to kdeprefix by default IUSE="${IUSE} +kdeprefix" else # All other ebuild types default to -kdeprefix as before IUSE="${IUSE} kdeprefix" fi +IUSE="${IUSE} test" # @ECLASS-VARIABLE: OPENGL_REQUIRED # @DESCRIPTION: ... src_configure () { ... + if has test ${IUSE//+} && use test; then + mycmakeargs="${mycmakeargs} -DKDE4_BUILD_TESTS=ON" + else + # Build tests in src_test only, where we override this value mycmakeargs="${mycmakeargs} -DKDE4_BUILD_TESTS=OFF" + fi --> tests start passing like magic. Noted adding the 'test' iuse to everything to make this work is possibly a bit overkill and there is probably a cleaner way to do it.
these are the failures for 4.2.0. i don't really see the point of filing a new bug for each, since the root cause is the same. these are just the packages i installed (@kdebase and a few odds and ends) so there are more than likely more. |-- kde-base | |-- akonadi-4.2.0 | |-- kdemaildir-4.2.0 | |-- kdemultimedia-kioslaves-4.2.0 | |-- konsole-4.2.0 | |-- kontactinterfaces-4.2.0 | |-- korganizer-4.2.0-r1 | |-- kscd-4.2.0 | |-- ksysguard-4.2.0 | |-- ksystemlog-4.2.0 | |-- libkcddb-4.2.0 | |-- libkdegames-4.2.0 | |-- libkdepim-4.2.0 | |-- libkholidays-4.2.0 | `-- solid-4.2.0
most of these pass now, but there's a few that still don't. i'll file bugs for them.