Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525216 - app-text/bibletime-2.10.0 fails compile
Summary: app-text/bibletime-2.10.0 fails compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Theology Herd (disbanded)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-13 05:22 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2015-05-20 14:40 UTC (History)
1 user (show)

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


Attachments
bibletime compile log.gz (bibletime-portage-qtmixed.gz,2.17 KB, application/x-gzip)
2014-10-13 05:22 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
emerge --info (einfo,5.42 KB, text/plain)
2014-10-13 05:23 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
bibletime-2.10.1 build.log (build.log,4.13 KB, text/x-log)
2015-05-20 14:40 UTC, Jouni Rinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-10-13 05:22:27 UTC
Created attachment 386578 [details]
bibletime compile log.gz

I have it failing compile on two systems, but in slightly different ways. But at this time I am not able to disambiguate them being different or the same, so assuming they are and reporting only details for one.

Its not a high priority for me, but I do like to see bugs fixed =)

Excerpt:

CMake Error at CMakeLists.txt:108 (FIND_PACKAGE):
  By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5LinguistTools", but CMake did not find one.

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

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-10-13 05:23:37 UTC
Created attachment 386580 [details]
emerge --info
Comment 2 causality 2015-02-03 17:59:32 UTC
I encounter the same error with app-text/bibletime-2.10.1 if I compile it without the "qt5" USE flag.  The problem appears to be that it needs dev-qt/linguist-tools but this package is not listed as a dependency in the bibletime ebuild.

Without the "qt5" USE flag, The package dev-qt/linguist-tools is not pulled in by "emerge bibletime", causing app-text/bibletime to fail during the configure stage.

However, if you enable the "qt5" USE flag, the following additional dependencies are pulled in by "emerge bibletime":  dev-qt/qttest, dev-qt/linguist-tools, and dev-qt/qtdbus.  Doing it this way, I no longer get a configure-time error from a failure to find linguist-tools.

Now I get a configure-time error about a failure to find "Qt5WebKit" and app-text/bibletime still fails to build.

The nature of the bug appears to be that in both cases (with or without "qt5" in USE), necessary dependencies are not properly listed in the ebuild for app-text/bibletime (incidentally I think I'll wait for this to be sorted out, rather than clutter my world file with the necessary dependencies).
Comment 3 causality 2015-02-03 18:12:39 UTC
Update:  to see what would happen, I kept dev-qt/linguist-tools installed and tried again to "emerge bibletime" without the "qt5" USE flag.  Oddly, it still fails during the configure stage, with an error about being unable to find Qt5WebKit.  With the "qt5" USE flag unset, one would expect it to find and use my installed dev-qt/qtwebkit-4.8.6-r1.

It appears that setting or unsetting the "qt5" USE flag makes no real difference in how this package is built.  Either way it looks for Qt5 components and fails to build without them, yet these are not listed in the ebuild as dependencies.
Comment 4 Chris Reffett (RETIRED) gentoo-dev Security 2015-02-17 22:31:41 UTC
Thanks for the report, sorry about the delay getting this looked at.

@Kent: Could you please try 2.10.1? 2.10.0 apparently did not handle the qt4/qt5 split at all, I will be dropping it shortly. USE=-qt5 should force it to build against qt4 only, though I haven't had a chance to build it on a mixed qt4/qt5 box yet. Works fine on a qt4-only box.

@causality: Would you mind posting a full build.log? I'm guessing there is some automagic dependency checking going on here which prefers qt5 to qt4, and I'd like to pin down where exactly.
Comment 5 Jouni Rinne 2015-05-20 14:40:12 UTC
Created attachment 403682 [details]
bibletime-2.10.1 build.log
Comment 6 Jouni Rinne 2015-05-20 14:40:38 UTC
Well, bibletime-2.10.1 still doesn't compile on a mixed qt4/qt5-environment with "qt5" USE-flag disabled. Chris, can you continue from here or should I open a new bug?