>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/kleopatra-4.4.11.1/work/kleopatra-4.4.11.1_build" Test project /var/tmp/portage/kde-base/kleopatra-4.4.11.1/work/kleopatra-4.4.11.1_build Start 1: kleo-verifytest [zzzz...] Restricted.
1: Test command: /mnt/gen2/tmpdir/portage/kde-base/kleopatra-4.4.11.1/work/kleopatra-4.4.11.1_build/kleopatra/tests/test_verify.shell 1: Test timeout computed to be: 9.99988e+06 1: ********* Start testing of VerifyTest ********* 1: Config: Using QTest library 4.8.0, Qt 4.8.0 1: PASS : VerifyTest::initTestCase() 1: PASS : VerifyTest::testVerify() 1: PASS : VerifyTest::testParallelVerifyAndKeyListJobs() 1: 1: GLib-ERROR **: Creating pipes for GWakeup: Too many open files 1: 1: /mnt/gen2/tmpdir/portage/kde-base/kleopatra-4.4.11.1/work/kleopatra-4.4.11.1_build/kleopatra/tests/test_verify.shell: line 4: 28665 Trace/breakpoint trap LD_LIBRARY_PATH=/mnt/gen2/tmpdir/portage/kde-base/kleopatra-4.4.11.1/work/kleopatra-4.4.11.1_build/lib/./:/usr/lib64:/usr/lib64:/usr/lib64/qt4${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} "/mnt/gen2/tmpdir/portage/kde-base/kleopatra-4.4.11.1/work/kleopatra-4.4.11.1_build/kleopatra/tests/test_verify" "$@" 1/1 Test #1: kleo-verifytest ..................***Failed 3.07 sec 0% tests passed, 1 tests failed out of 1 ok, a Glib error Creating pipes for GWakeup. I guess GWakeup is a Qt function.
gentoo64 kleopatra-4.7.4_build # ctest Test project /mnt/gen2/tmpdir/portage/kde-base/kleopatra-4.7.4/work/kleopatra-4.7.4_build Start 1: kleo-verifytest 1/1 Test #1: kleo-verifytest .................. Passed 8.43 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 8.43 sec This one I can't fix since related to the dbus dilemma in that the test when run from the ebuild in the sandbox goes Creating pipes; this is its folly. This relates to making file descriptors and pipes at a low system level that I don't grasp. I suppose in this case just restricting it is a sensible management option. We can see the test can pass if run manually which means it doesn't really fail, but letting it run in an emerge will bring it down.
Created attachment 300953 [details] test session I poked around some, and found that after the tests fail, if I go into ${PORTAGEDIR}/kde-base/kleopatra-4.8.0/work/kleopatra-4.8.0_build/kleopatra/tests/ and run make it builds a couple additional files and subsequent runs of ctest --verbose complete successfully. I've attached a copy-paste of my session in which I ran ctest --verbose and it failed, ran make, and then tested again and it passed/
Okay, my best guess is that test_uiserver isn't being built with the proper flags. When I run the "make" command in /var/tmp/portage/kde-base/kleopatra-4.8.0/work/kleopatra-4.8.0_build/kleopatra/tests and diff the results with the original, what I find is that one file, test_uiserver_automoc.cpp has a comment about being built with "-DDISABLE_NEPOMUK_LEGACY -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=46 -D_ASSUAN_ONLY_GPG_ERRORS -DQT_STL -DGPG_ERR_SOURCE_DEFAULT=GPG_ERR_SOURCE_USER_2" That comment does not exist in the original version. However, I don't know enough about automoc/cmake/etc. to know where the error is, so I'd appreciate some help fixing this one.
Final note, the file test_verify_automoc.cpp in the same directory does in fact contain that comment even when built by emerge rather than by make.
Tests are restricted. As per KDE team decision it makes no sense to keep test-failure bugs open in kde-base, so closing.