<86>Dec 11 07:24:54 userdel[42903]: delete user 'rooter' <86>Dec 11 07:24:54 groupadd[42943]: group added to /etc/group: name=rooter, GID=552 <86>Dec 11 07:24:54 groupadd[42943]: group added to /etc/gshadow: name=rooter <86>Dec 11 07:24:54 groupadd[42943]: new group: name=rooter, GID=552 <86>Dec 11 07:24:54 useradd[42981]: new user: name=rooter, UID=552, GID=552, home=/root, shell=/bin/bash <86>Dec 11 07:24:54 userdel[43060]: delete user 'builder' <86>Dec 11 07:24:54 userdel[43060]: removed group 'builder' owned by 'builder' <86>Dec 11 07:24:54 userdel[43060]: removed shadow group 'builder' owned by 'builder' <86>Dec 11 07:24:54 groupadd[43129]: group added to /etc/group: name=builder, GID=553 <86>Dec 11 07:24:54 groupadd[43129]: group added to /etc/gshadow: name=builder <86>Dec 11 07:24:54 groupadd[43129]: new group: name=builder, GID=553 <86>Dec 11 07:24:54 useradd[43184]: new user: name=builder, UID=553, GID=553, home=/usr/src, shell=/bin/bash warning: Macro %cmake_insource not found warning: Macro %_sysconfigdir not found warning: Macro %_sysconfigdir not found warning: Macro %_sysconfigdir not found <13>Dec 11 07:24:59 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Dec 11 07:24:59 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Dec 11 07:24:59 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Dec 11 07:24:59 rpmi: libidn2-2.0.5-alt1 1526923875 installed <13>Dec 11 07:24:59 rpmi: libnettle6-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Dec 11 07:24:59 rpmi: libgcrypt20-1.8.3-alt3 sisyphus.214019.140 1538990448 installed <13>Dec 11 07:24:59 rpmi: libassuan-2.5.1-alt1.S1 1516191052 installed <13>Dec 11 07:24:59 rpmi: vapi-common-0.42.3-alt1 sisyphus.216231.100 1541621201 installed <13>Dec 11 07:24:59 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Dec 11 07:24:59 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Dec 11 07:24:59 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Dec 11 07:24:59 rpmi: perl-Compress-Raw-Zlib-2.081-alt1 1523236573 installed <13>Dec 11 07:24:59 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Dec 11 07:24:59 rpmi: libev4-4.24-alt1 1490615355 installed <13>Dec 11 07:24:59 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700318 installed <13>Dec 11 07:24:59 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 11 07:24:59 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Dec 11 07:24:59 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Dec 11 07:24:59 rpmi: libev-devel-4.24-alt1 1490615355 installed <13>Dec 11 07:24:59 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Dec 11 07:24:59 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Dec 11 07:24:59 rpmi: libarchive13-3.3.1-alt1.S1 1488799507 installed <13>Dec 11 07:24:59 rpmi: libhogweed4-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Dec 11 07:25:00 rpmi: libgnutls30-3.6.5-alt1 sisyphus.217427.200 1544108704 installed <13>Dec 11 07:25:00 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Dec 11 07:25:00 rpmi: libksba-1.3.6-alt6 sisyphus.216234.100 1541624151 installed <86>Dec 11 07:25:00 groupadd[65733]: group added to /etc/group: name=crontab, GID=499 <86>Dec 11 07:25:00 groupadd[65733]: group added to /etc/gshadow: name=crontab <86>Dec 11 07:25:00 groupadd[65733]: new group: name=crontab, GID=499 <13>Dec 11 07:25:00 rpmi: crontab-control-1.1-alt1 1096742625 installed <13>Dec 11 07:25:00 rpmi: setproctitle-0.3.2-alt3 1299638027 installed <13>Dec 11 07:25:00 rpmi: vixie-cron-4.1.20060426-alt10.1 1522607137 installed <13>Dec 11 07:25:00 rpmi: crontabs-1.8-alt1 1051273643 installed <13>Dec 11 07:25:00 rpmi: logrotate-3.9.1-alt5 1515526240 installed <13>Dec 11 07:25:00 rpmi: rpm-build-vala-0.3-alt1 1332324961 installed <13>Dec 11 07:25:00 rpmi: vala-0.42.3-alt1 sisyphus.216231.100 1541621305 installed <13>Dec 11 07:25:00 rpmi: rpm-build-compat-2.1.9-alt1 1535641052 installed <13>Dec 11 07:25:00 rpmi: python-module-timelib-0.2.4-alt4 1528494251 installed <13>Dec 11 07:25:00 rpmi: python-module-roman-2.0.0-alt1.2 1527004609 installed <13>Dec 11 07:25:00 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417087 installed <13>Dec 11 07:25:00 rpmi: python-module-appdirs-1.4.3-alt1.1 1517640050 installed <13>Dec 11 07:25:00 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Dec 11 07:25:00 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Dec 11 07:25:00 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Dec 11 07:25:00 rpmi: perl-Filter-1.59-alt1 1533737242 installed <13>Dec 11 07:25:00 rpmi: perl-Encode-2.98-alt1 1525447819 installed <13>Dec 11 07:25:00 rpmi: perl-URI-1.74-alt1 1525446424 installed <13>Dec 11 07:25:00 rpmi: perl-HTML-Parser-3.72-alt1.1.1 1513340808 installed <13>Dec 11 07:25:00 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Dec 11 07:25:00 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Dec 11 07:25:00 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Dec 11 07:25:00 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Dec 11 07:25:00 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Dec 11 07:25:00 rpmi: perl-Compress-Raw-Bzip2-2.081-alt1 1523236188 installed <13>Dec 11 07:25:00 rpmi: perl-IO-Compress-2.081-alt1 1523237108 installed <13>Dec 11 07:25:00 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Dec 11 07:25:00 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Dec 11 07:25:00 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Dec 11 07:25:00 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Dec 11 07:25:00 rpmi: perl-libwww-6.36-alt1 sisyphus.215515.100 1540400896 installed <13>Dec 11 07:25:00 rpmi: libwebp7-1.0.1-alt1 sisyphus.216740.100 1542890911 installed <13>Dec 11 07:25:00 rpmi: libpcre16-8.42-alt1 1531419113 installed <13>Dec 11 07:25:00 rpmi: pcretest-8.42-alt1 1531419113 installed <13>Dec 11 07:25:00 rpmi: libopenjpeg2.0-2.3.0-alt2 sisyphus.216213.100 1541598437 installed <13>Dec 11 07:25:01 rpmi: libreadline-devel-7.0.3-alt2 1526988928 installed <13>Dec 11 07:25:01 rpmi: liblua5.1-preinstall-5.1.5-alt15 1522175155 installed <13>Dec 11 07:25:01 rpmi: liblua5.1-5.1.5-alt15 1522175155 installed <13>Dec 11 07:25:01 rpmi: liblua5.1-compat-devel-5.1.5-alt15 1522175155 installed <13>Dec 11 07:25:01 rpmi: liblua5.1-devel-5.1.5-alt15 1522175155 installed <13>Dec 11 07:25:01 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Dec 11 07:25:01 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159349 installed <13>Dec 11 07:25:01 rpmi: libgraphite2-1.3.12-alt2.1 sisyphus.215942.100 1540990757 installed <13>Dec 11 07:25:01 rpmi: libharfbuzz-2.1.3-alt1 sisyphus.216837.100 1543085735 installed <13>Dec 11 07:25:01 rpmi: libfreetype-2.9.1-alt1.S1 1530781053 installed <13>Dec 11 07:25:01 rpmi: libgomp1-8.2.1-alt1 sisyphus.214000.20 1542662379 installed <13>Dec 11 07:25:01 rpmi: libimagequant-2.11.3-alt1_1 1510768460 installed <13>Dec 11 07:25:01 rpmi: shared-mime-info-1.10-alt1.1 1530525599 installed <13>Dec 11 07:25:01 rpmi: libcares-1.15.0-alt1 sisyphus.216502.100 1542294005 installed <13>Dec 11 07:25:01 rpmi: libbsd-0.7.0-alt1 1410574211 installed <13>Dec 11 07:25:01 rpmi: gsettings-desktop-schemas-data-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Dec 11 07:25:01 rpmi: libgio-2.58.1-alt3 sisyphus.214034.100 1538601697 installed <13>Dec 11 07:25:01 rpmi: gsettings-desktop-schemas-3.28.1-alt1 sisyphus.212587.100 1536082066 installed <13>Dec 11 07:25:01 rpmi: gpgme-common-1.11.1-alt1.S1.1 1525149426 installed <13>Dec 11 07:25:01 rpmi: su-0.60-alt35 1484567251 installed <13>Dec 11 07:25:02 rpmi: libusb-1.0.22-alt1 1525452055 installed <13>Dec 11 07:25:02 rpmi: libnpth-1.5-alt2 1517695585 installed <13>Dec 11 07:25:02 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Dec 11 07:25:02 rpmi: rpm-build-gir-0.7.2-alt4 1534675014 installed <13>Dec 11 07:25:02 rpmi: libuv-1.23.2-alt1 sisyphus.217108.100 1543612230 installed <13>Dec 11 07:25:02 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>Dec 11 07:25:02 rpmi: libjsoncpp19-1.8.4-alt2.S1 1518769525 installed <13>Dec 11 07:25:02 rpmi: publicsuffix-list-dafsa-20181106-alt1 sisyphus.216228.100 1541611754 installed <13>Dec 11 07:25:02 rpmi: libpsl-0.20.2-alt2 sisyphus.216228.200 1541611889 installed <13>Dec 11 07:25:02 rpmi: libnghttp2-1.34.0-alt1 sisyphus.214524.100 1539249634 installed <13>Dec 11 07:25:02 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Dec 11 07:25:02 rpmi: libbrotlidec-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Dec 11 07:25:02 rpmi: rpm-macros-cmake-3.13.1-alt1 sisyphus.217317.100 1544006298 installed <13>Dec 11 07:25:02 rpmi: cmake-modules-3.13.1-alt1 sisyphus.217317.100 1544006285 installed <13>Dec 11 07:25:02 rpmi: bash-builtin-lockf-0.3.1-alt1.qa1 1366318152 installed <13>Dec 11 07:25:02 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Dec 11 07:25:02 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Dec 11 07:25:02 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:02 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Dec 11 07:25:02 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Dec 11 07:25:02 rpmi: libcom_err-1.44.3-alt1 1532134732 installed <13>Dec 11 07:25:02 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 11 07:25:02 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 11 07:25:02 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Dec 11 07:25:02 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Dec 11 07:25:02 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Dec 11 07:25:02 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 11 07:25:02 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 11 07:25:02 rpmi: libpython3-3.6.5-alt1.1 1535734576 installed <13>Dec 11 07:25:02 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 11 07:25:02 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 11 07:25:02 rpmi: python3-3.6.5-alt1.1 1535734576 installed <13>Dec 11 07:25:03 rpmi: python3-base-3.6.5-alt1.1 1535734576 installed <86>Dec 11 07:25:03 groupadd[75480]: group added to /etc/group: name=_keytab, GID=498 <86>Dec 11 07:25:03 groupadd[75480]: group added to /etc/gshadow: name=_keytab <86>Dec 11 07:25:03 groupadd[75480]: new group: name=_keytab, GID=498 <13>Dec 11 07:25:03 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483297 installed <13>Dec 11 07:25:03 rpmi: glib2-devel-2.58.1-alt3 sisyphus.214034.100 1538601697 installed <13>Dec 11 07:25:03 rpmi: libgio-devel-2.58.1-alt3 sisyphus.214034.100 1538601697 installed <13>Dec 11 07:25:03 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Dec 11 07:25:03 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 11 07:25:03 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-module-six-1.11.0-alt2 1535611135 installed <13>Dec 11 07:25:03 rpmi: python-modules-json-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:03 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 11 07:25:03 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:04 rpmi: python-module-constantly-15.1.0-alt5.qa1 sisyphus.214852.100 1539793503 installed <13>Dec 11 07:25:04 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Dec 11 07:25:04 rpmi: python-module-webob-1.7.4-alt1_3 1520978797 installed <13>Dec 11 07:25:04 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:04 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:04 rpmi: python-tools-2to3-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:04 rpmi: python-module-future-0.16.0-alt2 1500998941 installed <13>Dec 11 07:25:04 rpmi: python-module-olefile-0.45.1-alt1.qa1 sisyphus.214886.100 1539677196 installed <13>Dec 11 07:25:04 rpmi: python-module-serial-3.4-alt1 1508504506 installed <13>Dec 11 07:25:04 rpmi: python-module-hpack-3.0.0-alt1.qa1 sisyphus.214867.100 1539676101 installed <13>Dec 11 07:25:04 rpmi: python-module-odfpy-1.3.6-alt1 1521482028 installed <13>Dec 11 07:25:04 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:04 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:04 rpmi: python-strict-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 11 07:25:04 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:04 rpmi: python-module-attrs-18.2.0-alt1 sisyphus.214354.100 1539088435 installed <13>Dec 11 07:25:04 rpmi: python-module-flup-1.0.3-alt2.hg20120223.1.2 1526984399 installed <13>Dec 11 07:25:04 rpmi: python-module-pycparser-2.19-alt1 sisyphus.216095.100 1541345023 installed <13>Dec 11 07:25:04 rpmi: python-module-cffi-1.10.0-alt1.1 1525117736 installed <13>Dec 11 07:25:04 rpmi: python-module-Pillow-5.2.0-alt1 1530558037 installed <13>Dec 11 07:25:04 rpmi: python-module-asn1crypto-0.24.0-alt1 1521037480 installed <13>Dec 11 07:25:04 rpmi: python-module-idna-2.7-alt1 1530720902 installed <13>Dec 11 07:25:04 rpmi: python-module-zc-1.0.0-alt6.2 1458024175 installed <13>Dec 11 07:25:04 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Dec 11 07:25:04 rpmi: python-module-zope.interface-4.5.0-alt1.qa1 sisyphus.214938.100 1539939473 installed <13>Dec 11 07:25:04 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus.214868.100 1539741045 installed <13>Dec 11 07:25:05 rpmi: python-module-lxml-4.2.1-alt1.1 1525119302 installed <13>Dec 11 07:25:05 rpmi: python-module-cssselect-0.9.1-alt1.2 1526980827 installed <13>Dec 11 07:25:05 rpmi: python-module-ipaddress-1.0.18-alt1.1 1517713372 installed <13>Dec 11 07:25:05 rpmi: python-module-cryptography-2.4.2-alt1 sisyphus.216799.200 1543487260 installed <13>Dec 11 07:25:05 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Dec 11 07:25:05 rpmi: python-module-hyperlink-17.3.0-alt1.qa1 sisyphus.214872.100 1539707591 installed <13>Dec 11 07:25:05 rpmi: python-module-click-6.7-alt1.1 1517661086 installed <13>Dec 11 07:25:05 rpmi: python-module-hyperframe-5.1.0-alt1.qa1 sisyphus.214871.100 1539706121 installed <13>Dec 11 07:25:05 rpmi: python-module-h2-3.0.1-alt2 1502880428 installed <13>Dec 11 07:25:05 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus.214917.100 1539845528 installed <13>Dec 11 07:25:05 rpmi: python-module-mwclient-0.8.0-alt1 1500752816 installed <13>Dec 11 07:25:05 rpmi: python-module-openid-2.2.5-alt2.2 1526988190 installed <13>Dec 11 07:25:05 rpmi: python-module-priority-1.3.0-alt1.qa1 sisyphus.214894.100 1539775224 installed <13>Dec 11 07:25:05 rpmi: python-module-py-1.7.0-alt1 sisyphus.214414.220 1539670883 installed <13>Dec 11 07:25:05 rpmi: python-module-pyparsing-2.2.0-alt1 1534411950 installed <13>Dec 11 07:25:05 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Dec 11 07:25:05 rpmi: python-dev-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:25:05 rpmi: python-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 11 07:25:05 rpmi: python-module-twisted-logger-18.7.0-alt1 1535280189 installed <13>Dec 11 07:25:05 rpmi: python-module-incremental-17.5.0-alt2.qa1 sisyphus.214874.100 1539708043 installed <13>Dec 11 07:25:05 rpmi: python-module-pydoctor-16.3.0-alt1.qa1 sisyphus.214897.100 1539781872 installed <13>Dec 11 07:25:05 rpmi: python-module-automat-0.6.0-alt1.qa1 sisyphus.214840.100 1539681341 installed <13>Dec 11 07:25:06 rpmi: python-module-twisted-core-18.7.0-alt1 1535280189 installed <13>Dec 11 07:25:06 rpmi: python-module-twisted-web-18.7.0-alt1 1535280189 installed <13>Dec 11 07:25:06 rpmi: python-module-greenlet-0.4.11-alt1.1.1 1525120456 installed <13>Dec 11 07:25:06 rpmi: python-module-gevent-1.2.2-alt1.1 1525120755 installed <13>Dec 11 07:25:06 rpmi: python-module-geventutil-0.0.1-alt1.hg20120114.1.2 1526984743 installed <13>Dec 11 07:25:06 rpmi: python-module-qserve-0.2.8-alt1.1.2 1527004123 installed <86>Dec 11 07:25:06 groupadd[85882]: group added to /etc/group: name=sasl, GID=497 <86>Dec 11 07:25:06 groupadd[85882]: group added to /etc/gshadow: name=sasl <86>Dec 11 07:25:06 groupadd[85882]: new group: name=sasl, GID=497 <13>Dec 11 07:25:06 rpmi: libsasl2-3-2.1.27-alt0.2 1535660695 installed <13>Dec 11 07:25:06 rpmi: libldap-2.4.46-alt1 1535562135 installed <13>Dec 11 07:25:06 rpmi: libcurl-7.62.0-alt3 sisyphus.216461.100 1542191614 installed <13>Dec 11 07:25:06 rpmi: cmake-3.13.1-alt1 sisyphus.217317.100 1544006298 installed <13>Dec 11 07:25:07 rpmi: gnupg2-2.2.10-alt3 sisyphus.215961.100 1541002076 installed <13>Dec 11 07:25:07 rpmi: libgpgme11-1.11.1-alt1.S1.1 1525149426 installed <13>Dec 11 07:25:07 rpmi: libgmime2.6-2.6.23-alt3 sisyphus.213032.100 1536933940 installed <13>Dec 11 07:25:07 rpmi: libevent2.1-2.1.8-alt1 sisyphus.212491.200 1535963930 installed <13>Dec 11 07:25:07 rpmi: libevent-devel-2.1.8-alt1 sisyphus.212491.200 1535963930 installed <13>Dec 11 07:25:07 rpmi: libgmime-devel-2.6.23-alt3 sisyphus.213032.100 1536933940 installed <13>Dec 11 07:25:07 rpmi: ccmake-3.13.1-alt1 sisyphus.217317.100 1544006298 installed <86>Dec 11 07:25:07 groupadd[89417]: group added to /etc/group: name=mwserve, GID=496 <86>Dec 11 07:25:07 groupadd[89417]: group added to /etc/gshadow: name=mwserve <86>Dec 11 07:25:07 groupadd[89417]: new group: name=mwserve, GID=496 <86>Dec 11 07:25:07 useradd[89505]: new user: name=mwserve, UID=499, GID=496, home=/var/cache/mwserve, shell=/dev/null <13>Dec 11 07:25:07 rpmi: python-module-mwlib-0.15.14-alt2 sisyphus.212620.100 1536162787 installed <13>Dec 11 07:25:07 rpmi: python-module-paste-2.0.3-alt1.1 1527254070 installed <13>Dec 11 07:25:07 rpmi: libbsd-devel-0.7.0-alt1 1410574211 installed <13>Dec 11 07:25:08 rpmi: libpcre-devel-8.42-alt1 1531419113 installed <13>Dec 11 07:25:08 rpmi: perl-XML-Parser-2.44-alt2.1.1 1513346417 installed <13>Dec 11 07:25:08 rpmi: rpm-build-intro-2.1.9-alt1 1535641052 installed <13>Dec 11 07:25:08 rpmi: libsqlite3-devel-3.25.2-alt2 sisyphus.215082.100 1539700318 installed <13>Dec 11 07:25:08 rpmi: perl-Term-Cap-1.17-alt1 1445018869 installed <13>Dec 11 07:25:08 rpmi: libdb4.7-devel-4.7.25-alt9 1490438479 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/rspamd-0.4.7-alt1.1.nosrc.rpm Installing rspamd-0.4.7-alt1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.60112 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf rspamd-0.4.7 + echo 'Source #0 (rspamd-0.4.7.tar):' Source #0 (rspamd-0.4.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/rspamd-0.4.7.tar + cd rspamd-0.4.7 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.91801 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rspamd-0.4.7 + /usr/bin/subst 's|SET(ETC_PREFIX "\${CMAKE_INSTALL_PREFIX}/etc")|SET(ETC_PREFIX "/etc")|g' CMakeLists.txt + /usr/bin/subst 's|gmime-2.4|gmime-2.6|g' CMakeLists.txt + /usr/bin/subst 's|TARGET_LINK_LIBRARIES(rspamdclient pcre)|TARGET_LINK_LIBRARIES(rspamdclient pcre m)|g' lib/CMakeLists.txt + cmake . -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX= -DLIB_DESTINATION=lib -- The C compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Found Perl: /usr/bin/perl (found version "5.26.2") -- Configuring for Linux -- Found Lua51: /usr/lib/liblua5.1.so;/usr/lib/libm.so (found version "5.1.5") -- Checking for module 'libpcre' -- Found libpcre, version 8.42 -- Checking for module 'sqlite3>=3.6.0' -- Found sqlite3, version 3.25.2 -- Checking for modules 'glib-2.0>=2.12;gmodule-2.0' -- Found glib-2.0, version 2.58.1 -- Found gmodule-2.0, version 2.58.1 -- Checking for module 'gmime-2.0' -- No package 'gmime-2.0' found -- Checking for module 'libhiredis' -- No package 'libhiredis' found -- Checking for module 'gmime-2.6' -- Found gmime-2.6, version 2.6.23 -- Looking for pidfile_open -- Looking for pidfile_open - not found -- Performing Test SUPPORT_WALL -- Performing Test SUPPORT_WALL - Success -- Performing Test SUPPORT_W -- Performing Test SUPPORT_W - Success -- Performing Test SUPPORT_WPOINTER -- Performing Test SUPPORT_WPOINTER - Success -- Performing Test SUPPORT_WPARAM -- Performing Test SUPPORT_WPARAM - Success -- Performing Test SUPPORT_WFUNCTION -- Performing Test SUPPORT_WFUNCTION - Success -- Performing Test SUPPORT_WUNUSED_VAR -- Performing Test SUPPORT_WUNUSED_VAR - Success -- Performing Test SUPPORT_WPOINTER_SIGN -- Performing Test SUPPORT_WPOINTER_SIGN - Success -- Performing Test SUPPORT_PEDANTIC_FLAG -- Performing Test SUPPORT_PEDANTIC_FLAG - Success -- Performing Test SUPPORT_STD_FLAG -- Performing Test SUPPORT_STD_FLAG - Success CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFiles.cmake:110 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: rt;dl;util For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): CMakeLists.txt:663 (CHECK_INCLUDE_FILES) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/uio.h -- Looking for include file sys/uio.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file math.h -- Looking for include file math.h - found -- Looking for include file stdio.h -- Looking for include file stdio.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file time.h -- Looking for include file time.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file sysexits.h -- Looking for include file sysexits.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file endian.h -- Looking for include file endian.h - found -- Looking for include file sys/endian.h -- Looking for include file sys/endian.h - not found -- Looking for include file machine/endian.h -- Looking for include file machine/endian.h - not found -- Looking for include file sys/queue.h -- Looking for include file sys/queue.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file sys/mman.h -- Looking for include file sys/mman.h - found -- Looking for include file sys/un.h -- Looking for include file sys/un.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/wait.h -- Looking for include file sys/wait.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/cdefs.h -- Looking for include file sys/cdefs.h - found -- Looking for include file sys/file.h -- Looking for include file sys/file.h - found -- Looking for include file sys/utsname.h -- Looking for include file sys/utsname.h - found -- Looking for include file sys/resource.h -- Looking for include file sys/resource.h - found -- Looking for include file netinet/in.h -- Looking for include file netinet/in.h - found -- Looking for include file arpa/inet.h -- Looking for include file arpa/inet.h - found -- Looking for include file netdb.h -- Looking for include file netdb.h - found -- Looking for include file syslog.h -- Looking for include file syslog.h - found -- Looking for include file siginfo.h -- Looking for include file siginfo.h - not found -- Looking for include file locale.h -- Looking for include file locale.h - found -- Looking for include file libgen.h -- Looking for include file libgen.h - found -- Looking for include file search.h -- Looking for include file search.h - found -- Looking for include file pwd.h -- Looking for include file pwd.h - found -- Looking for include file grp.h -- Looking for include file grp.h - found -- Looking for include file glob.h -- Looking for include file glob.h - found -- Looking for include file poll.h -- Looking for include file poll.h - found -- Looking for include file sys/sendfile.h -- Looking for include file sys/sendfile.h - found -- Looking for include file linux/falloc.h -- Looking for include file linux/falloc.h - found -- Looking for include file sys/eventfd.h -- Looking for include file sys/eventfd.h - found -- Looking for include file aio.h -- Looking for include file aio.h - found -- Looking for include file libaio.h -- Looking for include file libaio.h - not found -- Looking for setproctitle -- Looking for setproctitle - not found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for nanosleep -- Looking for nanosleep - found -- Looking for vfork -- Looking for vfork - found -- Looking for wait4 -- Looking for wait4 - found -- Looking for waitpid -- Looking for waitpid - found -- Looking for flock -- Looking for flock - found -- Looking for tanhl -- Looking for tanhl - not found -- Looking for sendfile -- Looking for sendfile - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for setitimer -- Looking for setitimer - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for PATH_MAX -- Looking for PATH_MAX - found -- Looking for MAXPATHLEN -- Looking for MAXPATHLEN - found -- Looking for MAP_SHARED -- Looking for MAP_SHARED - found -- Looking for MAP_ANON -- Looking for MAP_ANON - found -- Looking for MAP_NOCORE -- Looking for MAP_NOCORE - not found -- Looking for O_DIRECT -- Looking for O_DIRECT - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for fallocate -- Looking for fallocate - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for _SC_NPROCESSORS_ONLN -- Looking for _SC_NPROCESSORS_ONLN - found -- Looking for SA_SIGINFO -- Looking for SA_SIGINFO - found -- Performing Test HAVE_LIBEVENT2 -- Performing Test HAVE_LIBEVENT2 - Failed -- Looking for CLOCK_PROCESS_CPUTIME_ID -- Looking for CLOCK_PROCESS_CPUTIME_ID - found -- Looking for CLOCK_VIRTUAL -- Looking for CLOCK_VIRTUAL - not found -- Performing Test HAVE_ASM_PAUSE -- Performing Test HAVE_ASM_PAUSE - Success -- dpkg-deb NOT found. deb generation will not be available -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/rspamd-0.4.7 + make -j8 make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target hiredis make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target rspamd_cdb make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target rspamdclient make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target rspamdclient_static make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target rspamd_json make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target kvstorageclient make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 1%] Building C object contrib/hiredis/CMakeFiles/hiredis.dir/dict.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/src/RPM/BUILD/rspamd-0.4.7/contrib/hiredis/dict.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target kvstorageclient_static make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 1%] Building C object src/cdb/CMakeFiles/rspamd_cdb.dir/cdb_init.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 1%] Building C object contrib/hiredis/CMakeFiles/hiredis.dir/async.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/src/RPM/BUILD/rspamd-0.4.7/contrib/hiredis/async.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 8%] Building C object contrib/hiredis/CMakeFiles/hiredis.dir/net.c.o In file included from /usr/include/sys/types.h:25, from /usr/src/RPM/BUILD/rspamd-0.4.7/contrib/hiredis/net.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/contrib/hiredis/net.c: In function '__redisSetErrorFromErrno': /usr/src/RPM/BUILD/rspamd-0.4.7/contrib/hiredis/net.c:61:5: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(errno,buf+len,sizeof(buf)-len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 6%] Building C object src/cdb/CMakeFiles/rspamd_cdb.dir/cdb_find.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 4%] Building C object src/json/CMakeFiles/rspamd_json.dir/dump.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 4%] Building C object contrib/hiredis/CMakeFiles/hiredis.dir/hiredis.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/src/RPM/BUILD/rspamd-0.4.7/contrib/hiredis/hiredis.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/contrib/hiredis/hiredis.c: In function '__redisSetError': /usr/src/RPM/BUILD/rspamd-0.4.7/contrib/hiredis/hiredis.c:937:9: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(errno,c->errstr,sizeof(c->errstr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 5%] Building C object lib/CMakeFiles/kvstorageclient.dir/kvstorage/libkvstorageclient.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c: In function 'rspamd_kvstorage_buf_drainline': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:185:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->len && (*p == '\r' || *p == '\n')) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:188:20: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - buf->data == buf->len) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c: In function 'rspamd_kvstorage_parse_reply_error': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:210:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->pos) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:212:25: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->pos && g_ascii_isspace (*p)) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c: In function 'rspamd_kvstorage_parse_get_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:265:25: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->pos && g_ascii_isspace (*p)) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:305:25: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->pos && g_ascii_isspace (*p)) { ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 5%] Building C object lib/CMakeFiles/kvstorageclient_static.dir/kvstorage/libkvstorageclient.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c: In function 'rspamd_kvstorage_buf_drainline': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:185:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->len && (*p == '\r' || *p == '\n')) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:188:20: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - buf->data == buf->len) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c: In function 'rspamd_kvstorage_parse_reply_error': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:210:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->pos) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:212:25: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->pos && g_ascii_isspace (*p)) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c: In function 'rspamd_kvstorage_parse_get_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:265:25: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->pos && g_ascii_isspace (*p)) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/kvstorage/libkvstorageclient.c:305:25: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - buf->data < buf->pos && g_ascii_isspace (*p)) { ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 8%] Building C object contrib/hiredis/CMakeFiles/hiredis.dir/sds.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 2%] Building C object lib/CMakeFiles/rspamdclient.dir/client/librspamdclient.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_first_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:331:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:362:38: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (g_ascii_isspace (*p) || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_metric_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:414:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:478:38: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (g_ascii_isspace (*p) || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:502:38: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (g_ascii_isspace (*p) || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_symbol_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:554:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:558:14: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1 || *p == ';' || *p == '(') { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:564:16: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:617:27: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (*p == ';' || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:638:27: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (*p == ',' || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:641:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_action_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:691:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:704:14: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_header_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:759:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:780:14: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1) { ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 13%] Linking C static library libhiredis.a make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 14%] Built target hiredis make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 10%] Building C object src/json/CMakeFiles/rspamd_json.dir/hashtable.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/src/json/hashtable.c:69:33: warning: 'num_primes' defined but not used [-Wunused-const-variable=] static const unsigned int num_primes = sizeof (primes) / sizeof (unsigned int); ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 10%] Building C object lib/CMakeFiles/rspamdclient_static.dir/__/src/mem_pool.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 3%] Building C object lib/CMakeFiles/rspamdclient_static.dir/client/librspamdclient.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_first_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:331:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:362:38: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (g_ascii_isspace (*p) || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_metric_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:414:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:478:38: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (g_ascii_isspace (*p) || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:502:38: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (g_ascii_isspace (*p) || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_symbol_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:554:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:558:14: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1 || *p == ';' || *p == '(') { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:564:16: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:617:27: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (*p == ';' || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:638:27: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (*p == ',' || p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:641:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_action_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:691:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:704:14: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c: In function 'parse_rspamd_header_line': /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:759:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (p - b < remain) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/lib/client/librspamdclient.c:780:14: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (p - b == remain - 1) { ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 9%] Building C object src/cdb/CMakeFiles/rspamd_cdb.dir/cdb_make.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 19%] Linking C static library librspamd_cdb.a make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 19%] Built target rspamd_cdb make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 11%] Building C object lib/CMakeFiles/kvstorageclient.dir/__/src/mem_pool.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 14%] Building C object lib/CMakeFiles/kvstorageclient.dir/__/src/upstream.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 14%] Building C object lib/CMakeFiles/rspamdclient.dir/__/src/mem_pool.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target rspamd_lua make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 16%] Building C object src/json/CMakeFiles/rspamd_json.dir/load.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/src/json/load.c: In function 'error_set': /usr/src/RPM/BUILD/rspamd-0.4.7/src/json/load.c:82:55: warning: ' near '' directive output may be truncated writing 7 bytes into a region of size between 1 and 160 [-Wformat-truncation=] snprintf (error->text, JSON_ERROR_TEXT_LENGTH, "%s near '%s'", text, saved_text); ^~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/config.h:278, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/json/jansson.h:11, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/json/load.c:8: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 168) into a destination of size 160 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/json/load.c:88:54: warning: ' near end of file' directive output may be truncated writing 17 bytes into a region of size between 1 and 160 [-Wformat-truncation=] snprintf (error->text, JSON_ERROR_TEXT_LENGTH, "%s near end of file", text); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/config.h:278, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/json/jansson.h:11, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/json/load.c:8: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 18 and 177 bytes into a destination of size 160 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 17%] Building C object lib/CMakeFiles/rspamdclient_static.dir/__/src/upstream.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 12%] Building C object lib/CMakeFiles/kvstorageclient_static.dir/__/src/mem_pool.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 18%] Building C object lib/CMakeFiles/rspamdclient_static.dir/__/src/printf.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 24%] Building C object src/json/CMakeFiles/rspamd_json.dir/strbuffer.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 26%] Linking C static library librspamdclient_static.a make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 26%] Built target rspamdclient_static make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 22%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_common.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c: In function 'lua_common_log': /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:153:54: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, msg); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:156:59: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_common_log_function(rspamd_main->logger, level, __FUNCTION__, msg); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:25: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c: In function 'init_lua_filters': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:274:5: note: in expansion of macro 'msg_info' msg_info ("load of %s failed: %s", module->path, lua_tostring (L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:287:5: note: in expansion of macro 'msg_info' msg_info ("init of %s failed: %s", module->path, lua_tostring (L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:292:6: note: in expansion of macro 'msg_info' msg_info ("%s returned -1 that indicates configuration error", module->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:310:25: note: in expansion of macro 'msg_info' msg_info ("cannot load normalizer code %s", tmp->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c: In function 'lua_call_filter': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:340:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed", function); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:345:3: note: in expansion of macro 'msg_info' msg_info ("function %s must return a number", function); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c: In function 'lua_call_chain_filter': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:368:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed", function); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:373:3: note: in expansion of macro 'msg_info' msg_info ("function %s must return a number", function); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c: In function 'lua_call_expression_func': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:412:4: note: in expansion of macro 'msg_err' msg_err ("Bad type: %s for function: %s for module: %s", lua_typename (L, lua_type (L, -1)), function, module); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:424:3: note: in expansion of macro 'msg_err' msg_err ("function with name %s is not defined", function); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:445:6: note: in expansion of macro 'msg_err' msg_err ("cannot pass custom params to lua function"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:454:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed: %s", function, lua_tostring (L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:462:3: note: in expansion of macro 'msg_info' msg_info ("function %s must return a boolean", function); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c: In function 'lua_consolidation_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:497:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed", data->func); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:502:3: note: in expansion of macro 'msg_info' msg_info ("function %s must return a number", data->func); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c: In function 'lua_normalizer_func': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:540:9: note: in expansion of macro 'msg_info' msg_info ("bad function name while calling normalizer"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:549:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed", p->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:554:3: note: in expansion of macro 'msg_info' msg_info ("function %s must return a number", p->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c: In function 'lua_dumpstack': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.c:597:2: note: in expansion of macro 'msg_info' msg_info (buf); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 21%] Building C object lib/CMakeFiles/rspamdclient.dir/__/src/upstream.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 25%] Building C object lib/CMakeFiles/kvstorageclient_static.dir/__/src/upstream.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 20%] Building C object lib/CMakeFiles/kvstorageclient.dir/__/src/printf.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 28%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_message.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 21%] Building C object lib/CMakeFiles/kvstorageclient.dir/__/src/util.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 26%] Building C object src/json/CMakeFiles/rspamd_json.dir/utf.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 24%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_task.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c: In function 'lua_dns_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:549:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed: %s", cd->cb_is_ref ? "local function" : ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c: In function 'lua_task_resolve_dns_a': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:596:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot handle type %s as callback data, try using closures", lua_typename (L, cd->cbtype)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:603:4: note: in expansion of macro 'msg_info' msg_info ("invalid parameters passed to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c: In function 'lua_task_resolve_dns_txt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:647:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot handle type %s as callback data", lua_typename (L, cd->cbtype)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:653:4: note: in expansion of macro 'msg_info' msg_info ("invalid parameters passed to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c: In function 'lua_task_resolve_dns_ptr': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:698:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot handle type %s as callback data", lua_typename (L, cd->cbtype)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:705:4: note: in expansion of macro 'msg_info' msg_info ("invalid parameters passed to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c: In function 'lua_task_learn_statfile': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:1162:4: note: in expansion of macro 'msg_warn' msg_warn ("classifier for symbol %s is not found", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:1168:4: note: in expansion of macro 'msg_warn' msg_warn ("no tokens found learn failed!"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_task.c:1176:4: note: in expansion of macro 'msg_warn' msg_warn ("opening statfile failed!"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 33%] Linking C shared library libkvstorageclient.so make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 29%] Building C object lib/CMakeFiles/rspamdclient.dir/__/src/printf.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 35%] Built target kvstorageclient make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 36%] Linking C shared library librspamdclient.so make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 36%] Built target rspamdclient make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 27%] Building C object lib/CMakeFiles/kvstorageclient_static.dir/__/src/printf.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 31%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_config.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c: In function 'lua_config_function_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:341:3: note: in expansion of macro 'msg_info' msg_info ("error processing symbol %s: call to %s failed: %s", cd->symbol, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c: In function 'lua_config_register_module_option': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:424:5: note: in expansion of macro 'msg_err' msg_err ("unknown type '%s' for option: %s, for module: %s", stype, optname, mname); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c: In function 'lua_call_post_filters': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:459:4: note: in expansion of macro 'msg_info' msg_info ("call to %s failed: %s", cd->cb_is_ref ? "local function" : ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c: In function 'lua_config_add_radix_map': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:504:4: note: in expansion of macro 'msg_warn' msg_warn ("invalid radix map %s", map_line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c: In function 'lua_config_add_hash_map': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:533:4: note: in expansion of macro 'msg_warn' msg_warn ("invalid hash map %s", map_line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c: In function 'lua_config_add_kv_map': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:563:4: note: in expansion of macro 'msg_warn' msg_warn ("invalid hash map %s", map_line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c: In function 'lua_metric_symbol_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_config.c:602:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed: %s", cd->cb_is_ref ? "local function" : ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 32%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_classifier.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_classifier.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_classifier.c: In function 'call_classifier_pre_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_classifier.c:99:3: note: in expansion of macro 'msg_warn' msg_warn ("error running pre classifier callback %s", lua_tostring (L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_classifier.c: In function 'call_classifier_post_callbacks': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_classifier.c:187:4: note: in expansion of macro 'msg_warn' msg_warn ("error running function %s: %s", cd->name, lua_tostring (cd->L, -1)); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 34%] Building C object src/json/CMakeFiles/rspamd_json.dir/value.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 29%] Building C object lib/CMakeFiles/kvstorageclient_static.dir/__/src/util.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 41%] Linking C static library librspamd_json.a make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 42%] Built target rspamd_json make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 36%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_regexp.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_regexp.c:25: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_regexp.c:24: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_regexp.c: In function 'lua_regexp_create': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_regexp.c:104:5: note: in expansion of macro 'msg_info' msg_info ("invalid regexp flag: %c", *flags_str); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_regexp.c:114:3: note: in expansion of macro 'msg_info' msg_info ("cannot parse regexp: %s, error: %s", string, err == NULL ? "undefined" : err->message); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 42%] Linking C static library libkvstorageclient_static.a make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 42%] Built target kvstorageclient_static make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 35%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_cfg_file.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:25: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c: In function 'lua_process_metric': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:131:6: note: in expansion of macro 'msg_warn' msg_warn ("cannot get weight of symbol: %s", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:141:7: note: in expansion of macro 'msg_info' msg_info ("replacing description for symbol %s", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:158:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot get weight of symbol: %s", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:163:5: note: in expansion of macro 'msg_info' msg_info ("replacing weight for symbol %s: %.2f -> %.2f", symbol, *old_score, *score); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c: In function 'lua_process_element': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:222:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot handle variables of type %s as there is nothing to do with them", lua_typename (L, t)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c: In function 'lua_post_load_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:314:6: note: in expansion of macro 'msg_err' msg_err ("cannot parse composite expression: %s", val); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:319:6: note: in expansion of macro 'msg_info' msg_info ("replacing composite symbol %s", name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c: In function 'lua_handle_param': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:382:6: note: in expansion of macro 'msg_err' msg_err ("function with name %s is not defined", (gchar *)opt->actual_data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:391:6: note: in expansion of macro 'msg_info' msg_info ("call to %s failed: %s", (gchar *)opt->actual_data, lua_tostring (L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:432:7: note: in expansion of macro 'msg_err' msg_err ("cannot expect function or unknown types"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c: In function 'lua_check_condition': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:491:3: note: in expansion of macro 'msg_err' msg_err ("eval of '%s' failed: '%s'", condition, lua_tostring (L, -1)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cfg_file.c:498:3: note: in expansion of macro 'msg_err' msg_err ("bad string evaluated: %s, type: %s", condbuf, lua_typename (L, lua_type (L, -1))); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 37%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_cdb.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cdb.c:24: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cdb.c: In function 'lua_cdb_create': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cdb.c:69:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot open cdb: %s, %s", filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_cdb.c:78:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot open cdb: %s, %s", filename, strerror (errno)); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 40%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_redis.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c:24: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c: In function 'lua_redis_push_error': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c:114:3: note: in expansion of macro 'msg_info' msg_info ("call to callback failed: %s", lua_tostring (ud->L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c: In function 'lua_redis_push_data': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c:157:3: note: in expansion of macro 'msg_info' msg_info ("bad type is passed: %d", r->type); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c:162:3: note: in expansion of macro 'msg_info' msg_info ("call to callback failed: %s", lua_tostring (ud->L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c: In function 'lua_redis_make_request': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c:321:6: note: in expansion of macro 'msg_info' msg_info ("failed to resolve %s", ud->server); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_redis.c:335:4: note: in expansion of macro 'msg_info' msg_info ("function requred as 4-th argument"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 39%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_xmlrpc.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_xmlrpc.c:24: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_xmlrpc.c: In function 'xmlrpc_error': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_xmlrpc.c:395:2: note: in expansion of macro 'msg_err' msg_err ("xmlrpc parser error: %s", error->message, ud->parser_state); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 40%] Building C object src/lua/CMakeFiles/rspamd_lua.dir/lua_http.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_common.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c:24: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c: In function 'lua_http_push_error': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c:96:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed: %s", ud->callback, lua_tostring (ud->L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c: In function 'lua_http_push_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c:138:3: note: in expansion of macro 'msg_info' msg_info ("call to %s failed: %s", ud->callback, lua_tostring (ud->L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c: In function 'lua_http_parse_first_line': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c:159:3: note: in expansion of macro 'msg_info' msg_info ("bad http string: %V", in); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c: In function 'lua_http_read_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c:230:5: note: in expansion of macro 'msg_info' msg_info ("http reply contains no content-length header"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c: In function 'lua_http_err_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c:256:2: note: in expansion of macro 'msg_info' msg_info ("abnormally closing connection to http server error: %s", err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c: In function 'lua_http_make_post_request': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c:400:3: note: in expansion of macro 'msg_info' msg_info ("invalid arguments number"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c: In function 'lua_http_make_get_request': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lua/lua_http.c:426:3: note: in expansion of macro 'msg_info' msg_info ("invalid arguments number"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 43%] Linking C static library librspamd_lua.a make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 43%] Built target rspamd_lua make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target rspamdserver make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 44%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/aio_event.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/aio_event.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/aio_event.c: In function 'rspamd_eventfdcb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/aio_event.c:165:3: note: in expansion of macro 'msg_err' msg_err ("eventfd read returned error: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/aio_event.c:189:4: note: in expansion of macro 'msg_err' msg_err ("io_getevents failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/aio_event.c: In function 'rspamd_aio_init': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/aio_event.c:213:3: note: in expansion of macro 'msg_err' msg_err ("eventfd failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/aio_event.c:218:4: note: in expansion of macro 'msg_err' msg_err ("non blocking for eventfd failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/aio_event.c:225:5: note: in expansion of macro 'msg_err' msg_err ("io_setup failed: %s", strerror (errno)); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 47%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/buffer.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'sendfile_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:99:4: note: in expansion of macro 'debug_ip' debug_ip("partially write data, retry"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:108:3: note: in expansion of macro 'debug_ip' debug_ip("partially write data, retry"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:118:5: note: in expansion of macro 'debug_ip' debug_ip("callback set wanna_die flag, terminating"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'write_buffers': /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:227:11: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (r >= blen) { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:263:4: note: in expansion of macro 'debug_ip' debug_ip("partially write data, retry"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:287:5: note: in expansion of macro 'debug_ip' debug_ip("wrote %z bytes of %z", r, buf->data->len); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:300:4: note: in expansion of macro 'debug_ip' debug_ip("partially write data, retry"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:314:3: note: in expansion of macro 'debug_ip' debug_ip("all buffers were written successfully"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:318:5: note: in expansion of macro 'debug_ip' debug_ip("callback set wanna_die flag, terminating"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'read_buffers': /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:396:4: note: in expansion of macro 'debug_ip' debug_ip("partially read data, retry"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:404:3: note: in expansion of macro 'debug_ip' debug_ip("read %z characters, policy is %s, watermark is: %z, buffer has %z bytes", r, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:500:6: note: in expansion of macro 'debug_ip' debug_ip("policy changed during callback, restart buffer's processing"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:515:5: note: in expansion of macro 'debug_ip' debug_ip("policy changed during callback, restart buffer's processing"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'dispatcher_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:534:2: note: in expansion of macro 'debug_ip' debug_ip("in dispatcher callback, what: %d, fd: %d", (gint)what, fd); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'rspamd_set_dispatcher_policy': /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:658:2: note: in expansion of macro 'debug_ip' debug_ip("new input length watermark is %uz", d->nchars); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'rspamd_dispatcher_write': /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:693:3: note: in expansion of macro 'debug_ip' debug_ip("plan write event"); ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'rspamd_dispatcher_sendfile': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:704:3: note: in expansion of macro 'msg_warn' msg_warn ("lseek failed: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'rspamd_dispatcher_pause': /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:730:2: note: in expansion of macro 'debug_ip' debug_ip ("paused dispatcher"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c: In function 'rspamd_dispatcher_restore': /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:30:83: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_ip(...) rspamd_conditional_debug(rspamd_main->logger, d->peer_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/buffer.c:739:3: note: in expansion of macro 'debug_ip' debug_ip ("restored dispatcher"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 45%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/binlog.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.h:5, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'binlog_write_header': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:51:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot write file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:66:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot write file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:76:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot write file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'binlog_check_file': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:92:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot read file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:99:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot validate file %s"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:107:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot read metaindex of file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:115:3: note: in expansion of macro 'msg_info' msg_info ("cannot seek in file: %s, error: %s", log->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:119:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot read index in file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'binlog_create': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:134:3: note: in expansion of macro 'msg_info' msg_info ("cannot create file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'binlog_open_real': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:145:3: note: in expansion of macro 'msg_info' msg_info ("cannot open file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'binlog_open': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:176:4: note: in expansion of macro 'msg_err' msg_err ("cannot stat file: %s, error %s", new->filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'binlog_tree_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:222:3: note: in expansion of macro 'msg_info' msg_info ("cannot write token to file: %s, error: %s", log->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'write_binlog_tree': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:241:3: note: in expansion of macro 'msg_info' msg_info ("cannot seek in file: %s, error: %s", log->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:256:3: note: in expansion of macro 'msg_info' msg_info ("cannot seek in file: %s, error: %s, seek: %L, op: insert index", log->filename, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:263:3: note: in expansion of macro 'msg_info' msg_info ("cannot write index to file: %s, error: %s", log->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'create_new_metaindex_block': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:283:3: note: in expansion of macro 'msg_info' msg_info ("cannot seek in file: %s, error: %s", log->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:289:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot write file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:297:3: note: in expansion of macro 'msg_info' msg_info ("cannot seek in file: %s, error: %s", log->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:302:3: note: in expansion of macro 'msg_info' msg_info ("cannot write metaindex in file: %s, error: %s", log->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'rotate_binlog': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:343:3: note: in expansion of macro 'msg_info' msg_info ("replace old %s", backup_name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'binlog_insert': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:364:3: note: in expansion of macro 'msg_info' msg_info ("improperly opened binlog: %s", log != NULL ? log->filename : "unknown"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:384:4: note: in expansion of macro 'msg_info' msg_info ("cannot seek in file: %s, error: %s", log->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'binlog_sync': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:410:3: note: in expansion of macro 'msg_info' msg_info ("improperly opened binlog: %s", log != NULL ? log->filename : "unknown"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:430:3: note: in expansion of macro 'msg_warn' msg_warn ("slave has more recent revision of statfile %s: %uL and our is: %uL", log->filename, from_rev, log->cur_seq); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:448:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot seek file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:454:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot read index from file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:477:2: note: in expansion of macro 'msg_info' msg_info ("update from binlog '%s' from revision: %uL to revision %uL size is %uL", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:480:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot seek file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:486:47: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint32' {aka 'unsigned int'} [-Wsign-compare] if ((read (log->fd, (*rep)->data, idx->len)) != idx->len) { ^~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.h:5, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:487:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot read file %s, error %d, %s", log->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c: In function 'maybe_write_binlog': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/binlog.c:548:3: note: in expansion of macro 'msg_info' msg_info ("set new revision of statfile %s: %uL", st->symbol, log->cur_seq); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 44%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/bloom.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 47%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/cfg_utils.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'parse_host_port': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:65:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot resolve %s", tokens[0]); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:78:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse port: %s, at symbol %c, error: %s", tokens[1], *err_str, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:83:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse port: %s, error: %s", tokens[1], *err_str, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'parse_bind_line': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:125:6: note: in expansion of macro 'msg_err' msg_err ("cannot open path %s for making socket, %s", str, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:134:5: note: in expansion of macro 'msg_err' msg_err ("cannot stat path %s for making socket, %s", str, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:140:5: note: in expansion of macro 'msg_err' msg_err ("cannot remove path %s for making socket, %s", str, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'get_module_opt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:257:7: note: in expansion of macro 'msg_info' msg_info ("option %s is dynamic, so it cannot be aqquired statically", opt_name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:260:7: note: in expansion of macro 'msg_info' msg_info ("option %s has unknown type, maybe there is error in LUA code", opt_name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'parse_limit': /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:297:39: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] else if (len > 0 && err_str - limit != len) { ^~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:298:4: note: in expansion of macro 'msg_warn' msg_warn ("invalid limit value '%s' at position '%s'", limit, err_str); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'cfg_parse_time': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:369:4: note: in expansion of macro 'msg_warn' msg_warn ("invalid time value '%s' at position '%s'", t, err_str); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'substitute_variable': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:454:3: note: in expansion of macro 'msg_warn' msg_warn ("trying to substitute variable in NULL string"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:472:4: note: in expansion of macro 'msg_warn' msg_warn ("variable %s is not defined", v_begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'parse_filters_str': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:547:5: note: in expansion of macro 'msg_debug' msg_debug ("found C filter %s", *p); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'get_config_checksum': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:605:3: note: in expansion of macro 'msg_err' msg_err ("config file %s is no longer available, cannot calculate checksum"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:609:3: note: in expansion of macro 'msg_err' msg_err ("cannot stat %s: %s", cfg->cfg_name, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:615:3: note: in expansion of macro 'msg_err' msg_err ("cannot mmap %s: %s", cfg->cfg_name, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'parse_internal_normalizer': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:857:9: note: in expansion of macro 'msg_err' msg_err ("cannot parse max number for internal normalizer"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'parse_normalizer': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:905:9: note: in expansion of macro 'msg_err' msg_err ("no parameters are specified for normalizer %s", line); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:919:5: note: in expansion of macro 'msg_err' msg_err ("unknown normalizer %s", line); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'read_xml_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:944:3: note: in expansion of macro 'msg_err' msg_err ("cannot stat %s: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:948:3: note: in expansion of macro 'msg_err' msg_err ("cannot open %s: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:954:3: note: in expansion of macro 'msg_err' msg_err ("cannot mmap %s: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:970:3: note: in expansion of macro 'msg_err' msg_err ("unexpected nesting for if arguments"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c: In function 'modules_config_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_utils.c:990:3: note: in expansion of macro 'msg_warn' msg_warn ("module %s has not registered any options but is presented in configuration", mname); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 48%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/diff.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 50%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/events.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/events.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/events.c: In function 'register_async_event': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/events.c:107:3: note: in expansion of macro 'msg_info' msg_info ("session is NULL"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/events.c: In function 'remove_normal_event': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/events.c:131:3: note: in expansion of macro 'msg_info' msg_info ("session is NULL"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/events.c: In function 'destroy_session': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/events.c:170:3: note: in expansion of macro 'msg_info' msg_info ("session is NULL"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 50%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/dns.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:35: /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'format_dns_name': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:572:6: note: in expansion of macro 'msg_err' msg_err ("dns name component is longer than 63 bytes, should be stripped"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:577:6: note: in expansion of macro 'msg_err' msg_err ("no buffer remain for constructing query, strip to %ud", label_len); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:581:6: note: in expansion of macro 'msg_info' msg_info ("name contains two or more dots in a row, replace it with one dot"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:603:6: note: in expansion of macro 'msg_err' msg_err ("dns name component is longer than 63 bytes, should be stripped"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:608:6: note: in expansion of macro 'msg_err' msg_err ("no buffer remain for constructing query, strip to %ud", label_len); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:617:4: note: in expansion of macro 'msg_err' msg_err ("no buffer space available, aborting"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'send_dns_request': /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:747:40: warning: cast between incompatible function types from 'int (*)(struct event *)' to 'void (*)(void *)' [-Wcast-function-type] register_async_event (req->session, (event_finalizer_t)event_del, &req->io_event, g_quark_from_static_string ("dns resolver")); ^ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:35: /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:751:4: note: in expansion of macro 'msg_err' msg_err ("send failed: %s for server %s", strerror (errno), req->server->name); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:760:39: warning: cast between incompatible function types from 'int (*)(struct event *)' to 'void (*)(void *)' [-Wcast-function-type] register_async_event (req->session, (event_finalizer_t)event_del, &req->io_event, g_quark_from_static_string ("dns resolver")); ^ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:35: /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_request_reply_cmp': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:812:4: note: in expansion of macro 'msg_info' msg_info ("invalid dns reply"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:820:5: note: in expansion of macro 'msg_info' msg_info ("invalid DNS pointer"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:835:5: note: in expansion of macro 'msg_info' msg_info ("invalid DNS pointer"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_parse_labels': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:884:4: note: in expansion of macro 'msg_warn' msg_warn ("dns pointers are nested too much"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:896:5: note: in expansion of macro 'msg_info' msg_info ("invalid DNS pointer"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:904:5: note: in expansion of macro 'msg_warn' msg_warn ("invalid pointer in DNS packet"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_parse_rr': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:974:3: note: in expansion of macro 'msg_info' msg_info ("bad RR name"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:978:3: note: in expansion of macro 'msg_info' msg_info ("stripped dns reply"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:999:5: note: in expansion of macro 'msg_info' msg_info ("corrupted A record"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1010:5: note: in expansion of macro 'msg_info' msg_info ("invalid labels in PTR record"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1024:5: note: in expansion of macro 'msg_info' msg_info ("invalid labels in MX record"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1083:5: note: in expansion of macro 'msg_info' msg_info ("stripped dns reply while reading SRV record"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1090:5: note: in expansion of macro 'msg_info' msg_info ("invalid labels in SRV record"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1101:3: note: in expansion of macro 'msg_debug' msg_debug ("unexpected RR type: %d", type); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_parse_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1128:3: note: in expansion of macro 'msg_info' msg_info ("got request while waiting for reply"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1162:5: note: in expansion of macro 'msg_info' msg_info ("incomplete reply"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_throttling_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1185:2: note: in expansion of macro 'msg_info' msg_info ("stop DNS throttling after %d seconds", (int)resolver->throttling_time.tv_sec); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_check_throttling': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1193:3: note: in expansion of macro 'msg_info' msg_info ("starting DNS throttling after %ud errors", resolver->errors); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_timer_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1238:3: note: in expansion of macro 'msg_err' msg_err ("maximum number of retransmits expired for resolving %s of type %s", req->requested_name, dns_strtype (req->type)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_retransmit_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1309:37: warning: cast between incompatible function types from 'int (*)(struct event *)' to 'void (*)(void *)' [-Wcast-function-type] remove_normal_event (req->session, (event_finalizer_t)event_del, &req->io_event); ^ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:35: /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1316:4: note: in expansion of macro 'msg_err' msg_err ("maximum number of retransmits expired for %s", req->requested_name); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'make_dns_request': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1420:3: note: in expansion of macro 'msg_err' msg_err ("cannot find suitable server for request"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'parse_resolv_conf': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1475:3: note: in expansion of macro 'msg_err' msg_err ("cannot open %s: %s", RESOLV_CONF, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1488:6: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse empty nameserver line in resolv.conf"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1499:7: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse ip address of nameserver: %s", p); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c: In function 'dns_resolver_init': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1548:4: note: in expansion of macro 'msg_err' msg_err ("cannot parse resolv.conf and no nameservers defined, so no ways to resolve addresses"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1566:7: note: in expansion of macro 'msg_info' msg_info ("bad character '%c', must be 'm' or 's' or a numeric priority", *err); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1577:7: note: in expansion of macro 'msg_info' msg_info ("master/slave mode is turned on, and %c character is invalid", *p); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1592:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse ip address of nameserver: %s", p); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1600:4: note: in expansion of macro 'msg_err' msg_err ("no valid nameservers defined, try to parse resolv.conf"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1602:5: note: in expansion of macro 'msg_err' msg_err ("cannot parse resolv.conf and no nameservers defined, so no ways to resolve addresses"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/dns.c:1613:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot create socket to server %s", serv->name); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 49%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/cfg_xml.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:39: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:31: /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'call_param_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:725:2: note: in expansion of macro 'msg_err' msg_err ("could not find handler for tag %s at section %d", name, section); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_log_type': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:740:4: note: in expansion of macro 'msg_err' msg_err ("cannot log to file that is not specified"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:751:4: note: in expansion of macro 'msg_err' msg_err ("cannot log to syslog when facility is not specified"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:796:4: note: in expansion of macro 'msg_err' msg_err ("invalid logging facility: %s", val); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:801:3: note: in expansion of macro 'msg_err' msg_err ("invalid logging type: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_log_level': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:824:3: note: in expansion of macro 'msg_err' msg_err ("unknown log level: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'worker_foreach_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:855:3: note: in expansion of macro 'msg_warn' msg_warn ("unregistered worker attribute '%s' for worker %s", k, g_quark_to_string (cd->wrk->type)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:863:4: note: in expansion of macro 'msg_err' msg_err ("Bad error detected: module %s has not initialized its context", g_quark_to_string (cd->wrk->type)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'worker_handle_param': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:876:4: note: in expansion of macro 'msg_err' msg_err ("worker param tag must have \"name\" attribute"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'worker_handle_type': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:900:5: note: in expansion of macro 'msg_err' msg_err ("unknown worker type: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:909:3: note: in expansion of macro 'msg_err' msg_err ("unknown worker type: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'worker_handle_bind': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:922:3: note: in expansion of macro 'msg_err' msg_err ("cannot parse bind_socket: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_metric_action': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:955:5: note: in expansion of macro 'msg_err' msg_err ("invalid double value: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_metric_symbol': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:975:3: note: in expansion of macro 'msg_info' msg_info ("symbol tag should have \"weight\" attribute, assume weight 1.0"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:982:4: note: in expansion of macro 'msg_err' msg_err ("invalid number: %s, %s", strval, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_module_opt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1022:4: note: in expansion of macro 'msg_err' msg_err ("worker param tag must have \"name\" attribute"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_lua': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1111:6: note: in expansion of macro 'msg_err' msg_err ("cannot load lua file %s: %s", val, lua_tostring (L, -1)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1113:7: note: in expansion of macro 'msg_err' msg_err ("cannot chdir to %s: %s", cur_dir, strerror (errno));; ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1123:6: note: in expansion of macro 'msg_err' msg_err ("init of %s failed: %s", val, lua_tostring (L, -1)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1125:7: note: in expansion of macro 'msg_err' msg_err ("cannot chdir to %s: %s", cur_dir, strerror (errno));; ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1134:5: note: in expansion of macro 'msg_err' msg_err ("cannot chdir to %s: %s", lua_dir, strerror (errno));; ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1136:6: note: in expansion of macro 'msg_err' msg_err ("cannot chdir to %s: %s", cur_dir, strerror (errno));; ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1145:5: note: in expansion of macro 'msg_err' msg_err ("cannot chdir to %s: %s", cur_dir, strerror (errno));; ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1152:4: note: in expansion of macro 'msg_err' msg_err ("directory for file %s does not exists", val); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1158:4: note: in expansion of macro 'msg_err' msg_err ("cannot load lua chunk: %s", lua_tostring (L, -1)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1164:4: note: in expansion of macro 'msg_err' msg_err ("init of lua chunk failed: %s", lua_tostring (L, -1)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_module_path': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1184:3: note: in expansion of macro 'msg_err' msg_err ("cannot stat path %s, %s", data, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1205:4: note: in expansion of macro 'msg_err' msg_err ("glob failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_variable': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1228:3: note: in expansion of macro 'msg_err' msg_err ("'name' attribute is required for tag 'variable'"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_composite': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1243:3: note: in expansion of macro 'msg_err' msg_err ("'name' attribute is required for tag 'composite'"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1248:3: note: in expansion of macro 'msg_err' msg_err ("cannot parse composite expression: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_view_ip': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1264:3: note: in expansion of macro 'msg_err' msg_err ("invalid ip line in view definition: ip = '%s'", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_view_client_ip': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1276:3: note: in expansion of macro 'msg_err' msg_err ("invalid ip line in view definition: ip = '%s'", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_view_from': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1288:3: note: in expansion of macro 'msg_err' msg_err ("invalid from line in view definition: from = '%s'", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_view_rcpt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1300:3: note: in expansion of macro 'msg_err' msg_err ("invalid from line in view definition: rcpt = '%s'", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_view_symbols': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1312:3: note: in expansion of macro 'msg_err' msg_err ("invalid symbols line in view definition: symbols = '%s'", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_user_settings': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1325:3: note: in expansion of macro 'msg_err' msg_err ("cannot read settings %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_domain_settings': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1336:3: note: in expansion of macro 'msg_err' msg_err ("cannot read settings %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_classifier_tokenizer': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1350:3: note: in expansion of macro 'msg_err' msg_err ("unknown tokenizer %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_classifier_opt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1367:4: note: in expansion of macro 'msg_err' msg_err ("worker param tag must have \"name\" attribute"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1378:3: note: in expansion of macro 'msg_warn' msg_warn ("unregistered classifier attribute '%s' for classifier %s", name, ccf->classifier->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_statfile_normalizer': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1392:2: note: in expansion of macro 'msg_info' msg_info ("normalizer option is now not available as rspamd always use internal normalizer for winnow (hyperbolic tanhent)"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_statfile_binlog_master': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1439:3: note: in expansion of macro 'msg_err' msg_err ("cannot parse master address: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'handle_statfile_opt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1454:4: note: in expansion of macro 'msg_err' msg_err ("worker param tag must have \"name\" attribute"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'xml_handle_boolean': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1535:3: note: in expansion of macro 'msg_err' msg_err ("bad boolean: %s", data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'xml_handle_double': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1555:3: note: in expansion of macro 'msg_err' msg_err ("invalid number: %s, %s", data, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'xml_handle_int': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1572:3: note: in expansion of macro 'msg_err' msg_err ("invalid number: %s, %s", data, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'xml_handle_uint32': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1589:3: note: in expansion of macro 'msg_err' msg_err ("invalid number: %s, %s", data, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'xml_handle_uint16': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1606:3: note: in expansion of macro 'msg_err' msg_err ("invalid number: %s, %s", data, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'rspamd_xml_start_element': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:1630:4: note: in expansion of macro 'msg_err' msg_err ("unknown condition attribute for if tag"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'rspamd_xml_error': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2034:2: note: in expansion of macro 'msg_err' msg_err ("xml parser error: %s, at state \"%s\"", error->message, xml_state_to_string (ud)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'module_option_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2065:4: note: in expansion of macro 'msg_err' msg_err ("failed to compile regexp for option '%s', error was: %s, regexp was: %s", cd->optname, err->message, rebuf); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'check_module_option': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2092:3: note: in expansion of macro 'msg_warn' msg_warn ("no module options registered while checking option %s for module %s", mname, optname); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2096:3: note: in expansion of macro 'msg_warn' msg_warn ("module %s has not registered any options while checking for option %s", mname, optname); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2106:4: note: in expansion of macro 'msg_warn' msg_warn ("module %s has not registered option %s", mname, optname); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2123:4: note: in expansion of macro 'msg_warn' msg_warn ("non-numeric data for option: '%s' for module: '%s' at position: '%s'", optname, mname, err_str); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2131:4: note: in expansion of macro 'msg_warn' msg_warn ("non-numeric data for option: '%s' for module: '%s' at position: '%s'", optname, mname, err_str); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2139:4: note: in expansion of macro 'msg_warn' msg_warn ("non-numeric data for option: '%s' for module: '%s' at position: '%s'", optname, mname, err_str); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2147:4: note: in expansion of macro 'msg_warn' msg_warn ("non-numeric data for option: '%s' for module: '%s': %s", optname, mname, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2155:4: note: in expansion of macro 'msg_warn' msg_warn ("non-numeric data for option: '%s' for module: '%s': %s", optname, mname, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'register_module_opt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2194:3: note: in expansion of macro 'msg_warn' msg_warn ("replace old handler for param '%s'", optname); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'register_classifier_opt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2257:3: note: in expansion of macro 'msg_warn' msg_warn ("replace old handler for param '%s'", optname); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c: In function 'xml_dump_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/cfg_xml.c:2697:3: note: in expansion of macro 'msg_err' msg_err ("cannot open file '%s': %s", filename, strerror (errno)); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 55%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/hash.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/src/hash.c: In function 'rspamd_lru_hash_new': /usr/src/RPM/BUILD/rspamd-0.4.7/src/hash.c:355:21: warning: cast between incompatible function types from 'gboolean (*)(GHashTable *, void *, void *)' {aka 'int (*)(struct _GHashTable *, void *, void *)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] new->insert_func = (lru_cache_insert_func)g_hash_table_replace; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 54%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/fstring.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 51%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/expressions.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:31: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'parse_expression': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:376:2: note: in expansion of macro 'msg_debug' msg_debug ("parsing expression {{ %s }}", line); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:480:6: note: in expansion of macro 'msg_debug' msg_debug ("found regexp: %s", str); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:584:3: note: in expansion of macro 'msg_warn' msg_warn ("expression \"%s\" is invalid", line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'parse_regexp': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:610:3: note: in expansion of macro 'msg_err' msg_err ("cannot parse NULL line"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:620:11: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (line == '\0') { ^~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:620:6: note: did you mean to dereference the pointer? if (line == '\0') { ^ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:621:3: note: in expansion of macro 'msg_warn' msg_warn ("got empty regexp"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:659:3: note: in expansion of macro 'msg_warn' msg_warn ("got no header name (eg. header=) but without corresponding regexp, %s", src); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:668:3: note: in expansion of macro 'msg_warn' msg_warn ("no trailing / in regexp %s", src); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:784:3: note: in expansion of macro 'msg_warn' msg_warn ("could not read regexp: %s while reading regexp %s", err->message, src); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:790:3: note: in expansion of macro 'msg_warn' msg_warn ("could not read raw regexp: %s while reading regexp %s", err->message, src); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'call_expression_function': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:811:4: note: in expansion of macro 'msg_warn' msg_warn ("call to undefined function %s", key.name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'get_function_arg': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:831:3: note: in expansion of macro 'msg_warn' msg_warn ("NULL expression passed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:846:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse argument: it contains operator or bool expression that is not wanted"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:866:5: note: in expansion of macro 'debug_task' debug_task ("function %s returned %s", ((struct expression_function *)it->content.operand)->name, cur ? "true" : "false"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:871:6: note: in expansion of macro 'debug_task' debug_task ("invalid expression"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:910:2: note: in expansion of macro 'msg_warn' msg_warn ("invalid expression argument"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_compare_encoding': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:947:3: note: in expansion of macro 'msg_warn' msg_warn ("invalid argument to function is passed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_header_exists': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:967:3: note: in expansion of macro 'msg_warn' msg_warn ("invalid argument to function is passed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:971:2: note: in expansion of macro 'debug_task' debug_task ("try to get header %s", (gchar *)arg->data); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_parts_distance': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:998:3: note: in expansion of macro 'debug_task' debug_task ("no threshold is specified, assume it 100"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1006:4: note: in expansion of macro 'msg_info' msg_info ("bad numeric value for threshold \"%s\", assume it 100", (gchar *)args->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1014:5: note: in expansion of macro 'msg_info' msg_info ("bad numeric value for threshold \"%s\", ignore it", (gchar *)arg->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1048:4: note: in expansion of macro 'msg_info' msg_info ("bad parts list"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1061:5: note: in expansion of macro 'debug_task' debug_task ("two parts are not belong to multipart/alternative container, skip check"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1067:4: note: in expansion of macro 'debug_task' debug_task ("message contains two parts but they are in different multi-parts"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1078:4: note: in expansion of macro 'debug_task' debug_task ("got likeliness between parts of %d%%, threshold is %d%%", diff, threshold); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1100:3: note: in expansion of macro 'debug_task' debug_task ("message has too many text parts, so do not try to compare them with each other"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_content_type_compare_param': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1124:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1131:3: note: in expansion of macro 'msg_warn' msg_warn ("too few params to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1175:8: note: in expansion of macro 'msg_warn' msg_warn ("cannot compile regexp for function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_content_type_has_param': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1233:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_content_type_is_subtype': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1306:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1345:7: note: in expansion of macro 'msg_warn' msg_warn ("cannot compile regexp for function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_content_type_is_type': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1403:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1443:7: note: in expansion of macro 'msg_warn' msg_warn ("cannot compile regexp for function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_recipients_distance': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1507:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1515:3: note: in expansion of macro 'msg_warn' msg_warn ("invalid numeric value '%s': %s", (gchar *)arg->data, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'compare_subtype': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1682:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot compile regexp for function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'common_has_content_part': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1749:6: note: in expansion of macro 'msg_warn' msg_warn ("cannot compile regexp for function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_has_content_part': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1815:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_has_content_part_len': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1838:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1854:5: note: in expansion of macro 'msg_warn' msg_warn ("invalid numeric value '%s': %s", (gchar *)arg->data, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1862:6: note: in expansion of macro 'msg_warn' msg_warn ("invalid numeric value '%s': %s", (gchar *)arg->data, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_compare_transfer_encoding': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1884:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1896:3: note: in expansion of macro 'msg_warn' msg_warn ("bad encoding type: %s", (gchar *)arg->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1918:4: note: in expansion of macro 'debug_task' debug_task ("got encoding in part: %d and compare with %d", (gint)part_enc, (gint)enc_req); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c: In function 'rspamd_has_html_tag': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1992:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.c:1999:3: note: in expansion of macro 'msg_warn' msg_warn ("unknown tag type passed as argument: %s", (gchar *)arg->data); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 60%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/lmtp_proto.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c: In function 'read_lmtp_input_line': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:120:4: note: in expansion of macro 'msg_info' msg_info ("LHLO expected but not found"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:145:4: note: in expansion of macro 'msg_info' msg_info ("MAIL expected but not found"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:165:4: note: in expansion of macro 'msg_info' msg_info ("RCPT expected but not found"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:177:5: note: in expansion of macro 'msg_info' msg_info ("bad recipient"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:193:4: note: in expansion of macro 'msg_info' msg_info ("DATA expected but not found"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c: In function 'mta_read_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:341:4: note: in expansion of macro 'msg_warn' msg_warn ("got bad greeting"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:362:4: note: in expansion of macro 'msg_warn' msg_warn ("got bad helo"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:374:4: note: in expansion of macro 'msg_warn' msg_warn ("got bad mail from"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:392:4: note: in expansion of macro 'msg_warn' msg_warn ("got bad rcpt"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:404:4: note: in expansion of macro 'msg_warn' msg_warn ("got bad data"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:421:4: note: in expansion of macro 'msg_warn' msg_warn ("message not delivered"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c: In function 'mta_err_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:439:2: note: in expansion of macro 'msg_info' msg_info ("abnormaly terminating connection with MTA"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c: In function 'lmtp_deliver_mta': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:461:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot create socket for %s, %s", task->cfg->deliver_host, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c: In function 'lmtp_deliver_lda': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:569:3: note: in expansion of macro 'msg_info' msg_info ("cannot parse arguments"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:575:3: note: in expansion of macro 'msg_info' msg_info ("cannot open pipe: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:583:3: note: in expansion of macro 'msg_info' msg_info ("cannot fork: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:612:3: note: in expansion of macro 'msg_info' msg_info ("cannot write stream to lda"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:632:3: note: in expansion of macro 'msg_info' msg_info ("lda returned error code"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:643:4: note: in expansion of macro 'msg_info' msg_info ("lda returned error code %d", ecode); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c: In function 'write_lmtp_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp_proto.c:671:2: note: in expansion of macro 'debug_task' debug_task ("writing reply to client"); ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 58%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/kvstorage.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c: In function 'rspamd_kv_storage_insert_cache': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:97:4: note: in expansion of macro 'msg_info' msg_info ("<%s>: trying to insert value of length %z while limit is %z", storage->name, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:109:5: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: storage is full and no expire function is defined", storage->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:113:5: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: cannot expire enough keys in storage", storage->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c: In function 'rspamd_kv_storage_insert': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:158:4: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: trying to insert value of length %z while limit is %z", storage->name, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:170:5: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: storage is full and no expire function is defined", storage->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:174:5: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: cannot expire enough keys in storage", storage->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:187:5: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: storage is full and no expire function is defined", storage->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:191:5: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: cannot expire enough keys in storage", storage->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c: In function 'rspamd_kv_storage_replace': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:284:4: note: in expansion of macro 'msg_info' msg_info ("<%s>: trying to replace value of length %z while limit is %z", storage->name, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:297:5: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: storage is full and no expire function is defined", storage->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:300:5: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: cannot expire enough keys in storage", storage->name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c: In function 'rspamd_kv_storage_lookup': /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:406:22: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'guint32' {aka 'unsigned int'} [-Wsign-compare] if (now - elt->age > elt->expire) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c: In function 'rspamd_lru_expire_step': /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:642:75: warning: comparison of integer expressions of different signedness: 'guint32' {aka 'unsigned int'} and 'time_t' {aka 'long int'} [-Wsign-compare] (elt->flags & (KV_ELT_PERSISTENT|KV_ELT_DIRTY)) != 0) || elt->expire < (now - elt->age)) { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c: In function 'kv_elt_hash_func': /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:974:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c+=((guint32)k8[10])<<16; /* @fallthrough */ ~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:975:3: note: here case 10: c+=k[4]; /* @fallthrough@ */ ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:979:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9 : c+=k8[8]; /* @fallthrough */ ~^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:980:3: note: here case 8 : b+=k[2]+(((guint32)k[3])<<16); ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:983:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : b+=((guint32)k8[6])<<16; /* @fallthrough */ ~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:984:3: note: here case 6 : b+=k[2]; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:987:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : b+=k8[4]; /* @fallthrough */ ~^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:988:3: note: here case 4 : a+=k[0]+(((guint32)k[1])<<16); ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:990:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : a+=((guint32)k8[2])<<16; /* @fallthrough */ ~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:991:3: note: here case 2 : a+=k[0]; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1024:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 12: c+=((guint32)k[11])<<24; ~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1025:3: note: here case 11: c+=((guint32)k[10])<<16; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1025:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c+=((guint32)k[10])<<16; ~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1026:3: note: here case 10: c+=((guint32)k[9])<<8; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1026:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c+=((guint32)k[9])<<8; ~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1027:3: note: here case 9 : c+=k[8]; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1027:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9 : c+=k[8]; ~^~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1028:3: note: here case 8 : b+=((guint32)k[7])<<24; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1028:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8 : b+=((guint32)k[7])<<24; ~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1029:3: note: here case 7 : b+=((guint32)k[6])<<16; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1029:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : b+=((guint32)k[6])<<16; ~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1030:3: note: here case 6 : b+=((guint32)k[5])<<8; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1030:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : b+=((guint32)k[5])<<8; ~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1031:3: note: here case 5 : b+=k[4]; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1031:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : b+=k[4]; ~^~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1032:3: note: here case 4 : a+=((guint32)k[3])<<24; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1032:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : a+=((guint32)k[3])<<24; ~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1033:3: note: here case 3 : a+=((guint32)k[2])<<16; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1033:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : a+=((guint32)k[2])<<16; ~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1034:3: note: here case 2 : a+=((guint32)k[1])<<8; ^~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1034:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : a+=((guint32)k[1])<<8; ~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage.c:1035:3: note: here case 1 : a+=k[0]; ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 57%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/images.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.h:5, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c:25: /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c: In function 'process_png_image': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c:93:3: note: in expansion of macro 'msg_info' msg_info ("bad png detected (maybe striped): <%s>", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c:101:3: note: in expansion of macro 'msg_info' msg_info ("png doesn't begins with IHDR section", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c: In function 'process_gif_image': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c:156:3: note: in expansion of macro 'msg_info' msg_info ("bad gif detected (maybe striped): <%s>", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c: In function 'process_bmp_image': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c:183:3: note: in expansion of macro 'msg_info' msg_info ("bad bmp detected (maybe striped): <%s>", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c: In function 'process_image': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/images.c:225:3: note: in expansion of macro 'debug_task' debug_task ("detected %s image of size %ud x %ud in message <%s>", ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 56%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/html.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c: In function 'decode_entitles': /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c:581:15: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] while (h - s < l) { ^ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c: In function 'check_phishing': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c:765:5: note: in expansion of macro 'msg_info' msg_info ("extract of url '%s' failed: %s", url_str, url_strerror (rc)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c: In function 'add_html_node': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c:903:4: note: in expansion of macro 'debug_task' debug_task ("cannot construct HTML node for text '%s'", tag_text); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c:913:5: note: in expansion of macro 'debug_task' debug_task ("bad parent node"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/html.c:918:5: note: in expansion of macro 'debug_task' debug_task ("mark part as unbalanced as it has not pairable closing tags"); ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 54%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/fuzzy.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 59%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/kvstorage_file.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c: In function 'get_file_name': /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:92:14: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] if (end - p < keylen * 2 + 1) { ^ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c: In function 'file_process_single_op': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:230:5: note: in expansion of macro 'msg_info' msg_info ("%d: %s", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:237:5: note: in expansion of macro 'msg_info' msg_info ("%d: %s", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c: In function 'rspamd_recursive_mkdir': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:338:5: note: in expansion of macro 'msg_info' msg_info ("cannot create directory %s: %s", nbuf, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:343:6: note: in expansion of macro 'msg_err' msg_err ("chdir to %s failed: %s", nbuf, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:350:6: note: in expansion of macro 'msg_err' msg_err ("chdir to ../ failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c: In function 'rspamd_file_init': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:370:3: note: in expansion of macro 'msg_err' msg_err ("getcwd failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:376:3: note: in expansion of macro 'msg_err' msg_err ("chdir failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:388:3: note: in expansion of macro 'msg_err' msg_err ("chdir to %s failed: %s", pathbuf, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:394:4: note: in expansion of macro 'msg_err' msg_err ("chdir to %s failed: %s", pathbuf, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c: In function 'rspamd_kv_file_new': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_file.c:680:3: note: in expansion of macro 'msg_err' msg_err ("invalid file: %s", filename); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 58%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/kvstorage_config.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_config.c:25: /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_config.c: In function 'kvstorage_init_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_config.c:106:3: note: in expansion of macro 'msg_err' msg_err ("unknown cache type, internal error"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_config.c: In function 'kvstorage_xml_error': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_config.c:473:2: note: in expansion of macro 'msg_err' msg_err ("kvstorage xml parser error: %s", error->message); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 64%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/mem_pool.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c: In function 'pool_chain_new': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c:85:3: note: in expansion of macro 'msg_err' msg_err ("cannot allocate %z bytes, aborting", sizeof (struct _pool_chain)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c:91:3: note: in expansion of macro 'msg_err' msg_err ("cannot allocate %z bytes, aborting", size); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c: In function 'pool_chain_new_shared': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c:116:3: note: in expansion of macro 'msg_err' msg_err ("cannot allocate %z bytes, aborting", size + sizeof (struct _pool_chain)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c: In function 'memory_pool_new': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c:168:4: note: in expansion of macro 'msg_err' msg_err ("cannot allocate %z bytes, aborting", sizeof (memory_pool_stat_t)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/mem_pool.c:191:3: note: in expansion of macro 'msg_err' msg_err ("cannot allocate %z bytes, aborting", sizeof (memory_pool_t)); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 62%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/logger.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c: In function 'close_log_priv': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c:200:30: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] file_log_function (NULL, __FUNCTION__, rspamd_log->cfg->log_level, tmpbuf, TRUE, rspamd_log); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c:205:5: note: in expansion of macro 'msg_err' msg_err ("error syncing log file: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c: In function 'reopen_log_priv': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c:220:3: note: in expansion of macro 'msg_info' msg_info ("log file reopened"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c: In function 'file_log_function': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c:543:36: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] file_log_function (log_domain, __FUNCTION__, log_level, tmpbuf, forced, arg); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.c:562:36: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] file_log_function (log_domain, __FUNCTION__, log_level, tmpbuf, forced, arg); ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 52%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/filter.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:32: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c: In function 'insert_metric_result': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:139:2: note: in expansion of macro 'debug_task' debug_task ("symbol %s, score %.2f, metric %s, factor: %f", symbol, s->score, metric->name, w); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c: In function 'process_filters': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:256:3: note: in expansion of macro 'msg_info' msg_info ("disable check for message id <%s>, view wants spam", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:263:3: note: in expansion of macro 'msg_info' msg_info ("disable check for message id <%s>, user wants spam", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c: In function 'composites_foreach_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:415:4: note: in expansion of macro 'msg_info' msg_info ("%s", logbuf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c: In function 'check_autolearn': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:443:3: note: in expansion of macro 'debug_task' debug_task ("metric %s has no results", metric_name); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c: In function 'process_autolearn': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:477:4: note: in expansion of macro 'msg_info' msg_info ("message with id <%s> autolearned statfile '%s'", task->message_id, filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c: In function 'classifiers_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:573:7: note: in expansion of macro 'msg_info' msg_info ("cannot tokenize input"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:588:7: note: in expansion of macro 'msg_info' msg_info ("message <%s> has two common text parts, ignore the last one", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:602:7: note: in expansion of macro 'msg_info' msg_info ("message <%s> has two common text parts, ignore the last one", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:611:6: note: in expansion of macro 'msg_info' msg_info ("cannot tokenize input"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c: In function 'learn_task': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:873:6: note: in expansion of macro 'msg_info' msg_info ("message <%s> has two common text parts, ignore the last one", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:891:3: note: in expansion of macro 'msg_info' msg_info ("learn failed for message <%s>, no tokens to extract", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:911:4: note: in expansion of macro 'msg_info' msg_info ("learn failed for message <%s>, learn error: %s", task->message_id, (*err)->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:916:4: note: in expansion of macro 'msg_info' msg_info ("learn failed for message <%s>, unknown learn error", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:924:2: note: in expansion of macro 'msg_info' msg_info ("learn success for message <%s>, for statfile: %s, sum weight: %.2f", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c: In function 'learn_task_spam': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:975:5: note: in expansion of macro 'msg_info' msg_info ("message <%s> has two common text parts, ignore the last one", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:992:3: note: in expansion of macro 'msg_info' msg_info ("learn failed for message <%s>, no tokens to extract", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:1007:4: note: in expansion of macro 'msg_info' msg_info ("learn failed for message <%s>, learn error: %s", task->message_id, (*err)->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:1012:4: note: in expansion of macro 'msg_info' msg_info ("learn failed for message <%s>, unknown learn error", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/filter.c:1019:2: note: in expansion of macro 'msg_info' msg_info ("learn success for message <%s>", ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 63%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/memcached.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 67%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/radix.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 68%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/settings.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c: In function 'json_fin_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:184:3: note: in expansion of macro 'msg_err' msg_err ("no data read"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:188:3: note: in expansion of macro 'msg_err' msg_err ("no data read"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:196:3: note: in expansion of macro 'msg_err' msg_err ("cannot load json data: parse error %s, on line %d", je.text, je.line); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:202:3: note: in expansion of macro 'msg_err' msg_err ("loaded json is not an array"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:213:4: note: in expansion of macro 'msg_err' msg_err ("loaded json is not an object"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:220:4: note: in expansion of macro 'msg_err' msg_err ("name is not a string or not exists"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c: In function 'read_settings': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:362:3: note: in expansion of macro 'msg_err' msg_err ("cannot add map %s", path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c: In function 'check_bwhitelist': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:453:3: note: in expansion of macro 'msg_info' msg_info ("<%s> blacklisted as domain %s is in settings blacklist", task->message_id, data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/settings.c:459:3: note: in expansion of macro 'msg_info' msg_info ("<%s> whitelisted as domain %s is in settings blacklist", task->message_id, data); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 66%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/protocol.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'parse_check_command': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:161:4: note: in expansion of macro 'debug_task' debug_task ("bad command: %s", token); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:175:4: note: in expansion of macro 'debug_task' debug_task ("bad command: %s", token); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:189:4: note: in expansion of macro 'debug_task' debug_task ("bad command: %s", token); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:203:4: note: in expansion of macro 'debug_task' debug_task ("bad command: %s", token); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:214:5: note: in expansion of macro 'msg_info' msg_info ("learning is disabled"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:219:4: note: in expansion of macro 'debug_task' debug_task ("bad command: %s", token); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:236:4: note: in expansion of macro 'debug_task' debug_task ("bad command: %s", token); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'parse_rspamc_command': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:253:3: note: in expansion of macro 'debug_task' debug_task ("bad command"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'parse_http_command': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:321:5: note: in expansion of macro 'msg_info' msg_info ("invalid HTTP request: %V", line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'parse_header': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:400:3: note: in expansion of macro 'debug_task' debug_task ("got empty line, assume it as end of headers"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:450:5: note: in expansion of macro 'debug_task' debug_task ("read Content-Length header, value: %ul", (guint32)task->content_length); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:454:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:463:4: note: in expansion of macro 'debug_task' debug_task ("read deliver-to header, value: %s", task->deliver_to); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:466:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:475:4: note: in expansion of macro 'debug_task' debug_task ("read helo header, value: %s", task->helo); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:478:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:487:4: note: in expansion of macro 'debug_task' debug_task ("read from header, value: %s", task->from); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:490:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:501:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:510:4: note: in expansion of macro 'debug_task' debug_task ("read queue_id header, value: %s", task->queue_id); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:513:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:523:4: note: in expansion of macro 'debug_task' debug_task ("read rcpt header, value: %s", tmp); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:528:4: note: in expansion of macro 'debug_task' debug_task ("read rcpt header, value: %d", (gint)task->nrcpt); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:531:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:541:5: note: in expansion of macro 'msg_info' msg_info ("bad ip header: '%s'", tmp); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:544:4: note: in expansion of macro 'debug_task' debug_task ("read IP header, value: %s", tmp); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:547:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:557:5: note: in expansion of macro 'msg_info' msg_info ("pass all filters"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:588:4: note: in expansion of macro 'msg_info' msg_info ("wrong header: %s", headern); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'urls_protocol_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:670:3: note: in expansion of macro 'msg_info' msg_info ("cannot write urls header completely, stripped reply at: %z", cb->off); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:679:3: note: in expansion of macro 'msg_info' msg_info ("<%s> URL: %s - %s: %s", cb->task->message_id, cb->task->user ? ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'emails_protocol_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:722:3: note: in expansion of macro 'msg_info' msg_info ("cannot write emails header completely, stripped reply at: %z", cb->off); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'write_check_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:1385:2: note: in expansion of macro 'msg_info' msg_info ("%s", logbuf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'write_process_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:1525:2: note: in expansion of macro 'msg_info' msg_info ("%s", logbuf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c: In function 'write_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:1560:2: note: in expansion of macro 'debug_task' debug_task ("writing reply to client"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:1571:5: note: in expansion of macro 'debug_task' debug_task ("writing error: %s", outbuf); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/protocol.c:1576:5: note: in expansion of macro 'debug_task' debug_task ("writing error: %s", outbuf); ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 65%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/printf.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/printf.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/printf.c: In function 'rspamd_vsnprintf': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/printf.c:361:7: note: in expansion of macro 'msg_err' msg_err ("crititcal error: size is less than 0"); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 71%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/smtp_utils.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c:25: /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c: In function 'create_smtp_upstream_connection': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c:74:3: note: in expansion of macro 'msg_err' msg_err ("no upstreams suitable found"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c:89:3: note: in expansion of macro 'msg_err' msg_err ("cannot make a connection to %s", selected->name); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c: In function 'smtp_send_upstream_message': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c:112:3: note: in expansion of macro 'msg_err' msg_err ("sendfile failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c: In function 'make_smtp_tempfile': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c:211:3: note: in expansion of macro 'msg_err' msg_err ("mkstemp error: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c: In function 'write_smtp_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c:243:2: note: in expansion of macro 'msg_info' msg_info ("%s", logbuf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_utils.c:293:4: note: in expansion of macro 'msg_err' msg_err ("cannot write MIME object to stream: %s", strerror (errno)); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 68%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/spf.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'dump_spf_record': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:151:2: note: in expansion of macro 'msg_info' msg_info ("spf record: %s", logbuf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'parse_spf_ipmask': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:273:4: note: in expansion of macro 'msg_info' msg_info ("bad ipmask value: '%s'", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'spf_record_dns_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:361:9: note: in expansion of macro 'msg_info' msg_info ("wrong address list"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:429:7: note: in expansion of macro 'msg_info' msg_info ("cannot find MX record for %s", cb->rec->cur_domain); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:434:7: note: in expansion of macro 'msg_info' msg_info ("cannot resolve MX record for %s", cb->rec->cur_domain); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:449:6: note: in expansion of macro 'msg_info' msg_info ("cannot resolve TXT record for redirect action"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:452:6: note: in expansion of macro 'msg_info' msg_info ("cannot resolve TXT record for include action"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'parse_spf_ptr': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:504:2: note: in expansion of macro 'msg_info' msg_info ("ptr parsing is unimplemented"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'parse_spf_exp': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:608:2: note: in expansion of macro 'msg_info' msg_info ("exp record is ignored"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'reverse_spf_ip': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:679:3: note: in expansion of macro 'msg_info' msg_info ("cannot reverse string of length %d", len); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'expand_spf_macro': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:742:6: note: in expansion of macro 'msg_info' msg_info ("bad spf element: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:775:7: note: in expansion of macro 'msg_info' msg_info ("unknown or unsupported spf macro %c in %s", *p, begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:789:6: note: in expansion of macro 'msg_info' msg_info ("unknown or unsupported spf modifier %c in %s", *p, begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:844:6: note: in expansion of macro 'msg_info' msg_info ("bad spf element: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:894:7: note: in expansion of macro 'msg_info' msg_info ("unknown or unsupported spf macro %c in %s", *p, begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:913:6: note: in expansion of macro 'msg_info' msg_info ("unknown or unsupported spf modifier %c in %s", *p, begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:922:2: note: in expansion of macro 'msg_info' msg_info ("%s", new); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'parse_spf_record': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:975:6: note: in expansion of macro 'msg_info' msg_info ("bad spf command: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:992:6: note: in expansion of macro 'msg_info' msg_info ("ignoring ip6 spf command as IPv6 is not supported: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:997:6: note: in expansion of macro 'msg_info' msg_info ("bad spf command: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:1008:6: note: in expansion of macro 'msg_info' msg_info ("bad spf command: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:1019:6: note: in expansion of macro 'msg_info' msg_info ("bad spf command: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:1034:6: note: in expansion of macro 'msg_info' msg_info ("bad spf command: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:1044:6: note: in expansion of macro 'msg_info' msg_info ("bad spf command: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:1056:5: note: in expansion of macro 'msg_info' msg_info ("bad spf command: %s", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c: In function 'start_spf_parse': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:1118:4: note: in expansion of macro 'msg_info' msg_info ("sender id string has invalid scope"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/spf.c:1137:3: note: in expansion of macro 'msg_info' msg_info ("bad spf record version: %*s", sizeof (SPF_VER1_STR) - 1, begin); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 74%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/trie.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 72%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/statfile_sync.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/tokenizers/tokenizers.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c: In function 'log_next_sync': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:79:4: note: in expansion of macro 'msg_info' msg_info (outstr); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c: In function 'parse_revision_line': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:119:6: note: in expansion of macro 'msg_info' msg_info ("cannot parse number %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c: In function 'sync_read': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:187:5: note: in expansion of macro 'msg_info' msg_info ("cannot parse line of length %z: '%*s'", in->len, (gint)in->len, in->begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:201:5: note: in expansion of macro 'msg_info' msg_info ("sync ended for: %s", ctx->st->symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:212:5: note: in expansion of macro 'msg_info' msg_info ("cannot read blocks"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:219:4: note: in expansion of macro 'msg_info' msg_info ("set new revision: %uL, readed %z bytes", ctx->new_rev, in->len); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c: In function 'sync_err': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:239:2: note: in expansion of macro 'msg_info' msg_info ("abnormally closing connection, error: %s", err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c: In function 'sync_timer_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:262:3: note: in expansion of macro 'msg_info' msg_info ("syncronization process is in progress, do not start new one"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:267:3: note: in expansion of macro 'msg_info' msg_info ("cannot connect to %s", inet_ntoa (ctx->st->binlog->master_addr)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:277:2: note: in expansion of macro 'msg_info' msg_info ("starting synchronization of %s", ctx->st->symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c: In function 'add_statfile_watch': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:300:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s", st->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:302:6: note: in expansion of macro 'msg_err' msg_err ("cannot create statfile %s", st->path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile_sync.c:315:3: note: in expansion of macro 'msg_err' msg_err ("cannot add statfile watch for statfile %s: no master defined", st->symbol); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 62%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/map.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:30: /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'connect_http': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:75:3: note: in expansion of macro 'msg_info' msg_info ("cannot connect to http server %s: %d, %s", data->host, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'write_http_request': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:99:3: note: in expansion of macro 'msg_err' msg_err ("failed to write request: %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'parse_http_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:125:6: note: in expansion of macro 'msg_info' msg_info ("error while reading HTTP status code: %s", p); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_http_chunked': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:247:4: note: in expansion of macro 'msg_info' msg_info ("invalid chunked reply: %*s", (gint)len, buf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:259:4: note: in expansion of macro 'msg_info' msg_info ("invalid chunked reply: %*s", (gint)len, buf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_http_common': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:327:5: note: in expansion of macro 'msg_err' msg_err ("got error reply from server %s, %d", data->host, reply->code); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_http_sync': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:380:3: note: in expansion of macro 'msg_err' msg_err ("bad callback for reading map file"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_map_file': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:423:3: note: in expansion of macro 'msg_err' msg_err ("bad callback for reading map file"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:428:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot open file '%s': %s", data->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'check_map_proto': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:470:3: note: in expansion of macro 'msg_warn' msg_warn ("invalid map fetching protocol: %s", map_line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'add_map': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:506:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot open file '%s': %s", def, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:525:5: note: in expansion of macro 'msg_info' msg_info ("bad http map definition: %s", def); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:536:5: note: in expansion of macro 'msg_info' msg_info ("bad http map definition: %s", def); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:550:5: note: in expansion of macro 'msg_info' msg_info ("cannot resolve: %s", hdata->host); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:559:4: note: in expansion of macro 'msg_info' msg_info ("cannot connect to http server %s: %d, %s", hdata->host, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'radix_tree_insert_helper': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:774:5: note: in expansion of macro 'msg_warn' msg_warn ("invalid netmask, error detected on symbol: %s, erorr: %s", err_str, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:778:5: note: in expansion of macro 'msg_warn' msg_warn ("invalid netmask value: %d", k); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:787:4: note: in expansion of macro 'msg_err' msg_err ("invalid ip address: %s", token); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:795:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot insert ip to tree: %s, mask %X", inet_ntoa (ina), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:798:4: note: in expansion of macro 'msg_warn' msg_warn ("ip %s, mask %X, value already exists", inet_ntoa (ina), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_host_list': /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:813:54: warning: cast between incompatible function types from 'gboolean (*)(GHashTable *, void *, void *)' {aka 'int (*)(struct _GHashTable *, void *, void *)'} to 'void (*)(void *, const void *, void *)' [-Wcast-function-type] return abstract_parse_list (pool, chunk, len, data, (insert_func) g_hash_table_insert); ^ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_kv_list': /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:830:57: warning: cast between incompatible function types from 'gboolean (*)(GHashTable *, void *, void *)' {aka 'int (*)(struct _GHashTable *, void *, void *)'} to 'void (*)(void *, const void *, void *)' [-Wcast-function-type] return abstract_parse_kv_list (pool, chunk, len, data, (insert_func) g_hash_table_insert); ^ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:30: /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'file_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:882:2: note: in expansion of macro 'msg_info' msg_info ("rereading map file %s", data->filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'http_async_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:937:4: note: in expansion of macro 'msg_err' msg_err ("bad state when got write readiness"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:949:6: note: in expansion of macro 'msg_info' msg_info ("data is not modified for server %s", cbd->data->host); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:959:6: note: in expansion of macro 'msg_info' msg_info ("rereading map data from %s", cbd->data->host); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:967:5: note: in expansion of macro 'msg_info' msg_info ("rereading map data from %s", cbd->data->host); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:973:3: note: in expansion of macro 'msg_err' msg_err ("connection with http server terminated incorrectly"); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 70%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/smtp_proto.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c: In function 'parse_smtp_command': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:127:8: note: in expansion of macro 'msg_info' msg_info ("invalid command: %*s", 4, cmd_buf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:133:7: note: in expansion of macro 'msg_info' msg_info ("invalid command: %*s", 4, c); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:148:6: note: in expansion of macro 'msg_info' msg_info ("invalid letter code in SMTP command: %d", (gint)ch); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:189:5: note: in expansion of macro 'msg_info' msg_info ("CR without LF in SMTP command"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c: In function 'smtp_upstream_read_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:647:4: note: in expansion of macro 'msg_err' msg_err ("got upstream reply at unexpected state: %d, reply: %V", session->upstream_state, in); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:662:2: note: in expansion of macro 'msg_warn' msg_warn ("write error occured"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c: In function 'smtp_upstream_err_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:671:2: note: in expansion of macro 'msg_info' msg_info ("abnormally closing connection with upstream %s, error: %s", session->upstream->name, err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c: In function 'smtp_upstream_finalize_connection': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp_proto.c:693:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot send correctly closing message to upstream"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 75%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/upstream.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 72%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/statfile.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'convert_statfile_10': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:74:2: note: in expansion of macro 'msg_info' msg_info ("convert old statfile %s to version %c.%c, backup in %s", file->filename, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:78:3: note: in expansion of macro 'msg_info' msg_info ("replace old %s", backup_name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:89:3: note: in expansion of macro 'msg_info' msg_info ("cannot create file %s, error %d, %s", file->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:95:3: note: in expansion of macro 'msg_info' msg_info ("cannot write to file %s, error %d, %s", file->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:101:3: note: in expansion of macro 'msg_info' msg_info ("cannot write to file %s, error %d, %s", file->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:112:3: note: in expansion of macro 'msg_info' msg_info ("cannot mmap file %s, error %d, %s", file->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_check': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:133:3: note: in expansion of macro 'msg_info' msg_info ("file %s is too short to be stat file: %z", file->filename, file->len); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:141:3: note: in expansion of macro 'msg_info' msg_info ("file %s is invalid stat file", file->filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:153:3: note: in expansion of macro 'msg_info' msg_info ("file %s has invalid version %c.%c", file->filename, '0' + *c, '0' + *(c + 1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:161:3: note: in expansion of macro 'msg_info' msg_info ("file %s is truncated: %z, must be %z", file->filename, file->len, file->cur_section.length * sizeof (struct stat_file_block)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_reindex': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:235:3: note: in expansion of macro 'msg_err' msg_err ("cannot rename %s to %s: %s", filename, backup, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:245:3: note: in expansion of macro 'msg_err' msg_err ("cannot create new file"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:254:3: note: in expansion of macro 'msg_err' msg_err ("cannot open file: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:261:3: note: in expansion of macro 'msg_err' msg_err ("cannot mmap file: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_preload': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:299:3: note: in expansion of macro 'msg_info' msg_info ("madvise failed: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_open': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:327:3: note: in expansion of macro 'msg_err' msg_err ("reached hard coded limit of statfiles opened: %d", STATFILES_MAX); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:332:3: note: in expansion of macro 'msg_info' msg_info ("cannot stat file %s, error %s, %d", filename, strerror (errno), errno); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:337:3: note: in expansion of macro 'msg_info' msg_info ("cannot attach file to pool, too large: %Hz", (size_t) st.st_size); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:344:3: note: in expansion of macro 'msg_warn' msg_warn ("need to reindex statfile old size: %Hz, new size: %Hz", st.st_size, size); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:352:4: note: in expansion of macro 'msg_info' msg_info ("expiration for pool failed, opening file %s failed", filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:361:3: note: in expansion of macro 'msg_info' msg_info ("cannot open file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:370:3: note: in expansion of macro 'msg_info' msg_info ("cannot mmap file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_close': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:407:3: note: in expansion of macro 'msg_info' msg_info ("file %s is not opened", file->filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:417:3: note: in expansion of macro 'msg_info' msg_info ("syncing statfile %s", file->filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_create': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:454:3: note: in expansion of macro 'msg_info' msg_info ("file %s is already opened", filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:463:3: note: in expansion of macro 'msg_info' msg_info ("cannot create file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:472:3: note: in expansion of macro 'msg_info' msg_info ("cannot write header to file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:480:3: note: in expansion of macro 'msg_info' msg_info ("cannot write section header to file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:496:5: note: in expansion of macro 'msg_info' msg_info ("cannot write blocks buffer to file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:506:5: note: in expansion of macro 'msg_info' msg_info ("cannot write block to file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_set_block_common': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:609:4: note: in expansion of macro 'msg_debug' msg_debug ("chain %u is full, starting expire", blocknum); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:620:4: note: in expansion of macro 'msg_debug' msg_debug ("found free block %u in chain %u, set h1=%u, h2=%u", i, blocknum, h1, h2); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_add_section': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:710:3: note: in expansion of macro 'msg_info' msg_info ("cannot lseek file %s, error %d, %s", file->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:718:3: note: in expansion of macro 'msg_info' msg_info ("cannot write block to file %s, error %d, %s", file->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:724:4: note: in expansion of macro 'msg_info' msg_info ("cannot write block to file %s, error %d, %s", file->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:736:3: note: in expansion of macro 'msg_info' msg_info ("cannot attach file to pool, too large: %z", file->len); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:743:4: note: in expansion of macro 'msg_info' msg_info ("expiration for pool failed, opening file %s failed", file->filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:748:3: note: in expansion of macro 'msg_info' msg_info ("cannot mmap file %s, error %d, %s", file->filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_invalidate_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:870:2: note: in expansion of macro 'msg_info' msg_info ("invalidating %d statfiles", pool->opened); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'statfile_pool_plan_invalidate': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:893:3: note: in expansion of macro 'msg_info' msg_info ("invalidate of statfile pool is planned in %d seconds", (gint)pool->invalidate_tv.tv_sec); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c: In function 'get_statfile_by_symbol': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:906:3: note: in expansion of macro 'msg_err' msg_err ("invalid input arguments"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:920:3: note: in expansion of macro 'msg_info' msg_info ("cannot find statfile with symbol %s", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:926:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s", (*st)->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:929:6: note: in expansion of macro 'msg_err' msg_err ("cannot create statfile %s", (*st)->path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/statfile.c:934:6: note: in expansion of macro 'msg_err' msg_err ("cannot open statfile %s after creation", (*st)->path); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 73%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/symbols_cache.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c: In function 'mmap_cache_file': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:157:4: note: in expansion of macro 'msg_err' msg_err ("cannot mmap cache file: %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c: In function 'create_cache_file': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:200:3: note: in expansion of macro 'msg_err' msg_err ("cannot calculate checksum for symbols"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:214:4: note: in expansion of macro 'msg_err' msg_err ("cannot write to file %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:226:4: note: in expansion of macro 'msg_err' msg_err ("cannot write to file %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:236:3: note: in expansion of macro 'msg_err' msg_err ("cannot write to file %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:248:3: note: in expansion of macro 'msg_info' msg_info ("cannot open file %s, error %d, %s", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c: In function 'register_symbol_common': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:324:2: note: in expansion of macro 'msg_debug' msg_debug ("used items: %d, added symbol: %s", (*cache)->used_items, name); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c: In function 'register_dynamic_symbol': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:393:2: note: in expansion of macro 'msg_debug' msg_debug ("used items: %d, added symbol: %s", (*cache)->used_items, name); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:420:7: note: in expansion of macro 'msg_warn' msg_warn ("cannot replace ip to tree: %s, mask %X", inet_ntoa (it->addr), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:428:7: note: in expansion of macro 'msg_warn' msg_warn ("cannot insert ip to tree: %s, mask %X", inet_ntoa (it->addr), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:431:7: note: in expansion of macro 'msg_warn' msg_warn ("ip %s, mask %X, value already exists", inet_ntoa (it->addr), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:445:7: note: in expansion of macro 'msg_warn' msg_warn ("cannot replace ip to tree: %s, mask %X", inet_ntoa (it->addr), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:453:7: note: in expansion of macro 'msg_warn' msg_warn ("cannot insert ip to tree: %s, mask %X", inet_ntoa (it->addr), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:456:7: note: in expansion of macro 'msg_warn' msg_warn ("ip %s, mask %X, value already exists", inet_ntoa (it->addr), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c: In function 'init_symbols_cache': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:545:5: note: in expansion of macro 'msg_info' msg_info ("cannot create file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:553:4: note: in expansion of macro 'msg_info' msg_info ("cannot stat file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:559:4: note: in expansion of macro 'msg_info' msg_info ("cannot open file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:568:4: note: in expansion of macro 'msg_err' msg_err ("cannot calculate checksum for symbols"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:581:5: note: in expansion of macro 'msg_info' msg_info ("recreate cache file"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:583:6: note: in expansion of macro 'msg_info' msg_info ("cannot create file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:593:4: note: in expansion of macro 'msg_err' msg_err ("cannot seek to read checksum, %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:602:4: note: in expansion of macro 'msg_err' msg_err ("cannot read checksum, %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:611:4: note: in expansion of macro 'msg_info' msg_info ("checksum mismatch, recreating file"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:614:5: note: in expansion of macro 'msg_info' msg_info ("cannot create file %s, error %d, %s", filename, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c: In function 'validate_cache': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:699:3: note: in expansion of macro 'msg_err' msg_err ("empty cache is invalid"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:710:6: note: in expansion of macro 'msg_warn' msg_warn ("no weight registered for symbol %s", item->s->symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:714:6: note: in expansion of macro 'msg_info' msg_info ("no weight registered for symbol %s", item->s->symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:726:6: note: in expansion of macro 'msg_warn' msg_warn ("no weight registered for symbol %s", item->s->symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:730:6: note: in expansion of macro 'msg_info' msg_info ("no weight registered for symbol %s", item->s->symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:763:4: note: in expansion of macro 'msg_warn' msg_warn ("symbol '%s' is registered in metric but not found in cache", cur->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c: In function 'call_symbol_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/symbols_cache.c:803:4: note: in expansion of macro 'msg_info' msg_info ("resort symbols cache"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 78%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/view.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c: In function 'find_view_by_client_ip': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:168:4: note: in expansion of macro 'msg_info' msg_info ("found view for client ip %s", inet_ntoa (task->client_addr)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c: In function 'find_view_by_from': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:196:5: note: in expansion of macro 'msg_info' msg_info ("found view for client from %s", task->from); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:201:4: note: in expansion of macro 'msg_info' msg_info ("found view for client from %s", task->from); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:210:5: note: in expansion of macro 'msg_info' msg_info ("found view for client from %s", task->from); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c: In function 'check_view_rcpt': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:237:5: note: in expansion of macro 'msg_info' msg_info ("found view for client rcpt %s", rcpt_user); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:246:6: note: in expansion of macro 'msg_info' msg_info ("found view for client rcpt %s", rcpt_user); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:254:4: note: in expansion of macro 'msg_info' msg_info ("found view for client rcpt %s", rcpt_user); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/view.c:263:5: note: in expansion of macro 'msg_info' msg_info ("found view for client rcpt %s", rcpt_user); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 79%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/kvstorage_bdb.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_bdb.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_bdb.c: In function 'rspamd_bdb_init': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_bdb.c:175:3: note: in expansion of macro 'msg_err' msg_err ("error opening bdb database: %s", db_strerror (ret)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_bdb.c:179:3: note: in expansion of macro 'msg_err' msg_err ("error opening bdb environment: %s", db_strerror (ret)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_bdb.c: In function 'rspamd_kv_bdb_new': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_bdb.c:349:3: note: in expansion of macro 'msg_err' msg_err ("invalid file: %s", filename); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 75%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/url.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c: In function 'parse_uri': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:661:2: note: in expansion of macro 'msg_debug' msg_debug ("reencoding escapes in original url: '%s'", struri (uri)); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:682:3: note: in expansion of macro 'msg_debug' msg_debug ("getting protocol from url: %d", uri->protocol); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:693:4: note: in expansion of macro 'msg_debug' msg_debug ("invalid protocol in uri"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:702:5: note: in expansion of macro 'msg_debug' msg_debug ("too many '/' in uri"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:710:4: note: in expansion of macro 'msg_debug' msg_debug ("no '/' in uri"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:821:20: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (uri->portlen != port_end - host_end) ^~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c: In function 'url_parse_text': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:1171:3: note: in expansion of macro 'msg_warn' msg_warn ("got empty text part"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:1213:8: note: in expansion of macro 'msg_info' msg_info ("extract of url '%s' failed: %s", url_str, url_strerror (rc)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c: In function 'url_web_end': /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:1074:17: warning: this statement may fall through [-Wimplicit-fallthrough=] if (p >= end || *p != '/') { ~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/url.c:1079:3: note: here case '/': /* we've detected a path component to our url */ ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 79%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/kvstorage_sqlite.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_sqlite.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_sqlite.c: In function 'rspamd_sqlite_init': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_sqlite.c:230:3: note: in expansion of macro 'msg_err' msg_err ("error opening sqlite database: %d", ret); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_sqlite.c:233:3: note: in expansion of macro 'msg_err' msg_err ("error executing statement: %d", ret); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_sqlite.c: In function 'rspamd_kv_sqlite_new': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_sqlite.c:443:3: note: in expansion of macro 'msg_err' msg_err ("invalid file: %s", filename); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_sqlite.c: In function 'rspamd_sqlite_init': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:22: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_sqlite.c:169:17: note: 'ret' was declared here gint ret, r; ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 77%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/util.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'make_socket_nonblocking': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:51:3: note: in expansion of macro 'msg_warn' msg_warn ("fcntl failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'make_socket_blocking': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:65:3: note: in expansion of macro 'msg_warn' msg_warn ("fcntl failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'make_inet_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:99:3: note: in expansion of macro 'msg_warn' msg_warn ("socket failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:109:3: note: in expansion of macro 'msg_warn' msg_warn ("fcntl failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:130:4: note: in expansion of macro 'msg_warn' msg_warn ("bind/connect failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:137:5: note: in expansion of macro 'msg_warn' msg_warn ("bind/connect failed: timeout"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'accept_from_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:190:3: note: in expansion of macro 'msg_warn' msg_warn ("accept failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:199:3: note: in expansion of macro 'msg_warn' msg_warn ("fcntl failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'make_unix_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:233:3: note: in expansion of macro 'msg_warn' msg_warn ("socket failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:243:3: note: in expansion of macro 'msg_warn' msg_warn ("fcntl failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:256:4: note: in expansion of macro 'msg_warn' msg_warn ("bind/connect failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:263:5: note: in expansion of macro 'msg_warn' msg_warn ("bind/connect failed: timeout"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'make_socketpair': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:374:3: note: in expansion of macro 'msg_warn' msg_warn ("socketpair failed: %d, '%s'", errno, strerror (errno), pair[0], pair[1]); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:379:3: note: in expansion of macro 'msg_warn' msg_warn ("fcntl failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:383:3: note: in expansion of macro 'msg_warn' msg_warn ("fcntl failed: %d, '%s'", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'write_pid': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:412:4: note: in expansion of macro 'msg_err' msg_err ("cannot chown of pidfile %s to 0:0 user", main->cfg->pid_file); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'calculate_check_time': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:912:3: note: in expansion of macro 'msg_warn' msg_warn ("gettimeofday failed: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'lock_file': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:1045:9: note: in expansion of macro 'msg_warn' msg_warn ("lock on file failed: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c: In function 'unlock_file': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/util.c:1068:9: note: in expansion of macro 'msg_warn' msg_warn ("lock on file failed: %s", strerror (errno)); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 65%] Building C object lib/CMakeFiles/rspamdserver.dir/__/src/message.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c: In function 'process_raw_headers': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:612:4: note: in expansion of macro 'debug_task' debug_task ("add raw header %s: %s", new->name, new->value); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:628:4: note: in expansion of macro 'debug_task' debug_task ("add raw header %s: %s", new->name, new->value); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:647:7: note: in expansion of macro 'debug_task' debug_task ("go to state: %d->%d", state, next_state); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:652:7: note: in expansion of macro 'debug_task' debug_task ("go to state: %d->%d", state, err_state); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c: In function 'convert_text_to_utf': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:719:4: note: in expansion of macro 'msg_info' msg_info ("<%s>: contains invalid utf8 characters, assume it as raw", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:727:3: note: in expansion of macro 'msg_warn' msg_warn ("<%s>: cannot convert from %s to utf8: %s", task->message_id, charset, err ? err->message : "unknown problem"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c: In function 'process_text_part': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:759:3: note: in expansion of macro 'debug_task' debug_task ("skip attachments for checking as text parts"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:765:3: note: in expansion of macro 'debug_task' debug_task ("got urls from text/html part"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:799:3: note: in expansion of macro 'debug_task' debug_task ("got urls from text/plain part"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c: In function 'mime_foreach_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:857:4: note: in expansion of macro 'msg_err' msg_err ("endless recursion detected: %d", task->parser_recursion); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:897:4: note: in expansion of macro 'msg_warn' msg_warn ("type of part is unknown, assume text/plain"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:921:5: note: in expansion of macro 'debug_task' debug_task ("found part with content-type: %s/%s", type->type, type->subtype); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:927:5: note: in expansion of macro 'msg_warn' msg_warn ("write to stream failed: %d, %s", errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:934:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot get wrapper for mime part, type of part: %s/%s", type->type, type->subtype); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c: In function 'destroy_message': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:947:2: note: in expansion of macro 'msg_debug' msg_debug ("freeing pointer %p", msg); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c: In function 'process_message': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:980:3: note: in expansion of macro 'debug_task' debug_task ("construct mime parser from string length %d", (gint)task->msg->len); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:989:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot construct mime from stream"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:1015:3: note: in expansion of macro 'debug_task' debug_task ("found %d parts in message", task->parts_count); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:1133:8: note: in expansion of macro 'msg_info' msg_info ("extract of url '%s' failed: %s", url_str, url_strerror (rc)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c: In function 'multipart_iterate': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:1305:4: note: in expansion of macro 'msg_info' msg_info ("maximum recurse limit is over, stop recursing, %d", data->rec); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c: In function 'strip_html_tags': /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:195:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state == 1 && *(p - 1) == '<') { ^ /usr/src/RPM/BUILD/rspamd-0.4.7/src/message.c:201:3: note: here case 'E': ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 80%] Linking C static library librspamdserver.a make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 80%] Built target rspamdserver make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target rspamc make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Scanning dependencies of target rspamd make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 81%] Building C object CMakeFiles/rspamd.dir/src/modules.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 81%] Building C object src/client/CMakeFiles/rspamc.dir/rspamc.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 85%] Building C object CMakeFiles/rspamd.dir/src/lmtp.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c: In function 'sigusr2_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:82:2: note: in expansion of macro 'msg_info' msg_info ("lmtp worker's shutdown is pending in %d sec", SOFT_SHUTDOWN_TIME); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c: In function 'free_lmtp_task': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:124:3: note: in expansion of macro 'debug_task' debug_task ("free pointer %p", lmtp->task); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c: In function 'lmtp_read_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:159:4: note: in expansion of macro 'msg_info' msg_info ("closing lmtp connection due to protocol error"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:184:3: note: in expansion of macro 'debug_task' debug_task ("invalid state while reading from socket %d", lmtp->task->state); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c: In function 'lmtp_write_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:214:3: note: in expansion of macro 'debug_task' debug_task ("normally closing connection"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:219:3: note: in expansion of macro 'debug_task' debug_task ("invalid state while writing to socket %d", lmtp->task->state); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c: In function 'lmtp_err_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:233:2: note: in expansion of macro 'msg_info' msg_info ("abnormally closing connection, error: %s", err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c: In function 'accept_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:252:3: note: in expansion of macro 'msg_warn' msg_warn ("accept failed: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:261:3: note: in expansion of macro 'msg_info' msg_info ("accepted connection from unix socket"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:265:3: note: in expansion of macro 'msg_info' msg_info ("accepted connection from %s port %d", inet_ntoa (su.s4.sin_addr), ntohs (su.s4.sin_port)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/lmtp.c:285:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot write greeting"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 89%] Linking C executable rspamc make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 89%] Built target rspamc make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 83%] Building C object CMakeFiles/rspamd.dir/src/fuzzy_storage.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:31: /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'sync_cache': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:153:2: note: in expansion of macro 'msg_info' msg_info ("syncing fuzzy hash storage"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:161:3: note: in expansion of macro 'msg_err' msg_err ("cannot create hash file %s: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:173:3: note: in expansion of macro 'msg_err' msg_err ("cannot write file %s while writing header: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:208:4: note: in expansion of macro 'msg_err' msg_err ("cannot write file %s: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:228:5: note: in expansion of macro 'msg_err' msg_err ("cannot write file %s: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'sigusr2_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:278:2: note: in expansion of macro 'msg_info' msg_info ("worker's shutdown is pending in %d sec", SOFT_SHUTDOWN_TIME); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'read_hashes_file': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:338:3: note: in expansion of macro 'msg_err' msg_err ("cannot open hash file %s: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:352:5: note: in expansion of macro 'msg_err' msg_err ("unsupported version of fuzzy hash file: %d", version); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:355:4: note: in expansion of macro 'msg_info' msg_info ("reading fuzzy hashes storage file of version %d of size %d", version, (gint)(st.st_size - sizeof (header)) / sizeof (struct rspamd_fuzzy_node)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:360:4: note: in expansion of macro 'msg_info' msg_info ("got old version of fuzzy hashes storage, it would be converted to new version %d automatically", CURRENT_FUZZY_VERSION); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:422:3: note: in expansion of macro 'msg_warn' msg_warn ("ignore garbadge at the end of file, length of garbadge: %d", r); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:425:3: note: in expansion of macro 'msg_err' msg_err ("cannot open read file %s: %s", filename, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'check_hash_node': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:461:4: note: in expansion of macro 'msg_info' msg_info ("fuzzy hash was found, probability %d%%", prob); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:463:5: note: in expansion of macro 'msg_info' msg_info ("new hash weight: %d", h->value); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:475:4: note: in expansion of macro 'msg_info' msg_info ("fuzzy hash was found, probability %d%%", prob); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:478:5: note: in expansion of macro 'msg_info' msg_info ("new hash weight: %d", h->value); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:483:5: note: in expansion of macro 'msg_info' msg_info ("moved hash to frequent list"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'process_write_command': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:568:2: note: in expansion of macro 'msg_info' msg_info ("fuzzy hash was successfully added"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'delete_hash': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:608:4: note: in expansion of macro 'msg_info' msg_info ("fuzzy hash was successfully deleted"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'process_fuzzy_command': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:682:5: note: in expansion of macro 'msg_err' msg_err ("error while writing reply: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:687:5: note: in expansion of macro 'msg_err' msg_err ("error while writing reply: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:660:3: note: in expansion of macro 'msg_err' msg_err ("error while writing reply: %s", strerror (errno)); \ ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:692:3: note: in expansion of macro 'CMD_PROCESS' CMD_PROCESS (write); ^~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:665:3: note: in expansion of macro 'msg_err' msg_err ("error while writing reply: %s", strerror (errno)); \ ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:692:3: note: in expansion of macro 'CMD_PROCESS' CMD_PROCESS (write); ^~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:660:3: note: in expansion of macro 'msg_err' msg_err ("error while writing reply: %s", strerror (errno)); \ ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:695:3: note: in expansion of macro 'CMD_PROCESS' CMD_PROCESS (delete); ^~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:665:3: note: in expansion of macro 'msg_err' msg_err ("error while writing reply: %s", strerror (errno)); \ ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:695:3: note: in expansion of macro 'CMD_PROCESS' CMD_PROCESS (delete); ^~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:699:4: note: in expansion of macro 'msg_err' msg_err ("error while writing reply: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'accept_fuzzy_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:733:4: note: in expansion of macro 'msg_err' msg_err ("got error while reading from socket: %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:751:4: note: in expansion of macro 'msg_err' msg_err ("got incomplete data while reading from socket: %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c: In function 'start_fuzzy': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:833:4: note: in expansion of macro 'msg_err' msg_err ("cannot bind to socket, exiting"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/fuzzy_storage.c:842:3: note: in expansion of macro 'msg_err' msg_err ("cannot read hashes file, it can be created after save procedure"); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 85%] Building C object CMakeFiles/rspamd.dir/src/kvstorage_server.c.o /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c: In function 'kvstorage_read_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:62:68: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__); \ ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:752:4: note: in expansion of macro 'thr_info' thr_info ("%ud: unknown command: %V", thr->id, in); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:62:68: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__); \ ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:766:5: note: in expansion of macro 'thr_info' thr_info ("%ud: bad keystorage: %ud", thr->id, session->id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c: In function 'kvstorage_err_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:62:68: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__); \ ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:973:3: note: in expansion of macro 'thr_info' thr_info ("%ud: abnormally closing connection from: %s, error: %s", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c: In function 'thr_accept_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:56:71: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__); \ ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1000:3: note: in expansion of macro 'thr_warn' thr_warn ("%ud: accept failed: %s", thr->id, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c: In function 'thr_term_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:50:72: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__); \ ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1042:3: note: in expansion of macro 'thr_err' thr_err ("cannot read data from socket: %s", strerror (errno)); ^~~~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:31: /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c: In function 'create_kvstorage_thread': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1096:3: note: in expansion of macro 'msg_err' msg_err ("socket failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1115:3: note: in expansion of macro 'msg_err' msg_err ("cannot create thread: %s", err->message); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c: In function 'start_keystorage': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1137:3: note: in expansion of macro 'msg_err' msg_err ("threads support is not supported on your system so kvstorage is not functionable"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1142:3: note: in expansion of macro 'msg_err' msg_err ("cannot create socketpair, exiting"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1160:3: note: in expansion of macro 'msg_err' msg_err ("cannot configure kvstorage worker, exiting"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1191:3: note: in expansion of macro 'msg_debug' msg_debug ("calling sigsuspend"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1198:4: note: in expansion of macro 'msg_info' msg_info ("worker's immediately shutdown is requested"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1204:7: note: in expansion of macro 'msg_err' msg_err ("write to term socket failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1216:4: note: in expansion of macro 'msg_info' msg_info ("worker's shutdown is pending in %d sec", SOFT_SHUTDOWN_TIME); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1222:7: note: in expansion of macro 'msg_err' msg_err ("write to term socket failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/kvstorage_server.c:1236:2: note: in expansion of macro 'msg_info' msg_info ("syncing storages"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 90%] Building C object CMakeFiles/rspamd.dir/src/tokenizers/tokenizers.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 87%] Building C object CMakeFiles/rspamd.dir/src/map.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:30: /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'connect_http': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:75:3: note: in expansion of macro 'msg_info' msg_info ("cannot connect to http server %s: %d, %s", data->host, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'write_http_request': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:99:3: note: in expansion of macro 'msg_err' msg_err ("failed to write request: %d, %s", errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'parse_http_reply': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:125:6: note: in expansion of macro 'msg_info' msg_info ("error while reading HTTP status code: %s", p); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_http_chunked': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:247:4: note: in expansion of macro 'msg_info' msg_info ("invalid chunked reply: %*s", (gint)len, buf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:259:4: note: in expansion of macro 'msg_info' msg_info ("invalid chunked reply: %*s", (gint)len, buf); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_http_common': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:327:5: note: in expansion of macro 'msg_err' msg_err ("got error reply from server %s, %d", data->host, reply->code); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_http_sync': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:380:3: note: in expansion of macro 'msg_err' msg_err ("bad callback for reading map file"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_map_file': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:423:3: note: in expansion of macro 'msg_err' msg_err ("bad callback for reading map file"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:428:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot open file '%s': %s", data->filename, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'check_map_proto': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:470:3: note: in expansion of macro 'msg_warn' msg_warn ("invalid map fetching protocol: %s", map_line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'add_map': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:506:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot open file '%s': %s", def, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:525:5: note: in expansion of macro 'msg_info' msg_info ("bad http map definition: %s", def); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:536:5: note: in expansion of macro 'msg_info' msg_info ("bad http map definition: %s", def); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:550:5: note: in expansion of macro 'msg_info' msg_info ("cannot resolve: %s", hdata->host); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:559:4: note: in expansion of macro 'msg_info' msg_info ("cannot connect to http server %s: %d, %s", hdata->host, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'radix_tree_insert_helper': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:774:5: note: in expansion of macro 'msg_warn' msg_warn ("invalid netmask, error detected on symbol: %s, erorr: %s", err_str, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:778:5: note: in expansion of macro 'msg_warn' msg_warn ("invalid netmask value: %d", k); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:787:4: note: in expansion of macro 'msg_err' msg_err ("invalid ip address: %s", token); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:795:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot insert ip to tree: %s, mask %X", inet_ntoa (ina), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:798:4: note: in expansion of macro 'msg_warn' msg_warn ("ip %s, mask %X, value already exists", inet_ntoa (ina), mask); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_host_list': /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:813:54: warning: cast between incompatible function types from 'gboolean (*)(GHashTable *, void *, void *)' {aka 'int (*)(struct _GHashTable *, void *, void *)'} to 'void (*)(void *, const void *, void *)' [-Wcast-function-type] return abstract_parse_list (pool, chunk, len, data, (insert_func) g_hash_table_insert); ^ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'read_kv_list': /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:830:57: warning: cast between incompatible function types from 'gboolean (*)(GHashTable *, void *, void *)' {aka 'int (*)(struct _GHashTable *, void *, void *)'} to 'void (*)(void *, const void *, void *)' [-Wcast-function-type] return abstract_parse_kv_list (pool, chunk, len, data, (insert_func) g_hash_table_insert); ^ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:30: /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'file_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:882:2: note: in expansion of macro 'msg_info' msg_info ("rereading map file %s", data->filename); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c: In function 'http_async_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:937:4: note: in expansion of macro 'msg_err' msg_err ("bad state when got write readiness"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:949:6: note: in expansion of macro 'msg_info' msg_info ("data is not modified for server %s", cbd->data->host); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:959:6: note: in expansion of macro 'msg_info' msg_info ("rereading map data from %s", cbd->data->host); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:967:5: note: in expansion of macro 'msg_info' msg_info ("rereading map data from %s", cbd->data->host); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/map.c:973:3: note: in expansion of macro 'msg_err' msg_err ("connection with http server terminated incorrectly"); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 86%] Building C object CMakeFiles/rspamd.dir/src/main.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'print_signals_info': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:162:4: note: in expansion of macro 'msg_info' msg_info ("got SIGCHLD from child: %P; reason: '%s'", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:166:4: note: in expansion of macro 'msg_info' msg_info ("got signal: '%s'; received from pid: %P; uid: %ul", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'detect_priv': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:208:4: note: in expansion of macro 'msg_err' msg_err ("cannot run rspamd workers as root user, please add -u and -g options to select a proper unprivilleged user or specify --insecure flag"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:220:5: note: in expansion of macro 'msg_err' msg_err ("user specified does not exists (%s), aborting", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:226:6: note: in expansion of macro 'msg_err' msg_err ("group specified does not exists (%s), aborting", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'drop_priv': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:249:4: note: in expansion of macro 'msg_err' msg_err ("cannot setgid to %d (%s), aborting", (gint)rspamd->workers_gid, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:254:4: note: in expansion of macro 'msg_err' msg_err ("initgroups failed (%s), aborting", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:258:4: note: in expansion of macro 'msg_err' msg_err ("cannot setuid to %d (%s), aborting", (gint)rspamd->workers_uid, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'config_logger': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:274:4: note: in expansion of macro 'msg_err' msg_err ("cannot log to file, logfile unaccessable"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'reread_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:299:4: note: in expansion of macro 'msg_err' msg_err ("cannot parse new config file, revert to old one"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:303:4: note: in expansion of macro 'msg_debug' msg_debug ("replacing config"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:325:6: note: in expansion of macro 'msg_debug' msg_debug ("reconfig of %s", filt->module->name); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:331:4: note: in expansion of macro 'msg_info' msg_info ("config rereaded successfully"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'set_worker_limits': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:346:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot set files rlimit: %d, %s", cf->rlimit_nofile, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:355:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot set max core rlimit: %d, %s", cf->rlimit_maxcore, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'fork_worker': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:388:4: note: in expansion of macro 'msg_info' msg_info ("starting %s process %P", cf->worker->name, getpid ()); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:392:4: note: in expansion of macro 'msg_err' msg_err ("cannot fork main process. %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'set_alarm': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:418:3: note: in expansion of macro 'msg_err' msg_err ("set alarm failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'create_listen_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:471:4: note: in expansion of macro 'msg_err' msg_err ("cannot create tcp listen socket. %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:477:4: note: in expansion of macro 'msg_err' msg_err ("cannot create unix listen socket. %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:483:4: note: in expansion of macro 'msg_err' msg_err ("cannot listen on socket. %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'spawn_workers': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:571:5: note: in expansion of macro 'msg_err' msg_err ("cannot spawn more than 1 %s worker, so spawn one", cf->worker->name); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'kill_old_workers': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:594:2: note: in expansion of macro 'msg_info' msg_info ("send signal to worker %P", w->pid); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'wait_for_workers': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:613:5: note: in expansion of macro 'msg_info' msg_info ("terminate worker %P with SIGKILL", w->pid); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:617:5: note: in expansion of macro 'msg_info' msg_info ("waiting for workers to sync"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:624:2: note: in expansion of macro 'msg_info' msg_info ("%s process %P terminated %s", g_quark_to_string (w->type), w->pid, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'reopen_log_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:638:3: note: in expansion of macro 'msg_err' msg_err ("kill failed for pid %P: %s", w->pid, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'preload_statfiles': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:705:5: note: in expansion of macro 'msg_warn' msg_warn ("preload of %s from %s failed", st->symbol, st->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'load_rspamd_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:727:3: note: in expansion of macro 'msg_warn' msg_warn ("tempdir is not set, trying to use $TMPDIR"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:731:4: note: in expansion of macro 'msg_warn' msg_warn ("$TMPDIR is empty too, using /tmp as default"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c: In function 'main': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:958:2: note: in expansion of macro 'msg_info' msg_info ("rspamd " RVERSION " is starting, build id: " RID); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:974:3: note: in expansion of macro 'msg_err' msg_err ("cannot write pid file %s", rspamd_main->cfg->pid_file); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:991:3: note: in expansion of macro 'msg_err' msg_err ("error loading lua plugins"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1032:3: note: in expansion of macro 'msg_debug' msg_debug ("calling sigsuspend"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1040:4: note: in expansion of macro 'msg_info' msg_info ("catch termination signal, waiting for childs"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1046:4: note: in expansion of macro 'msg_debug' msg_debug ("catch SIGCHLD signal, finding terminated worker"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1056:6: note: in expansion of macro 'msg_info' msg_info ("%s process %P terminated normally", g_quark_to_string (cur->type), cur->pid); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1060:7: note: in expansion of macro 'msg_warn' msg_warn ("%s process %P terminated abnormally by signal: %d", g_quark_to_string (cur->type), cur->pid, WTERMSIG (res)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1063:7: note: in expansion of macro 'msg_warn' msg_warn ("%s process %P terminated abnormally", g_quark_to_string (cur->type), cur->pid); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1072:5: note: in expansion of macro 'msg_err' msg_err ("got SIGCHLD, but pid %P is not found in workers hash table, something goes wrong", wrk); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1078:4: note: in expansion of macro 'msg_info' msg_info ("rspamd " RVERSION " is restarting"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.c:1109:2: note: in expansion of macro 'msg_info' msg_info ("terminating..."); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 88%] Building C object CMakeFiles/rspamd.dir/src/smtp.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'sigusr2_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:111:3: note: in expansion of macro 'msg_info' msg_info ("worker's shutdown is pending in %d sec", SOFT_SHUTDOWN_TIME); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'process_smtp_data': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:304:3: note: in expansion of macro 'msg_err' msg_err ("fstat failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:320:4: note: in expansion of macro 'msg_err' msg_err ("mmap failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:350:4: note: in expansion of macro 'msg_err' msg_err ("cannot process message"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:352:4: note: in expansion of macro 'msg_err' msg_err ("process message failed: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:358:4: note: in expansion of macro 'msg_err' msg_err ("cannot process filters"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:372:3: note: in expansion of macro 'msg_info' msg_info ("not scan message as it is %z bytes and maximum is %z", st.st_size, session->ctx->max_size); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'smtp_read_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:433:5: note: in expansion of macro 'msg_err' msg_err ("cannot write to temp file: %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'smtp_err_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:511:2: note: in expansion of macro 'msg_info' msg_info ("abnormally closing connection, error: %s", err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'smtp_delay_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:539:35: warning: cast between incompatible function types from 'int (*)(struct event *)' to 'void (*)(void *)' [-Wcast-function-type] remove_normal_event (session->s, (event_finalizer_t)event_del, session->delay_timer); ^ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'smtp_make_delay': /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:573:37: warning: cast between incompatible function types from 'int (*)(struct event *)' to 'void (*)(void *)' [-Wcast-function-type] register_async_event (session->s, (event_finalizer_t)event_del, tev, g_quark_from_static_string ("smtp proxy")); ^ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'smtp_dns_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:597:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_conditional_debug(rspamd_main->logger, session->client_addr.s_addr, __FUNCTION__, ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:621:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] rspamd_conditional_debug(rspamd_main->logger, session->client_addr.s_addr, __FUNCTION__, ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:26: /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:647:6: note: in expansion of macro 'msg_info' msg_info ("cannot find address for hostname: %s, ip: %s", session->hostname, inet_ntoa (session->client_addr)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'accept_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:682:3: note: in expansion of macro 'msg_warn' msg_warn ("accept failed: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:695:3: note: in expansion of macro 'msg_info' msg_info ("accepted connection from unix socket"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:699:3: note: in expansion of macro 'msg_info' msg_info ("accepted connection from %s port %d", inet_ntoa (su.s4.sin_addr), ntohs (su.s4.sin_port)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:719:3: note: in expansion of macro 'msg_err' msg_err ("cannot resolve %s", inet_ntoa (session->client_addr)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'parse_upstreams_line': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:835:3: note: in expansion of macro 'msg_err' msg_err ("cannot define %d upstreams %d is max", num, MAX_UPSTREAM); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:849:5: note: in expansion of macro 'msg_err' msg_err ("cannot convert weight: %s, %s", t, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:857:5: note: in expansion of macro 'msg_err' msg_err ("cannot resolve path: %s", resolved_path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'config_smtp_worker': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:981:3: note: in expansion of macro 'msg_err' msg_err ("no upstreams defined, don't know what to do"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'start_smtp': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:1014:3: note: in expansion of macro 'msg_err' msg_err ("cannot configure smtp worker, exiting"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c: In function 'register_smtp_filter': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/smtp.c:1062:3: note: in expansion of macro 'msg_err' msg_err ("invalid smtp stage: %d", stage); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 93%] Building C object CMakeFiles/rspamd.dir/src/classifiers/classifiers.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 82%] Building C object CMakeFiles/rspamd.dir/src/controller.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:27: /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'sigusr2_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:159:2: note: in expansion of macro 'msg_info' msg_info ("controller's shutdown is pending in %d sec", 2); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'free_session': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:184:2: note: in expansion of macro 'msg_debug' msg_debug ("freeing session %p", session); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'counter_write_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:228:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot write to socket"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'write_whole_statfile': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:257:2: note: in expansion of macro 'msg_info' msg_info ("send a whole statfile %s with version %uL to slave", symbol, rev); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'process_sync_command': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:302:3: note: in expansion of macro 'msg_info' msg_info ("bad arguments to sync command, need symbol"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:308:3: note: in expansion of macro 'msg_info' msg_info ("bad arguments to sync command, need revision"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:313:3: note: in expansion of macro 'msg_info' msg_info ("bad arguments to sync command: %s", arg); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:318:3: note: in expansion of macro 'msg_info' msg_info ("bad arguments to sync command, need time"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:323:3: note: in expansion of macro 'msg_info' msg_info ("bad arguments to sync command: %s", arg); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:329:3: note: in expansion of macro 'msg_info' msg_info ("bad symbol: %s", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:343:3: note: in expansion of macro 'msg_info' msg_info ("bad symbol: %s", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:349:3: note: in expansion of macro 'msg_info' msg_info ("cannot open binlog: %s", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'process_command': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:463:4: note: in expansion of macro 'msg_debug' msg_debug ("empty password passed"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:548:5: note: in expansion of macro 'msg_debug' msg_debug ("no statfile specified in learn command"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:557:5: note: in expansion of macro 'msg_debug' msg_debug ("no message size specified in learn command"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:566:5: note: in expansion of macro 'msg_debug' msg_debug ("message size is invalid: %s", arg); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:594:5: note: in expansion of macro 'msg_debug' msg_debug ("no statfile specified in learn command"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:603:5: note: in expansion of macro 'msg_debug' msg_debug ("no message size specified in learn command"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:612:5: note: in expansion of macro 'msg_debug' msg_debug ("message size is invalid: %s", arg); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:640:5: note: in expansion of macro 'msg_debug' msg_debug ("no statfile specified in learn command"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:649:5: note: in expansion of macro 'msg_debug' msg_debug ("no message size specified in learn command"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:658:5: note: in expansion of macro 'msg_debug' msg_debug ("message size is invalid: %s", arg); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:738:4: note: in expansion of macro 'msg_debug' msg_debug ("no statfile specified in weights command"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:747:4: note: in expansion of macro 'msg_debug' msg_debug ("no message size specified in weights command"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:756:4: note: in expansion of macro 'msg_debug' msg_debug ("message size is invalid: %s", arg); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'controller_read_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:925:6: note: in expansion of macro 'msg_debug' msg_debug ("'%s'", cmd); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:955:4: note: in expansion of macro 'msg_warn' msg_warn ("processing of message failed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1001:4: note: in expansion of macro 'msg_warn' msg_warn ("processing of message failed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1038:4: note: in expansion of macro 'msg_warn' msg_warn ("processing of message failed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1122:3: note: in expansion of macro 'msg_debug' msg_debug ("unknown state while reading %d", session->state); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'controller_err_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1182:3: note: in expansion of macro 'msg_info' msg_info ("abnormally closing control connection, error: %s", err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'accept_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1208:3: note: in expansion of macro 'msg_err' msg_err ("cannot allocate memory for task, %s", strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1232:3: note: in expansion of macro 'msg_info' msg_info ("accepted connection from unix socket"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1236:3: note: in expansion of macro 'msg_info' msg_info ("accepted connection from %s port %d", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1242:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot write greeting"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c: In function 'start_controller': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/controller.c:1295:3: note: in expansion of macro 'msg_info' msg_info ("cannot start statfile synchronization, statfiles would not be synchronized"); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 91%] Building C object CMakeFiles/rspamd.dir/src/tokenizers/osb.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 89%] Building C object CMakeFiles/rspamd.dir/src/worker.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:31: /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'sigusr2_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:163:3: note: in expansion of macro 'msg_info' msg_info ("worker's shutdown is pending in %d sec", SOFT_SHUTDOWN_TIME); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'construct_task': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:220:3: note: in expansion of macro 'msg_warn' msg_warn ("gettimeofday failed: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'free_task': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:265:3: note: in expansion of macro 'debug_task' debug_task ("free pointer %p", task); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'fin_custom_filters': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:370:5: note: in expansion of macro 'msg_info' msg_info ("%s", log); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'read_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:470:3: note: in expansion of macro 'debug_task' debug_task ("got string of length %z", task->msg->len); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:474:4: note: in expansion of macro 'msg_warn' msg_warn ("processing of message failed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:512:6: note: in expansion of macro 'msg_err' msg_err ("cannot pull task to the pool: %s", err->message); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:524:3: note: in expansion of macro 'msg_info' msg_info ("ignoring trailing garbadge of size %z", in->len); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:527:3: note: in expansion of macro 'debug_task' debug_task ("invalid state on reading stage"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'write_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:569:3: note: in expansion of macro 'debug_task' debug_task ("normally closing connection"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:582:3: note: in expansion of macro 'msg_info' msg_info ("abnormally closing connection at state: %d", task->state); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'err_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:604:2: note: in expansion of macro 'msg_info' msg_info ("abnormally closing connection from: %s, error: %s", inet_ntoa (task->client_addr), err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'accept_socket': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:697:3: note: in expansion of macro 'msg_info' msg_info ("current tasks is now: %uD while maximum is: %uD", ctx->tasks, ctx->max_tasks); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:703:3: note: in expansion of macro 'msg_warn' msg_warn ("accept failed: %s", strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:714:3: note: in expansion of macro 'msg_info' msg_info ("accepted connection from unix socket"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:718:3: note: in expansion of macro 'msg_info' msg_info ("accepted connection from %s port %d", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'load_custom_filter': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:776:3: note: in expansion of macro 'msg_info' msg_info ("stat failed for %s", file); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:784:3: note: in expansion of macro 'msg_info' msg_info ("module load failed: %s", g_module_error ()); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:801:3: note: in expansion of macro 'msg_info' msg_info ("cannot find handlers in module %s: %s", file, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'load_custom_filters': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:826:3: note: in expansion of macro 'msg_warn' msg_warn ("glob failed: %s, %d", strerror (errno), r); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c: In function 'start_worker': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:936:3: note: in expansion of macro 'msg_info' msg_info ("starting custom process, loaded modules from %s", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/worker.c:955:4: note: in expansion of macro 'msg_err' msg_err ("pool create failed: %s", err->message); ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 94%] Building C object CMakeFiles/rspamd.dir/src/classifiers/bayes.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/tokenizers/tokenizers.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/classifiers.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:28: /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c: In function 'bayes_classify_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:154:4: note: in expansion of macro 'msg_info' msg_info ("token: %s, statfile: %s, probability: %.4f, post_probability: %.4f", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c: In function 'bayes_classify': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:256:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s", st->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:284:3: note: in expansion of macro 'debug_task' debug_task ("got probability for symbol %s: %.2f", data.statfiles[i].st->symbol, data.statfiles[i].post_probability); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c: In function 'bayes_learn': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:325:4: note: in expansion of macro 'msg_info' msg_info ("do not learn message as it has too few tokens: %d, while %d min", nodes, minnodes); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:369:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s", sel_st->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:371:5: note: in expansion of macro 'msg_err' msg_err ("cannot create statfile %s", sel_st->path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:385:5: note: in expansion of macro 'msg_err' msg_err ("cannot open statfile %s after creation", sel_st->path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c: In function 'bayes_learn_spam': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:464:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s", st->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:466:6: note: in expansion of macro 'msg_err' msg_err ("cannot create statfile %s", st->path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:480:6: note: in expansion of macro 'msg_err' msg_err ("cannot open statfile %s after creation", st->path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c: In function 'bayes_weights': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/bayes.c:538:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s", st->path); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 94%] Building C object CMakeFiles/rspamd.dir/src/classifiers/winnow.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/tokenizers/tokenizers.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/classifiers.h:7, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:29: /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c: In function 'winnow_classify': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:219:4: note: in expansion of macro 'msg_info' msg_info ("do not classify message as it has too few tokens: %d, while %d min", nodes, minnodes); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:239:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s, skip it", st->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c: In function 'winnow_weights': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:309:4: note: in expansion of macro 'msg_info' msg_info ("do not classify message as it has too few tokens: %d, while %d min", nodes, minnodes); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:321:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s, skip it", st->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c: In function 'winnow_learn': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:386:4: note: in expansion of macro 'msg_info' msg_info ("do not learn message as it has too few tokens: %d, while %d min", nodes, minnodes); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:410:6: note: in expansion of macro 'msg_warn' msg_warn ("cannot open %s", st->path); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:412:7: note: in expansion of macro 'msg_err' msg_err ("cannot create statfile %s", st->path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:426:7: note: in expansion of macro 'msg_err' msg_err ("cannot open statfile %s after creation", st->path); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:444:4: note: in expansion of macro 'msg_err' msg_err ("cannot find statfile for symbol %s", symbol); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:501:3: note: in expansion of macro 'msg_err' msg_err ("learn threshold is more than 1 or less than 0, so cannot do learn, please check your configuration"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:511:3: note: in expansion of macro 'msg_info' msg_info ("this message is already of class %s with threshold %.2f and weight %.2F", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:560:3: note: in expansion of macro 'msg_info' msg_info ("learn iteration %d for statfile %s: %G -> %G, multiplier: %.2f", iterations + 1, symbol, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:565:3: note: in expansion of macro 'msg_warn' msg_warn ("learning statfile %s was not fully successfull: iterations count is limited to %d, final sum is %G", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/classifiers/winnow.c:575:3: note: in expansion of macro 'msg_info' msg_info ("learned statfile %s successfully with %d iterations and sum %G", sel_st->symbol, iterations + 1, max); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 97%] Building C object CMakeFiles/rspamd.dir/src/plugins/chartable.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/chartable.c:38: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/chartable.c:35: /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/chartable.c: In function 'chartable_module_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/chartable.c:102:4: note: in expansion of macro 'msg_warn' msg_warn ("invalid numeric value '%s': %s", value, strerror (errno)); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 98%] Building C object CMakeFiles/rspamd.dir/src/plugins/spf.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/spf.c:39: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/spf.c:36: /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/spf.c: In function 'spf_module_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/spf.c:142:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot load whitelist from %s", value); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/spf.c: In function 'spf_symbol_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/spf.c:260:6: note: in expansion of macro 'msg_info' msg_info ("cannot make spf request for [%s]", task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/spf.c:265:4: note: in expansion of macro 'msg_info' msg_info ("ip %s is whitelisted for spf checks", inet_ntoa (task->from_addr)); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 95%] Building C object CMakeFiles/rspamd.dir/src/plugins/surbl.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:48: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:45: /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'exception_insert': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:106:3: note: in expansion of macro 'msg_err' msg_err ("invalid domain in exceptions list: %s, levels: %d", (gchar *)key, level); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'redirector_insert': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:175:5: note: in expansion of macro 'msg_warn' msg_warn ("could not read regexp: %s while reading regexp %s", err->message, p); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'surbl_module_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:318:5: note: in expansion of macro 'msg_warn' msg_warn ("invalid redirector definition: %s", strvec[idx]); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:324:6: note: in expansion of macro 'msg_info' msg_info ("add redirector %s", surbl_module_ctx->redirectors[idx].name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:411:5: note: in expansion of macro 'msg_debug' msg_debug ("add new surbl suffix: %s with symbol: %s", new_suffix->suffix, new_suffix->symbol); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:424:6: note: in expansion of macro 'msg_debug' msg_debug ("add new bit suffix: %d with symbol: %s", (gint)new_bit->bit, new_bit->symbol); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:436:3: note: in expansion of macro 'msg_debug' msg_debug ("add default surbl suffix: %s with symbol: %s", new_suffix->suffix, new_suffix->symbol); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'format_surbl_request': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:531:4: note: in expansion of macro 'msg_info' msg_info ("ignore request of ip url for list %s", suffix->symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:549:4: note: in expansion of macro 'msg_info' msg_info ("ignore request of ip url for list %s", suffix->symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:556:4: note: in expansion of macro 'msg_info' msg_info ("cannot convert ip to number '%s': %s", num_buf, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:609:3: note: in expansion of macro 'msg_debug' msg_debug ("url %s is whitelisted", result); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:622:2: note: in expansion of macro 'msg_debug' msg_debug ("request: %s, dots: %d, level: %d, orig: %*s", result, dots_num, level, (gint)hostname->len, hostname->begin); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'make_surbl_requests': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:646:4: note: in expansion of macro 'debug_task' debug_task ("send surbl dns request %s", surbl_req); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:652:4: note: in expansion of macro 'msg_info' msg_info ("cannot format url string for surbl %s, %s", struri (url), err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:661:3: note: in expansion of macro 'debug_task' debug_task ("skipping symbol that is not in view: %s", suffix->symbol); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'process_dns_results': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:678:4: note: in expansion of macro 'debug_task' debug_task ("got result(%d) AND bit(%d): %d", (gint)addr, (gint)ntohl (bit->bit), (gint)bit->bit & (gint)ntohl (addr)); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'dns_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:707:2: note: in expansion of macro 'debug_task' debug_task ("in surbl request callback"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:710:3: note: in expansion of macro 'msg_info' msg_info ("<%s> domain [%s] is in surbl %s", param->task->message_id, param->host_resolve, param->suffix->suffix); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:715:3: note: in expansion of macro 'debug_task' debug_task ("<%s> domain [%s] is not in surbl %s", param->task->message_id, param->host_resolve, param->suffix->suffix); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'memcached_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:728:4: note: in expansion of macro 'msg_info' msg_info ("memcached returned error %s on CONNECT stage", memc_strerror (error)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:737:4: note: in expansion of macro 'msg_info' msg_info ("memcached returned error %s on READ stage", memc_strerror (error)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:744:5: note: in expansion of macro 'msg_info' msg_info ("url '%s' has count %d, max: %d", struri (param->url), *url_count, surbl_module_ctx->max_urls); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:756:4: note: in expansion of macro 'msg_info' msg_info ("memcached returned error %s on WRITE stage", memc_strerror (error)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'register_memcached_call': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:796:3: note: in expansion of macro 'msg_err' msg_err ("no memcached servers can be selected"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'redirector_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:848:5: note: in expansion of macro 'msg_err' msg_err ("write failed %s to %s", strerror (errno), param->redirector->name); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:856:4: note: in expansion of macro 'msg_info' msg_info ("<%s> connection to redirector %s timed out while waiting for write", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:868:5: note: in expansion of macro 'msg_err' msg_err ("read failed: %s from %s", strerror (errno), param->redirector->name); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:887:6: note: in expansion of macro 'debug_task' debug_task ("<%s> got reply from redirector: '%s' -> '%s'", param->task->message_id, struri (param->url), c); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:895:4: note: in expansion of macro 'msg_info' msg_info ("<%s> reading redirector %s timed out, while waiting for read", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'register_redirector_call': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:925:3: note: in expansion of macro 'msg_info' msg_info ("<%s> cannot create tcp socket failed: %s", task->message_id, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:944:2: note: in expansion of macro 'msg_info' msg_info ("<%s> registered redirector call for %s to %s, according to rule: %s", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'surbl_tree_url_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:960:2: note: in expansion of macro 'debug_task' debug_task ("check url %s", struri (url)); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c: In function 'write_urls_buffer': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/surbl.c:1058:4: note: in expansion of macro 'msg_info' msg_info ("cannot write urls header completely, stripped reply at: %z", cb->off); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 96%] Building C object CMakeFiles/rspamd.dir/src/plugins/regexp.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:36: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:31: /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'parse_regexp_ipmask': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:288:4: note: in expansion of macro 'msg_info' msg_info ("bad ipmask value: '%s'", begin); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'read_regexp_expression': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:308:3: note: in expansion of macro 'msg_warn' msg_warn ("%s = \"%s\" is invalid regexp expression", symbol, line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:317:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse regexp, skip expression %s = \"%s\"", symbol, line); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'json_regexp_fin_cb': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:398:3: note: in expansion of macro 'msg_err' msg_err ("no data read"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:402:3: note: in expansion of macro 'msg_err' msg_err ("no data read"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:410:3: note: in expansion of macro 'msg_err' msg_err ("cannot load json data: parse error %s, on line %d", je.text, je.line); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:416:3: note: in expansion of macro 'msg_err' msg_err ("loaded json is not an array"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:435:4: note: in expansion of macro 'msg_err' msg_err ("loaded json is not an object"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:441:4: note: in expansion of macro 'msg_err' msg_err ("factor is not a number or not exists, but is required"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:448:4: note: in expansion of macro 'msg_err' msg_err ("symbol is not a string or not exists, but is required"); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:456:5: note: in expansion of macro 'msg_info' msg_info ("rule %s is disabled in json", cur_symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:487:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse dynamic rule"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'parse_autolearn_param': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:552:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot extract statfile name from %s", p); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:556:3: note: in expansion of macro 'msg_warn' msg_warn ("cannot extract symbol name from %s", p); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'regexp_module_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:602:4: note: in expansion of macro 'msg_err' msg_err ("cannot add map %s", value); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:645:4: note: in expansion of macro 'msg_err' msg_err ("unknown variable type for %s", cur->param); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'tree_url_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:688:4: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for url %s returned TRUE", struri (url)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:695:3: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for url %s returned FALSE", struri (url)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:698:3: note: in expansion of macro 'msg_info' msg_info ("error occured while processing regexp \"%s\": %s", param->re->regexp_text, err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'process_regexp': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:727:3: note: in expansion of macro 'msg_info' msg_info ("invalid regexp passed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:732:3: note: in expansion of macro 'debug_task' debug_task ("regexp /%s/ is found in cache, result: %d", re->regexp_text, r); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:739:4: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s with test %s", re->regexp_text, additional); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:743:5: note: in expansion of macro 'msg_info' msg_info ("result of regexp %s is true", re->regexp_text); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:756:3: note: in expansion of macro 'msg_warn' msg_warn ("bad error detected: %s has invalid regexp type", re->regexp_text); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:761:4: note: in expansion of macro 'msg_info' msg_info ("header regexp without header name: '%s'", re->regexp_text); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:765:3: note: in expansion of macro 'debug_task' debug_task ("checking header regexp: %s = %s", re->header, re->regexp_text); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:772:5: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for header %s returned FALSE: no header found", re->regexp_text, re->header); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:781:5: note: in expansion of macro 'debug_task' debug_task ("regexp contains only header and it is found %s", re->header); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:788:5: note: in expansion of macro 'debug_task' debug_task ("found header \"%s\" with value \"%s\"", re->header, (const gchar *)cur->data); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:799:7: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for header %s with value '%s' returned TRUE", re->regexp_text, re->header, (const gchar *)cur->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:814:6: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for header %s with value '%s' returned FALSE", re->regexp_text, re->header, (const gchar *)cur->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:817:6: note: in expansion of macro 'msg_info' msg_info ("error occured while processing regexp \"%s\": %s", re->regexp_text, err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:826:3: note: in expansion of macro 'debug_task' debug_task ("checking mime regexp: %s", re->regexp_text); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:838:5: note: in expansion of macro 'msg_info' msg_info ("<%s> skip part of size %Hud", task->message_id, part->content->len); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:864:7: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for mime part of length %d returned TRUE", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:888:7: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for mime part of length %d returned TRUE", re->regexp_text, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:897:5: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for mime part of length %d returned FALSE", re->regexp_text, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:901:5: note: in expansion of macro 'msg_info' msg_info ("error occured while processing regexp \"%s\": %s", re->regexp_text, err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:908:3: note: in expansion of macro 'debug_task' debug_task ("checking message regexp: %s", re->regexp_text); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:914:4: note: in expansion of macro 'msg_info' msg_info ("<%s> skip message of size %Hz", task->message_id, clen); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:922:6: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for mime part of length %d returned TRUE", re->regexp_text, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:944:6: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for message part of length %d returned TRUE", re->regexp_text, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:953:4: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for message part of length %d returned FALSE", re->regexp_text, ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:957:4: note: in expansion of macro 'msg_info' msg_info ("error occured while processing regexp \"%s\": %s", re->regexp_text, err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:962:3: note: in expansion of macro 'debug_task' debug_task ("checking url regexp: %s", re->regexp_text); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:965:4: note: in expansion of macro 'msg_warn' msg_warn ("numbered matches are not supported for url regexp"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:983:3: note: in expansion of macro 'debug_task' debug_task ("checking for raw header: %s with regexp: %s", re->header, re->regexp_text); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:986:4: note: in expansion of macro 'msg_info' msg_info ("header regexp without header name: '%s'", re->regexp_text); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:990:3: note: in expansion of macro 'debug_task' debug_task ("checking header regexp: %s = %s", re->header, re->regexp_text); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:997:5: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for header %s returned FALSE: no header found", re->regexp_text, re->header); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1005:5: note: in expansion of macro 'debug_task' debug_task ("regexp contains only header and it is found %s", re->header); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1012:5: note: in expansion of macro 'debug_task' debug_task ("found header \"%s\" with value \"%s\"", re->header, (const gchar *)cur->data); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1024:7: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for header %s with value '%s' returned TRUE", re->regexp_text, re->header, (const gchar *)cur->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1039:6: note: in expansion of macro 'msg_info' msg_info ("process test regexp %s for header %s with value '%s' returned FALSE", re->regexp_text, re->header, (const gchar *)cur->data); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1042:6: note: in expansion of macro 'msg_info' msg_info ("error occured while processing regexp \"%s\": %s", re->regexp_text, err->message); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1051:3: note: in expansion of macro 'msg_warn' msg_warn ("bad error detected: %p is not a valid regexp object", re); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'maybe_call_lua_function': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1073:4: note: in expansion of macro 'msg_info' msg_info ("call to %s failed: %s", (gchar *)name, lua_tostring (L, -1)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'optimize_regexp_expression': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1108:6: note: in expansion of macro 'msg_debug' msg_debug ("found '!' operator, inversing result"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1121:6: note: in expansion of macro 'msg_debug' msg_debug ("found '|' and previous expression is true"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:86:74: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_debug(...) rspamd_conditional_debug(rspamd_main->logger, -1, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1126:6: note: in expansion of macro 'msg_debug' msg_debug ("found '&' and previous expression is false"); ^~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'process_regexp_expression': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1160:4: note: in expansion of macro 'debug_task' debug_task ("regexp %s found", cur ? "is" : "is not"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1170:4: note: in expansion of macro 'debug_task' debug_task ("function %s returned %s", ((struct expression_function *)it->content.operand)->name, cur ? "true" : "false"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1185:4: note: in expansion of macro 'debug_task' debug_task ("function %s returned %s", (const gchar *)it->content.operand, cur ? "true" : "false"); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1201:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot parse regexp, skip expression"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1213:5: note: in expansion of macro 'msg_warn' msg_warn ("regexp expression seems to be invalid: empty stack while reading operation"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:95: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1217:4: note: in expansion of macro 'debug_task' debug_task ("got operation %c", it->content.operation); ^~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1251:3: note: in expansion of macro 'msg_warn' msg_warn ("regexp expression seems to be invalid: empty stack at the end of expression, symbol %s", symbol); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'process_regexp_item': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1299:5: note: in expansion of macro 'msg_err' msg_err ("thread pool creation failed: %s", err->message); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1311:4: note: in expansion of macro 'msg_err' msg_err ("error pushing task to the regexp thread pool: %s", err->message); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'rspamd_regexp_match_number': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1347:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'rspamd_regexp_occurs_number': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1386:3: note: in expansion of macro 'msg_warn' msg_warn ("wrong number of parameters to function, must be 2"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1394:4: note: in expansion of macro 'msg_err' msg_err ("cannot parse given regexp: %s", (gchar *)arg->data); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1431:3: note: in expansion of macro 'msg_err' msg_err ("wrong operation character: %c, assumed '=', '>', '<', '>=', '<=' or empty op", op); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1437:3: note: in expansion of macro 'msg_err' msg_err ("wrong numeric: %s at position: %s", param, err_str); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'rspamd_raw_header_exists': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1454:3: note: in expansion of macro 'msg_warn' msg_warn ("invalid argument to function is passed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'match_smtp_data': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1472:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot compile regexp for function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'rspamd_check_smtp_data': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1503:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1510:3: note: in expansion of macro 'msg_warn' msg_warn ("no parameters to function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1522:6: note: in expansion of macro 'msg_warn' msg_warn ("bad argument to function: %s", type); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1532:6: note: in expansion of macro 'msg_warn' msg_warn ("bad argument to function: %s", type); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1542:6: note: in expansion of macro 'msg_warn' msg_warn ("bad argument to function: %s", type); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1552:6: note: in expansion of macro 'msg_warn' msg_warn ("bad argument to function: %s", type); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1562:6: note: in expansion of macro 'msg_warn' msg_warn ("bad argument to function: %s", type); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1567:5: note: in expansion of macro 'msg_warn' msg_warn ("bad argument to function: %s", type); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'lua_regexp_match': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1633:5: note: in expansion of macro 'msg_warn' msg_warn ("cannot compile regexp for function"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c: In function 'process_regexp_expression': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:87:25: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] #define debug_task(...) rspamd_conditional_debug(rspamd_main->logger, task->from_addr.s_addr, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/regexp.c:1149:34: note: 'cur' was declared here gsize cur, op1, op2; ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 97%] Building C object CMakeFiles/rspamd.dir/src/plugins/fuzzy_check.c.o In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:46: /usr/src/RPM/BUILD/rspamd-0.4.7/src/expressions.h:98:30: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void * re_cache_check (const const gchar *line, memory_pool_t *pool); ^~~~~ In file included from /usr/src/RPM/BUILD/rspamd-0.4.7/src/main.h:21, from /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:43: /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'parse_flags_string': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:157:4: note: in expansion of macro 'msg_err' msg_err ("invalid fuzzy mapping: %s", item); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:166:5: note: in expansion of macro 'msg_info' msg_info ("cannot parse flag %s: %s", map_str[0], strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'parse_mime_types': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:207:4: note: in expansion of macro 'msg_info' msg_info ("bad content type: %s", strvec[i]); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'parse_servers_string': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:272:5: note: in expansion of macro 'msg_info' msg_info ("cannot resolve: %s", name); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'fuzzy_check_module_config': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:422:4: note: in expansion of macro 'msg_err' msg_err ("cannot add whitelist '%s'", value); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'fuzzy_io_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:518:4: note: in expansion of macro 'msg_info' msg_info ("<%s>, found fuzzy hash '%s' with weight: %.2f, in list: %d", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:534:2: note: in expansion of macro 'msg_err' msg_err ("got error on IO with server %s:%d, %d, %s", session->server->name, session->server->port, errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'fuzzy_learn_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:577:4: note: in expansion of macro 'msg_info' msg_info ("added fuzzy hash '%s' to list: %d for message <%s>", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:586:4: note: in expansion of macro 'msg_info' msg_info ("cannot add fuzzy hash for message <%s>", session->task->message_id); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:83:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_err(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:602:2: note: in expansion of macro 'msg_err' msg_err ("got error in IO with server %s:%d, %d, %s", session->server->name, session->server->port, errno, strerror (errno)); ^~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'register_fuzzy_call': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:630:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot connect to %s, %d, %s", selected->name, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'fuzzy_symbol_callback': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:663:4: note: in expansion of macro 'msg_info' msg_info ("<%s>, address %s is whitelisted, skip fuzzy check", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:681:4: note: in expansion of macro 'msg_info' msg_info ("<%s>, part hash is shorter than %d symbols, skip fuzzy check", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'register_fuzzy_controller_call': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:750:4: note: in expansion of macro 'msg_warn' msg_warn ("cannot connect to %s, %d, %s", selected->name, errno, strerror (errno)); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'fuzzy_process_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:817:3: note: in expansion of macro 'msg_warn' msg_warn ("processing of message failed"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:84:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_warn(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:822:4: note: in expansion of macro 'msg_warn' msg_warn ("write error"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:882:7: note: in expansion of macro 'msg_info' msg_info ("save hash of image: [%s] to list: %d", checksum, flag); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:911:7: note: in expansion of macro 'msg_info' msg_info ("save hash of part of type: %s/%s: [%s] to list %d", ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c: In function 'fuzzy_controller_handler': /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:942:3: note: in expansion of macro 'msg_info' msg_info ("empty content length"); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:966:4: note: in expansion of macro 'msg_info' msg_info ("error converting numeric argument %s", arg); ^~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/logger.h:85:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] #define msg_info(...) rspamd_common_log_function(rspamd_main->logger, G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rspamd-0.4.7/src/plugins/fuzzy_check.c:976:4: note: in expansion of macro 'msg_info' msg_info ("error converting numeric argument %s", arg); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [100%] Linking C executable rspamd make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [100%] Built target rspamd make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.22360 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/rspamd-buildroot + : + /bin/rm -rf -- /usr/src/tmp/rspamd-buildroot + cd rspamd-0.4.7 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/rspamd-buildroot make: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[1]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 3%] Built target rspamd_cdb make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 8%] Built target hiredis make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 18%] Built target rspamd_lua make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 24%] Built target rspamd_json make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 60%] Built target rspamdserver make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 78%] Built target rspamd make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 82%] Built target rspamdclient_static make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 87%] Built target rspamdclient make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 93%] Built target kvstorageclient make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [ 97%] Built target kvstorageclient_static make[2]: Entering directory '/usr/src/RPM/BUILD/rspamd-0.4.7' make[2]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' [100%] Built target rspamc make[1]: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' Install the project... -- Install configuration: "" -- Installing: /usr/src/tmp/rspamd-buildroot/usr/bin/rspamd-0.4.7 -- Installing: /usr/src/tmp/rspamd-buildroot/usr/bin/rspamd -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/2tld.inc.orig -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/2tld.inc -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/surbl-whitelist.inc -- Up-to-date: /usr/src/tmp/rspamd-buildroot/etc/rspamd/surbl-whitelist.inc -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd.xml.sample -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/emails.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/forged_recipients.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/ip_score.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/maillist.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/multimap.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/once_received.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/phishing.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/received_rbl.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/trie.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/plugins/lua/whitelist.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/lua/regexp/drugs.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/lua/regexp/fraud.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/lua/regexp/headers.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/lua/regexp/lotto.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/lua/rspamd.classifiers.lua -- Installing: /usr/src/tmp/rspamd-buildroot/etc/rspamd/lua/rspamd.lua -- Installing: /usr/src/tmp/rspamd-buildroot/usr/share/man/man8/rspamd.8 -- Installing: /usr/src/tmp/rspamd-buildroot/usr/share/man/man1/rspamc.1 -- Installing: /usr/src/tmp/rspamd-buildroot/etc/init.d/rspamd chown: changing ownership of '/usr/src/tmp/rspamd-buildroot//var/run/rspamd': Operation not permitted -- Installing: /usr/src/tmp/rspamd-buildroot/usr/lib/librspamdclient.so.0.4.7 -- Installing: /usr/src/tmp/rspamd-buildroot/usr/lib/librspamdclient.so -- Installing: /usr/src/tmp/rspamd-buildroot/usr/include/librspamdclient.h -- Installing: /usr/src/tmp/rspamd-buildroot/usr/lib/librspamdclient_static.a -- Up-to-date: /usr/src/tmp/rspamd-buildroot/usr/lib/librspamdclient.so.0.4.7 -- Up-to-date: /usr/src/tmp/rspamd-buildroot/usr/lib/librspamdclient.so -- Up-to-date: /usr/src/tmp/rspamd-buildroot/usr/include/librspamdclient.h -- Up-to-date: /usr/src/tmp/rspamd-buildroot/usr/lib/librspamdclient_static.a -- Installing: /usr/src/tmp/rspamd-buildroot/usr/bin/rspamc-0.4.7 -- Installing: /usr/src/tmp/rspamd-buildroot/usr/bin/rspamc make: Leaving directory '/usr/src/RPM/BUILD/rspamd-0.4.7' + mkdir -p /usr/src/tmp/rspamd-buildroot/var/run/rspamd/ + mkdir -p /usr/src/tmp/rspamd-buildroot/usr/share/ + test -d /usr/src/tmp/rspamd-buildroot/usr/lib/ + mv -f /usr/src/tmp/rspamd-buildroot/etc/rspamd.xml.sample /usr/src/tmp/rspamd-buildroot/etc/rspamd/rspamd + rm -f /usr/src/tmp/rspamd-buildroot/usr/include/librspamdclient.h + rm -f /usr/src/tmp/rspamd-buildroot/usr/lib/librspamdclient_static.a + rm -rf /usr/src/tmp/rspamd-buildroot/etc/init.d/ + mkdir -p /usr/src/tmp/rspamd-buildroot/etc/sysconfig/ + touch /usr/src/tmp/rspamd-buildroot/etc/sysconfig/rspamd + install -m755 -D /usr/src/RPM/SOURCES/rspamd.init /usr/src/tmp/rspamd-buildroot/etc/rc.d/init.d/rspamd + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/rspamd-buildroot (auto) removed './etc/rspamd/2tld.inc.orig' mode of './usr/lib/librspamdclient.so.0.4.7' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/rspamd-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/rspamd-buildroot/ (default) Compressing files in /usr/src/tmp/rspamd-buildroot (auto) Adjusting library links in /usr/src/tmp/rspamd-buildroot ./usr/lib: librspamdclient.so.0.4.7 -> librspamdclient.so.0.4.7 Verifying ELF objects in /usr/src/tmp/rspamd-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/librspamdclient.so.0.4.7: uses non-LFS functions: __fxstat mmap open sendfile verify-elf: WARNING: ./usr/bin/rspamd-0.4.7: uses non-LFS functions: __fxstat __open_2 __xstat fallocate fopen ftruncate getrlimit glob globfree lseek mkstemp mmap open posix_fadvise pwrite sendfile setrlimit Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files Processing files: rspamd-0.4.7-alt1.1 warning: File listed twice: /etc/rspamd/2tld.inc warning: File listed twice: /etc/rspamd/rspamd warning: File listed twice: /etc/rspamd/surbl-whitelist.inc Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oFn6Pb find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib,vala) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wWje3z find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,typelib,vala) shell.req: /usr/src/tmp/rspamd-buildroot/etc/rc.d/init.d/rspamd: /etc/sysconfig/network -> /etc/sysconfig/network (raw, not installed) Provides: librspamdclient.so.0.4.7 = set:kdZbX332IAOSEHZ5OXlFOx6oyzKfFyQ7K5uSz7o6D1ka7aL96zzj02Zd2rMuh8G0Y9Z15c9SHODVoEBtq1RzRUGln0f3dXbvFIBcTgtXNs5kD6IBCzynEG4y1iBrfdHpupHhFVOuZl9 Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_starting), /etc/rc.d/init.d(msg_stopping), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /etc/sysconfig/network, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.10), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libdb-4.7.so >= set:jhdaAZdUlE1, libevent-2.1.so.6 >= set:njJ9HJ8FriCWuZznFApPx7FqC1YcXhZGd, libglib-2.0.so.0 >= set:ogo0A9USvMNwZC2PZwi8ZHeeeC316tqKb6ZtKCc1Z4trYFW1MATtGfWJB7wI9gtA0ocQQEAM16nh2lZ18zSc8LmOsZmXRMVUHojBZJnZL02ks14L2mIVhNNZl442cIdgqJsZ6SQZ1d6RO8eZmsyET67Zg7iCTBUfGBsEIoS7WUR1A2UZz7bZxVKaEzB7ImNXx3bcMAEogQGRIZwauoFeRxkXhczr4muPJxtS8vX9cvzHiiho85KJ4J3Ga5VmGOib4g9iJDhzN6JtZluzZks53aierzERaCmlsRcQpvobAoxx3GRoFIA6XNti8VWR0ZDkZvEg2SlyOpSnHgCODfVoDZGas4hZyDoNY7lqYcQ7VfFTp832Z5nhDz3OukFRP8tczQp8asXFJpBxqZjeh2p0HkTY087PpVjF80M3urMwVFpZzlrRZIQuBwcoAPz7gmZja1GCcuDZ65, libgmime-2.6.so.0 >= set:ng5qWPcL2CirshTItlLUZs9Mc4DRegX2gZtok6x1Mrsdh5WEW9Mkn0UJWtHlpe223FiZ3nZ7eKq7fhqeQkWyZcAPKuX9ROFIdWzlIEodYsysYhIAWzCqZJvDoMxo4r4FFjsAck1cichcfcaCtkuXvZbf4hinfPH9HzU8yP2WMFufUxYZyb6Eo9y9DfZsIWUZg0, libgmodule-2.0.so.0 >= set:heJjYF9JXnCFo, libgobject-2.0.so.0 >= set:mkfch1ezG5x0, liblua-5.1.so.0 >= set:lfZKW317AM15tn5FosCMsdswxMOBwRy7HI4O853PZ8AqsucV3MiM37ldLqulW8V5j0RlvpfWOdVrNuRje1OJI6EVx3haReRWkxWbiuSNNjhyy9di7LLBjc0, libm.so.6(GLIBC_2.0), librt.so.1 >= set:jhQ40rH7, librt.so.1(GLIBC_2.2), libsqlite3.so.0 >= set:okWmOB6JSi7JITtcplpama0YnhOcT6MZvHZLz3, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jO1DmI Creating rspamd-debuginfo package Processing files: rspamd-debuginfo-0.4.7-alt1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4jXhbo find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DCNMhz find-requires: running scripts (debuginfo) Provides: debug(librspamdclient.so.0.4.7) Requires: rspamd = 0.4.7-alt1.1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libdb-4.7.so), debug(libevent-2.1.so.6), debug(libglib-2.0.so.0), debug(libgmime-2.6.so.0), debug(libgmodule-2.0.so.0), debug(libgobject-2.0.so.0), debug(liblua-5.1.so.0), debug(libm.so.6), debug(librt.so.1), debug(libsqlite3.so.0) Wrote: /usr/src/RPM/RPMS/i586/rspamd-0.4.7-alt1.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/rspamd-debuginfo-0.4.7-alt1.1.i586.rpm 54.81user 7.27system 0:46.28elapsed 134%CPU (0avgtext+0avgdata 78828maxresident)k 0inputs+0outputs (0major+2607711minor)pagefaults 0swaps 69.98user 10.77system 1:15.89elapsed 106%CPU (0avgtext+0avgdata 122564maxresident)k 88inputs+0outputs (0major+3169357minor)pagefaults 0swaps --- rspamd-0.4.7-alt1.1.i586.rpm.repo 2017-02-09 14:05:44.000000000 +0000 +++ rspamd-0.4.7-alt1.1.i586.rpm.hasher 2018-12-11 07:26:02.094963148 +0000 @@ -54,2 +54,3 @@ Requires: libc.so.6(GLIBC_2.2) +Requires: libc.so.6(GLIBC_2.27) Requires: libc.so.6(GLIBC_2.3) @@ -60,4 +61,3 @@ Requires: rpmlib(SetVersions) -Requires: libevent-2.0.so.5 >= set:miJ9HJ8xri6RZeZK0h8pOItUhlPcIYN -Requires: libevent_pthreads-2.0.so.5 >= set:edGr +Requires: libevent-2.1.so.6 >= set:njJ9HJ8FriCWuZznFApPx7FqC1YcXhZGd Requires: libglib-2.0.so.0 >= set:ogo0A9USvMNwZC2PZwi8ZHeeeC316tqKb6ZtKCc1Z4trYFW1MATtGfWJB7wI9gtA0ocQQEAM16nh2lZ18zSc8LmOsZmXRMVUHojBZJnZL02ks14L2mIVhNNZl442cIdgqJsZ6SQZ1d6RO8eZmsyET67Zg7iCTBUfGBsEIoS7WUR1A2UZz7bZxVKaEzB7ImNXx3bcMAEogQGRIZwauoFeRxkXhczr4muPJxtS8vX9cvzHiiho85KJ4J3Ga5VmGOib4g9iJDhzN6JtZluzZks53aierzERaCmlsRcQpvobAoxx3GRoFIA6XNti8VWR0ZDkZvEg2SlyOpSnHgCODfVoDZGas4hZyDoNY7lqYcQ7VfFTp832Z5nhDz3OukFRP8tczQp8asXFJpBxqZjeh2p0HkTY087PpVjF80M3urMwVFpZzlrRZIQuBwcoAPz7gmZja1GCcuDZ65 --- rspamd-debuginfo-0.4.7-alt1.1.i586.rpm.repo 2017-02-09 14:05:44.000000000 +0000 +++ rspamd-debuginfo-0.4.7-alt1.1.i586.rpm.hasher 2018-12-11 07:26:02.118962865 +0000 @@ -172,4 +172,3 @@ Requires: debug(libdb-4.7.so) -Requires: debug(libevent-2.0.so.5) -Requires: debug(libevent_pthreads-2.0.so.5) +Requires: debug(libevent-2.1.so.6) Requires: debug(libglib-2.0.so.0)