+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/rspamd-3.6/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/rspamd-3.6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for rspamd-3.6.tar.gz => Checksum SHA512 OK for rspamd-3.6.tar.gz ===> Installing dependencies for rspamd-3.6 ========================================================================== The following variables will affect the build process of this package, rspamd-3.6. Their current value is shown below: * CURSES_DEFAULT = ncurses * LUA_VERSION_DEFAULT = 54 * READLINE_DEFAULT = readline * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /opt/local/etc/openssl/certs * SSLDIR = /opt/local/etc/openssl * SSLKEYS = /opt/local/etc/openssl/private * VARBASE = /var Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * LUA_PACKAGE = lua54 * READLINE_TYPE = readline * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/local/bin/bmake clean' after the changes. ========================================================================== => Tool dependency cmake>=0: found cmake-3.27.4 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.76.4nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency perl>=5.0: found perl-5.38.0 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.2 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency gcc12>=12.2.0: found gcc12-12.2.0 => Full dependency lua54-lpeg-[0-9]*: found lua54-lpeg-1.1.0 => Full dependency ragel-[0-9]*: found ragel-6.10 => Full dependency gnupg2>=2.2.0: found gnupg2-2.4.3 => Full dependency hiredis>=1.0.0: found hiredis-1.2.0 => Full dependency sqlite3>=3.41.2nb1: found sqlite3-3.43.0 => Full dependency fann>=2.0.0: found fann-2.2.0nb2 => Full dependency glib2>=2.76.4nb1: found glib2-2.76.4nb1 => Full dependency pcre2>=10.30: found pcre2-10.42 => Full dependency libevent>=2.1.11nb1: found libevent-2.1.12 => Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1u => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6 => Full dependency gmime>=2.6.23nb3: found gmime-2.6.23nb4 => Full dependency libsodium>=0.3: found libsodium-1.0.18 => Full dependency file>=4.17: found file-5.42 => Full dependency icu>=73.2nb1: found icu-73.2nb1 => Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0 ===> Overriding tools for rspamd-3.6 ===> Extracting for rspamd-3.6 /usr/bin/find /home/pbulk/build/mail/rspamd/work/rspamd-3.6/conf -type d -exec /usr/bin/chmod 755 {} \; /usr/bin/find /home/pbulk/build/mail/rspamd/work/rspamd-3.6/conf -type f -exec /usr/bin/chmod 644 {} \; ===> Patching for rspamd-3.6 => Applying pkgsrc patches for rspamd-3.6 => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-cmake_Toolset.cmake => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-cmake_Toolset.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_Toolset.cmake,v 1.2 2021/12/21 15:00:41 triaxx Exp $ | |Avoid specifying a custom linker: |gcc: error: unrecognized command line option '-fuse-ld=lld'; did you mean '-fuse-ld=bfd'? | |--- cmake/Toolset.cmake.orig 2021-11-01 14:33:30.000000000 +0000 |+++ cmake/Toolset.cmake -------------------------- Patching file cmake/Toolset.cmake using Plan A... Hunk #1 succeeded at 73 (offset 21 lines). done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-contrib_doctest_doctest_doctest.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-contrib_doctest_doctest_doctest.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-contrib_doctest_doctest_doctest.h,v 1.1 2022/03/03 16:23:31 jperkin Exp $ | |Explicitly use std::log10(). | |--- contrib/doctest/doctest/doctest.h.orig 2021-11-01 14:33:30.000000000 +0000 |+++ contrib/doctest/doctest/doctest.h -------------------------- Patching file contrib/doctest/doctest/doctest.h using Plan A... Hunk #1 succeeded at 5803. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-contrib_fpconv_fpconv.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-contrib_fpconv_fpconv.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-contrib_fpconv_fpconv.c,v 1.1 2019/06/21 15:02:54 jperkin Exp $ | |Provide compat MIN/MAX macros. | |--- contrib/fpconv/fpconv.c.orig 2019-05-23 14:41:27.000000000 +0000 |+++ contrib/fpconv/fpconv.c -------------------------- Patching file contrib/fpconv/fpconv.c using Plan A... Hunk #1 succeeded at 14. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-src_libserver_symcache_symcache__impl.cxx => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-src_libserver_symcache_symcache__impl.cxx Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libserver_symcache_symcache__impl.cxx,v 1.1 2022/10/30 15:38:54 jperkin Exp $ | |Explicitly use std::pow(). | |--- src/libserver/symcache/symcache_impl.cxx.orig 2022-10-01 14:19:21.000000000 +0000 |+++ src/libserver/symcache/symcache_impl.cxx -------------------------- Patching file src/libserver/symcache/symcache_impl.cxx using Plan A... Hunk #1 succeeded at 31. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-src_rspamd.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd/patches/patch-src_rspamd.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_rspamd.c,v 1.3 2023/08/24 19:38:09 wiz Exp $ | |Avoid sun define. | |--- src/rspamd.c.orig 2023-08-03 13:56:19.000000000 +0000 |+++ src/rspamd.c -------------------------- Patching file src/rspamd.c using Plan A... Hunk #1 succeeded at 456. done ===> Creating toolchain wrappers for rspamd-3.6 /usr/bin/ln -s /home/pbulk/build/mail/rspamd/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/mail/rspamd/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for rspamd-3.6 => Replacing Perl interpreter in utils/rspamd_stats.pl. => Checking for portability problems in extracted files -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /home/pbulk/build/mail/rspamd/work/.cwrapper/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/mail/rspamd/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/pbulk/build/mail/rspamd/work/.cwrapper/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found RAGEL: /opt/local/bin/ragel (found version "6.10") -- Found PkgConfig: /home/pbulk/build/mail/rspamd/work/.tools/bin/pkg-config (found version "2.0.2") -- Found Perl: /home/pbulk/build/mail/rspamd/work/.tools/bin/perl (found version "5.38.0") -- Use generic 'ld' as a linker -- Defaulting to release build. -- CMAKE_BUILD_TYPE: RELEASE CMake Warning at cmake/Toolset.cmake:232 (message): IPO is not supported: Change Dir: '/home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin' Run Build Command(s): /opt/local/bin/cmake -E env VERBOSE=1 /home/pbulk/build/mail/rspamd/work/.tools/bin/make -f Makefile /opt/local/bin/cmake -S/home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/src -B/home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin --check-build-system CMakeFiles/Makefile.cmake 0 /opt/local/bin/cmake -E cmake_progress_start /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin//CMakeFiles/progress.marks /home/pbulk/build/mail/rspamd/work/.tools/bin/make -f CMakeFiles/Makefile2 all /home/pbulk/build/mail/rspamd/work/.tools/bin/make -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend cd /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/src /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/src /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake Dependee "/home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake" is newer than depender "/home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/depend.internal". Dependee "/home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/depend.internal". Scanning dependencies of target foo /home/pbulk/build/mail/rspamd/work/.tools/bin/make -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/build [ 25%] Building CXX object CMakeFiles/foo.dir/foo.cpp.o /home/pbulk/build/mail/rspamd/work/.cwrapper/bin/g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/lua-5.4 -I/opt/local/include/ncurses -I/opt/local/include/sodium -flto=auto -fno-fat-lto-objects -o CMakeFiles/foo.dir/foo.cpp.o -c /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/src/foo.cpp cc1plus: error: '-fno-fat-lto-objects' are supported only with linker plugin *** Error code 1 Stop. make[2]: stopped in /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin *** Error code 1 Stop. make[1]: stopped in /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin *** Error code 1 Stop. make: stopped in /home/pbulk/build/mail/rspamd/work/rspamd-3.6/cmake-pkgsrc-build/CMakeFiles/_CMakeLTOTest-CXX/bin Call Stack (most recent call first): CMakeLists.txt:89 (INCLUDE) -- Final CFLAGS: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/lua-5.4 -I/opt/local/include/ncurses -I/opt/local/include/sodium -DNDEBUG -O3 -funsafe-math-optimizations -fno-math-errno -fomit-frame-pointer -- Final CXXFLAGS: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/lua-5.4 -I/opt/local/include/ncurses -I/opt/local/include/sodium -DNDEBUG -O3 -funsafe-math-optimizations -fno-math-errno -fomit-frame-pointer -- Final link flags for shlib: -Wl,-R/opt/local/lib/rspamd -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -- Final link flags for exe: -Wl,-R/opt/local/lib/rspamd -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -- Compilation of slash macro convention asm set is supported -- Compilation of dollar macro convention asm set is -NOT- supported -- Compilation of avx2 asm set is supported -- Performing Test HAVE_AVX2_C_COMPILER -- Performing Test HAVE_AVX2_C_COMPILER - Success -- Compilation of avx asm set is supported -- Compilation of sse2 asm set is supported -- Compilation of sse3 asm set is supported -- Compilation of ssse3 asm set is supported -- Compilation of sse41 asm set is supported -- Compilation of sse42 asm set is supported -- Enable sse2 on x86_64 architecture -- Checking for one of the modules 'lua53' -- Cannot find library lua;lua-5.3 for package LIBLUA, ignoring -- Cannot find header lua.h for package LIBLUA -- Checking for one of the modules 'lua54' -- Cannot find library lua;lua-5.4 for package LIBLUA, ignoring -- Checking for one of the modules 'lua52' -- Cannot find library lua;lua-5.2 for package LIBLUA, ignoring -- Cannot find header lua.h for package LIBLUA -- Checking for one of the modules 'lua51' CMake Error at cmake/ProcessPackage.cmake:71 (MESSAGE): Cannot find library lua;lua-5.1 for package LIBLUA Call Stack (most recent call first): CMakeLists.txt:189 (ProcessPackage) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/rspamd