Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744541 - >=www-client/luakit-2.2.1: incorrect configuration of USE=-luajit|LUA_SINGLE_TARGET=lua5-1 mode
Summary: >=www-client/luakit-2.2.1: incorrect configuration of USE=-luajit|LUA_SINGLE_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OzTiram
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-24 20:37 UTC by Agostino Sarubbo
Modified: 2021-07-24 23:45 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,5.87 KB, text/plain)
2020-09-24 20:37 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-24 20:37:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: www-client/luakit-2.2.1 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-24 20:37:43 UTC
Created attachment 662323 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-09-24 20:37:44 UTC
Possible context of error(s):

Package 'luajit', required by 'virtual:world', not found
config.mk:103: *** Cannot find required package(s\) to build luakit. Please check you have the above packages installed and try again.  Stop.
Comment 3 ihor 2021-01-17 06:27:55 UTC
I have the same bug. luakit has luajit useflag unset, but still complains about missing luajit during installation 

>>> Install www-client/luakit-2.2.1-r100 into /var/tmp/portage/www-client/luakit-2.2.1-r100/image
make -j4 DESTDIR=/var/tmp/portage/www-client/luakit-2.2.1-r100/image DOCDIR=/usr/share/doc/luakit-2.2.1-r100 PREFIX=/usr XDGPREFIX=/etc/xdg install
Package luajit was not found in the pkg-config search path.
Perhaps you should add the directory containing `luajit.pc'
to the PKG_CONFIG_PATH environment variable
Package 'luajit', required by 'virtual:world', not found
config.mk:103: *** Cannot find required package(s\) to build luakit. Please check you have the above packages installed and try again.  Stop.
 * ERROR: www-client/luakit-2.2.1-r100::gentoo failed (install phase):
 *   emake failed
Comment 4 ihor 2021-01-17 06:39:47 UTC
I've got some success with this line in my make.conf

LUA_SINGLE_TARGET="luajit"
Comment 5 Larry the Git Cow gentoo-dev 2021-01-17 21:25:00 UTC
The bug has been referenced in the following commit(s):

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

commit 6717e8e06c8727d60380bee7d6915366aa023b01
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-01-17 21:20:02 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-01-17 21:24:52 +0000

    www-client/luajit: set USE_LUAJIT in src_install() too
    
    Seems to be needed according to comments in the bug.
    
    Bug: https://bugs.gentoo.org/744541
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 www-client/luakit/luakit-2.2.1-r100.ebuild | 1 +
 www-client/luakit/luakit-2.2.1.ebuild      | 1 +
 www-client/luakit/luakit-9999.ebuild       | 1 +
 3 files changed, 3 insertions(+)
Comment 6 Marek Szuba (RETIRED) archtester gentoo-dev 2021-01-17 21:27:57 UTC
Should hopefully work now.
Comment 7 OzTiram 2021-07-24 23:21:38 UTC
I believe this bug can be closed.
The suggested fix seems to work.