Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cacti.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1732537619.267268/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cacti.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cacti-1.2.28-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cacti.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1732537619.267268/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cacti.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cacti-1.2.28-1.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/cacti.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1732537619.267268/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cacti.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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tjfF1j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cacti-1.2.28 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cacti-1.2.28.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cacti-1.2.28 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cacti-1.2.x-disable_log_rotation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cacti-1.2.x-csrf-secret.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vfqDyT + umask 022 + cd /builddir/build/BUILD + cd cacti-1.2.28 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Du10D9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64 ++ dirname /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64 + cd cacti-1.2.28 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//etc/cacti + /usr/bin/install -d -m 0755 /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/doc/cacti + /usr/bin/install -d -m 0755 /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/ + /usr/bin/install -d -m 0755 cache/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/cache + /usr/bin/install -d -m 0755 cli/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/cli + /usr/bin/install -d -m 0775 log/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/log/cacti/ + /usr/bin/install -d -m 0755 resource/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/resource + /usr/bin/install -d -m 0755 rra/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/rra/ + /usr/bin/install -d -m 0755 scripts/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/scripts/ + /usr/bin/install -d -m 0755 csrf/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/csrf/ + /usr/bin/mv about.php aggregate_graphs.php aggregate_templates.php auth_changepassword.php auth_login.php auth_profile.php automation_devices.php automation_graph_rules.php automation_networks.php automation_snmp.php automation_templates.php automation_tree_rules.php cactid.php cdef.php clog.php clog_user.php cmd.php cmd_realtime.php color.php color_templates.php color_templates_items.php data_debug.php data_input.php data_queries.php data_source_profiles.php data_sources.php data_templates.php gprint_presets.php graph.php graph_image.php graph_json.php graph_realtime.php graph_templates.php graph_templates_inputs.php graph_templates_items.php graph_view.php graph_xport.php graphs.php graphs_items.php graphs_new.php help.php host.php host_templates.php index.php link.php links.php logout.php managers.php package_import.php permission_denied.php plugins.php poller.php poller_automation.php poller_boost.php poller_commands.php poller_dsstats.php poller_maintenance.php poller_realtime.php poller_recovery.php poller_reports.php poller_rrdcheck.php poller_spikekill.php pollers.php remote_agent.php reports_admin.php reports_user.php rrdcheck.php rrdcleaner.php script_server.php service_check.php settings.php sites.php snmpagent_mibcache.php snmpagent_mibcachechild.php snmpagent_persist.php spikekill.php templates_export.php templates_import.php tree.php user_admin.php user_domains.php user_group_admin.php utilities.php vdef.php /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/ + /usr/bin/mv cache/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/ + /usr/bin/mv cli/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/ + /usr/bin/mv resource/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/ + /usr/bin/mv rra/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/ + /usr/bin/mv scripts/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/ + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/cacti.cron /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//etc/cron.d/cacti + /usr/bin/install -D -m 0644 /builddir/build/SOURCES/cacti-httpd.conf /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//etc/httpd/conf.d/cacti.conf + /usr/bin/install -D -m 0644 /builddir/build/SOURCES/cacti.nginx /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//etc/nginx/default.d/cacti.conf + /usr/bin/install -D -m 0644 /builddir/build/SOURCES/cacti.logrotate /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//etc/logrotate.d/cacti + /usr/bin/cp -ar formats/ images/ include/ install/ lib/ locales/ mibs/ plugins/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/cacti + /usr/bin/cp /builddir/build/SOURCES/cacti.README.fedora /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/doc/cacti + /usr/bin/cp -a docs/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/doc/cacti + /usr/bin/mv /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/include/config.php.dist /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//etc/cacti/db.php + /usr/bin/chmod +x /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/cmd.php /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/poller.php + ln -s /var/lib/cacti/cache /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/ + ln -s /var/lib/cacti/cli /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/ + ln -s /etc/cacti/db.php /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/include/config.php + ln -s /var/lib/cacti/resource /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/ + ln -s /var/lib/cacti/rra /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/ + ln -s /var/lib/cacti/scripts /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/ + ln -s /var/log/cacti/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/share/cacti/log + ln -s /usr/share/cacti/lib /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/ + ln -s /usr/share/cacti/include /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/ + touch /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/log/cacti/cacti.log + touch /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/log/cacti/cacti_stderr.log + touch /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//var/lib/cacti/csrf/csrf-secret.php + sed -i -e s,ExecStart=/var/www/html/cacti,ExecStart=/usr/share/cacti, service/cactid.service + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/lib/systemd/system + /usr/bin/cp service/cactid.service /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//usr/lib/systemd/system/cactid.service + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//etc/sysconfig + touch /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64//etc/sysconfig/cactid + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.2.28-1 --unique-debug-suffix -1.2.28-1.x86_64 --unique-debug-src-base cacti-1.2.28-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/cacti-1.2.28 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: cacti-1.2.28-1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Mks6oE + umask 022 + cd /builddir/build/BUILD + cd cacti-1.2.28 + DOCDIR=/builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/doc/cacti + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/doc/cacti + cp -pr docs/ /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/doc/cacti + cp -pr README.md /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/doc/cacti + cp -pr cacti.sql /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/doc/cacti + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BoV0gD + umask 022 + cd /builddir/build/BUILD + cd cacti-1.2.28 + LICENSEDIR=/builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/licenses/cacti + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/licenses/cacti + cp -pr LICENSE /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64/usr/share/licenses/cacti + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/cacti/cache -> /var/lib/cacti/cache warning: absolute symlink: /usr/share/cacti/cli -> /var/lib/cacti/cli warning: absolute symlink: /usr/share/cacti/include/config.php -> /etc/cacti/db.php warning: absolute symlink: /usr/share/cacti/log -> /var/log/cacti/ warning: absolute symlink: /usr/share/cacti/resource -> /var/lib/cacti/resource warning: absolute symlink: /usr/share/cacti/rra -> /var/lib/cacti/rra warning: absolute symlink: /usr/share/cacti/scripts -> /var/lib/cacti/scripts warning: absolute symlink: /var/lib/cacti/include -> /usr/share/cacti/include warning: absolute symlink: /var/lib/cacti/lib -> /usr/share/cacti/lib Provides: bundled(js-jquery) = 3.4.1 bundled(js-storage) = 1.0.4 bundled(js-tree) = 3.3.8 cacti = 1.2.28-1 config(cacti) = 1.2.28-1 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(BuiltinLuaScripts) <= 4.2.2-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh /usr/bin/env Suggests: httpd Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64 Wrote: /builddir/build/RPMS/cacti-1.2.28-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.n4D8MP + umask 022 + cd /builddir/build/BUILD + cd cacti-1.2.28 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cacti-1.2.28-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.GTeM1c + umask 022 + cd /builddir/build/BUILD + rm -rf cacti-1.2.28 cacti-1.2.28.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: absolute symlink: /usr/share/cacti/cache -> /var/lib/cacti/cache absolute symlink: /usr/share/cacti/cli -> /var/lib/cacti/cli absolute symlink: /usr/share/cacti/include/config.php -> /etc/cacti/db.php absolute symlink: /usr/share/cacti/log -> /var/log/cacti/ absolute symlink: /usr/share/cacti/resource -> /var/lib/cacti/resource absolute symlink: /usr/share/cacti/rra -> /var/lib/cacti/rra absolute symlink: /usr/share/cacti/scripts -> /var/lib/cacti/scripts absolute symlink: /var/lib/cacti/include -> /usr/share/cacti/include absolute symlink: /var/lib/cacti/lib -> /usr/share/cacti/lib Child return code was: 0