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/kabi-dw.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41862-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/kabi-dw.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/kabi-dw-0-3.20190729gitbd56a60.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/kabi-dw.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41862-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/kabi-dw.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.Xh3SWv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kabi-dw-bd56a6004d5d409d7d03c386400da3f49a8c4c03 + /usr/bin/gzip -dc /builddir/build/SOURCES/kabi-dw-bd56a6004d5d409d7d03c386400da3f49a8c4c03.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kabi-dw-bd56a6004d5d409d7d03c386400da3f49a8c4c03 + /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.8lhPl5 + umask 022 + cd /builddir/build/BUILD + cd kabi-dw-bd56a6004d5d409d7d03c386400da3f49a8c4c03 + LDFLAGS+=' -z muldefs ' + /usr/bin/make -O -j32 V=1 VERBOSE=1 cc -Wall --std=gnu99 -D_GNU_SOURCE -c -MM generate.c ksymtab.c utils.c main.c stack.c objects.c hash.c list.c compare.c show.c > ./.depend cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 main.c -o main.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 show.c -o show.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 stack.c -o stack.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 list.c -o list.o bison -d -t parser.y flex -o parser.yy.c parser.l cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 ksymtab.c -o ksymtab.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 utils.c -o utils.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 hash.c -o hash.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 compare.c -o compare.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 parser.tab.c -o parser.tab.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 parser.yy.c -o parser.yy.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 objects.c -o objects.o cc -Wall --std=gnu99 -D_GNU_SOURCE -c -O2 generate.c -o generate.o cc -o kabi-dw generate.o ksymtab.o utils.o main.o stack.o objects.o hash.o list.o compare.o show.o parser.yy.o parser.tab.o -ldw -lelf /usr/bin/ld: parser.tab.o:(.bss+0x18): multiple definition of `yyin'; parser.yy.o:(.bss+0x18): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:72: kabi-dw] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.8lhPl5 (%build) Bad exit status from /var/tmp/rpm-tmp.8lhPl5 (%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/kabi-dw.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/kabi-dw.spec