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 aarch64 --nodeps /builddir/build/SPECS/chkconfig.spec'], chrootPath='/var/lib/mock/dist-oc9-build-66888-17344/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/chkconfig.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/chkconfig-1.25-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/chkconfig.spec'], chrootPath='/var/lib/mock/dist-oc9-build-66888-17344/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/chkconfig.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eTiXFJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chkconfig-1.25 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/1.25.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd chkconfig-1.25 + /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.Te5jBy + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 chkconfig-1.25 + /usr/bin/make -O -j8 V=1 VERBOSE=1 for d in po; do \ (cd $d; /usr/bin/make) \ || case "-j8 -Otarget --jobserver-auth=fifo:/tmp/GMfifo4044315 --sync-mutex=fnm:/tmp/GmnCpAiw" in *k*) fail=yes;; *) exit 1;; esac;\ done && test -z "$fail" make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ar.mo ar.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o as.mo as.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o bal.mo bal.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o be.mo be.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o bg.mo bg.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o bn.mo bn.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o bn_IN.mo bn_IN.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o bs.mo bs.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ca.mo ca.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o cs.mo cs.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o cy.mo cy.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o da.mo da.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o de.mo de.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o el.mo el.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o en_GB.mo en_GB.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o es.mo es.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o et.mo et.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o eu.mo eu.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o fa.mo fa.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o fi.mo fi.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o fr.mo fr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o fur.mo fur.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o gl.mo gl.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o gu.mo gu.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o hi.mo hi.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o hr.mo hr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o hu.mo hu.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ia.mo ia.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o id.mo id.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o is.mo is.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' gcc -g -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -DVERSION=\"1.25\" -c ntsysv.c ntsysv.c: In function 'servicesWindow': ntsysv.c:166:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | asprintf(&cmd, "/usr/bin/systemctl %s %s >/dev/null 2>&1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 | en ? "enable" : "disable", services[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntsysv.c:170:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 170 | system(cmd); | ^~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o it.mo it.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ja.mo ja.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ka.mo ka.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o km.mo km.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o kn.mo kn.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ko.mo ko.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o lv.mo lv.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o mai.mo mai.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' gcc -g -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -DVERSION=\"1.25\" -c chkconfig.c chkconfig.c: In function 'setService': chkconfig.c:654:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 654 | system("/sbin/service xinetd reload >/dev/null 2>&1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chkconfig.c: In function 'reloadSystemd': chkconfig.c:106:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | system("systemctl daemon-reload > /dev/null 2>&1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chkconfig.c: In function 'forwardSystemd': chkconfig.c:673:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 673 | asprintf(&p, "%s.service", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chkconfig.c:675:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 675 | asprintf(&p, "%s.socket", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o mk.mo mk.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ml.mo ml.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o mr.mo mr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ms.mo ms.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o nb.mo nb.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o nds.mo nds.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o nl.mo nl.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o nn.mo nn.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o or.mo or.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o pa.mo pa.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o pl.mo pl.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o pt.mo pt.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o pt_BR.mo pt_BR.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ru.mo ru.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o si.mo si.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o sk.mo sk.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o sl.mo sl.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o sq.mo sq.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o sr.mo sr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o sr@latin.mo sr@latin.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o sv.mo sv.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ta.mo ta.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o te.mo te.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' gcc -g -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -c -o leveldb.o leveldb.c leveldb.c: In function 'selinux_restore': leveldb.c:47:5: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations] 47 | security_context_t newcon = NULL; | ^~~~~~~~~~~~~~~~~~ leveldb.c: In function 'readXinetdServiceInfo': leveldb.c:226:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | asprintf(&filename, XINETDDIR "/%s", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'readServiceInfo': leveldb.c:367:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | asprintf(&filename, RUNLEVELS "/init.d/%s", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:377:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 377 | asprintf(&filename, RUNLEVELS "/chkconfig.d/%s", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'readServiceDifferences': leveldb.c:428:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 428 | asprintf(&filename, RUNLEVELS "/init.d/%s", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:440:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 440 | asprintf(&filename, RUNLEVELS "/chkconfig.d/%s", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'setXinetdService': leveldb.c:887:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 887 | write(newfd, tmp, strlen(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:888:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 888 | write(newfd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~ leveldb.c:891:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 891 | write(newfd, tmpstr, strlen(tmpstr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:892:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 892 | write(newfd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'isOverriddenBySystemd': leveldb.c:966:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 966 | asprintf(&p, SYSTEMD_SERVICE_PATH "/%s.service", service); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:973:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 973 | asprintf(&p, SYSTEMD_LOCAL_SERVICE_PATH "/%s.service", service); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'isSocketActivatedBySystemd': leveldb.c:987:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 987 | asprintf(&p, SYSTEMD_SERVICE_PATH "/%s@.service", service); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:988:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 988 | asprintf(&s, SYSTEMD_SERVICE_PATH "/%s.socket", service); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:997:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 997 | asprintf(&p, SYSTEMD_LOCAL_SERVICE_PATH "/%s@.service", service); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:998:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 998 | asprintf(&s, SYSTEMD_LOCAL_SERVICE_PATH "/%s.socket", service); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'serviceNameToUnit': leveldb.c:1164:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1164 | asprintf(&ret, "%s.service", service); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o tg.mo tg.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o th.mo th.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o tr.mo tr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o uk.mo uk.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o ur.mo ur.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o vi.mo vi.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o zh_CN.mo zh_CN.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' msgfmt -o zh_TW.mo zh_TW.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' gcc -g -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -DVERSION=\"1.25\" -c alternatives.c alternatives.c: In function 'readConfig': alternatives.c:290:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | path = normalize_path(path); | ^ alternatives.c: In function 'writeState': alternatives.c:679:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 679 | asprintf(&path, "/bin/systemctl -q is-enabled %s.service || " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 680 | "/bin/systemctl -q preset %s.service", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | alt->initscript, alt->initscript); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alternatives.c:684:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 684 | system(path); | ^~~~~~~~~~~~ alternatives.c:687:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 687 | asprintf(&path, "/sbin/chkconfig --add %s", alt->initscript); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alternatives.c:690:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 690 | system(path); | ^~~~~~~~~~~~ alternatives.c:698:21: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 698 | asprintf(&path, "/bin/systemctl -q disable %s.service", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 699 | tmpalt->initscript); | ~~~~~~~~~~~~~~~~~~~ alternatives.c:702:21: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 702 | system(path); | ^~~~~~~~~~~~ alternatives.c:705:21: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 705 | asprintf(&path, "/sbin/chkconfig --del %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 706 | tmpalt->initscript); | ~~~~~~~~~~~~~~~~~~~ alternatives.c:709:21: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 709 | system(path); | ^~~~~~~~~~~~ alternatives.c: In function 'makeLinks': alternatives.c:559:13: warning: ignoring return value of 'readlink' declared with attribute 'warn_unused_result' [-Wunused-result] 559 | readlink(l->facility, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alternatives.c:577:9: warning: ignoring return value of 'readlink' declared with attribute 'warn_unused_result' [-Wunused-result] 577 | readlink(sl, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alternatives.c: In function 'configService': alternatives.c:1045:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1045 | asprintf(&nicer, "%s (%s)", set.alts[i].family, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1046 | set.alts[i].leader.target); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'streq', inlined from 'streq' at alternatives.c:127:5, inlined from 'removeFollower' at alternatives.c:861:13, inlined from 'main' at alternatives.c:1407:16: alternatives.c:129:16: warning: 'followerTitle' may be used uninitialized [-Wmaybe-uninitialized] 129 | return strcmp(a, b) ? 0 : 1; | ^~~~~~~~~~~~ alternatives.c: In function 'main': alternatives.c:1256:28: note: 'followerTitle' was declared here 1256 | char *title, *target, *followerTitle; | ^~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -g alternatives.o -o alternatives gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -g -o ntsysv ntsysv.o leveldb.o -lnewt -lpopt -lselinux -lsepol gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -g -o chkconfig chkconfig.o leveldb.o -lpopt -lselinux -lsepol + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o2mp00 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64 + cd chkconfig-1.25 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64 'INSTALL=/usr/bin/install -p' MANDIR=/usr/share/man [ -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//sbin ] || mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//sbin [ -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/sbin ] || mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/sbin [ -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/share/man ] || mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/share/man [ -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/share/man/man8 ] || mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/share/man/man8 [ -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//var/lib/alternatives ] || mkdir -p -m 755 /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//var/lib/alternatives [ -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//etc/alternatives ] || mkdir -p -m 755 /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//etc/alternatives [ -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/lib/systemd ] || mkdir -p -m 755 /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/lib/systemd install -m 755 chkconfig /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/sbin/chkconfig ln -s ../../../usr/sbin/chkconfig /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/lib/systemd/systemd-sysv-install install -m 755 ntsysv /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/sbin/ntsysv install -m 755 alternatives /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/sbin/alternatives ln -s alternatives /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/sbin/update-alternatives for i in chkconfig.8 ntsysv.8 alternatives.8; do \ install -m 644 $i /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/share/man/man`echo $i | sed "s/.*\.//"`/$i ; \ done ln -s alternatives.8 /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64//usr/share/man/man8/update-alternatives.8 for d in po; do \ (cd $d; /usr/bin/make install) \ || case "" in *k*) fail=yes;; *) exit 1;; esac;\ done && test -z "$fail" make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.25/po' mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/usr/share/locale for n in ar.mo as.mo bal.mo be.mo bg.mo bn.mo bn_IN.mo bs.mo ca.mo cs.mo cy.mo da.mo de.mo el.mo en_GB.mo es.mo et.mo eu.mo fa.mo fi.mo fr.mo fur.mo gl.mo gu.mo hi.mo hr.mo hu.mo ia.mo id.mo is.mo it.mo ja.mo ka.mo km.mo kn.mo ko.mo lv.mo mai.mo mk.mo ml.mo mr.mo ms.mo nb.mo nds.mo nl.mo nn.mo or.mo pa.mo pl.mo pt.mo pt_BR.mo ru.mo si.mo sk.mo sl.mo sq.mo sr.mo sr@latin.mo sv.mo ta.mo te.mo tg.mo th.mo tr.mo uk.mo ur.mo vi.mo zh_CN.mo zh_TW.mo; do \ l=`basename $n .mo`; \ /usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/usr/share/locale/$l; \ /usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/usr/share/locale/$l/LC_MESSAGES; \ if [ -f $n ]; then \ /usr/bin/install -p -m 644 $n /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/usr/share/locale/$l/LC_MESSAGES/chkconfig.mo; \ fi \ done make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.25/po' + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc.d/init.d + ln -s rc.d/init.d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/init.d + for NUM in {0..6} + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc.d/rc0.d + ln -s rc.d/rc0.d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc0.d + for NUM in {0..6} + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc.d/rc1.d + ln -s rc.d/rc1.d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc1.d + for NUM in {0..6} + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc.d/rc2.d + ln -s rc.d/rc2.d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc2.d + for NUM in {0..6} + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc.d/rc3.d + ln -s rc.d/rc3.d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc3.d + for NUM in {0..6} + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc.d/rc4.d + ln -s rc.d/rc4.d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc4.d + for NUM in {0..6} + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc.d/rc5.d + ln -s rc.d/rc5.d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc5.d + for NUM in {0..6} + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc.d/rc6.d + ln -s rc.d/rc6.d /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/rc6.d + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/etc/chkconfig.d + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.25-2.oc9 --unique-debug-suffix -1.25-2.oc9.aarch64 --unique-debug-src-base chkconfig-1.25-2.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/chkconfig-1.25 extracting debug info from /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/usr/sbin/chkconfig extracting debug info from /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/usr/sbin/alternatives extracting debug info from /builddir/build/BUILDROOT/chkconfig-1.25-2.oc9.aarch64/usr/sbin/ntsysv 239 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: chkconfig-1.25-2.oc9.aarch64 RPM build errors: error: Could not open %files file /builddir/build/BUILD/chkconfig-1.25/chkconfig.lang: No such file or directory Could not open %files file /builddir/build/BUILD/chkconfig-1.25/chkconfig.lang: No such file or directory Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/chkconfig.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 aarch64 --nodeps --nocheck /builddir/build/SPECS/chkconfig.spec