Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558988 - sci-mathematics/rstudio-0.99.473 should depend on dev-qt/qtprintsupport.
Summary: sci-mathematics/rstudio-0.99.473 should depend on dev-qt/qtprintsupport.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 04:26 UTC by Oleg
Modified: 2015-08-30 14:31 UTC (History)
2 users (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 Oleg 2015-08-28 04:26:26 UTC
sci-mathematics/rstudio-0.99.473 depends on dev-qt/qtprintsupport but this dependency doesn't described in .ebuild file.

Reproducible: Always

Steps to Reproduce:
1. Don't emerge dev-qt/qtprintsupport or unmerge it.
2. Emerge sci-mathematics/rstudio-0.99.473
Actual Results:  
rstudio fails at configure step with error:

CMake Error at src/cpp/desktop/CMakeLists.txt:82 (find_package):
  By not providing "FindQt5PrintSupport.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5PrintSupport", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5PrintSupport"
  with any of the following names:

    Qt5PrintSupportConfig.cmake
    qt5printsupport-config.cmake

  Add the installation prefix of "Qt5PrintSupport" to CMAKE_PREFIX_PATH or
  set "Qt5PrintSupport_DIR" to a directory containing one of the above files.
  If "Qt5PrintSupport" provides a separate development package or SDK, be
  sure it has been installed.

Expected Results:  
Successfull compilation.

Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 3.18.12-gentoo x86_64)
=================================================================
System uname: Linux-3.18.12-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     6110724 total,   1919496 free
KiB Swap:   10485708 total,  10178444 free
Timestamp of repository gentoo: Thu, 27 Aug 2015 18:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

booboo
    location: /usr/local/portage/layman/booboo
    masters: gentoo
    priority: 0

nektoo
    location: /usr/local/portage/layman/nektoo
    masters: gentoo
    priority: 1

rust
    location: /usr/local/portage/layman/rust
    masters: gentoo
    priority: 2

media-overlay
    location: /usr/local/portage/layman/media-overlay
    masters: gentoo
    priority: 3

rion
    location: /usr/local/portage/layman/rion
    masters: gentoo
    priority: 4

gamerlay
    location: /usr/local/portage/layman/gamerlay
    masters: gentoo
    priority: 5

sunrise
    location: /usr/local/portage/layman/sunrise
    masters: gentoo
    priority: 6

x-my
    location: /usr/local/portage/my
    masters: gentoo
    priority: 7

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10 AdobeFlash-10.1 skype-eula Oracle-BCLA-JavaSE AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -msse -msse2 -msse3 -mssse3 -mmmx -mcx16 -msahf -momit-leaf-frame-pointer --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -msse -msse2 -msse3 -mssse3 -mmmx -mcx16 -msahf -momit-leaf-frame-pointer --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-O1"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/mnt/trash1/tmp"
USE="10bit X Xaw3d a52 aac aacplus aacs aalib abiword acl acpi alsa amd64 amr animgif anthy archive ass audacious audiofile bash-completion bidi bluetooth bluray branding bzip2 c++0x c++11 cairo canna caps cdda cdr cg chasen cjk cli consolekit cracklib crypt css cups curl cxx cyrillic dbus dga dia djvu dri dts dv dvb dvd dvdr dvdread egl emboss enca encode exif expat faac faad fam fbcon ffmpeg fftw firefox flac fontconfig fontforge fortran freewnn ftp fuse gallium gd gdbm ggi gif gimp ginac git gl3plus glade glamor gles gles1 gles2 gles3 glut gmp gnome-keyring gnuplot gpg gpm graphviz gs gsf gsm gstreamer gtk gtk3 gzip hddtemp hdf5 iconv id3 id3tag idn ieee1394 imagemagick imap imlib inotify ipv6 irc irda jabber jadetex java7 java8 jbig jingle joystick jpeg jpeg2k kate lame latex lcdfilter lcms libass libcanberra libmpd libnotify librtmp libsecret libv4l libv4l2 libwww lm_sensors lzma lzo m17n-lib mad math mathml matroska mbrola mercurial midi migemo mime mmap mmx mmxext mng modules mozilla mp3 mp4 mpd mpeg mplayer mule multilib musepack musicbrainz natspec ncurses nls nntp nocd nptl nptlonly nsplugin nspluginwrapper ntfs nvidia odf ofx ogg openal opencl opencv openexr opengl openmp openxml opus pango pch pcre pdf pgf pgo png policykit posix postscript ppds qrcode qt3support quicktime rar raw readline rle romio rss rtc rtmp scanner schroedinger scripts sctp sdl seccomp sensord session sharedmem shorten sip skk slang smp sndfile sockets socks5 sourceview sox speex spell sqlite sse sse2 sse3 ssl ssse3 startup-notification subversion svg syslog system-sqlite szip taglib tcpd teletext theora threads thunar tiff timidity truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau videos vim vim-syntax vorbis vpx webgl webkit webp wma wmf x264 x265 xa xattr xcb xetex xfce xfce4 xft xhtml xml xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 proxy proxy_http" CALLIGRA_FEATURES="karbon krita" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" DVB_CARDS="ttpci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="ru en ja eo el yi" NETBEANS_MODULES="apisupport java profiler websvccommon" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid flv gzip_static headers_more image_filter mp4 random_index realip secure_link upload upload_progress xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64 or32" QEMU_USER_TARGETS="i386 x86_64 or32" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fglrx vesa" 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"
USE_PYTHON="3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Anthony Staines 2015-08-28 10:37:24 UTC
Same issue for me.
Also seems to need dev-qt/qtsvg-5.4.2:5
Now recompiling after manually installing qtsvg-5
Comment 2 Anthony Staines 2015-08-28 10:39:12 UTC
Seems to compile and run nicely now.
Many thanks to the maintainers :-)
Comment 3 Mark Wright gentoo-dev 2015-08-28 13:24:39 UTC
Thanks for reporting, I'll add these missing dependencies.
Comment 4 Oleg 2015-08-28 18:10:42 UTC
Next error is:

CMake Error at src/cpp/desktop/CMakeLists.txt:82 (find_package):
  By not providing "FindQt5PrintSupport.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5PrintSupport", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5PrintSupport"
  with any of the following names:

    Qt5PrintSupportConfig.cmake
    qt5printsupport-config.cmake

  Add the installation prefix of "Qt5PrintSupport" to CMAKE_PREFIX_PATH or
  set "Qt5PrintSupport_DIR" to a directory containing one of the above files.
  If "Qt5PrintSupport" provides a separate development package or SDK, be
  sure it has been installed.


-- Configuring incomplete, errors occurred!
Comment 5 Oleg 2015-08-28 18:30:22 UTC
And next after installed dev-qt/qtprintsupport:

CMake Error at src/cpp/desktop/CMakeLists.txt:83 (find_package):
  By not providing "FindQt5Quick.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Quick",
  but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Quick" with any
  of the following names:

    Qt5QuickConfig.cmake
    qt5quick-config.cmake

  Add the installation prefix of "Qt5Quick" to CMAKE_PREFIX_PATH or set
  "Qt5Quick_DIR" to a directory containing one of the above files.  If
  "Qt5Quick" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
Comment 6 Oleg 2015-08-28 19:48:50 UTC
After emerge dev-qt/qtdeclarative next error:

CMake Error at src/cpp/desktop/CMakeLists.txt:86 (find_package):
  By not providing "FindQt5Svg.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Svg", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Svg" with any
  of the following names:

    Qt5SvgConfig.cmake
    qt5svg-config.cmake

  Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
  "Qt5Svg_DIR" to a directory containing one of the above files.  If "Qt5Svg"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!

After emerge dev-qt/qtsvg rstudio successfully configured.
Comment 7 Mark Wright gentoo-dev 2015-08-30 14:31:34 UTC
commit 7a45c4dcb255f80d2bc7c891f532bc81a95ecaa8
Author: Mark Wright <gienah@gentoo.org>
Date:   Mon Aug 31 00:28:31 2015 +1000

    sci-mathematics/rstudio: Fix bug 558900, unbundle qtsingleapplication
    
    Thanks to Helmut Jarausch for reporting, Franz Fellner for suggesting patching
    rstudio to use dev-qt/qtsingleapplication[qt5] rather than the bundled version.
    Remove sys-devel/clang upper bound, thanks to Helmut Jarausch for reporting and
    testing with clang-3.6.2-r100. I tested it builds with clang-3.7.0_rc3.
    Fix bug 558988 sci-mathematics/rstudio-0.99.473 missing qt dependencies,
    thanks to Oleg and Anthony Staines for reporting and testing.