FS#24604 - [libproxy] package places cmake module in wrong location

Attached to Project: Arch Linux
Opened by Matthew William Cox (mwc) - Monday, 06 June 2011, 19:07 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 12 June 2011, 06:59 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The cmake module tree used by the cmake package is /usr/share/cmake-2.8/Modules, while the libproxy package installs Findlibproxy.cmake under /usr/share/cmake/Modules. This effectively hides the module from cmake at runtime.

Additional info:
* cmake-2.8.4-1
* libproxy-0.4.6-7

Steps to reproduce:
Create a stub CMakeLists.txt file containing

find_package(libproxy)

and run cmake <DIRECTORY WHERE ABOVE FILE EXISTS>. a warning that the module cannot be found is printed.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 12 June 2011, 06:59 GMT
Reason for closing:  Won't fix
Additional comments about closing:  blame upstream
Comment by Andrea Scarpino (BaSh) - Monday, 06 June 2011, 21:23 GMT
Hi, I'm not sure if libproxy should installs its cmake file into cmake-2.8/Modules. And maybe neither in cmake/Modules; none of our packages install something in cmake-2.8/Modules, see phonon or avogadro or polkit-qt or opencv etc...
Anyway I'll report this upstream
Comment by Andrea Scarpino (BaSh) - Monday, 06 June 2011, 21:42 GMT

Loading...