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 x86_64 --nodeps /builddir/build/SPECS/dos2unix.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41043-14591/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 x86_64 --nodeps /builddir/build/SPECS/dos2unix.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/dos2unix-7.4.2-3.oc9.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/dos2unix.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41043-14591/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 x86_64 --nodeps /builddir/build/SPECS/dos2unix.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.FWyME5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dos2unix-7.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/dos2unix-7.4.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dos2unix-7.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F53vrx + umask 022 + cd /builddir/build/BUILD + cd dos2unix-7.4.2 + /usr/bin/make -O -j32 V=1 VERBOSE=1 'LDFLAGS=%{build_ldflags}' msgfmt -c po/da.po -o po/da.mo msgfmt -c po/de.po -o po/de.mo msgfmt -c po/eo.po -o po/eo.mo msgfmt -c po/fr.po -o po/fr.mo msgfmt -c po/fur.po -o po/fur.mo msgfmt -c po/nb.po -o po/nb.mo msgfmt -c po/es.po -o po/es.mo msgfmt -c po/ja.po -o po/ja.mo msgfmt -c po/hu.po -o po/hu.mo msgfmt -c po/nl.po -o po/nl.mo msgfmt -c po/pt_BR.po -o po/pt_BR.mo msgfmt -c po/sv.po -o po/sv.mo msgfmt -c po/sr.po -o po/sr.mo msgfmt -c po/pl.po -o po/pl.mo msgfmt -c po/ru.po -o po/ru.mo msgfmt -c po/zh_TW.po -o po/zh_TW.mo msgfmt -c po/vi.po -o po/vi.mo msgfmt -c po/zh_CN.po -o po/zh_CN.mo msgfmt -c po/uk.po -o po/uk.mo cc -DVER_REVISION=\"7.4.2\" -DVER_DATE=\"2020-10-12\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -O2 -Wall -Wextra -Wconversion -O2 -g -c querycp.c -o querycp.o cc -DVER_REVISION=\"7.4.2\" -DVER_DATE=\"2020-10-12\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -O2 -Wall -Wextra -Wconversion -O2 -g -c dos2unix.c -o dos2unix.o cc -DVER_REVISION=\"7.4.2\" -DVER_DATE=\"2020-10-12\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -O2 -Wall -Wextra -Wconversion -O2 -g -c unix2dos.c -o unix2dos.o cc -DVER_REVISION=\"7.4.2\" -DVER_DATE=\"2020-10-12\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -O2 -Wall -Wextra -Wconversion -O2 -g -c common.c -o common.o In function 'd2u_strncpy', inlined from 'print_bom' at common.c:1256:7: common.c:64:5: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 64 | strncpy(dest,src,dest_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'd2u_strncpy', inlined from 'print_bom' at common.c:1259:7: common.c:64:5: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 64 | strncpy(dest,src,dest_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'd2u_strncpy', inlined from 'print_bom' at common.c:1250:7: common.c:64:5: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 64 | strncpy(dest,src,dest_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'd2u_strncpy', inlined from 'print_bom' at common.c:1253:7: common.c:64:5: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 64 | strncpy(dest,src,dest_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc dos2unix.o querycp.o common.o %{build_ldflags} -o dos2unix /usr/bin/ld: cannot find %{build_ldflags}: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:393: dos2unix] Error 1 make: *** Waiting for unfinished jobs.... cc unix2dos.o querycp.o common.o %{build_ldflags} -o unix2dos /usr/bin/ld: cannot find %{build_ldflags}: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:396: unix2dos] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.F53vrx (%build) Bad exit status from /var/tmp/rpm-tmp.F53vrx (%build) RPM build errors: 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/dos2unix.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 x86_64 --nodeps /builddir/build/SPECS/dos2unix.spec