Bug#890122: kcompletion FTBFS on architectures where Qt uses OpenGL ES
Source: kcompletion
Version: 5.42.0-2
Severity: serious
Tags: patch
https://buildd.debian.org/status/package.php?p=kcompletion&suite=sid
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
xvfb-run -a dh_auto_test
cd obj-arm-linux-gnueabi && make -j4 test ARGS\+=-j4
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
Running tests...
/usr/bin/ctest --force-new-ctest-process -j4
Test project /<<PKGBUILDDIR>>/obj-arm-linux-gnueabi
Start 1: kcompletioncoretest
Start 2: klineedit_unittest
Start 3: kcombobox_unittest
Start 4: ksortablelisttest
1/4 Test #4: ksortablelisttest ................ Passed 0.31 sec
2/4 Test #1: kcompletioncoretest ..............***Exception: SegFault 0.36 sec
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/2952', please create it with 0700 permissions.
libEGL warning: DRI2: failed to create any config
3/4 Test #2: klineedit_unittest ...............***Exception: SegFault 0.38 sec
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/2952', please create it with 0700 permissions.
libEGL warning: DRI2: failed to create any config
4/4 Test #3: kcombobox_unittest ...............***Exception: SegFault 0.37 sec
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/2952', please create it with 0700 permissions.
libEGL warning: DRI2: failed to create any config
25% tests passed, 3 tests failed out of 4
Total Test time (real) = 0.40 sec
The following tests FAILED:
1 - kcompletioncoretest (SEGFAULT)
2 - klineedit_unittest (SEGFAULT)
3 - kcombobox_unittest (SEGFAULT)
Errors while running CTest
Makefile:122: recipe for target 'test' failed
make[2]: *** [test] Error 8
Fix (stolen from Ubuntu):
--- debian/rules.old 2018-02-11 11:03:20.291380680 +0000
+++ debian/rules 2018-02-11 11:03:36.281213576 +0000
@@ -15,4 +15,4 @@
dh_strip --dbgsym-migration='libkf5completion5-dbg (<= 5.19.0-1~~)'
override_dh_auto_test:
- xvfb-run -a dh_auto_test
+ xvfb-run -a --server-args="-screen 0 1024x768x24+32" dh_auto_test
Reply to: