Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/sagator.spec'], chrootPath='/var/lib/mock/f40-build-133743-7167/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.75t3ws0i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.75t3ws0i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'dade5936b21d41b78eff5d1dd8cd0a2c', '-D', '/var/lib/mock/f40-build-133743-7167/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.75t3ws0i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/sagator-2.0.2-4.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/sagator.spec'], chrootPath='/var/lib/mock/f40-build-133743-7167/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.75t3ws0i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.75t3ws0i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '679ed7ab26b747d6aec65017cb645878', '-D', '/var/lib/mock/f40-build-133743-7167/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.75t3ws0i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zAUs08 + 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 + rm -rf /builddir/build/BUILD/sagator-2.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sagator-2.0.2-SPECPARTS + /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.kScCqg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + 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.12, 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 -j32 python3 avir/libclamav/getconst.py \ avir/libclamav/const.py /usr/include/clamav.h 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]: Leaving 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. 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 /builddir/build/BUILD/sagator-2.0.2/avir/basic.py:331: SyntaxWarning: invalid escape sequence '\.' ''' /builddir/build/BUILD/sagator-2.0.2/avir/cmd.py:201: SyntaxWarning: invalid escape sequence '\d' '^Infected files *:0+(?!\d)', /builddir/build/BUILD/sagator-2.0.2/interscan/parsemail.py:424: SyntaxWarning: invalid escape sequence '\.' ''' ./stats.py:668: SyntaxWarning: invalid escape sequence '\:' return time.strftime("%c").replace(':', '\:') ./updatecfg.py:66: SyntaxWarning: invalid escape sequence '\[' reg_srv=re.search('^ *SRV[ \n]*=[ \n]*\[.*?^ *\]',cfg,re.M|re.DOTALL) ./updatecfg.py:67: SyntaxWarning: invalid escape sequence '\[' reg_sca=re.search('^ *SCANNERS[ \n]*=[ \n]*\[.*?^ *\]',cfg,re.M|re.DOTALL) Listing '.'... Compiling './__init__.py'... Compiling './aglib.py'... Compiling './db.py'... Compiling './dbcleanup.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.nPvh83 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch ++ dirname /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + 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-4.fc40.noarch + make DESTDIR=/builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch 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 ./stats.py:668: SyntaxWarning: invalid escape sequence '\:' return time.strftime("%c").replace(':', '\:') ./updatecfg.py:66: SyntaxWarning: invalid escape sequence '\[' reg_srv=re.search('^ *SRV[ \n]*=[ \n]*\[.*?^ *\]',cfg,re.M|re.DOTALL) ./updatecfg.py:67: SyntaxWarning: invalid escape sequence '\[' reg_sca=re.search('^ *SCANNERS[ \n]*=[ \n]*\[.*?^ *\]',cfg,re.M|re.DOTALL) Listing '.'... Compiling './__init__.py'... Compiling './aglib.py'... Compiling './db.py'... Compiling './dbcleanup.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-4.fc40.noarch/usr/share/logwatch/scripts/services \ /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/logwatch/dist.conf/logfiles /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/logwatch/dist.conf/services [ -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/logwatch/dist.conf/services/sagator.conf ] || \ cp -pPRf scripts/log/logwatch.service /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/logwatch/dist.conf/services/sagator.conf [ -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/logwatch/dist.conf/logfiles/sagator.conf ] || \ cp -pPRf scripts/log/logwatch.logfile /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/logwatch/dist.conf/logfiles/sagator.conf cp -pPRf scripts/log/logwatch.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/logwatch/scripts/services/sagator if [ -d /usr/lib/systemd/system ]; then \ mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/lib/systemd/system; \ cp scripts/sagator.service /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/lib/systemd/system/; \ fi mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/sysconfig [ -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/sysconfig/sagator ] || \ cp -pPRf scripts/sysconfig-example /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/sysconfig/sagator [ ! -e /usr/share/selinux/devel/Makefile ] \ || make -C selinux install INSTDIR=/builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/selinux \ mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/bin /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/cron.d /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator \ /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch//var/spool/vscan /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/sbin /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/logrotate.d [ ! -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc/sgconf.py ] \ || mv /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc/sgconf.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc/sgconf.py.save cp -pPRf *.py aspam avir interscan srv /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator cp -pPRf etc/*.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc/ rm -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc/sgconf.py ln -sf /etc/sagator.conf /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc/sgconf.py ln -sf ../share/sagator/sgscan.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/bin/sgscan ln -sf ../share/sagator/sgfilter.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/bin/sgfilter ln -sf ../share/sagator/sagator.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/sbin/sagator ln -sf ../share/sagator/sqback.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/sbin/sqback [ -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/sagator.conf ] || \ cp -pPRf etc/sgconf.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/sagator.conf chmod 640 /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/sagator.conf chmod 750 /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc # install logrotate script [ -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/logrotate.d/sagator ] || \ cp -pPRf scripts/log/sagator.logrotate /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/logrotate.d/sagator # install mkchroot cp -pPRf scripts/mkchroot.sh /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/sbin/mkchroot.sagator # install man pages mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/man/man1 /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/man/man8 cp -pPRf doc/sagator.8 doc/sqback.8 /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/man/man8/ cp -pPRf doc/sgscan.1 doc/sgfilter.1 /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/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-4.fc40.noarch/etc/cron.d/sagator # install apache configuration mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch//etc/httpd/conf.d cp -pPRf scripts/apache.conf /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch//etc/httpd/conf.d/sagator.conf # install mrtg config if [ ! -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/mrtg/sagator.cfg ]; then \ mkdir -p `dirname /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/mrtg/sagator.cfg`; \ sed 's|/usr/share/|/usr/share/|g' \ < scripts/graphs/mrtg.cfg > /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/mrtg/sagator.cfg; \ fi if [ ! -f /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch//var/www/html/sagator/index.html ]; then \ mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch//var/www/html/sagator/tg; \ cp -pPRf scripts/graphs/rrdtool-index.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch//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-4.fc40.noarch/etc/yum.repos.d /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/pki/rpm-gpg; \ # cp -pPRf scripts/sagator.repo /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/yum.repos.d/; \ # cp -pPRf SAGATOR-GPG-KEY /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/etc/pki/rpm-gpg/; \ #fi make -C po install \ PROGNAME=sagator DESTDIR=/builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch 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-4.fc40.noarch/usr/share/locale/$lang/LC_MESSAGES; \ cp -pf $lang.mo /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/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-4.fc40.noarch/usr/share/sagator/etc/sgconf.py scripts/mkchroot.sh scripts/graphs/mrtg.cfg.in + touch /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc/sgconf.py_ + ln -s ../../../../etc/sagator.conf /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/etc/sgconf.py + mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/var/spool/vscan/tmp/quarantine + cp -arf scripts/db /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/ + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch sagator + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.0.2-4.fc40 --unique-debug-suffix -2.0.2-4.fc40.noarch --unique-debug-src-base sagator-2.0.2-4.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sagator-2.0.2 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /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/share/sagator/db/mysql.sh from /bin/sh -x to #!/usr/bin/sh -x 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/sqlite.sh from /bin/sh -x to #!/usr/bin/sh -x mangling shebang in /usr/sbin/mkchroot.sagator from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: sagator-2.0.2-4.fc40.noarch Processing files: sagator-core-2.0.2-4.fc40.noarch warning: File not found: /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/selinux/sagator.pp Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gf9oGR + umask 022 + cd /builddir/build/BUILD + cd sagator-2.0.2 + DOCDIR=/builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/README /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/FAQ /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/Databases.txt /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/Scanners.txt /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/Services.txt /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/Databases.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/Index.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/Scanners.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/Services.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/sagator.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/sgfilter.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/sgscan.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/doc/sqback.html /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/TODO /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/COPYING /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/ChangeLog /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/test /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/scripts/graphs /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/scripts/configure_postfix.sh /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/scripts/unconfigure_postfix.sh /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + cp -pr /builddir/build/BUILD/sagator-2.0.2/scripts/log/analyzer.py /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/doc/sagator-core + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(sagator-core) = 2.0.2-4.fc40 sagator-core = 2.0.2-4.fc40 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 Recommends: group(vscan) user(vscan) Processing files: sagator-webq-2.0.2-4.fc40.noarch Provides: sagator-webq = 2.0.2-4.fc40 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-4.fc40.noarch Wrote: /builddir/build/RPMS/sagator-2.0.2-4.fc40.noarch.rpm Wrote: /builddir/build/RPMS/sagator-webq-2.0.2-4.fc40.noarch.rpm Wrote: /builddir/build/RPMS/sagator-core-2.0.2-4.fc40.noarch.rpm RPM build warnings: File not found: /builddir/build/BUILDROOT/sagator-2.0.2-4.fc40.noarch/usr/share/sagator/selinux/sagator.pp Child return code was: 0