Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653618 - kde-apps/okular fails several tests
Summary: kde-apps/okular fails several tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
: 662754 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-04-20 14:52 UTC by Paolo Pedroni
Modified: 2022-08-24 01:56 UTC (History)
4 users (show)

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


Attachments
LastTest.log (LastTest.log,18.40 KB, text/x-log)
2018-04-20 14:52 UTC, Paolo Pedroni
Details
okular-18.04.0:20180420-143446.log.gz (okular-18.04.0:20180420-143446.log.gz,81.01 KB, application/gzip)
2018-04-20 14:53 UTC, Paolo Pedroni
Details
build.log x86 (build.log.gz,38.41 KB, application/gzip)
2018-07-29 00:16 UTC, Thomas Deutschmann (RETIRED)
Details
LastTest.log x86 (LastTest.log,35.82 KB, text/plain)
2018-07-29 00:16 UTC, Thomas Deutschmann (RETIRED)
Details
build.log (file_653618.txt,850.54 KB, text/plain)
2021-08-04 23:59 UTC, Sam James
Details
LastTest.log (file_653618.txt,40.87 KB, text/plain)
2021-08-05 00:00 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2018-04-20 14:52:55 UTC
Created attachment 528094 [details]
LastTest.log

>>> Test phase: kde-apps/okular-18.04.0
 * Scanning for an open DISPLAY to start Xvfb ...
 * Starting Xvfb on $DISPLAY=1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-apps/okular-18.04.0/work/okular-18.04.0_build"
ctest -j 12 --test-load 6 -E (mainshelltest|chmgeneratortest|parttest)
Test project /var/tmp/portage/kde-apps/okular-18.04.0/work/okular-18.04.0_build
      Start  1: kimgiotest
      Start  2: shelltest
 1/14 Test  #2: shelltest ........................   Passed    0.02 sec
      Start  3: documenttest
      Start  4: searchtest
 2/14 Test  #3: documenttest .....................***Exception: SegFault  0.40 sec
 3/14 Test  #1: kimgiotest .......................***Exception: SegFault  0.63 sec
      Start  5: annotationstest
      Start  6: urldetecttest
 4/14 Test  #6: urldetecttest ....................   Passed    0.11 sec
      Start  7: editannotationcontentstest
 5/14 Test  #4: searchtest .......................***Exception: SegFault  0.62 sec
      Start  8: addremoveannotationtest
 6/14 Test  #5: annotationstest ..................***Exception: SegFault  0.73 sec
      Start  9: translateannotationtest
 7/14 Test  #8: addremoveannotationtest ..........***Exception: SegFault  0.50 sec
      Start 10: modifyannotationpropertiestest
 8/14 Test  #7: editannotationcontentstest .......***Exception: SegFault  0.81 sec
      Start 11: editformstest
 9/14 Test  #9: translateannotationtest ..........***Exception: SegFault  0.64 sec
      Start 12: calculatetexttest
10/14 Test #10: modifyannotationpropertiestest ...***Exception: SegFault  0.46 sec
      Start 13: generatorstest
11/14 Test #11: editformstest ....................***Exception: SegFault  0.66 sec
      Start 14: editdrawingtooldialogtest
12/14 Test #14: editdrawingtooldialogtest ........   Passed    0.14 sec
13/14 Test #13: generatorstest ...................   Passed    0.34 sec
14/14 Test #12: calculatetexttest ................***Exception: SegFault  0.68 sec

29% tests passed, 10 tests failed out of 14

Total Test time (real) =   2.91 sec

The following tests FAILED:
          1 - kimgiotest (SEGFAULT)
          3 - documenttest (SEGFAULT)
          4 - searchtest (SEGFAULT)
          5 - annotationstest (SEGFAULT)
          7 - editannotationcontentstest (SEGFAULT)
          8 - addremoveannotationtest (SEGFAULT)
          9 - translateannotationtest (SEGFAULT)
         10 - modifyannotationpropertiestest (SEGFAULT)
         11 - editformstest (SEGFAULT)
         12 - calculatetexttest (SEGFAULT)
Errors while running CTest

LastTest.log file is attached.

# emerge --info =kde-apps/okular-18.04.0
Portage 2.3.24 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-7.3.0, glibc-2.25-r11, 4.16.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.16.1-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.4.1
KiB Mem:    12016424 total,   6592148 free
KiB Swap:   12582908 total,  12582908 free
Timestamp of repository gentoo: Fri, 20 Apr 2018 07:15:01 +0000
Head commit of repository gentoo: 4b1e6ce145e0709805e64ffeceb0163c716b5a22
sh dash 0.5.9.1-r3
ld GNU gold (Gentoo 2.29.1 p3 2.29.1) 1.14
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.3.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: no

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10 -msahf -mlzcnt -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -flto=7"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=amdfam10 -msahf -mlzcnt -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -flto=7"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compress-build-logs config-protect-if-modified distcc distlocks ebuild-locks ipc-sandbox merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ http://tux.rainside.sk/gentoo/ http://gentoo.mneisen.org/ http://gentoo.tiscali.nl/ http://gentoo.inode.at/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -flto=7"
MAKEOPTS="-j12 -l6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi activities adns alsa amd64 ao audiofile bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli crypt css cups curl cxx dbus declarative dga djvu dri dts dvd dvdr emboss encode exif expat fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm geoip gif gimp glamor gmp gnutls gphoto2 gpm graphviz gtk handbook iconv icu idn ieee1394 imagemagick imlib ipv6 java javascript jbig jpeg jpeg2k kde kipi kwallet lame lcms libass libcaca libnotify libsamplerate lm_sensors lua lzma lzo mad mmap mng modules mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl nsplugin offensive ogg openal opengl openmp pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio qml qt3support qt5 rdesktop readline recode samba scanner sctp sdl seccomp sndfile sockets speex spell sqlite sqlite3 ssl startup-notification svg symlink syslog systemd sysvipc taglib theora threads tidy tiff truetype udev udisks unicode upower usb vaapi vcd vdpau vim-syntax vnc vorbis wayland widgets win32codecs wmf wxwidgets x264 xattr xcb xcomposite xine xml xpm xscreensaver xv xvid yahoo zlib" ABI_X86="64" ALSA_CARDS="hda-intel virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon plan sheets stage words" CAMERAS="kodak ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 pypy pypy3" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -1pqv =kde-apps/okular-18.04.0
[ebuild     U ] kde-apps/okular-18.04.0 [17.12.3] USE="chm crypt djvu epub handbook image-backend mobi pdf postscript share* {test} tiff -debug -markdown -mobile -plucker -speech"
Comment 1 Paolo Pedroni 2018-04-20 14:53:49 UTC
Created attachment 528096 [details]
okular-18.04.0:20180420-143446.log.gz
Comment 2 Andreas Sturmlechner gentoo-dev 2018-04-24 11:06:29 UTC
hmm all those tests pass fine for me, wondering what's going wrong...
Comment 3 Paolo Pedroni 2018-04-26 12:53:10 UTC
(In reply to Andreas Sturmlechner from comment #2)
> hmm all those tests pass fine for me, wondering what's going wrong...

Me, too. Before you ask I'm telling you that disabling LTO makes no difference. I suppose that I should try disabling LTO on all dependencies, one at a time, and see if something fixes the issue, but it's honestly too much work ATM.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-29 00:16:19 UTC
Created attachment 541572 [details]
build.log x86

Same 10 tests are failing for x86 with =kde-apps/okular-18.04.3. However, no segfaults.

Portage 2.3.40 (python 3.6.5-final-0, default/linux/x86/17.0, gcc-7.3.0, glibc-2.26-r7, 4.14.52-gentoo i686)
=================================================================
System uname: Linux-4.14.52-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3107600 total,    997312 free
KiB Swap:     488276 total,    486988 free
Timestamp of repository gentoo: Sat, 28 Jul 2018 07:04:25 +0000
Head commit of repository gentoo: c2598d764aa0836607778c15bdb07d03c0497de5

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
BROOT=""
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.30/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENCL_PROFILE="mesa"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5 postgres10"
PWD="/tmp"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_6"
PYTHON_TARGETS="python2_7 python3_6"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
SYSROOT="/"
TERM="tmux-256color"
TMUX="/tmp/tmux-0/default,5404,0"
TMUX_PANE="%3"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-29 00:16:45 UTC
Created attachment 541574 [details]
LastTest.log x86
Comment 6 Andreas Sturmlechner gentoo-dev 2018-08-04 14:28:56 UTC
*** Bug 662754 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-05 21:52:06 UTC
=kde-apps/okular-20.12.3 still failing tests

> 26% tests passed, 14 tests failed out of 19
> 
> Total Test time (real) =   3.12 sec
> 
> The following tests FAILED:
>           1 - kimgiotest (Failed)
>           5 - visibilitytest (Failed)
>           6 - kjsfunctionstest (Failed)
>           7 - formattest (Failed)
>           8 - documenttest (Failed)
>           9 - searchtest (Failed)
>          10 - annotationstest (Failed)
>          12 - editannotationcontentstest (Failed)
>          13 - addremoveannotationtest (Failed)
>          14 - translateannotationtest (Failed)
>          15 - modifyannotationpropertiestest (Failed)
>          16 - editformstest (Failed)
>          17 - calculatetexttest (Failed)
>          19 - signatureformtest (Failed)
> Errors while running CTest
>
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-04 23:58:14 UTC
(In reply to Thomas Deutschmann from comment #7)
> =kde-apps/okular-20.12.3 still failing tests
> 
> > 26% tests passed, 14 tests failed out of 19
> > 

Same with 21.04.3-r2.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-04 23:59:18 UTC
Created attachment 730188 [details]
build.log
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-05 00:00:00 UTC
Created attachment 730191 [details]
LastTest.log
Comment 11 Andreas Sturmlechner gentoo-dev 2021-08-05 11:13:43 UTC
Tests require prior installation to succeed.