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)
Created attachment 490052 [details] qtox-1.11.0-qttest.patch Untested patch.
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!
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.
Created attachment 494694 [details] qtox-1.11.0-qttest.patch Updated patch.
patch number 2 works fine.
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(-)