Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622394 - [kde overlay] kde-frameworks/kfilemetadata-9999[taglib] fails at configure stage
Summary: [kde overlay] kde-frameworks/kfilemetadata-9999[taglib] fails at configure stage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-21 14:52 UTC by Eugene Shalygin
Modified: 2017-06-24 16:02 UTC (History)
1 user (show)

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 Eugene Shalygin 2017-06-21 14:52:37 UTC
The package looks for Qt5Multimedia unconditionally, but ebuild passes 
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=ON making find_package() call fail.
Comment 1 Eugene Shalygin 2017-06-21 15:03:10 UTC
>>> Working in BUILD_DIR: "/var/portage/tmp/portage/kde-frameworks/kfilemetadata-9999/work/kfilemetadata-9999_build"
cmake -C /var/portage/tmp/portage/kde-frameworks/kfilemetadata-9999/work/kfilemetadata-9999_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_DISABLE_FIND_PACKAGE_EPub=ON -DCMAKE_DISABLE_FIND_PACKAGE_Exiv2=OFF -DCMAKE_DISABLE_FIND_PACKAGE_FFmpeg=OFF -DCMAKE_DISABLE_FIND_PACKAGE_KF5Archive=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Poppler=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Taglib=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/portage/tmp/portage/kde-frameworks/kfilemetadata-9999/work/kfilemetadata-9999_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/portage/tmp/portage/kde-frameworks/kfilemetadata-9999/work/kfilemetadata-9999_build/gentoo_toolchain.cmake  /var/portage/tmp/portage/kde-frameworks/kfilemetadata-9999/work/kfilemetadata-9999
loading initial cache file /var/portage/tmp/portage/kde-frameworks/kfilemetadata-9999/work/kfilemetadata-9999_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 7.1.0
-- The CXX compiler identification is GNU 7.1.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
-- 

-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Warning (dev) at /usr/lib64/cmake/Qt5/Qt5ModuleLocation.cmake:4 (set):
  Policy CMP0053 is not set: Simplify variable reference and escape sequence
  evaluation.  Run "cmake --help-policy CMP0053" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For input:

    '${_qt5_install_prefix}/Qt5@module@/Qt5@module@Config.cmake'

  the old evaluation rules produce:

    '/usr/lib64/cmake/Qt5/Qt5Config.cmake'

  but the new evaluation rules produce:

    '/usr/lib64/cmake/Qt5@module@/Qt5@module@Config.cmake'

  Using the old result for compatibility since the policy is not set.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5/Qt5Config.cmake:25 (include)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning at CMakeLists.txt:36 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt5 component "Multimedia" config file at
  "/usr/lib64/cmake/Qt5/Qt5Config.cmake"

  



-- Found KF5Archive: /usr/lib64/cmake/KF5Archive/KF5ArchiveConfig.cmake (found version "5.36.0") 
-- Found KF5: success (found suitable version "5.36.0", minimum required is "5.35.0") found components:  Archive 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found PythonInterp: /usr/bin/python (found version "3.6.1") 
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.36.0") 
-- Found KF5: success (found suitable version "5.36.0", minimum required is "5.35.0") found components:  I18n 
-- Poppler: Qt5 requires Core
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2") 
-- Found Poppler_Core: /usr/lib/libpoppler.so (found version "0.55.0") 
-- Found Poppler_Qt5: /usr/lib/libpoppler-qt5.so (found version "0.55.0") 
-- Found Poppler: /usr/lib/libpoppler.so;/usr/lib/libpoppler-qt5.so (found suitable version "0.55.0", minimum required is "0.12.1") found components:  Qt5 
-- Found Taglib: -L/usr/lib64 -ltag (found suitable version "1.11.1", minimum required is "1.9") 
-- Found Exiv2: /usr/lib/libexiv2.so (found suitable version "0.26.0", minimum required is "0.21") 
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.89.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.71.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 57.6.100
-- Checking for module 'libavutil'
--   Found libavutil, version 55.58.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.6.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.5.100
-- Found FFmpeg: /usr/lib/libavcodec.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so (Required is at least version "1.0") 
-- Found xattr
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- The following RUNTIME packages have been found:

 * CatDoc, catdoc executable, <http://www.wagner.pp.ru/~vitus/software/catdoc/>
   Extract text from office 98 files - RUNTIME dependency

-- The following OPTIONAL packages have been found:

 * Qt5Core
 * KF5Archive (required version >= 5.35.0), KDE Frameworks 5: Archive Framework, <https://download.kde.org/stable/frameworks/>
   Archive is needed to build ODF and OOXML 2007 extractors
 * Poppler (required version >= 0.12.1), A PDF rendering library, <http://poppler.freedesktop.org>
   Support for PDF files
 * Taglib (required version >= 1.9), Id3 tag reader, <http://developer.kde.org/~wheeler/taglib.html>
   Support for music metadata
 * Exiv2 (required version >= 0.21), Image Tag reader, <http://www.exiv2.org>
   Support for image metadata
 * PkgConfig
 * FFmpeg (required version >= 1.0), Video Tag reader, <http://ffmpeg.org>
   Support for video metadata

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.35.0), Extra CMake Modules., <https://projects.kde.org/projects/kdesupport/extra-cmake-modules>
 * Qt5Xml
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.35.0)
 * KF5 (required version >= 5.35.0)
 * Xattr, <http://savannah.nongnu.org/projects/attr>

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- The following REQUIRED packages have not been found:

 * Qt5 (required version >= 5.6.0)

CMake Error at /usr/share/cmake/Modules/FeatureSummary.cmake:426 (message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.
Call Stack (most recent call first):
  CMakeLists.txt:130 (feature_summary)


-- Configuring incomplete, errors occurred!
Comment 2 Eugene Shalygin 2017-06-21 15:43:03 UTC
Exchanging lines of two find_package(Qt5 ..) calls so that the one with REQUIRED goes last, helps.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-06-24 04:50:46 UTC
I sent a patch upstream: https://phabricator.kde.org/D6366
Comment 4 Michael Palimaka (kensington) gentoo-dev 2017-06-24 16:02:49 UTC
Thanks, fixed upstream.

https://cgit.kde.org/kfilemetadata.git/commit/?id=f30fede21bf0ef36c439be9f6bada2d5647f76ff