Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761808 - dev-libs/libucl-0.8.1-r100 : Package lua5.1, required by virtual:world, not found
Summary: dev-libs/libucl-0.8.1-r100 : Package lua5.1, required by virtual:world, not f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-12-26 22:23 UTC by Toralf Förster
Modified: 2020-12-27 17:53 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.43 KB, text/plain)
2020-12-26 22:23 UTC, Toralf Förster
Details
dev-libs:libucl-0.8.1-r100:20201225-172425.log (dev-libs:libucl-0.8.1-r100:20201225-172425.log,2.52 KB, text/plain)
2020-12-26 22:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,247.99 KB, text/plain)
2020-12-26 22:23 UTC, Toralf Förster
Details
environment (environment,79.45 KB, text/plain)
2020-12-26 22:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.31 KB, application/x-bzip)
2020-12-26 22:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.66 KB, application/x-bzip)
2020-12-26 22:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-12-26 22:23:41 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2020-12-26 22:23:42 UTC
Created attachment 679587 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-26 22:23:43 UTC
Created attachment 679590 [details]
dev-libs:libucl-0.8.1-r100:20201225-172425.log
Comment 3 Toralf Förster gentoo-dev 2020-12-26 22:23:45 UTC
Created attachment 679593 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-12-26 22:23:46 UTC
Created attachment 679596 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-12-26 22:23:48 UTC
Created attachment 679599 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-12-26 22:23:49 UTC
Created attachment 679602 [details]
temp.tbz2
Comment 7 Aisha Tammy 2020-12-26 22:38:23 UTC
(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.
Comment 8 Ionen Wolkens gentoo-dev 2020-12-26 23:04:33 UTC
(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.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-26 23:20:33 UTC
(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.
Comment 10 Larry the Git Cow gentoo-dev 2020-12-27 17:53:20 UTC
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(-)