Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690532 - sys-apps/roccat-tools-5.9.0 Lua finder needs exact version!
Summary: sys-apps/roccat-tools-5.9.0 Lua finder needs exact version!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-23 20:47 UTC by Attila Tóth
Modified: 2019-07-24 05:47 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 Attila Tóth 2019-07-23 20:47:06 UTC
Latest sys-apps/roccat-tools-5.9.0 fails to build due to exact Lua version not being specified early in the configure phase.
Taking a look at on the ebuild compared to roccat-tools-5.7.0, -DWITH_LUA=5.1 is no longer passed to cmake in the ebuild.
The regression can be handled with reintroducing -DWITH_LUA=5.1 being passed to cmake in the ebuild.

error message in the configure phase:
CMake Warning (dev) at CMakeLists.txt:86 (FIND_PACKAGE):
  Ignoring EXACT since no version is requested.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake_modules/FindLUA.cmake:15 (MESSAGE):
  Lua finder needs exact version!
Call Stack (most recent call first):
  CMakeLists.txt:86 (FIND_PACKAGE)


remedy:
--- /usr/portage/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild        2019-07-18 10:39:57.000000000 +0200
+++ /usr/local/portage/sys-apps/roccat-tools/roccat-tools-5.9.0-r1.ebuild       2019-07-23 22:35:35.000000000 +0200
@@ -81,6 +81,7 @@ src_configure() {
        mycmakeargs=(
                -DDEVICES="${USED_MODELS/;/}"
                -DUDEVDIR="${EPREFIX}$(get_udevdir)/rules.d"
+               -DWITH_LUA=5.1
        )
        cmake-utils_src_configure
 }
Comment 1 Larry the Git Cow gentoo-dev 2019-07-24 05:47:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c3b570e4be54aa5c1a4458530e3d1d592f1ebbb

commit 7c3b570e4be54aa5c1a4458530e3d1d592f1ebbb
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-07-24 05:45:51 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-07-24 05:47:49 +0000

    sys-apps/roccat-tools: Make lua finder happy...
    
    Thanks-to: Attila Tóth <atoth@atoth.sote.hu>
    Closes: https://bugs.gentoo.org/690532
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)