Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551704 - dev-libs/libpeas-1.14.0 with USE="lua -jit" - checking for Lua 5.1 availability.... configure: error: You need to have Lua 5.1 >= 5.1.0
Summary: dev-libs/libpeas-1.14.0 with USE="lua -jit" - checking for Lua 5.1 availabili...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 551710
Blocks:
  Show dependency tree
 
Reported: 2015-06-10 20:38 UTC by tman
Modified: 2015-06-11 01:45 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/dev-libs/libpeas-1.14.0/temp/build.log (build.log,8.24 KB, text/x-log)
2015-06-10 20:38 UTC, tman
Details
config.log (config.log,41.27 KB, text/plain)
2015-06-10 23:10 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2015-06-10 20:38:04 UTC
cking for XML::Parser... ok
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PEAS... yes
checking for gobject-introspection... yes
checking for PEAS_GTK... yes
checking for native Mac OS X... checking for pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config
no
checking for gdb... /usr/bin/gdb
checking for valgrind... no
checking whether to build with coverage testing... no (disabled, use --enable-gcov to enable)
no (disabled, use --enable-glade-catalog to enable)
checking for Lua 5.1 availability.... configure: error: You need to have Lua 5.1 >= 5.1.0
                          installed to build libpeas

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/libpeas-1.14.0/work/libpeas-1.14.0/config.log
 * ERROR: dev-libs/libpeas-1.14.0::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line   93:  Called src_configure
 *             environment, line 4196:  Called gnome2_src_configure '--disable-glade-catalog' '--enable-gtk' '--disable-static' '--disable-python2' '--disable-python3' '--disable-lua5.1' '--disable-luajit' '--enable-lua5.1' '--enable-python3' 'PYTHON=/usr/bin/python3.4' 'PYTHON3_CONFIG=/usr/bin/python3.4-config' '--enable-python2' 'PYTHON2=/usr/bin/python2.7' 'PYTHON2_CONFIG=/usr/bin/python2.7-config'
 *             environment, line 2499:  Called econf '--docdir=/usr/share/doc/libpeas-1.14.0' '--enable-compile-warnings=minimum' '--disable-maintainer-mode' '--disable-gtk-doc' '--disable-glade-catalog' '--enable-gtk' '--disable-static' '--disable-python2' '--disable-python3' '--disable-lua5.1' '--disable-luajit' '--enable-lua5.1' '--enable-python3' 'PYTHON=/usr/bin/python3.4' 'PYTHON3_CONFIG=/usr/bin/python3.4-config' '--enable-python2' 'PYTHON2=/usr/bin/python2.7' 'PYTHON2_CONFIG=/usr/bin/python2.7-config'
 *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/libpeas-1.14.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libpeas-1.14.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libpeas-1.14.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs

Reproducible: Always




 !!! Repository 'bitcoin' has sync-uri attribute, but is missing sync-type attribute
Portage 2.2.20 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24625988 total,  21661496 free
KiB Swap:   25461756 total,  25461756 free
Timestamp of repository gentoo: Wed, 10 Jun 2015 20:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /mnt/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

lokal
    location: /mnt/portage/local/local-overlay
    masters: gentoo
    priority: 0

bitcoin
    location: /mnt/portage/local/layman/bitcoin
    sync-uri: https://gitlab.com/bitcoin/gentoo.git
    masters: gentoo
    priority: 50

brother-overlay
    location: /mnt/portage/local/layman/brother-overlay
    masters: gentoo
    priority: 50

bumblebee
    location: /mnt/portage/local/layman/bumblebee
    masters: gentoo
    priority: 50

dotnet
    location: /mnt/portage/local/layman/dotnet
    masters: gentoo
    priority: 50

dr
    location: /mnt/portage/local/layman/dr
    masters: gentoo
    priority: 50

media-overlay
    location: /mnt/portage/local/layman/media-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /mnt/portage/local/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""




# eix lua -I
[I] dev-lang/lua
     Available versions:  
     (0)    5.1.4-r8 5.1.5 (~)5.1.5-r1 5.1.5-r3
     (5.1)  [M](~)5.1.5-r2 [M](~)5.1.5-r100
     (5.2)  [M](~)5.2.3 [M](~)5.2.3-r1
       {+deprecated emacs readline static ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  5.1.5-r3(05:45:05 02.05.2015)(deprecated readline -emacs -static ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            http://www.lua.org/
     Description:         A powerful light-weight programming language designed for extending applications

[I] dev-lua/toluapp
     Available versions:  1.0.93
     Installed versions:  1.0.93(05:57:50 02.05.2015)
     Homepage:            http://www.codenix.com/~tolua/
     Description:         A tool to integrate C/C++ code with Lua

[I] dev-texlive/texlive-luatex
     Available versions:  (~)2012 2012-r1 (~)2013 (~)2014 {doc source}
     Installed versions:  2014(14:23:40 02.05.2015)(-doc -source)
     Homepage:            http://www.tug.org/texlive/
     Description:         TeXLive LuaTeX packages

Found 3 matches.
Comment 1 tman 2015-06-10 20:38:27 UTC
Created attachment 404912 [details]
/var/tmp/portage/dev-libs/libpeas-1.14.0/temp/build.log
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-10 22:30:37 UTC
(In reply to tman from comment #0)
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/dev-libs/libpeas-1.14.0/work/libpeas-1.14.0/config.log

So please attach it ;)
Comment 3 Ulrich Müller gentoo-dev 2015-06-10 23:10:46 UTC
Created attachment 404916 [details]
config.log

Seems that it's looking for /usr/lib/pkgconfig/lua5.1.pc while there is only /usr/lib/pkgconfig/lua.pc:

configure:13276: checking for Lua 5.1 availability.
configure:13309: $PKG_CONFIG --exists --print-errors "lua5.1 >= $LUA51_REQUIRED"
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found
configure:13312: $? = 1
configure:13325: error: You need to have Lua 5.1 >= 5.1.0
                          installed to build libpeas
Comment 4 Ulrich Müller gentoo-dev 2015-06-10 23:17:12 UTC
... and after manually copying lua.pc to lua5.1.pc, it fails at the next test. lgi >= 0.9.0 is required whereas the newest version in the tree is dev-lua/lgi-0.7.2.


configure:13276: checking for Lua 5.1 availability.
configure:13309: $PKG_CONFIG --exists --print-errors "lua5.1 >= $LUA51_REQUIRED"
configure:13312: $? = 0
configure:13334: result: yes (lua5.1)
configure:13344: checking for LGI availability in Lua 5.1.
configure:13380: x86_64-pc-linux-gnu-gcc -o conftest -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi-3.2.1/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I./loaders/lua5.1  -Wl,-O1 -Wl,--as-needed conftest.c -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgio-2.0 -lgirepository-1.0 -lgobject-2.0 -lglib-2.0  -llua -lm  >&5
configure:13380: $? = 0
configure:13380: ./conftest

** (process:31036): WARNING **: Version mismatch 0.9.0 is required, found 0.7.2
configure:13380: $? = 1
configure: program exited with status 1
[...]
configure:13393: error: You need to have LGI >= 0.9.0
                          installed to build libpeas
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-11 01:45:19 UTC
+*libpeas-1.14.0-r1 (11 Jun 2015)
+
+  11 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  +libpeas-1.14.0-r1.ebuild, +files/libpeas-1.14.0-lua.pc.patch:
+  Fix build and dependencies with USE="lua -jit" (bug #551704, thanks to tman
+  and Ulrich Müller). Really build luajit support if USE="lua jit". Punt .la
+  files.