Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sagator.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674334450.170441/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cuzeeee4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cuzeeee4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4fd80b84b6c449c098e7fa3fe7c55f1c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674334450.170441/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cuzeeee4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sagator.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1662940800 Wrote: /builddir/build/SRPMS/sagator-2.0.2-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sagator.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674334450.170441/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cuzeeee4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cuzeeee4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '09db92047cd14aa0941a169f085246ab', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674334450.170441/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cuzeeee4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sagator.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1662940800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dxo46J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sagator-2.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sagator-2.0.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd sagator-2.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2RDe2c + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sagator-2.0.2 + sh configure --prefix=/usr --filelist --python=python3 checking for my version... 2.0.2-1 (stable) checking for your operating system... rhfc checking for datadir... share (share) checking for python... python3, version python3.11, in /usr checking for apache... /etc/httpd checking for logwatch... /usr/share/logwatch/dist.conf, /usr/share/logwatch/scripts checking for webdir... /var/www/html/sagator configured prefix... /usr creating Makefile creating po/Makefile creating scripts/sagator.spec creating scripts/cron creating scripts/graphs/mrtg.cfg creating scripts/apache.conf creating debian/changelog + make -j2 make aspam/pydspam/const.py || true # replace interpreter for sagator's programs for i in sagator sgscan sgfilter sqback reporter dbcleanup updatecfg scand stats test/smtptest test/mimeattach avir/libclamav/example doc/gendoc scripts/log/analyzer scripts/log/logwatch; do \ grep '^#!/usr/bin/python3$' $i.py > /dev/null 2>&1 || \ echo -e ',s|^#!/.*$|#!/usr/bin/python3|\nw\nq' | ed $i.py; \ done || true make[1]: Entering directory '/builddir/build/BUILD/sagator-2.0.2' make[1]: *** No rule to make target '/usr/include/dspam/libdspam_objects.h', needed by 'aspam/pydspam/const.py'. Stop. make[1]: Leaving directory '/builddir/build/BUILD/sagator-2.0.2' python3 doc/gendoc.py doc 542 ? 542 # compile modules for i in . aspam avir avir/libclamav aspam/pydspam interscan srv srv/web; do \ python3 -c \ "import compileall;compileall.compile_dir('$i', 0, '$i')"; \ done Listing '.'... Compiling './__init__.py'... Compiling './aglib.py'... Compiling './avlib.py'... Compiling './db.py'... Compiling './dbcleanup.py'... Compiling './filetype.py'... Compiling './reporter.py'... Compiling './sagator.py'... Compiling './scand.py'... Compiling './sgfilter.py'... Compiling './sgscan.py'... Compiling './sqback.py'... Compiling './stats.py'... Compiling './updatecfg.py'... Compiling './utest.py'... Listing 'aspam'... Listing 'avir'... Compiling 'avir/example.py'... Listing 'avir/libclamav'... Compiling 'avir/libclamav/const.py'... Compiling 'avir/libclamav/const6.py'... Compiling 'avir/libclamav/example.py'... Compiling 'avir/libclamav/getconst.py'... Compiling 'avir/libclamav/libso6.py'... Compiling 'avir/libclamav/libso9.py'... Listing 'aspam/pydspam'... Compiling 'aspam/pydspam/example.py'... Compiling 'aspam/pydspam/getconst.py'... Listing 'interscan'... Listing 'srv'... Compiling 'srv/example.py'... Listing 'srv/web'... Compiling 'srv/web/__init__.py'... Compiling 'srv/web/html.py'... Compiling 'srv/web/reg.py'... # replace config, if not found [ -f etc/sgconf.py ] || \ cp -pPRf etc/sagator.conf-template etc/sgconf.py make -C po make[1]: Entering directory '/builddir/build/BUILD/sagator-2.0.2/po' msgfmt -o sk.mo sk.po make[1]: Leaving directory '/builddir/build/BUILD/sagator-2.0.2/po' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZzG4W3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sagator-2.0.2 + rm -rf /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 + make DESTDIR=/builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 PREFIX=/usr install # replace interpreter for sagator's programs for i in sagator sgscan sgfilter sqback reporter dbcleanup updatecfg scand stats test/smtptest test/mimeattach avir/libclamav/example doc/gendoc scripts/log/analyzer scripts/log/logwatch; do \ grep '^#!/usr/bin/python3$' $i.py > /dev/null 2>&1 || \ echo -e ',s|^#!/.*$|#!/usr/bin/python3|\nw\nq' | ed $i.py; \ done || true 542 ? 542 # compile modules for i in . aspam avir avir/libclamav aspam/pydspam interscan srv srv/web; do \ python3 -c \ "import compileall;compileall.compile_dir('$i', 0, '$i')"; \ done Listing '.'... Compiling './__init__.py'... Compiling './aglib.py'... Compiling './db.py'... Compiling './dbcleanup.py'... Compiling './filetype.py'... Compiling './reporter.py'... Compiling './sagator.py'... Compiling './scand.py'... Compiling './sgfilter.py'... Compiling './sgscan.py'... Compiling './sqback.py'... Compiling './stats.py'... Compiling './updatecfg.py'... Compiling './utest.py'... Listing 'aspam'... Listing 'avir'... Compiling 'avir/example.py'... Listing 'avir/libclamav'... Compiling 'avir/libclamav/const.py'... Compiling 'avir/libclamav/const6.py'... Compiling 'avir/libclamav/example.py'... Compiling 'avir/libclamav/getconst.py'... Compiling 'avir/libclamav/libso6.py'... Compiling 'avir/libclamav/libso9.py'... Listing 'aspam/pydspam'... Compiling 'aspam/pydspam/example.py'... Compiling 'aspam/pydspam/getconst.py'... Listing 'interscan'... Listing 'srv'... Compiling 'srv/example.py'... Listing 'srv/web'... Compiling 'srv/web/__init__.py'... Compiling 'srv/web/html.py'... Compiling 'srv/web/reg.py'... # replace config, if not found [ -f etc/sgconf.py ] || \ cp -pPRf etc/sagator.conf-template etc/sgconf.py # install logwatch scripts mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/logwatch/scripts/services \ /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/logwatch/dist.conf/logfiles /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/logwatch/dist.conf/services [ -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/logwatch/dist.conf/services/sagator.conf ] || \ cp -pPRf scripts/log/logwatch.service /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/logwatch/dist.conf/services/sagator.conf [ -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/logwatch/dist.conf/logfiles/sagator.conf ] || \ cp -pPRf scripts/log/logwatch.logfile /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/logwatch/dist.conf/logfiles/sagator.conf cp -pPRf scripts/log/logwatch.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/logwatch/scripts/services/sagator if [ -d /usr/lib/systemd/system ]; then \ mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/lib/systemd/system; \ cp scripts/sagator.service /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/lib/systemd/system/; \ fi mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/sysconfig [ -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/sysconfig/sagator ] || \ cp -pPRf scripts/sysconfig-example /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/sysconfig/sagator [ ! -e /usr/share/selinux/devel/Makefile ] \ || make -C selinux install INSTDIR=/builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/selinux \ mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/bin /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/cron.d /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator \ /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64//var/spool/vscan /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/sbin /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/logrotate.d [ ! -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/sgconf.py ] \ || mv /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/sgconf.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/sgconf.py.save cp -pPRf *.py aspam avir interscan srv /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator cp -pPRf etc/*.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/ rm -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/sgconf.py ln -sf /etc/sagator.conf /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/sgconf.py ln -sf ../share/sagator/sgscan.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/bin/sgscan ln -sf ../share/sagator/sgfilter.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/bin/sgfilter ln -sf ../share/sagator/sagator.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/sbin/sagator ln -sf ../share/sagator/sqback.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/sbin/sqback [ -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/sagator.conf ] || \ cp -pPRf etc/sgconf.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/sagator.conf chmod 640 /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/sagator.conf chmod 750 /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc # install logrotate script [ -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/logrotate.d/sagator ] || \ cp -pPRf scripts/log/sagator.logrotate /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/logrotate.d/sagator # install mkchroot cp -pPRf scripts/mkchroot.sh /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/sbin/mkchroot.sagator # install man pages mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/man/man8 cp -pPRf doc/sagator.8 doc/sqback.8 /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/man/man8/ cp -pPRf doc/sgscan.1 doc/sgfilter.1 /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/man/man1/ # install sagator's cron scripts sed "s|%{CHROOT}|/var/spool/vscan|g" \ < scripts/cron > /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/cron.d/sagator # install apache configuration mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64//etc/httpd/conf.d cp -pPRf scripts/apache.conf /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64//etc/httpd/conf.d/sagator.conf # install mrtg config if [ ! -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/mrtg/sagator.cfg ]; then \ mkdir -p `dirname /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/mrtg/sagator.cfg`; \ sed 's|/usr/share/|/usr/share/|g' \ < scripts/graphs/mrtg.cfg > /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/mrtg/sagator.cfg; \ fi if [ ! -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64//var/www/html/sagator/index.html ]; then \ mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64//var/www/html/sagator/tg; \ cp -pPRf scripts/graphs/rrdtool-index.html /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64//var/www/html/sagator/index.html; \ fi # install *.repo files for new yum #if [ -d /etc/yum.repos.d ]; then \ # mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/yum.repos.d /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/pki/rpm-gpg; \ # cp -pPRf scripts/sagator.repo /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/yum.repos.d/; \ # cp -pPRf SAGATOR-GPG-KEY /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/etc/pki/rpm-gpg/; \ #fi make -C po install \ PROGNAME=sagator DESTDIR=/builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 PREFIX=/usr make[1]: Entering directory '/builddir/build/BUILD/sagator-2.0.2/po' for lang in sk; do \ mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/locale/$lang/LC_MESSAGES; \ cp -pf $lang.mo /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/locale/$lang/LC_MESSAGES/sagator.mo \ || echo "WARNING: Compiled locale files (.mo) not found!"; \ done make[1]: Leaving directory '/builddir/build/BUILD/sagator-2.0.2/po' echo "Don't forget to set chroot!" Don't forget to set chroot! + rm -f /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/sgconf.py scripts/mkchroot.sh scripts/graphs/mrtg.cfg.in + touch /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/sgconf.py_ + ln -s ../../../../etc/sagator.conf /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/etc/sgconf.py + mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/var/spool/vscan/tmp/quarantine + cp -arf scripts/db /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/ + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 sagator + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.0.2-1.fc38 --unique-debug-suffix -2.0.2-1.fc38.x86_64 --unique-debug-src-base sagator-2.0.2-1.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/sagator-2.0.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/mkchroot.sagator from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/sagator/db/pgsql.sh from /bin/sh -x to #!/usr/bin/sh -x mangling shebang in /usr/share/sagator/db/mysql.sh from /bin/sh -x to #!/usr/bin/sh -x mangling shebang in /usr/share/sagator/db/sqlite.sh from /bin/sh -x to #!/usr/bin/sh -x + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: sagator-2.0.2-1.fc38.noarch warning: File not found: /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/selinux/sagator.pp Processing files: sagator-core-2.0.2-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cpd46y + umask 022 + cd /builddir/build/BUILD + cd sagator-2.0.2 + DOCDIR=/builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr doc/README /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr doc/FAQ /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr doc/Databases.txt doc/Scanners.txt doc/Services.txt /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr doc/Databases.html doc/Index.html doc/Scanners.html doc/Services.html doc/sagator.html doc/sgfilter.html doc/sgscan.html doc/sqback.html /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr TODO /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr COPYING /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr ChangeLog /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr test /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr scripts/graphs /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr scripts/configure_postfix.sh scripts/unconfigure_postfix.sh /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + cp -pr scripts/log/analyzer.py /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/doc/sagator-core + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(sagator-core) = 2.0.2-1.fc38 sagator-core = 2.0.2-1.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/python3 /usr/bin/sh Obsoletes: sagator-libclamav <= 1.2.3 sagator-pydspam <= 0.9.1 Processing files: sagator-webq-2.0.2-1.fc38.noarch Provides: sagator-webq = 2.0.2-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 Wrote: /builddir/build/RPMS/sagator-webq-2.0.2-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/sagator-2.0.2-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/sagator-core-2.0.2-1.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.L0hxU8 + umask 022 + cd /builddir/build/BUILD + cd sagator-2.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.B0N6Ty + umask 022 + cd /builddir/build/BUILD + rm -rf sagator-2.0.2 sagator-2.0.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File not found: /builddir/build/BUILDROOT/sagator-2.0.2-1.fc38.x86_64/usr/share/sagator/selinux/sagator.pp Child return code was: 0