[Bug 274409] mail/rspamd: 3.7.1: ninja build FAILED: contrib/backward-cpp/CMakeFiles/backward.dir/backward.cpp.o

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Oct 2023 09:07:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274409

            Bug ID: 274409
           Summary: mail/rspamd: 3.7.1: ninja build FAILED:
                    contrib/backward-cpp/CMakeFiles/backward.dir/backward.
                    cpp.o
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vsevolod@FreeBSD.org
          Reporter: bugs.freebsd.org@cmb.ch
             Flags: maintainer-feedback?(vsevolod@FreeBSD.org)
          Assignee: vsevolod@FreeBSD.org

Created attachment 245560
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245560&action=edit
make install from ports output

Hi 
port mail/rspamd-3.7.1 fails in contrib:
In file included from
/usr/ports/mail/rspamd/work/rspamd-3.7.1/contrib/backward-cpp/backward.cpp:36:
/usr/ports/mail/rspamd/work/rspamd-3.7.1/contrib/backward-cpp/backward.hpp:808:5:
error: use of undeclared identifier '_Unwind_Backtrace'

I have this same error on 2 different servers. Both are amd64 with
FreeBSD-12.4-p6 (which should be eol by end of December23, but this is not
reached yet!) 

3.6.0 worked well on both.

reinstalled ninja
reinstalled python3.9
to no avail

config options used: hyperscan, luajit

Thanks!
Christian

At end of configure, I can see (but not understand or know if important):
- UTF8: AVX2 support is added
-- UTF8: SSE41 support is added
-- Could NOT find libdw (missing: LIBDW_LIBRARY LIBDW_INCLUDE_DIR)
-- Found libbfd: /usr/local/lib/libbfd.so
-- Found libdwarf: /usr/lib/libdwarf.so
-- Found Backward:
/usr/ports/mail/rspamd/work/rspamd-3.7.1/contrib/backward-cpp
-- Backward-cpp config:
BACKWARD_HAS_UNWIND=1;BACKWARD_HAS_LIBUNWIND=0;BACKWARD_HAS_BACKTRACE=0;BACKWARD_HAS_BACKTRACE_SYMBOL=0;BACKWARD_HAS_DW=0;BACKWARD_HAS_BFD=1;BACKWARD_HAS_DWARF=0
-- Backward-cpp libraries: /usr/local/lib/libbfd.so;/usr/lib/libdl.so
-- Compiler type CLANG: /usr/bin/c++
-- Cryptobox: AVX2 support is added (chacha20)
-- Cryptobox: AVX2 support is added (base64)
-- Cryptobox: AVX support is added (chacha20)
-- Cryptobox: SSE2 support is added (chacha20)
-- Cryptobox: SSE42 support is added (base64)
-- Configuring done (14.4s)
-- Generating done (0.2s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_PORT
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED
    THREADS_HAVE_PTHREAD_ARG

-- 
You are receiving this mail because:
You are the assignee for the bug.