Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635892 - dev-libs/kdiagram-2.6.0 needs to set VIRTUALX_REQUIRED=test
Summary: dev-libs/kdiagram-2.6.0 needs to set VIRTUALX_REQUIRED=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-30 12:52 UTC by Paolo Pedroni
Modified: 2017-10-30 13:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2017-10-30 12:52:43 UTC
With VIRTUALX_REQUIRED unset:
>>> Test phase: dev-libs/kdiagram-2.6.0
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/kdiagram-2.6.0/work/kdiagram-2.6.0_build"
ctest -j 12 --test-load 6
Test project /var/tmp/portage/dev-libs/kdiagram-2.6.0/work/kdiagram-2.6.0_build
***** WAITING, System Load: 6, Max Allowed Load: 6, Smallest test TestKChartAttributesModel requires 1*****
***** WAITING, System Load: 6, Max Allowed Load: 6, Smallest test TestKChartAttributesModel requires 1*****
      Start  1: TestKChartAttributesModel
 1/19 Test  #1: TestKChartAttributesModel .............***Failed    0.06 sec
      Start  2: TestKChartAxisOwnership
 2/19 Test  #2: TestKChartAxisOwnership ...............***Failed    0.01 sec
      Start  3: TestKChartBarDiagrams
 3/19 Test  #3: TestKChartBarDiagrams .................***Failed    0.04 sec
      Start  4: CartesianDiagramDataCompressorTests
 4/19 Test  #4: CartesianDiagramDataCompressorTests ...***Failed    0.04 sec
      Start  5: TestCartesianPlanes
 5/19 Test  #5: TestCartesianPlanes ...................***Failed    0.04 sec
      Start  6: TestChartElementOwnership
 6/19 Test  #6: TestChartElementOwnership .............***Failed    0.04 sec
      Start  7: TestCloning
 7/19 Test  #7: TestCloning ...........................***Failed    0.04 sec
      Start  8: TestDrawIntoPainter
 8/19 Test  #8: TestDrawIntoPainter ...................***Failed    0.04 sec
      Start  9: TestLegends
 9/19 Test  #9: TestLegends ...........................***Failed    0.04 sec
      Start 10: TestLineDiagrams
10/19 Test #10: TestLineDiagrams ......................***Failed    0.04 sec
      Start 11: TestMeasure
11/19 Test #11: TestMeasure ...........................***Failed    0.04 sec
      Start 12: TestKChartPalette
12/19 Test #12: TestKChartPalette .....................***Failed    0.04 sec
      Start 13: TestParamVsParam
13/19 Test #13: TestParamVsParam ......................***Failed    0.04 sec
      Start 14: TestPieDiagrams
14/19 Test #14: TestPieDiagrams .......................***Failed    0.04 sec
      Start 15: TestPolarDiagrams
15/19 Test #15: TestPolarDiagrams .....................***Failed    0.04 sec
      Start 16: TestPolarPlanes
16/19 Test #16: TestPolarPlanes .......................***Failed    0.04 sec
      Start 17: TestQLayout
17/19 Test #17: TestQLayout ...........................***Failed    0.04 sec
      Start 18: TestRelativePosition
18/19 Test #18: TestRelativePosition ..................***Failed    0.04 sec
      Start 19: TestWidgetElementOwnership
19/19 Test #19: TestWidgetElementOwnership ............***Failed    0.04 sec

0% tests passed, 19 tests failed out of 19

Total Test time (real) =   5.79 sec

The following tests FAILED:
          1 - TestKChartAttributesModel (Failed)
          2 - TestKChartAxisOwnership (Failed)
          3 - TestKChartBarDiagrams (Failed)
          4 - CartesianDiagramDataCompressorTests (Failed)
          5 - TestCartesianPlanes (Failed)
          6 - TestChartElementOwnership (Failed)
          7 - TestCloning (Failed)
          8 - TestDrawIntoPainter (Failed)
          9 - TestLegends (Failed)
         10 - TestLineDiagrams (Failed)
         11 - TestMeasure (Failed)
         12 - TestKChartPalette (Failed)
         13 - TestParamVsParam (Failed)
         14 - TestPieDiagrams (Failed)
         15 - TestPolarDiagrams (Failed)
         16 - TestPolarPlanes (Failed)
         17 - TestQLayout (Failed)
         18 - TestRelativePosition (Failed)
         19 - TestWidgetElementOwnership (Failed)
Errors while running CTest

With VIRTUALX_REQUIRED=test:
>>> Test phase: dev-libs/kdiagram-2.6.0
 * Scanning for an open DISPLAY to start Xvfb ...
 * Starting Xvfb on $DISPLAY=1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/kdiagram-2.6.0/work/kdiagram-2.6.0_build"
ctest -j 12 --test-load 6
Test project /var/tmp/portage/dev-libs/kdiagram-2.6.0/work/kdiagram-2.6.0_build
***** WAITING, System Load: 6, Max Allowed Load: 6, Smallest test TestKChartAttributesModel requires 1*****
      Start  1: TestKChartAttributesModel
      Start  2: TestKChartAxisOwnership
 1/19 Test  #1: TestKChartAttributesModel .............   Passed    0.11 sec
      Start  3: TestKChartBarDiagrams
 2/19 Test  #2: TestKChartAxisOwnership ...............   Passed    0.21 sec
      Start  4: CartesianDiagramDataCompressorTests
 3/19 Test  #3: TestKChartBarDiagrams .................   Passed    0.11 sec
 4/19 Test  #4: CartesianDiagramDataCompressorTests ...   Passed    0.09 sec
      Start  5: TestCartesianPlanes
 5/19 Test  #5: TestCartesianPlanes ...................   Passed    0.08 sec
      Start  6: TestChartElementOwnership
      Start  7: TestCloning
      Start  8: TestDrawIntoPainter
 6/19 Test  #7: TestCloning ...........................   Passed    0.31 sec
 7/19 Test  #6: TestChartElementOwnership .............   Passed    0.41 sec
      Start  9: TestLegends
 8/19 Test  #9: TestLegends ...........................   Passed    0.17 sec
      Start 10: TestLineDiagrams
 9/19 Test #10: TestLineDiagrams ......................   Passed    0.10 sec
      Start 11: TestMeasure
10/19 Test #11: TestMeasure ...........................   Passed    0.13 sec
      Start 12: TestKChartPalette
11/19 Test #12: TestKChartPalette .....................   Passed    0.11 sec
      Start 13: TestParamVsParam
      Start 14: TestPieDiagrams
12/19 Test #14: TestPieDiagrams .......................   Passed    0.10 sec
      Start 15: TestPolarDiagrams
13/19 Test #15: TestPolarDiagrams .....................   Passed    0.10 sec
14/19 Test #13: TestParamVsParam ......................   Passed    0.51 sec
      Start 16: TestPolarPlanes
15/19 Test #16: TestPolarPlanes .......................   Passed    0.10 sec
      Start 17: TestQLayout
      Start 18: TestRelativePosition
16/19 Test #17: TestQLayout ...........................   Passed    0.40 sec
17/19 Test #18: TestRelativePosition ..................   Passed    0.20 sec
      Start 19: TestWidgetElementOwnership
18/19 Test #19: TestWidgetElementOwnership ............   Passed    0.15 sec
19/19 Test  #8: TestDrawIntoPainter ...................   Passed   26.44 sec

100% tests passed, 0 tests failed out of 19

Total Test time (real) =  29.25 sec
 * Tests succeeded.
>>> Completed testing dev-libs/kdiagram-2.6.0

# emerge --info =dev-libs/kdiagram-2.6.0
Portage 2.3.8 (python 3.5.4-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-6.4.0, glibc-2.25-r8, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.4.1
KiB Mem:    12024484 total,   5582164 free
KiB Swap:   12582908 total,  12582908 free
Timestamp of repository gentoo: Mon, 30 Oct 2017 08:15:01 +0000
Head commit of repository gentoo: d033aa4bb8e1dc7270dc9c5648d7d949d0187b10
sh dash 0.5.9.1-r3
ld GNU gold (Gentoo 2.28.1 p1.0 2.28.1) 1.14
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1::gentoo
dev-lang/python:          2.7.14::gentoo, 3.5.4::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            6.4.0::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.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

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 -fuse-linker-plugin -floop-nest-optimize -ftree-loop-distribution -fgraphite-identity -ftree-vectorize"
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 -fuse-linker-plugin -floop-nest-optimize -ftree-loop-distribution -fgraphite-identity -ftree-vectorize"
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 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 -fuse-linker-plugin -floop-nest-optimize -ftree-loop-distribution -fgraphite-identity -ftree-vectorize"
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 cracklib crypt css cups curl cxx dbus declarative dga djvu dri dts dvd dvdr emboss encode exif expat fbcon ffmpeg fftw firefox 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 openexr opengl openmp pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio qml qt3support qt4 qt5 rdesktop readline recode samba scanner sctp sdl seccomp session 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 xinerama 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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" LINGUAS="it it_IT" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_TARGETS="python2_7 python3_5 pypy pypy3" RUBY_TARGETS="ruby22" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-libs/kdiagram-2.6.0::gentoo was built with the following:
USE="examples test -debug" ABI_X86="(64)"

# emerge -1pqv =dev-libs/kdiagram-2.6.0
[ebuild   R   ] dev-libs/kdiagram-2.6.0  USE="examples {test} -debug"
Comment 1 Paolo Pedroni 2017-10-30 12:58:38 UTC
Github PR #6085
Comment 2 Larry the Git Cow gentoo-dev 2017-10-30 13:29:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b34f21a3c97d08f482f440c5ddb88880d8285f2

commit 4b34f21a3c97d08f482f440c5ddb88880d8285f2
Author:     Paolo Pedroni <PPed72@users.noreply.github.com>
AuthorDate: 2017-10-30 12:58:04 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-10-30 13:29:14 +0000

    dev-libs/kdiagram: virtualx is required for tests
    
    Closes: https://bugs.gentoo.org/635892
    Closes: https://github.com/gentoo/gentoo/pull/6085

 dev-libs/kdiagram/kdiagram-2.6.0.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 3 Larry the Git Cow gentoo-dev 2017-10-30 13:31:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=e4cbb2acaa12f997ac3719663a8aaedbfc34e1a7

commit e4cbb2acaa12f997ac3719663a8aaedbfc34e1a7
Author:     Paolo Pedroni <PPed72@users.noreply.github.com>
AuthorDate: 2017-10-30 13:30:35 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-10-30 13:30:57 +0000

    dev-libs/kdiagram: dev-libs/kdiagram: virtualx is required for tests
    
    Bug: https://bugs.gentoo.org/635892
    Package-Manager: Portage-2.3.8, Repoman-2.3.4

 dev-libs/kdiagram/kdiagram-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)}