Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766674 - app-editors/scite-4.4.4-r10[-lua] "No supported Lua implementation" when dev-lang/lua:5.1 not installed
Summary: app-editors/scite-4.4.4-r10[-lua] "No supported Lua implementation" when dev-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ervin Peters
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-01-23 13:20 UTC by Ulenrich
Modified: 2021-01-23 22:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
guard lua's pkg_setup.patch (0001-app-editors-scite-guard-lua-s-pkg_setup.patch,822 bytes, patch)
2021-01-23 13:34 UTC, Ionen Wolkens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulenrich 2021-01-23 13:20:48 UTC
Instantly got output: ---
Calculating dependencies  .... done!
[ebuild  N     ] app-editors/scite-4.4.4-r10::gentoo  USE="-lua" LUA_SINGLE_TARGET="-lua5-1" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Running pre-merge checks for app-editors/scite-4.4.4-r10
>>> Emerging (1 of 1) app-editors/scite-4.4.4-r10::gentoo
>>> Failed to emerge app-editors/scite-4.4.4-r10, Log file:
>>>  '/common/emergelog/build/app-editors/scite-4.4.4-r10:20210123-130404.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 6.24, 4.96, 3.59
 * Package:    app-editors/scite-4.4.4-r10
 * Repository: gentoo
 * Maintainer: ervin.peters@ervnet.de proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * No Lua implementation selected for the build. Please set
 * the LUA_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 * 
 * lua5-1

 * ERROR: app-editors/scite-4.4.4-r10::gentoo failed (setup phase):
 *   No supported Lua implementation in LUA_SINGLE_TARGET.
 * 
 * Call stack:
 *           ebuild.sh, line 125:  Called pkg_setup
 *           ebuild.sh, line 355:  Called lua-single_pkg_setup
 *   lua-single.eclass, line 536:  Called lua_setup
 *   lua-single.eclass, line 526:  Called die
---

But I have lua-5.2 installed, so when faking in local repo compatible lua-5.2
seems to work: ---
Calculating dependencies  ... done!
[ebuild  N     ] app-editors/scite-4.4.4-r10::local  USE="-lua" LUA_SINGLE_TARGET="lua5-2" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Running pre-merge checks for app-editors/scite-4.4.4-r10
>>> Emerging (1 of 1) app-editors/scite-4.4.4-r10::local
---
although not ready emerged yet
Comment 1 Ionen Wolkens gentoo-dev 2021-01-23 13:34:53 UTC
Created attachment 684213 [details, diff]
guard lua's pkg_setup.patch
Comment 2 Larry the Git Cow gentoo-dev 2021-01-23 22:42:31 UTC
The bug has been closed via the following commit(s):

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

commit d8369aa80f21e5de1893df588e38ddacb80c0d94
Author:     Ionen Wolkens <sudinave@gmail.com>
AuthorDate: 2021-01-23 13:33:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-23 22:42:13 +0000

    app-editors/scite: guard lua's pkg_setup
    
    Closes: https://bugs.gentoo.org/766674
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/scite/scite-4.4.4-r10.ebuild | 4 ++++
 1 file changed, 4 insertions(+)