Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946676 - mail-filter/rspamd-3.11.0 - [gcc-15] rspamd.c: error: implicit declaration of function rspamd_fast_utf8_library_impl_name [-Wimplicit-function-declaration]
Summary: mail-filter/rspamd-3.11.0 - [gcc-15] rspamd.c: error: implicit declaration of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-19 16:13 UTC by Toralf Förster
Modified: 2024-12-19 16:45 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.44 KB, text/plain)
2024-12-19 16:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,47.71 KB, text/plain)
2024-12-19 16:13 UTC, Toralf Förster
Details
environment (environment,128.88 KB, text/plain)
2024-12-19 16:13 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-12-19 16:13 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.67 KB, application/x-xz)
2024-12-19 16:13 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,50.95 KB, application/x-xz)
2024-12-19 16:13 UTC, Toralf Förster
Details
mail-filter:rspamd-3.11.0:20241219-130059.log.xz (mail-filter:rspamd-3.11.0:20241219-130059.log.xz,17.22 KB, application/x-xz)
2024-12-19 16:13 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,132.77 KB, text/plain)
2024-12-19 16:13 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.63 KB, application/x-xz)
2024-12-19 16:13 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 2024-12-19 16:13:16 UTC
too long lines were shrinked:

[251/284] /usr/bin/x86_64-pc-linux-gnu-gcc -DBACKWARD_HAS_BACKTRACE=0 -DBACKWARD_HAS_BACKTRACE_SYMBOL=0 -DBACKWARD_HAS_BFD=0 -DBACKWARD_HAS_DW=0 -DBACKWARD_HAS_DWARF=0 -DBACKWARD_HAS_LIBUNWIND=0 -DBACKWARD_HAS_UNWIND=1 -DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS -DDOCTEST_CONFIG_USE_STD_HEADERS -DFMT_HEA
[252/284] /usr/bin/x86_64-pc-linux-gnu-gcc -DBACKWARD_HAS_BACKTRACE=0 -DBACKWARD_HAS_BACKTRACE_SYMBOL=0 -DBACKWARD_HAS_BFD=0 -DBACKWARD_HAS_DW=0 -DBACKWARD_HAS_DWARF=0 -DBACKWARD_HAS_LIBUNWIND=0 -DBACKWARD_HAS_UNWIND=1 -DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS -DDOCTEST_CONFIG_USE_STD_HEADERS -DFMT_HEA
FAILED: src/CMakeFiles/rspamd.dir/rspamd.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DBACKWARD_HAS_BACKTRACE=0 -DBACKWARD_HAS_BACKTRACE_SYMBOL=0 -DBACKWARD_HAS_BFD=0 -DBACKWARD_HAS_DW=0 -DBACKWARD_HAS_DWARF=0 -DBACKWARD_HAS_LIBUNWIND=0 -DBACKWARD_HAS_UNWIND=1 -DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS -DDOCTEST_CONFIG_USE_STD_HEADERS -DFMT_HEADER_ONLY -
In file included from /var/tmp/portage/mail-filter/rspamd-3.11.0/work/rspamd-3.11.0/src/rspamd.c:21:
/var/tmp/portage/mail-filter/rspamd-3.11.0/work/rspamd-3.11.0/src/rspamd.c: In function main:
/var/tmp/portage/mail-filter/rspamd-3.11.0/work/rspamd-3.11.0/src/rspamd.c:1555:53: error: implicit declaration of function rspamd_fast_utf8_library_impl_name [-Wimplicit-function-declaration]
 1555 |         msg_info_main("simdutf implementation: %s", rspamd_fast_utf8_library_impl_name());
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20241218-111006

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 83eea8e929d41e7cabf63b10cb97ae97a4bd5b4a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 19 12:03:34 2024 +0000

    2024-12-19 12:03:33 UTC

emerge -qpvO =mail-filter/rspamd-3.11.0
[ebuild  N    ] mail-filter/rspamd-3.11.0  USE="jit -blas -hyperscan (-jemalloc) (-selinux) -test" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2024-12-19 16:13:17 UTC
Created attachment 914402 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-19 16:13:18 UTC
Created attachment 914403 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-12-19 16:13:20 UTC
Created attachment 914404 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-12-19 16:13:20 UTC
Created attachment 914405 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-12-19 16:13:21 UTC
Created attachment 914406 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-19 16:13:22 UTC
Created attachment 914407 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-19 16:13:23 UTC
Created attachment 914408 [details]
mail-filter:rspamd-3.11.0:20241219-130059.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-19 16:13:25 UTC
Created attachment 914409 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-12-19 16:13:26 UTC
Created attachment 914410 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-12-19 16:45:43 UTC
The bug has been closed via the following commit(s):

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

commit ee616175eee3844911446b7441b5a942d58ea5ca
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2024-12-19 16:41:41 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-12-19 16:45:28 +0000

    mail-filter/rspamd: fix build with USE=-hyperscan
    
    This fix backports upstream patch
    https://github.com/rspamd/rspamd/commit/ccb45df90df60fae36b9438cfb2b0088e590306b
    
    Closes: https://bugs.gentoo.org/946676
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 .../rspamd/files/rspamd-3.11.0-simdutf-hdr.patch   | 27 ++++++++++++++++++++++
 ...spamd-3.11.0.ebuild => rspamd-3.11.0-r1.ebuild} |  3 +++
 2 files changed, 30 insertions(+)