Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34196 - [phonon] Wrong installation dir for headers

Attached to Project: Arch Linux
Opened by Matthias Kleemann (mkleemann) - Thursday, 07 March 2013, 13:37 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 09 March 2013, 17:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When building via cmake with current qt4, phonon and cmake, the phonon include directory is looked up in the wrong place.

lookup: /usr/include/qt4/phonon
real location: /usr/include/phonon

Quick solution to work with locally: sudo ln -s /usr/include/phonon/ /usr/include/qt4/phonon

Additional info:
* package version(s)
** qt4 4.8.4-13
** cmake 2.8.10.2-4
** phonon 1:4.6.0-7

* config and/or log files etc.
** standard update: pacman -S qt4 phonon cmake

Steps to reproduce:

create CMakeLists.txt

cmake_minimum_required (VERSION 2.8)
project (test_project)
find_package (Qt4 COMPONENTS phonon REQUIRED)
message (STATUS "phonon path: ${QT_PHONON_INCLUDE_DIR}")

call cmake

output:

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
Could NOT find Qt4 (missing: QT_PHONON_INCLUDE_DIR) (found version "4.8.4")
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindQt4.cmake:1223 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:3 (find_package)
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 09 March 2013, 17:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  phonon 1:4.6.0-8

Loading...