Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628574 - =net-im/qtox-1.11.0 missing qttest:5 build dependency
Summary: =net-im/qtox-1.11.0 missing qttest:5 build dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zetok
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-22 07:26 UTC by Oleh
Modified: 2017-09-26 13:10 UTC (History)
4 users (show)

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


Attachments
qtox-1.11.0-qttest.patch (qtox-1.11.0-qttest.patch,742 bytes, text/plain)
2017-08-22 12:13 UTC, Michael Palimaka (kensington)
Details
qtox-1.11.0-qttest.patch (qtox-1.11.0-qttest.patch,849 bytes, text/plain)
2017-09-15 10:50 UTC, Michael Palimaka (kensington)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2017-08-22 07:26:20 UTC
as in summary

Reproducible: Always

Steps to Reproduce:
1. emerge =net-im/qtox-1.11.0, assuming no qt5test installed (or remove it)
2.
3.
Actual Results:  
– Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.2.2") 
CMake Error at cmake/Dependencies.cmake:16 (find_package):
  By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Test", but
  CMake did not find one.
  Could not find a package configuration file provided by "Qt5Test" with any
  of the following names:
    Qt5TestConfig.cmake
    qt5test-config.cmake
  Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set
  "Qt5Test_DIR" to a directory containing one of the above files.  If
  "Qt5Test" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:73 (include)
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-08-22 12:13:58 UTC
Created attachment 490052 [details]
qtox-1.11.0-qttest.patch

Untested patch.
Comment 2 Oleh 2017-08-25 03:45:07 UTC
the patch didn't help.
loading initial cache file /var/tmp/portage/net-im/qtox-1.11.0/work/qtox-1.11.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.2.2") 
CMake Error at cmake/Dependencies.cmake:16 (find_package):
  By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Test", but
  CMake did not find one.

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

    Qt5TestConfig.cmake
    qt5test-config.cmake

  Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set
  "Qt5Test_DIR" to a directory containing one of the above files.  If
  "Qt5Test" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:73 (include)


-- Configuring incomplete, errors occurred!
Comment 3 Michelangelo Scopelliti 2017-09-14 07:31:18 UTC
qttest:5 is indicated as REQUIRED in cmake/Dependencies.cmake, included by CMakeLists.txt. I fear that making qttest optional would be complex.

A question for the maintainer: wouldn't be simpler to use the source '*tar.gz' instead of '*lz'? lz is larger, and requires redefining S. Just a thought.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2017-09-15 10:50:00 UTC
Created attachment 494694 [details]
qtox-1.11.0-qttest.patch

Updated patch.
Comment 5 Oleh 2017-09-15 14:16:03 UTC
patch number 2 works fine.
Comment 6 Larry the Git Cow gentoo-dev 2017-09-26 13:10:07 UTC
The bug has been closed via the following commit(s):

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

commit c9cee44806524bc43f4c7740b3653e7ecadf24ef
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-09-26 13:09:41 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-09-26 13:09:57 +0000

    net-im/qtox: fix build failure when dev-qt/qttest:5 is not present
    
    Closes: https://bugs.gentoo.org/628574
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-im/qtox/qtox-1.11.0.ebuild | 13 ++++++++++++-
 net-im/qtox/qtox-9999.ebuild   | 13 ++++++++++++-
 2 files changed, 24 insertions(+), 2 deletions(-)