Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870448 - mail-filter/rspamd-3.2:0 - /.../cfg_utils.c: error: implicit declaration of function ZSTD_resetDStream
Summary: mail-filter/rspamd-3.2:0 - /.../cfg_utils.c: error: implicit declaration of f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-16 18:07 UTC by Toralf Förster
Modified: 2022-10-07 11:28 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.17 KB, text/plain)
2022-09-16 18:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,119.10 KB, text/plain)
2022-09-16 18:07 UTC, Toralf Förster
Details
environment (environment,124.53 KB, text/plain)
2022-09-16 18:07 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.76 KB, application/x-bzip)
2022-09-16 18:07 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.21 KB, application/x-bzip)
2022-09-16 18:07 UTC, Toralf Förster
Details
mail-filter:rspamd-3.2:20220916-180438.log.bz2 (mail-filter:rspamd-3.2:20220916-180438.log.bz2,12.02 KB, application/x-bzip)
2022-09-16 18:07 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,49.99 KB, application/x-bzip)
2022-09-16 18:07 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 2022-09-16 18:07:27 UTC
too long lines were shrinked:

[119/272] /usr/bin/x86_64-pc-linux-gnu-gcc -DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS -DDOCTEST_CONFIG_USE_STD_HEADERS -DHAVE_CONFIG_H -DSYS_ZSTD -DU_CHARSET_IS_UTF8 -Drspamd_server_EXPORTS -I/var/tmp/portage/mail-filter/rspamd-3.2/work/rspamd-3.2/contrib/hiredis -I/var/tmp/portage/mail-filter/rspamd-3.
FAILED: src/CMakeFiles/rspamd-server.dir/libserver/cfg_utils.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS -DDOCTEST_CONFIG_USE_STD_HEADERS -DHAVE_CONFIG_H -DSYS_ZSTD -DU_CHARSET_IS_UTF8 -Drspamd_server_EXPORTS -I/var/tmp/portage/mail-filter/rspamd-3.2/work/rspamd-3.2/contrib/hiredis -I/var/tmp/portage/mail-filter/rspamd-3.2/work/rsp
/var/tmp/portage/mail-filter/rspamd-3.2/work/rspamd-3.2/src/libserver/cfg_utils.c: In function rspamd_libs_reset_decompression:
/var/tmp/portage/mail-filter/rspamd-3.2/work/rspamd-3.2/src/libserver/cfg_utils.c:2831:21: error: implicit declaration of function ZSTD_resetDStream; did you mean ZSTD_freeDStream? [-Werror=implicit-function-declaration]
 2831 |                 r = ZSTD_resetDStream (ctx->in_zstream);
      |                     ^~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4_abi32+64-20220915-000005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 74e8740480f3b60bda95e5e056b432d5294b4959
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 17:31:46 2022 +0000

    2022-09-16 17:31:45 UTC

emerge -qpvO mail-filter/rspamd
[ebuild  N    ] mail-filter/rspamd-3.2  USE="jit -blas (-jemalloc) (-selinux) -test" CPU_FLAGS_X86="ssse3" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2022-09-16 18:07:28 UTC
Created attachment 805912 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 18:07:30 UTC
Created attachment 805915 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-16 18:07:31 UTC
Created attachment 805918 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-16 18:07:32 UTC
Created attachment 805921 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-16 18:07:33 UTC
Created attachment 805924 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 18:07:34 UTC
Created attachment 805927 [details]
mail-filter:rspamd-3.2:20220916-180438.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-16 18:07:35 UTC
Created attachment 805930 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-07 11:28:53 UTC
The bug has been closed via the following commit(s):

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

commit 4a424df747d23d5151e70495fce5e97521479e90
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-10-04 08:55:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-07 11:28:35 +0000

    mail-filter/rspamd: add 3.3
    
    This version contains a fix for Clang-16 (error: implicit declaration of
    function ZSTD_resetDStream) reported in bug 870448. It still suffers
    with a bug 810337.
    
    Bug: https://bugs.gentoo.org/810337
    Closes: https://bugs.gentoo.org/870448
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/rspamd/Manifest          |   1 +
 mail-filter/rspamd/rspamd-3.3.ebuild | 135 +++++++++++++++++++++++++++++++++++
 2 files changed, 136 insertions(+)