Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703004 - mail-filter/rspamd-2.2 CPU_FLAGS_X86="ssse3" : Hyperscan is supported only on x86_64 architecture
Summary: mail-filter/rspamd-2.2 CPU_FLAGS_X86="ssse3" : Hyperscan is supported only on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Christian Roessner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-12-15 15:35 UTC by Marcin Mirosław
Modified: 2021-10-12 14:42 UTC (History)
3 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 2019-12-15 15:35:40 UTC
on x86 arch can not be used hyperscan:

-- Performing Test SUPPORT_FPIC
-- Performing Test SUPPORT_FPIC - Success
CMake Error at cmake/Hyperscan.cmake:5 (MESSAGE):
  Hyperscan is supported only on x86_64 architecture
Call Stack (most recent call first):
  CMakeLists.txt:195 (include)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/mail-filter/rspamd-2.2/work/rspamd-2.2_build/CMakeFiles/CMakeOutput.log".
 * ERROR: mail-filter/rspamd-2.2::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2141:  Called cmake-utils_src_configure
 *   environment, line  894:  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-2.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mail-filter/rspamd-2.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/mail-filter/rspamd-2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-filter/rspamd-2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-filter/rspamd-2.2/work/rspamd-2.2_build'
 * S: '/var/tmp/portage/mail-filter/rspamd-2.2/work/rspamd-2.2'



Reproducible: Always




Portage 2.3.79 (python 3.6.9-final-0, default/linux/x86/17.0/hardened, gcc-9.2.0, glibc-2.29-r7, 4.19.82-gentoo i686)
=================================================================
System uname: Linux-4.19.82-gentoo-i686-Intel_Xeon_E312xx_-Sandy_Bridge,_IBRS_update-with-gentoo-2.6                                                                                                           KiB Mem:     4876840 total,    898620 free                                                                                                                                                                     KiB Swap:     511996 total,    511476 free                                                                                                                                                                     Timestamp of repository gentoo: Sun, 15 Dec 2019 12:29:56 +0000                                                                                                                                                Head commit of repository gentoo: 1e8ea5a28f7642f5cf83b11685678e50f041182d                                                                                                                                                                                                                                                                                                                                                    sh bash 4.4_p23-r1                                                                                                                                                                                             ld GNU ld (Gentoo 2.32 p2) 2.32.0                                                                                                                                                                              app-shells/bash:          4.4_p23-r1::gentoo                                                                                                                                                                   dev-lang/perl:            5.30.1::gentoo                                                                                                                                                                       dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    sync-user: portage:portage
    priority: -1000

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
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.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/c
gi-php5.6/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/
sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox new
s parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 --e
xclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl acpi aio async bash-completion bzip2 caps chroot clamav clamdtop cxx filecaps ftp hardened iconv idn iproute2 libtirpc logrotate mmap mmx mmxext ncurses network-cron nptl openmp openssl pam pcre pic
 pie readline seccomp split-usr sse sse2 ssl ssp syslog threads threadsafe unicode vhosts vim vim-pager vim-syntax x86 xattr xtpax zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp
 atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="access_compat act
ions alias auth_basic authn_alias authn_anon authn_core authn_file authz_core authz_host authz_groupfile deflate dir env expires filter headers include info log_config logio mime mime_magic negotiation rewri
te setenvif socache_shmcb status unique_id unixd usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory conntrack contextswitch cp
u disk entropy ethstat network ntpd processes python swap syslog uptime vmem" CPU_FLAGS_X86="aes mmx mmxext sse sse2 sse3 ssse3 sse4_1 pni" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyb
oard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd
groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11"
PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="geoip
 tarpit"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Larry the Git Cow gentoo-dev 2020-02-24 05:55:31 UTC
The bug has been closed via the following commit(s):

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

commit 97d6eb42bee13f4495bf411d9dacbef05a733607
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2020-02-04 18:52:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-02-24 05:19:45 +0000

    mail-filter/rspamd: fix hyperscan support on i386
    
    The patch is taken from upstream.
    https://github.com/rspamd/rspamd/commit/92e62855a64d1f7f0e52720399f8aa31bdcb0983
    
    Closes: https://bugs.gentoo.org/703004
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/14572
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-filter/rspamd/files/rspamd-2.2-i386-hyperscan.patch | 15 +++++++++++++++
 mail-filter/rspamd/rspamd-2.2.ebuild                     |  2 ++
 2 files changed, 17 insertions(+)