Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652344 - net-analyzer/suricata-4.0.3: configure incorrectly handles --disable-lua and --disable-luajit
Summary: net-analyzer/suricata-4.0.3: configure incorrectly handles --disable-lua and ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sławek Lis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-03 15:47 UTC by Toralf Förster
Modified: 2018-06-11 14:04 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.59 KB, text/plain)
2018-04-03 15:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,158.47 KB, text/plain)
2018-04-03 15:47 UTC, Toralf Förster
Details
environment (environment,98.44 KB, text/plain)
2018-04-03 15:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.00 KB, application/x-bzip)
2018-04-03 15:47 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,15.62 KB, application/x-bzip)
2018-04-03 15:47 UTC, Toralf Förster
Details
net-analyzer:suricata-4.0.3:20180403-003432.log (net-analyzer:suricata-4.0.3:20180403-003432.log,18.33 KB, text/plain)
2018-04-03 15:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.10 KB, application/x-bzip)
2018-04-03 15:47 UTC, Toralf Förster
Details
configure-lua-flags.patch (configure-lua-flags.patch,502 bytes, patch)
2018-05-03 09:30 UTC, Marek Szuba
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-04-03 15:47:04 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-analyzer/suricata-4.0.3/work/suricata-4.0.3/config.log
 * ERROR: net-analyzer/suricata-4.0.3::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl-test_20180326-195709

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:


emerge -qpv net-analyzer/suricata
[ebuild  N    ] net-analyzer/suricata-4.0.3  USE="af-packet detection nfqueue rules {test} -control-socket -cuda -debug -geoip -hardened -logrotate -lua -luajit -nflog -redis"
Comment 1 Toralf Förster gentoo-dev 2018-04-03 15:47:07 UTC
Created attachment 526448 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-03 15:47:11 UTC
Created attachment 526450 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-03 15:47:14 UTC
Created attachment 526452 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-03 15:47:17 UTC
Created attachment 526454 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-03 15:47:20 UTC
Created attachment 526456 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-03 15:47:23 UTC
Created attachment 526458 [details]
net-analyzer:suricata-4.0.3:20180403-003432.log
Comment 7 Toralf Förster gentoo-dev 2018-04-03 15:47:26 UTC
Created attachment 526460 [details]
temp.tbz2
Comment 8 Marek Szuba archtester gentoo-dev 2018-05-03 09:26:18 UTC
The problem lies with the fact upstream configure.ac incorrectly uses AC_ARG_ENABLE for lua and luajit. I have just submitted a PR request to have this fixed upstream, the same patch could be applied to this version.
Comment 9 Marek Szuba archtester gentoo-dev 2018-05-03 09:30:13 UTC
Created attachment 529550 [details, diff]
configure-lua-flags.patch
Comment 10 Marek Szuba archtester gentoo-dev 2018-05-03 09:33:47 UTC
Removing the PR link because having read it more carefully, no way I am signing their Contribution Agreement.
Comment 11 Larry the Git Cow gentoo-dev 2018-06-11 14:04:14 UTC
The bug has been closed via the following commit(s):

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

commit c35f490c5944f47bdcc633d70056ee8f433c3a44
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2018-06-11 14:02:10 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2018-06-11 14:04:06 +0000

    net-analyzer/suricata: bump to 4.0.4 + fix Lua USE flags
    
    Invoking maintainer timeout on both issues.
    
    Closes: https://bugs.gentoo.org/652344
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-analyzer/suricata/Manifest                     |   1 +
 .../files/suricata-4.0.4_configure-lua-flags.patch |  16 ++
 net-analyzer/suricata/suricata-4.0.4.ebuild        | 168 +++++++++++++++++++++
 3 files changed, 185 insertions(+)