iscv64 Wrote: /builddir/build/SRPMS/MAKEDEV-3.24-22.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/MAKEDEV.spec'], chrootPath='/var/lib/mock/f29-build-32337-17004/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/MAKEDEV.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N6GFoV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf MAKEDEV-3.24 + /usr/bin/gzip -dc /builddir/build/SOURCES/MAKEDEV-3.24-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd MAKEDEV-3.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LXH0xb + umask 022 + cd /builddir/build/BUILD + cd MAKEDEV-3.24 + make 'OPTFLAGS=-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 -fasynchronous-unwind-tables -fstack-clash-protection' SELINUX=1 cc -o MAKEDEV -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 -fasynchronous-unwind-tables -fstack-clash-protection -DCFGDIR=\"/etc/makedev.d\" -DDEVDIR=\"/dev\" -DVERSION=\"3.24\" -DMAKEDEV_SELINUX MAKEDEV.c -lselinux BUILDSTDERR: MAKEDEV.c: In function 'makenodes': BUILDSTDERR: MAKEDEV.c:345:10: warning: implicit declaration of function 'makedev'; did you mean 'makenodes'? [-Wimplicit-function-declaration] BUILDSTDERR: dev = makedev(entry->major, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: makenodes BUILDSTDERR: In file included from MAKEDEV.c:38: BUILDSTDERR: At top level: BUILDSTDERR: sel.h:194:1: warning: 'secontextset' defined but not used [-Wunused-function] BUILDSTDERR: secontextset(const char *program, char *context) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/bin/ld: /tmp/ccgN5Tze.o: in function `makenodes': BUILDSTDERR: /builddir/build/BUILD/MAKEDEV-3.24/MAKEDEV.c:238: undefined reference to `makedev' BUILDSTDERR: /usr/bin/ld: /tmp/ccgN5Tze.o: in function `makedevices': BUILDSTDERR: /builddir/build/BUILD/MAKEDEV-3.24/MAKEDEV.c:620: undefined reference to `makedev' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make: *** [Makefile:58: MAKEDEV] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.LXH0xb (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.LXH0xb (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/MAKEDEV.spec