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#33626 - [cmake] returns wrong include path for lua 5.1

Attached to Project: Arch Linux
Opened by Aistis Jokubauskas (aisbaa) - Tuesday, 29 January 2013, 15:05 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 09 March 2013, 18:14 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Cmake sets wrong LUA_INCLUDE_DIR then find_package(Lua51) is used.

Additional info:
* package version 2.8.10.2-1
* lua51 version 5.1.5-3


Steps to reproduce:

1) create CMakeLists.txt file with this content:

cmake_minimum_required (VERSION 2.6)
project (test_project)
find_package (Lua51)
message (STATUS "lua 5.1 path: ${LUA_INCLUDE_DIR}")

2) Run cmake

> cmake <path_to_CMakeLists.txt_directory>/

3) Output states that lua 5.1 path paht is /usr/include which is wrong. It should be /usr/include/lua5.1/.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 09 March 2013, 18:14 GMT
Reason for closing:  Upstream
Comment by Andrea Scarpino (BaSh) - Tuesday, 29 January 2013, 15:39 GMT
  • Field changed: Category (Packages: Extra → Upstream Bugs)
We don't patch the FindLua51.cmake module, so this is clearly an upstream bug.
Comment by Aistis Jokubauskas (aisbaa) - Wednesday, 30 January 2013, 08:41 GMT
I see, where could I report this bug?

Also I forgot to mention that I have lua and lua51 packages installed on single system. These are incompatible from programmers point of view.
Comment by Andrea Scarpino (BaSh) - Saturday, 02 February 2013, 17:37 GMT

Loading...