Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/postfix.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-47980-2078/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/postfix.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/postfix-3.7.2-6.ocs23.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postfix.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-47980-2078/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postfix.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NHMaza + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postfix-3.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/postfix-3.7.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd postfix-3.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postfix-3.7.0-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postfix-3.4.0-files.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postfix-3.3.3-alternatives.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postfix-3.7.0-large-fs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postfix-3.4.4-chroot-example-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postfix-3.7.0-whitespace-name-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/postfix-3.6.2-glibc-234-build-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + gzip -dc /builddir/build/SOURCES/pflogsumm-1.1.5.tar.gz + tar xf - + pushd pflogsumm-1.1.5 + echo 'Patch #3007 (pflogsumm-1.1.5-datecalc.patch):' ~/build/BUILD/postfix-3.7.2/pflogsumm-1.1.5 ~/build/BUILD/postfix-3.7.2 Patch #3007 (pflogsumm-1.1.5-datecalc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pflogsumm.pl Patch #3008 (pflogsumm-1.1.5-ipv6-warnings-fix.patch): + echo 'Patch #3008 (pflogsumm-1.1.5-ipv6-warnings-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pflogsumm.pl + popd ~/build/BUILD/postfix-3.7.2 Patch #3009 (pflogsumm-1.1.5-syslog-name-underscore-fix.patch): + echo 'Patch #3009 (pflogsumm-1.1.5-syslog-name-underscore-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pflogsumm-1.1.5/pflogsumm.pl + sed -i makedefs -e '\@Linux\.@s|345|3456|' + sed -i 's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"/usr/lib64/postfix"|' src/global/mail_params.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LkTttX + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd postfix-3.7.2 + unset AUXLIBS AUXLIBS_LDAP AUXLIBS_LMDB AUXLIBS_PCRE AUXLIBS_MYSQL AUXLIBS_PGSQL AUXLIBS_SQLITE AUXLIBS_CDB + CCARGS='-fPIC -fcommon' + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL' + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB' + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre' + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql' + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql' ++ pkg-config --cflags sqlite3 + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE ' + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl' + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\"' ++ getconf LFS_CFLAGS + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" ' + pkg-config openssl ++ pkg-config --cflags openssl + CCARGS='-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS ' ++ pkg-config --libs openssl + AUXLIBS='-lssl -lcrypto' ++ pkg-config --libs sqlite3 + make -f Makefile.init makefiles shared=yes dynamicmaps=yes pie=yes 'CCARGS=-fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS ' 'AUXLIBS=-lnsl -L/usr/lib64/sasl2 -lsasl2 -lssl -lcrypto' 'AUXLIBS_LDAP=-lldap -llber' AUXLIBS_LMDB=-llmdb AUXLIBS_PCRE=-lpcre 'AUXLIBS_MYSQL=-L/usr/lib64/mariadb -lmysqlclient -lm' AUXLIBS_PGSQL=-lpq AUXLIBS_SQLITE=-lsqlite3 DEBUG= 'SHLIB_RPATH=-Wl,-rpath,/usr/lib64/postfix -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro,-z,now' 'OPT=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment' POSTFIX_INSTALL_OPTS=-keep-build-mtime make -f Makefile.in MAKELEVEL= Makefiles (echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-OpenCloudOS-linux/12/lto-wrapper Target: x86_64-OpenCloudOS-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://gcc.gnu.org/bugzilla/ --enable-shared --enable-threads=posix --enable-checking=release --disable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --without-isl --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-OpenCloudOS-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.3.0 20230508 (OpenCloudOS 12.3.0-2) (GCC) set +e; if cmp makedefs.tmp conf/makedefs.out; then rm makedefs.tmp; \ else mv makedefs.tmp conf/makedefs.out; fi >/dev/null 2>/dev/null set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger src/postlogd; do \ (set -e; echo "[$i]"; cd $i; rm -f Makefile; \ make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \ done [src/util] cat ../../conf/makedefs.out Makefile.in >Makefile [src/global] cat ../../conf/makedefs.out Makefile.in >Makefile [src/dns] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tls] cat ../../conf/makedefs.out Makefile.in >Makefile [src/xsasl] cat ../../conf/makedefs.out Makefile.in >Makefile [src/master] cat ../../conf/makedefs.out Makefile.in >Makefile [src/milter] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postfix] cat ../../conf/makedefs.out Makefile.in >Makefile [src/fsstone] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtpstone] cat ../../conf/makedefs.out Makefile.in >Makefile [src/sendmail] cat ../../conf/makedefs.out Makefile.in >Makefile [src/error] cat ../../conf/makedefs.out Makefile.in >Makefile [src/pickup] cat ../../conf/makedefs.out Makefile.in >Makefile [src/cleanup] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtpd] cat ../../conf/makedefs.out Makefile.in >Makefile [src/local] cat ../../conf/makedefs.out Makefile.in >Makefile [src/trivial-rewrite] cat ../../conf/makedefs.out Makefile.in >Makefile [src/qmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/oqmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtp] cat ../../conf/makedefs.out Makefile.in >Makefile [src/bounce] cat ../../conf/makedefs.out Makefile.in >Makefile [src/pipe] cat ../../conf/makedefs.out Makefile.in >Makefile [src/showq] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postalias] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postcat] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postconf] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postdrop] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postkick] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlock] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlog] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postmap] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postqueue] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postsuper] cat ../../conf/makedefs.out Makefile.in >Makefile [src/qmqpd] cat ../../conf/makedefs.out Makefile.in >Makefile [src/spawn] cat ../../conf/makedefs.out Makefile.in >Makefile [src/flush] cat ../../conf/makedefs.out Makefile.in >Makefile [src/verify] cat ../../conf/makedefs.out Makefile.in >Makefile [src/virtual] cat ../../conf/makedefs.out Makefile.in >Makefile [src/proxymap] cat ../../conf/makedefs.out Makefile.in >Makefile [src/anvil] cat ../../conf/makedefs.out Makefile.in >Makefile [src/scache] cat ../../conf/makedefs.out Makefile.in >Makefile [src/discard] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tlsmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postmulti] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postscreen] cat ../../conf/makedefs.out Makefile.in >Makefile [src/dnsblog] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tlsproxy] cat ../../conf/makedefs.out Makefile.in >Makefile [src/posttls-finger] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlogd] cat ../../conf/makedefs.out Makefile.in >Makefile + /usr/bin/make -O -j32 V=1 VERBOSE=1 rm -f meta/main.cf.proto && ln -f conf/main.cf meta/main.cf.proto rm -f meta/master.cf.proto && ln -f conf/master.cf meta/master.cf.proto grep -v SHLIB_ENV conf/makedefs.out > meta/makedefs.out rm -f libexec/post-install && ln -f conf/post-install libexec/post-install rm -f libexec/postfix-script && ln -f conf/postfix-script libexec/postfix-script rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper libexec/postfix-wrapper rm -f meta/dynamicmaps.cf && sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;" conf/dynamicmaps.cf | awk ' \ BEGIN { split("'"ldap lmdb pcre mysql pgsql sqlite dev_urandom"'", map_types); \ for (n in map_types) has_type[map_types[n]] = n } \ /^#/ { print } \ /^[a-z]/ { if (has_type[$1]) print } \ ' >meta/dynamicmaps.cf rm -f libexec/postmulti-script && ln -f conf/postmulti-script libexec/postmulti-script rm -f meta/postfix-files (if [ "/usr/lib64/postfix" = "no" -o "/usr/lib64/postfix" = "" ]; then \ sed -e '/^\$shlib_directory/d' \ -e '/dynamicmaps.cf/d' conf/postfix-files; \ elif [ "gcc -shared" = ":" -o "gcc -shared" = "" ]; then \ sed -e '/dynamicmaps.cf/d' \ -e '/^\$shlib_directory\/\${LIB_PREFIX}/d' \ conf/postfix-files | sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;"; \ else \ sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;" conf/postfix-files | awk -F: ' \ BEGIN { \ count = split("'"ldap lmdb pcre mysql pgsql sqlite dev_urandom"'", names, " "); \ for (n = 1; n <= count; n++) \ have["$shlib_directory/postfix-" names[n] \ ".so"] = 1; } \ /^[$]shlib_directory.postfix-/ { \ if (have[$1]) print; next } \ { print } \ '; \ fi) | case "" in \ *) cat;; \ esac > meta/postfix-files rm -f libexec/postfix-tls-script && ln -f conf/postfix-tls-script libexec/postfix-tls-script set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger src/postlogd; do \ (set -e; echo "[$i]"; cd $i; /usr/bin/make 'WARN=-Wmissing-prototypes -Wformat -Wno-comment -fno-common' update MAKELEVEL=) || exit 1; \ done [src/util] gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c alldig.c In file included from alldig.c:40: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: alldig.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c allprint.c In file included from allprint.c:30: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: allprint.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c argv_split.c In file included from argv_split.c:51: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: argv_split.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c basename.c In file included from basename.c:27: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: basename.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_dbm.c In file included from dict_dbm.c:33: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: dict_dbm.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c binhash.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_db.c In file included from binhash.c:133: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: binhash.o] Error 1 In file included from dict_db.c:63: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: dict_db.o] Error 1 In file included from argv.c:123: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: argv.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c argv.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c close_on_exec.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c base64_code.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_ni.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c ctable.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c chroot_uid.c In file included from close_on_exec.c:34: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: close_on_exec.o] Error 1 In file included from base64_code.c:61: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: base64_code.o] Error 1 In file included from dict_ni.c:32: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: dict_ni.o] Error 1 In file included from ctable.c:77: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: ctable.o] Error 1 In file included from chroot_uid.c:31: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from chroot_uid.c:33: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: chroot_uid.o] Error 1 In file included from attr_clnt.c:96: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from attr_clnt.c:97: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: attr_clnt.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c attr_clnt.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c concatenate.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c auto_clnt.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c attr_print0.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c attr_print_plain.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c clean_env.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c attr_print64.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_alloc.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict.c In file included from concatenate.c:29: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ make: *** [Makefile:208: concatenate.o] Error 1 In file included from auto_clnt.c:121: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from auto_clnt.c:128: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: auto_clnt.o] Error 1 In file included from attr_print0.c:92: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from attr_print0.c:100: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: attr_print0.o] Error 1 In file included from attr_print_plain.c:92: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from attr_print_plain.c:100: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: attr_print_plain.o] Error 1 In file included from clean_env.c:45: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from clean_env.c:47: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: clean_env.o] Error 1 In file included from attr_print64.c:92: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from attr_print64.c:100: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: attr_print64.o] Error 1 In file included from dict_alloc.c:76: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from dict.h:30, from dict_alloc.c:83: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ dict_alloc.c: In function 'dict_alloc': dict_alloc.c:153:23: error: 'INTERNAL_LOCK' undeclared (first use in this function) 153 | dict->lock_type = INTERNAL_LOCK; | ^~~~~~~~~~~~~ dict_alloc.c:153:23: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:208: dict_alloc.o] Error 1 In file included from dict.c:247: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from vstream.h:22, from dict.c:259: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ dict.c:621:38: warning: missing braces around initializer [-Wmissing-braces] 621 | static const NAME_MASK dict_mask[] = { | ^ 622 | "warn_dup", DICT_FLAG_DUP_WARN, /* if file, warn about dups */ | { } 623 | "ignore_dup", DICT_FLAG_DUP_IGNORE, /* if file, ignore dups */ | { } 624 | "try0null", DICT_FLAG_TRY0NULL, /* do not append 0 to key/value */ | { } 625 | "try1null", DICT_FLAG_TRY1NULL, /* append 0 to key/value */ | { } 626 | "fixed", DICT_FLAG_FIXED, /* fixed key map */ | { } 627 | "pattern", DICT_FLAG_PATTERN, /* keys are patterns */ | { } 628 | "lock", DICT_FLAG_LOCK, /* lock before access */ | { } 629 | "replace", DICT_FLAG_DUP_REPLACE, /* if file, replace dups */ | { } 630 | "sync_update", DICT_FLAG_SYNC_UPDATE, /* if file, sync updates */ | { } 631 | "debug", DICT_FLAG_DEBUG, /* log access */ | { } 632 | "no_regsub", DICT_FLAG_NO_REGSUB, /* disallow regexp substitution */ | { } 633 | "no_proxy", DICT_FLAG_NO_PROXY, /* disallow proxy mapping */ | { } 634 | "no_unauth", DICT_FLAG_NO_UNAUTH, /* disallow unauthenticated data */ | { } 635 | "fold_fix", DICT_FLAG_FOLD_FIX, /* case-fold with fixed-case key map */ | { } 636 | "fold_mul", DICT_FLAG_FOLD_MUL, /* case-fold with multi-case key map */ | { } 637 | "open_lock", DICT_FLAG_OPEN_LOCK, /* permanent lock upon open */ | { } 638 | "bulk_update", DICT_FLAG_BULK_UPDATE, /* bulk update if supported */ | { } 639 | "multi_writer", DICT_FLAG_MULTI_WRITER, /* multi-writer safe */ | { } 640 | "utf8_request", DICT_FLAG_UTF8_REQUEST, /* request UTF-8 activation */ | { } 641 | "utf8_active", DICT_FLAG_UTF8_ACTIVE, /* UTF-8 is activated */ | { } 642 | "src_rhs_is_file", DICT_FLAG_SRC_RHS_IS_FILE, /* value from file */ | { } 643 | 0, | { 644 | }; | } make: *** [Makefile:208: dict.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_debug.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_ht.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_nis.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c attr_scan64.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c attr_scan0.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c attr_scan_plain.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c cidr_match.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_env.c gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_cidr.c In file included from dict_debug.c:39: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from ./dict.h:30, from dict_debug.c:45: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: dict_debug.o] Error 1 In file included from dict_ht.c:33: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from dict.h:30, from dict_ht.c:39: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: dict_ht.o] Error 1 In file included from dict_nis.c:33: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from dict.h:30, from dict_nis.c:58: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: dict_nis.o] Error 1 In file included from attr_scan64.c:171: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from attr_scan64.c:180: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: attr_scan64.o] Error 1 In file included from attr_scan0.c:169: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from attr_scan0.c:178: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: attr_scan0.o] Error 1 In file included from attr_scan_plain.c:169: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from attr_scan_plain.c:178: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: attr_scan_plain.o] Error 1 In file included from cidr_match.c:69: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from cidr_match.c:71: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: cidr_match.o] Error 1 In file included from dict_env.c:34: sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from dict_env.c:37: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: dict_env.o] Error 1 In file included from dict_cidr.c:39: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from dict_cidr.c:42: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: dict_cidr.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\" -DUSE_TLS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c dict_nisplus.c RPM build warnings: RPM build errors: In file included from dict_nisplus.c:42: ./sys_defs.h:1267:2: error: #error "unsupported platform" 1267 | #error "unsupported platform" | ^~~~~ ./sys_defs.h:1336:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" 1336 | #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" | ^~~~~ ./sys_defs.h:1340:2: error: #error "define DEF_MAILBOX_LOCK" 1340 | #error "define DEF_MAILBOX_LOCK" | ^~~~~ ./sys_defs.h:1344:2: error: #error "define INTERNAL_LOCK" 1344 | #error "define INTERNAL_LOCK" | ^~~~~ ./sys_defs.h:1352:2: error: #error "define USE_STATFS or USE_STATVFS" 1352 | #error "define USE_STATFS or USE_STATVFS" | ^~~~~ ./sys_defs.h:1363:57: error: unknown type name 'SOCKADDR_SIZE' 1363 | extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); | ^~~~~~~~~~~~~ In file included from ./vstream.h:22, from ./dict.h:30, from dict_nisplus.c:57: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1520:12: note: previous declaration of 'closefrom' with type 'int(int)' 1520 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:208: dict_nisplus.o] Error 1 make: *** [Makefile:107: update] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.LkTttX (%build) %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.LkTttX (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postfix.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postfix.spec