Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732728 - net-analyzer/tracebox-0.4.4 : configure: error: lua 5.3, 5.2 or 5.1 is required
Summary: net-analyzer/tracebox-0.4.4 : configure: error: lua 5.3, 5.2 or 5.1 is required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-15 11:18 UTC by Toralf Förster
Modified: 2020-07-16 10:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.67 KB, text/plain)
2020-07-15 11:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,230.87 KB, text/plain)
2020-07-15 11:18 UTC, Toralf Förster
Details
environment (environment,63.36 KB, text/plain)
2020-07-15 11:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.51 KB, application/x-bzip)
2020-07-15 11:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.36 KB, application/x-bzip)
2020-07-15 11:18 UTC, Toralf Förster
Details
net-analyzer:tracebox-0.4.4:20200715-081703.log (net-analyzer:tracebox-0.4.4:20200715-081703.log,9.83 KB, text/plain)
2020-07-15 11:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.10 KB, application/x-bzip)
2020-07-15 11:18 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-07-15 11:18:30 UTC
checking for LUA51... no
configure: WARNING: lua 5.1 not found
configure: error: lua 5.3, 5.2 or 5.1 is required

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-analyzer/tracebox-0.4.4/work/tracebox-0.4.4/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20200710-172328

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.44.1
  [2]   rust-1.44.1 *
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 15 Jul 2020 08:05:27 AM UTC

emerge -qpvO net-analyzer/tracebox
[ebuild     U ] net-analyzer/tracebox-0.4.4 [0.2] USE="-curl% -sniffer%"
Comment 1 Toralf Förster gentoo-dev 2020-07-15 11:18:33 UTC
Created attachment 649286 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-15 11:18:35 UTC
Created attachment 649288 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-07-15 11:18:38 UTC
Created attachment 649290 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-07-15 11:18:41 UTC
Created attachment 649292 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-07-15 11:18:44 UTC
Created attachment 649294 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-15 11:18:46 UTC
Created attachment 649296 [details]
net-analyzer:tracebox-0.4.4:20200715-081703.log
Comment 7 Toralf Förster gentoo-dev 2020-07-15 11:18:49 UTC
Created attachment 649298 [details]
temp.tbz2
Comment 8 Ronny Boesger 2020-07-16 04:50:16 UTC
I habe this also on my normal server machine.

I have "dev-lang/lua-5.1.5-r4::gentoo" installed. 

Did not find time to dig deeper, whats up.
Comment 9 Ronny Boesger 2020-07-16 05:27:37 UTC
Seems the issue is cause the lua-5.1 module does not exist, its named "lua", so the 5.1 line in the patch should look like:

+PKG_CHECK_MODULES([LUA], [lua], [LUA_INCLUDE="${LUA51_CFLAGS}"; LUA_LIB="${LUA51_LIBS}"],AC_MSG_WARN([lua 5.1 not found]))


But after that, the test after that will fail, because LUA 5.1 seems to fill only the "LUA_LIBS" variable.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-16 10:17:50 UTC
Er, so dev-lang/lua-5.1.5-r4 installs lua.pc and not lua5.1pc? I tested only with the masked but newer versions. :-\
Comment 11 Larry the Git Cow gentoo-dev 2020-07-16 10:42:23 UTC
The bug has been closed via the following commit(s):

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

commit 4954ea77ad7c979968e8542e23e41c559975f4d3
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-07-16 10:42:00 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-07-16 10:42:20 +0000

    net-analyzer/tracebox: Fix building against dev-lang/lua:0
    
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Closes: https://bugs.gentoo.org/732728
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/tracebox/files/tracebox-0.4.4-deps.patch | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)