Perhaps you should add the directory containing `lua5.1.pc' to the PKG_CONFIG_PATH environment variable Package 'lua5.1', required by 'virtual:world', not found * ERROR: dev-libs/libucl-0.8.1-r100::gentoo failed (configure phase): * (no error message) * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-20201220-103336 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.9 [2] python3.8 (fallback) [3] python3.7 (fallback) [4] python2.7 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.48.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.272_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Dec 25 05:05:11 PM UTC 2020 emerge -qpvO dev-libs/libucl [ebuild N ] dev-libs/libucl-0.8.1-r100 USE="regex utils -lua -sign -static-libs -test -urls" LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3"
Created attachment 679587 [details] emerge-info.txt
Created attachment 679590 [details] dev-libs:libucl-0.8.1-r100:20201225-172425.log
Created attachment 679593 [details] emerge-history.txt
Created attachment 679596 [details] environment
Created attachment 679599 [details] etc.portage.tbz2
Created attachment 679602 [details] temp.tbz2
(In reply to Toralf Förster from comment #0) > Perhaps you should add the directory containing `lua5.1.pc' > to the PKG_CONFIG_PATH environment variable > Package 'lua5.1', required by 'virtual:world', not found > * ERROR: dev-libs/libucl-0.8.1-r100::gentoo failed (configure phase): > * (no error message) > * Hmm, this should be something that lua_setup takes care of, it calls _lua_wrapper_setup which symlinks the .pc files correctly. cc'ing marecki for their input.
(In reply to Aisha Tammy from comment #7) > Hmm, this should be something that lua_setup takes care of, it calls > _lua_wrapper_setup which symlinks the .pc files correctly. Note that this is failing with USE=-lua without lua installed, then it fails on lua_get_CFLAGS and lua_get_LIBS because it can't find it.
(In reply to Ionen Wolkens from comment #8) > (In reply to Aisha Tammy from comment #7) > > Hmm, this should be something that lua_setup takes care of, it calls > > _lua_wrapper_setup which symlinks the .pc files correctly. > Note that this is failing with USE=-lua without lua installed, then it fails > on lua_get_CFLAGS and lua_get_LIBS because it can't find it. Yeah, some liberal grepping may be a good idea to try catch any other cases too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e350fb836f6e37b8acfcc62f42a8607ef233065d commit e350fb836f6e37b8acfcc62f42a8607ef233065d Author: Aisha Tammy <gentoo@aisha.cc> AuthorDate: 2020-12-27 17:02:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-12-27 17:53:16 +0000 dev-libs/libucl: fix lua USE flag remove calling lua_setup and co. when not with USE lua Closes: https://bugs.gentoo.org/761808 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/18837 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libucl/libucl-0.8.1-r100.ebuild | 4 +++- dev-libs/libucl/libucl-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-)