Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620066 - mail-filter/rspamd-1.5.7 missing dependency on dev-lang/lua
Summary: mail-filter/rspamd-1.5.7 missing dependency on dev-lang/lua
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christian Roessner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-29 07:39 UTC by Marcin Mirosław
Modified: 2019-12-14 08:41 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2017-05-29 07:39:46 UTC
Compilation fails due to missing lua in system.

-- Configuring for Linux
-- Check for lua 5.3
-- Check for lua 5.2
-- Check for lua 5.1
CMake Error at CMakeLists.txt:657 (MESSAGE):
  Lua not found, lua support is required


# emerge -pv rspamd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] mail-filter/rspamd-1.5.7::gentoo  USE="fann gd pcre2 -jemalloc -jit -libressl" CPU_FLAGS_X86="-ssse3" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB


Reproducible: Always

Actual Results:  
-- Configuring for Linux
-- Check for lua 5.3
-- Check for lua 5.2
-- Check for lua 5.1
CMake Error at CMakeLists.txt:657 (MESSAGE):
  Lua not found, lua support is required


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/mail-filter/rspamd-1.5.7/work/rspamd-1.5.7_build/CMakeFiles/CMakeOutput.log".
 * ERROR: mail-filter/rspamd-1.5.7::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_configure
 *   environment, line 3432:  Called cmake-utils_src_configure
 *   environment, line  935:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=mail-filter/rspamd-1.5.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mail-filter/rspamd-1.5.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/mail-filter/rspamd-1.5.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-filter/rspamd-1.5.7/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-filter/rspamd-1.5.7/work/rspamd-1.5.7_build'
 * S: '/var/tmp/portage/mail-filter/rspamd-1.5.7/work/rspamd-1.5.7'


# emerge --info                                                                                                                                                                           
Portage 2.3.5 (python 3.4.5-final-0, hardened/linux/amd64, gcc-5.4.0, glibc-2.23-r3, 4.4.8-hardened-r1 x86_64)
=================================================================
System uname: Linux-4.4.8-hardened-r1-x86_64-Intel_Xeon_E3-12xx_v2_-Ivy_Bridge-with-gentoo-2.3
KiB Mem:     3261720 total,    253184 free
KiB Swap:     524284 total,    524016 free
Timestamp of repository gentoo: Mon, 29 May 2017 04:15:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://gentoo-mirror.in.xx.pl/gentoo-portage/
    priority: -1000
    sync-rsync-extra-opts: -O

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mtune=native         -fno-unwind-tables -fno-asynchronous-unwind-tables -fpeel-loops         -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -mtune=native         -fno-unwind-tables -fno-asynchronous-unwind-tables -fpeel-loops         -ftracer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://ftp.vectranet.pl/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl acpi amd64 bash-completion caps cli cracklib cxx dri hardened iconv idn justify mmxext modules multilib ncurses nls nptl openmp pax_kernel pcre pie postgres readline seccomp session sse3 ssp ssse3 threads unicode urandom vhosts vim-syntax xattr xtpax" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias authz_host authn_core authz_core dir env expires headers include info log_config logio mime mime_magic rewrite setenvif status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="itk" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access auth_basic browser charset fastcgi gzip gzip_static headers_more limit_conn limit_req proxy realip referer rewrite userid" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="tarpit"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Marcin Mirosław 2017-09-11 11:00:35 UTC
Ping, it should be easy to fix.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2017-09-11 11:26:59 UTC
Sure, do you want to make a pull request?
Comment 3 David Williams 2019-05-02 17:11:32 UTC
This is still happening on 1.9
Comment 4 Kim B. Sindalsen 2019-10-10 14:37:46 UTC
Just tried 1.9.4 - still an issue.
Comment 5 Larry the Git Cow gentoo-dev 2019-12-14 08:41:54 UTC
The bug has been closed via the following commit(s):

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

commit 9ac084c3f975b42dfa4ae769c58badd9c23d508c
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2019-12-13 12:33:29 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-12-14 08:41:37 +0000

    mail-filter/rspamd: add missing dependency on dev-lang/lua
    
    It is necessary to depend on dev-lang/lua if jit use flag is not set,
    because lua is required by rspamd.
    
    Closes: https://bugs.gentoo.org/620066
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-filter/rspamd/rspamd-2.1.ebuild  | 1 +
 mail-filter/rspamd/rspamd-2.2.ebuild  | 1 +
 mail-filter/rspamd/rspamd-9999.ebuild | 1 +
 3 files changed, 3 insertions(+)