Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802279 - dev-util/cppcheck-2.4.1[qt5] w/o BDEPEND=dev-qt/linguist-tools:5: CMake Error: Could not find a package configuration file provided by "Qt5LinguistTools"
Summary: dev-util/cppcheck-2.4.1[qt5] w/o BDEPEND=dev-qt/linguist-tools:5: CMake Error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-15 12:28 UTC by Sebastian Pipping
Modified: 2021-11-23 22:19 UTC (History)
0 users

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 Sebastian Pipping gentoo-dev 2021-07-15 12:28:07 UTC
Build error:
  [..]
  CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
    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.
  Call Stack (most recent call first):
    cmake/findDependencies.cmake:3 (find_package)
    CMakeLists.txt:10 (include)
  [..]
  
Potential file source:
  # qlist dev-qt/linguist-tools | fgrep Qt5LinguistTools
  /usr/lib64/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake
  /usr/lib64/cmake/Qt5LinguistTools/Qt5LinguistToolsConfigVersion.cmake
  /usr/lib64/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake
Comment 1 Larry the Git Cow gentoo-dev 2021-11-23 20:57:14 UTC
The bug has been closed via the following commit(s):

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

commit 4de40c03a6832bc5cfc95637ca4d26fe81ff1da7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-23 20:56:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-23 20:57:05 +0000

    dev-util/cppcheck: add 2.6.2
    
    Fixes build with glibc-2.34.
    
    Also:
    - Use BDEPEND
    - Run tests
    - Don't use bundled tinyxml2
    - Don't recompile in src_install (and don't call CXX directly within it)
    
    Closes: https://bugs.gentoo.org/822114
    Closes: https://bugs.gentoo.org/806312
    Closes: https://bugs.gentoo.org/803014
    Closes: https://bugs.gentoo.org/802279
    Closes: https://bugs.gentoo.org/796638
    Closes: https://bugs.gentoo.org/729090
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/cppcheck/Manifest              |  1 +
 dev-util/cppcheck/cppcheck-2.6.2.ebuild | 87 +++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2021-11-23 22:19:18 UTC
The bug has been referenced in the following commit(s):

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

commit 5fe31c02e6c8beec3e72de5e8e30c0d3e0d159e6
Author:     Alex Margolin <alex.margolin@nextsilicon.com>
AuthorDate: 2021-10-31 11:43:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-23 22:19:11 +0000

    dev-util/cppcheck: add a missing dependency from qt5 to 2.4.1 too
    
    Bug: https://bugs.gentoo.org/802279
    Signed-off-by: Alex Margolin <alex.margolin@nextsilicon.com>
    Closes: https://github.com/gentoo/gentoo/pull/22774
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/cppcheck/cppcheck-2.4.1.ebuild | 1 +
 1 file changed, 1 insertion(+)