Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717964 - sci-visualization/paraview-5.8.0-r2 build fails, if qt5 use flag is set, but qtsvg is not installed
Summary: sci-visualization/paraview-5.8.0-r2 build fails, if qt5 use flag is set, but ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-17 22:04 UTC by Joachim Herb
Modified: 2020-09-11 14:52 UTC (History)
1 user (show)

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 Joachim Herb 2020-04-17 22:04:25 UTC
Trying to emerge paraview fails, if qt5 use flag is set for paraview, but qtsvg is not installed:

-- Performing Test CHECK_HAVE_STAT64_STRUCT
-- Performing Test CHECK_HAVE_STAT64_STRUCT - Failed
-- Could NOT find Qt5Svg (missing: Qt5Svg_DIR)
CMake Warning at VTK/CMake/vtkModule.cmake:4105 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt5 component "Svg" config file at
  "/usr/lib64/cmake/Qt5Svg/Qt5SvgConfig.cmake"



Call Stack (most recent call first):
  Qt/ApplicationComponents/CMakeLists.txt:281 (vtk_module_find_package)


CMake Error at VTK/CMake/vtkModule.cmake:4111 (message):
  Could not find the Qt5 external dependency.
Call Stack (most recent call first):
  Qt/ApplicationComponents/CMakeLists.txt:281 (vtk_module_find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/work/paraview-5.8.0_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/work/paraview-5.8.0_build/CMakeFiles/CMakeError.log".
 * ERROR: sci-visualization/paraview-5.8.0-r2::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 4036:  Called cmake-utils_src_configure
 *   environment, line 1476:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=sci-visualization/paraview-5.8.0-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-visualization/paraview-5.8.0-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/work/paraview-5.8.0_build'
 * S: '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/work/ParaView-v5.8.0'

>>> Failed to emerge sci-visualization/paraview-5.8.0-r2, Log file:

>>>  '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/temp/build.log'

 * Messages for package sci-visualization/paraview-5.8.0-r2:

 * ERROR: sci-visualization/paraview-5.8.0-r2::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 4036:  Called cmake-utils_src_configure
 *   environment, line 1476:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=sci-visualization/paraview-5.8.0-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-visualization/paraview-5.8.0-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/work/paraview-5.8.0_build'
 * S: '/var/tmp/portage/sci-visualization/paraview-5.8.0-r2/work/ParaView-v5.8.0'

Merging qtsvg before emerging paraview solves the problem.


emerge --info paraview
Portage 2.3.89 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r7, 5.4.28-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.28-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i3-8109U_CPU_@_3.00GHz-with-gentoo-2.6                                                                                                                                                                       KiB Mem:    16335236 total,  12137260 free                                                                                                                                                                                                                                     KiB Swap:          0 total,         0 free                                                                                                                                                                                                                                     Timestamp of repository gentoo: Fri, 17 Apr 2020 01:00:01 +0000                                                                                                                                                                                                                Head commit of repository gentoo: 10c1df032fc9fd9ab816018ddfb8041ddcec6529                                                                                                                                                                                                     sh bash 4.4_p23-r1                                                                                                                                                                                                                                                             ld GNU ld (Gentoo 2.33.1 p2) 2.33.1                                                                                                                                                                                                                                            distcc 3.3.3 x86_64-pc-linux-gnu [disabled]                                                                                                                                                                                                                                    ccache version 3.7.7 [enabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.7.7-r1::gentoo
dev-util/ccache:          3.7.7-r1::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo                                                                                                                                                                                                                                         sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

localrepo
    location: /usr/local/portage
    masters: gentoo

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -msse4.1 -mfxsr --param l1-cache-size=24"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
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=core2 -mcx16 -msahf -msse4.1 -mfxsr --param l1-cache-size=24"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --buildpkg --buildpkg-exclude "virtual/* sys-kernel/*-sources *-bin" --usepkg --binpkg-respect-use y --binpkg-changed-deps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="3dnow 3dnowext X a52 aac aalib acl alsa amd64 bash-completion berkdb bzip2 cblas-external cdr cli crypt curl dbus divx dri drm dvb dvbplayer dvd dvdplayer fortran gdbm gif glamor gudev iconv ipv6 jpeg libtirpc lm_sensors lock maildir mmx mp3 mpi mpi-threads multilib ncurses network nls nptl nvram opengl openmp pam pcre png pulseaudio python readline seccomp session sna split-usr sse sse2 ssl startup-notification systemd tcpd threads thunar tiff tinfo tools udev unicode usb userlocales utils uxa v4l vaapi vdpau wayland win32codecs xattr xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 3dnow 3dnowext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

sci-visualization/paraview-5.8.0-r2::gentoo was built with the following:
USE="mpi openmp qt5 sqlite -boost -cg -coprocessing -development -doc -examples -ffmpeg -mysql -nvcontrol -offscreen -plugins -python -test -tk -webengine" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_6"
FEATURES="buildpkg unmerge-orphans usersandbox userpriv userfetch qa-unresolved-soname-deps assume-digests xattr config-protect-if-modified ccache binpkg-dostrip multilib-strict protect-owned sfperms pid-sandbox fixlafiles usersync ebuild-locks binpkg-docompress distlocks sandbox news parallel-fetch binpkg-logs unmerge-logs ipc-sandbox merge-sync preserve-libs unknown-features-warn strict network-sandbox"
Comment 1 Jonas Stein gentoo-dev 2020-04-19 15:16:08 UTC
Next time, please *attach* the logs as described on 
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 2 Larry the Git Cow gentoo-dev 2020-09-11 14:52:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f1123e54d373c3ecd091c609a347fe4a5b5aa9

commit 12f1123e54d373c3ecd091c609a347fe4a5b5aa9
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2020-09-11 14:07:56 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2020-09-11 14:50:32 +0000

    sci-visualization/paraview: add missing dependency
    
    Closes: https://bugs.gentoo.org/717964
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 sci-visualization/paraview/paraview-5.8.0-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)