Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pyhunspell.spec'], chrootPath='/var/lib/mock/f30-build-36314-20479/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pyhunspell.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/pyhunspell-0.5.4-5.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pyhunspell.spec'], chrootPath='/var/lib/mock/f30-build-36314-20479/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pyhunspell.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZV6ELc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyhunspell-0.5.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyhunspell-0.5.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyhunspell-0.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pyhunspell-0.5.0-hunspell15.patch):' Patch #0 (pyhunspell-0.5.0-hunspell15.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hunspell13 --fuzz=0 patching file setup.py + rm -rf /builddir/build/BUILD/python3-pyhunspell-0.5.4-5.fc30 + cp -a . /builddir/build/BUILD/python3-pyhunspell-0.5.4-5.fc30 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oqJctl + umask 022 + cd /builddir/build/BUILD + cd pyhunspell-0.5.4 + sleep 1 + CFLAGS='-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' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_ext building 'hunspell' extension creating build creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -fPIC -D_LINUX -I/usr/include/hunspell -I/usr/include/python2.7 -c hunspell.cpp -o build/temp.linux-riscv64-2.7/hunspell.o -Wall BUILDSTDERR: hunspell.cpp: In function 'PyObject* HunSpell_spell(HunSpell*, PyObject*)': BUILDSTDERR: hunspell.cpp:145:40: warning: 'int Hunspell::spell(const char*, int*, char**)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: retvalue = self->handle->spell(word); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:131:20: note: declared here BUILDSTDERR: H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL); BUILDSTDERR: ^~~~~ BUILDSTDERR: hunspell.cpp: In function 'PyObject* HunSpell_suggest(HunSpell*, PyObject*)': BUILDSTDERR: hunspell.cpp:166:51: warning: 'int Hunspell::suggest(char***, const char*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: num_slist = self->handle->suggest(&slist, word); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:141:20: note: declared here BUILDSTDERR: H_DEPRECATED int suggest(char*** slst, const char* word); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: hunspell.cpp:183:46: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: self->handle->free_list(&slist, num_slist); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:155:21: note: declared here BUILDSTDERR: H_DEPRECATED void free_list(char*** slst, int n); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: hunspell.cpp: In function 'PyObject* HunSpell_analyze(HunSpell*, PyObject*)': BUILDSTDERR: hunspell.cpp:201:51: warning: 'int Hunspell::analyze(char***, const char*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: num_slist = self->handle->analyze(&slist, word); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:164:20: note: declared here BUILDSTDERR: H_DEPRECATED int analyze(char*** slst, const char* word); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: hunspell.cpp:212:46: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: self->handle->free_list(&slist, num_slist); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:155:21: note: declared here BUILDSTDERR: H_DEPRECATED void free_list(char*** slst, int n); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: hunspell.cpp: In function 'PyObject* HunSpell_stem(HunSpell*, PyObject*)': BUILDSTDERR: hunspell.cpp:230:48: warning: 'int Hunspell::stem(char***, const char*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: num_slist = self->handle->stem(&slist, word); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:168:20: note: declared here BUILDSTDERR: H_DEPRECATED int stem(char*** slst, const char* word); BUILDSTDERR: ^~~~ BUILDSTDERR: hunspell.cpp:241:46: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: self->handle->free_list(&slist, num_slist); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:155:21: note: declared here BUILDSTDERR: H_DEPRECATED void free_list(char*** slst, int n); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: hunspell.cpp: In function 'PyObject* HunSpell_generate(HunSpell*, PyObject*)': BUILDSTDERR: hunspell.cpp:259:60: warning: 'int Hunspell::generate(char***, const char*, const char*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: num_slist = self->handle->generate(&slist, word1, word2); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:181:20: note: declared here BUILDSTDERR: H_DEPRECATED int generate(char*** slst, const char* word, const char* word2); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: hunspell.cpp:271:46: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: self->handle->free_list(&slist, num_slist); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:155:21: note: declared here BUILDSTDERR: H_DEPRECATED void free_list(char*** slst, int n); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: hunspell.cpp: In function 'PyObject* HunSpell_generate2(HunSpell*, PyObject*)': BUILDSTDERR: hunspell.cpp:290:63: warning: 'int Hunspell::generate(char***, const char*, char**, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: num_slist = self->handle->generate(&slist, word1, &desc, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:191:20: note: declared here BUILDSTDERR: H_DEPRECATED int generate(char*** slst, const char* word, char** desc, int n); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: hunspell.cpp:302:46: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: self->handle->free_list(&slist, num_slist); BUILDSTDERR: ^ BUILDSTDERR: In file included from hunspell.cpp:20: BUILDSTDERR: /usr/include/hunspell/hunspell.hxx:155:21: note: declared here BUILDSTDERR: H_DEPRECATED void free_list(char*** slst, int n); BUILDSTDERR: ^~~~~~~~~ creating build/lib.linux-riscv64-2.7 g++ -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 build/temp.linux-riscv64-2.7/hunspell.o -L/usr/lib64 -lhunspell-1.7 -lpython2.7 -o build/lib.linux-riscv64-2.7/hunspell.so BUILDSTDERR: /usr/bin/ld: cannot find -lhunspell-1.7 BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: error: command 'g++' failed with exit status 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.oqJctl (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.oqJctl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/pyhunspell.spec