Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/chkconfig.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-544328-86672/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/chkconfig-1.30-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/chkconfig.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-544328-86672/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GLjJmX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chkconfig-1.30 + /usr/bin/gzip -dc /builddir/build/SOURCES/chkconfig-1.30.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd chkconfig-1.30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ImIPWC + umask 022 + cd /builddir/build/BUILD + cd chkconfig-1.30 + /usr/bin/make -O -j80 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' for d in po; do \ (cd $d; /usr/bin/make) \ || case "-j80 -Otarget --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac;\ done && test -z "$fail" make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ar.mo ar.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o as.mo as.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o bal.mo bal.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o be.mo be.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o bg.mo bg.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o bn.mo bn.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o bn_IN.mo bn_IN.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o bs.mo bs.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ca.mo ca.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o cs.mo cs.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o cy.mo cy.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o da.mo da.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o de.mo de.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o el.mo el.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o en_GB.mo en_GB.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o es.mo es.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o et.mo et.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o eu.mo eu.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o fa.mo fa.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o fi.mo fi.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o fr.mo fr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o fur.mo fur.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o gl.mo gl.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o gu.mo gu.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o hi.mo hi.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o hr.mo hr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o hu.mo hu.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ia.mo ia.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o id.mo id.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o is.mo is.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o it.mo it.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ja.mo ja.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ka.mo ka.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o km.mo km.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o kn.mo kn.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ko.mo ko.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o lv.mo lv.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o mai.mo mai.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o mk.mo mk.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ml.mo ml.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o mr.mo mr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ms.mo ms.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o nb.mo nb.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o nds.mo nds.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o nl.mo nl.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o nn.mo nn.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o or.mo or.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o pa.mo pa.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o pl.mo pl.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o pt.mo pt.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o pt_BR.mo pt_BR.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ru.mo ru.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o si.mo si.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o sk.mo sk.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o sl.mo sl.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o sq.mo sq.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o sr.mo sr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o sr@latin.mo sr@latin.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o sv.mo sv.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ta.mo ta.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o te.mo te.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o tg.mo tg.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o th.mo th.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o tr.mo tr.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o uk.mo uk.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o ur.mo ur.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o vi.mo vi.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o zh_CN.mo zh_CN.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' make[1]: Entering directory '/builddir/build/BUILD/chkconfig-1.30/po' msgfmt -o zh_TW.mo zh_TW.po make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' cc -g -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DVERSION=\"1.30\" -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] asprintf(&cmd, "/usr/bin/systemctl %s %s >/dev/null 2>&1", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ en ? "enable" : "disable", services[i].name); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntsysv.c:170:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ cc -g -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DVERSION=\"1.30\" -c chkconfig.c chkconfig.c: In function 'setService': chkconfig.c:672:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] 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] system("systemctl daemon-reload > /dev/null 2>&1"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chkconfig.c: In function 'forwardSystemd': chkconfig.c:691:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&p, "%s.service", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chkconfig.c:693:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&p, "%s.socket", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -c -o leveldb.o leveldb.c leveldb.c: In function 'readServiceInfo': leveldb.c:396:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&filename, RUNLEVELS "/init.d/%s", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:406:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&filename, RUNLEVELS "/chkconfig.d/%s", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'readServiceDifferences': leveldb.c:457:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&filename, RUNLEVELS "/init.d/%s", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:469:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&filename, RUNLEVELS "/chkconfig.d/%s", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'setXinetdService': leveldb.c:919:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(newfd, tmp, strlen(tmp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:920:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(newfd, "\n", 1); ^~~~~~~~~~~~~~~~~~~~~ leveldb.c:923:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(newfd, tmpstr, strlen(tmpstr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:924:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(newfd, "\n", 1); ^~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'isOverriddenBySystemd': leveldb.c:993:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&p, SYSTEMD_SERVICE_PATH "/%s.service", service); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:1000:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&p, SYSTEMD_LOCAL_SERVICE_PATH "/%s.service", service); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'isSocketActivatedBySystemd': leveldb.c:1014:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&p, SYSTEMD_SERVICE_PATH "/%s@.service", service); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:1015:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&s, SYSTEMD_SERVICE_PATH "/%s.socket", service); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:1024:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&p, SYSTEMD_LOCAL_SERVICE_PATH "/%s@.service", service); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c:1025:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&s, SYSTEMD_LOCAL_SERVICE_PATH "/%s.socket", service); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leveldb.c: In function 'serviceNameToUnit': leveldb.c:1192:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&ret, "%s.service", service); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o chkconfig chkconfig.o leveldb.o -lpopt -lselinux -lsepol cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ntsysv ntsysv.o leveldb.o -lnewt -lpopt -lselinux -lsepol cc -g -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DVERSION=\"1.30\" -c alternatives.c alternatives.c: In function 'writeState': alternatives.c:756:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&path, "/bin/systemctl -q is-enabled %s.service || " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "/bin/systemctl -q preset %s.service", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alt->initscript, alt->initscript); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alternatives.c:761:17: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(path); ^~~~~~~~~~~~ alternatives.c:764:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&path, "/sbin/chkconfig --add %s", alt->initscript); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alternatives.c:767:17: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(path); ^~~~~~~~~~~~ alternatives.c:775:21: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&path, "/bin/systemctl -q disable %s.service", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmpalt->initscript); ~~~~~~~~~~~~~~~~~~~ alternatives.c:779:21: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(path); ^~~~~~~~~~~~ alternatives.c:782:21: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&path, "/sbin/chkconfig --del %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmpalt->initscript); ~~~~~~~~~~~~~~~~~~~ alternatives.c:786:21: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(path); ^~~~~~~~~~~~ alternatives.c: In function 'makeLinks': alternatives.c:636:13: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result] readlink(l->facility, buf, sizeof(buf)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alternatives.c:654:9: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result] readlink(sl, buf, sizeof(buf)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alternatives.c: In function 'configService': alternatives.c:1123:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&nicer, "%s (%s)", set.alts[i].family, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ set.alts[i].leader.target); ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld alternatives.o -o alternatives + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RgQX9L + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64 ++ dirname /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64 + cd chkconfig-1.30 + rm -rf /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64 'INSTALL=/usr/bin/install -p' MANDIR=/usr/share/man SBINDIR=/usr/sbin [ -d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/sbin ] || mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/sbin [ -d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/share/man ] || mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/share/man [ -d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/share/man/man8 ] || mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/share/man/man8 [ -d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//etc/alternatives ] || mkdir -p -m 755 /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//etc/alternatives [ -d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/lib/systemd ] || mkdir -p -m 755 /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/lib/systemd install -m 755 chkconfig /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/sbin/chkconfig ln -s ../../../usr/sbin/chkconfig /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/lib/systemd/systemd-sysv-install install -m 755 ntsysv /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/sbin/ntsysv install -m 755 alternatives /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/sbin/alternatives ln -s alternatives /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/sbin/update-alternatives for i in chkconfig.8 ntsysv.8 alternatives.8; do \ install -m 644 $i /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//usr/share/man/man`echo $i | sed "s/.*\.//"`/$i ; \ done ln -s alternatives.8 /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64//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.30/po' mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/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.30-1.an8.x86_64/usr/share/locale/$l; \ /usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/usr/share/locale/$l/LC_MESSAGES; \ if [ -f $n ]; then \ /usr/bin/install -p -m 644 $n /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/usr/share/locale/$l/LC_MESSAGES/chkconfig.mo; \ fi \ done make[1]: Leaving directory '/builddir/build/BUILD/chkconfig-1.30/po' + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc.d/init.d + ln -s rc.d/init.d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/init.d + for n in 0 1 2 3 4 5 6 + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc.d/rc0.d + ln -s rc.d/rc0.d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc0.d + for n in 0 1 2 3 4 5 6 + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc.d/rc1.d + ln -s rc.d/rc1.d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc1.d + for n in 0 1 2 3 4 5 6 + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc.d/rc2.d + ln -s rc.d/rc2.d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc2.d + for n in 0 1 2 3 4 5 6 + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc.d/rc3.d + ln -s rc.d/rc3.d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc3.d + for n in 0 1 2 3 4 5 6 + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc.d/rc4.d + ln -s rc.d/rc4.d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc4.d + for n in 0 1 2 3 4 5 6 + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc.d/rc5.d + ln -s rc.d/rc5.d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc5.d + for n in 0 1 2 3 4 5 6 + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc.d/rc6.d + ln -s rc.d/rc6.d /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/rc6.d + mkdir -p /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64/etc/chkconfig.d + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/chkconfig-1.30-1.an8.x86_64 chkconfig + %generate_compatibility_deps /var/tmp/rpm-tmp.RgQX9L: line 53: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.RgQX9L (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RgQX9L (%install) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/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 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/chkconfig.spec'