Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636462 - media-radio/wsjtx-1.8.0 package is missing the qtprintsupport dependency
Summary: media-radio/wsjtx-1.8.0 package is missing the qtprintsupport dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-03 19:03 UTC by Ben Kuhn
Modified: 2017-11-13 16:08 UTC (History)
1 user (show)

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


Attachments
Fixed ebuild (wsjtx-1.8.0.ebuild,1.24 KB, text/plain)
2017-11-03 19:03 UTC, Ben Kuhn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kuhn 2017-11-03 19:03:34 UTC
Created attachment 502376 [details]
Fixed ebuild

Problem:  The media-radio/wsjtx-1.8.0 ebuild is missing the qtprintsupport dependency and will not build without qtprintsupport installed.

Steps to reproduce:  emerge media-radio/wsjtx without qtprintsupport installed.

Expected result:  wsjtx builds and installs

Actual result:
Relevant snippet from build log: 
-- Found hamlib 
-- Found hamlib: /var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build/hamlib-prefix/include;/usr/include/libusb-1.0 (Required is at least version "3") 
-- hamlib_INCLUDE_DIRS: /var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build/hamlib-prefix/include;/usr/include/libusb-1.0
-- hamlib_LIBRARIES: -L/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build/hamlib-prefix/lib;-lhamlib;-lm;-ldl;-lusb-1.0;-ludev;-pthread
-- hamlib_LIBRARY_DIRS: /var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build/hamlib-prefix/lib
CMake Error at CMakeLists.txt:868 (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"
  (requested version 5) 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!
See also "/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:68: wsjtx-prefix/src/wsjtx-stamp/wsjtx-configure] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build'
make[1]: *** [CMakeFiles/Makefile2:325: CMakeFiles/wsjtx-build.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build'
make: *** [Makefile:84: all] Error 2
 * ERROR: media-radio/wsjtx-1.8.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-radio/wsjtx-1.8.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-radio/wsjtx-1.8.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-radio/wsjtx-1.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-radio/wsjtx-1.8.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build'
 * S: '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0'

Steps to resolve:  install qtprintsupport first.

A fixed ebuild is attached.
Comment 1 Thomas Beierlein gentoo-dev 2017-11-13 16:08:00 UTC
Good catch. Fixed version in tree.

>    media-radio/wsjtx: Add missing dep (Bug #636462).   
>    Thanks to  Ben Kuhn for reporting.