Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wvdial.spec'], chrootPath='/var/lib/mock/f30-build-36963-20992/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wvdial.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 BUILDSTDERR: warning: Macro expanded in comment on line 8: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/wvdial-1.61-20.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wvdial.spec'], chrootPath='/var/lib/mock/f30-build-36963-20992/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wvdial.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 BUILDSTDERR: warning: Macro expanded in comment on line 8: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AcaFfN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wvdial-1.61 + /usr/bin/gzip -dc /builddir/build/SOURCES/wvdial-1.61.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wvdial-1.61 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (wvdial-1.60-remotename.patch):' Patch #1 (wvdial-1.60-remotename.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remotename --fuzz=0 patching file wvdialer.h patching file wvdial.cc patching file wvdial.1 patching file wvdialer.cc Hunk #3 succeeded at 1228 (offset 1 line). + echo 'Patch #2 (wvdial-1.54-9nums.patch):' Patch #2 (wvdial-1.54-9nums.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .9nums --fuzz=0 patching file wvdial.conf.5 Hunk #1 succeeded at 80 (offset 2 lines). Hunk #2 succeeded at 92 (offset 2 lines). patching file wvdialer.cc Hunk #2 succeeded at 632 (offset 18 lines). Hunk #3 succeeded at 920 (offset 19 lines). patching file wvdialer.h Hunk #1 succeeded at 108 (offset 5 lines). Patch #3 (wvdial-1.60-compuserve.patch): + echo 'Patch #3 (wvdial-1.60-compuserve.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .compuserve --fuzz=0 patching file wvdialbrain.cc Patch #4 (wvdial-manpages.patch): + echo 'Patch #4 (wvdial-manpages.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpages --fuzz=0 patching file wvdial.conf.5 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Hf4kBo + umask 022 + cd /builddir/build/BUILD + cd wvdial-1.61 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info + make 'CPPOPTS=-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 -DUSE_LOCKDEV=1' LOCKDEV=-llockdev 'XX_LIBS=-lcrypt -llockdev' PREFIX=/usr BINDIR=/usr/bin MANDIR=/usr/share/man PPPDIR=/etc/ppp/peers BUILDSTDERR: * Generating CC BUILDSTDERR: * Generating CXX ./CXX -c wvdialer BUILDSTDERR: In file included from /usr/include/termios.h:25, BUILDSTDERR: from wvdialer.h:12, BUILDSTDERR: from wvdialer.cc:9: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from wvdialer.cc:9: BUILDSTDERR: wvdialer.h:47:32: warning: passing NULL to non-pointer argument 1 of 'WvString::WvString(long int)' [-Wconversion-null] BUILDSTDERR: WvString _remote_name = NULL ); BUILDSTDERR: ^~~~ BUILDSTDERR: wvdialer.cc: In member function 'int WvDialer::ask_password()': BUILDSTDERR: wvdialer.cc:1204:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets( tmp, 50, stdin ); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: wvdialer.cc: In member function 'void WvDialer::start_ppp()': BUILDSTDERR: wvdialer.cc:1249:9: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ::write( pppd_passwdfd[1], (const char *) options.password, options.password.len() ); BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./CXX -c wvmodemscan BUILDSTDERR: In file included from /usr/include/unistd.h:25, BUILDSTDERR: from /usr/include/wvstreams/wvxplc.h:20, BUILDSTDERR: from /usr/include/wvstreams/wvtypetraits.h:10, BUILDSTDERR: from /usr/include/wvstreams/wvlinklist.h:10, BUILDSTDERR: from wvmodemscan.h:12, BUILDSTDERR: from wvmodemscan.cc:9: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ ./CXX -c wvpapchap BUILDSTDERR: In file included from /usr/include/c++/8/riscv64-redhat-linux/bits/os_defines.h:39, BUILDSTDERR: from /usr/include/c++/8/riscv64-redhat-linux/bits/c++config.h:508, BUILDSTDERR: from /usr/include/c++/8/bits/stl_algobase.h:59, BUILDSTDERR: from /usr/include/c++/8/vector:60, BUILDSTDERR: from /usr/include/wvstreams/uniconf.h:10, BUILDSTDERR: from /usr/include/wvstreams/uniconfroot.h:10, BUILDSTDERR: from /usr/include/wvstreams/wvconfemu.h:10, BUILDSTDERR: from wvpapchap.h:12, BUILDSTDERR: from wvpapchap.cc:9: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ ./CXX -c wvdialbrain BUILDSTDERR: In file included from /usr/include/termios.h:25, BUILDSTDERR: from wvdialbrain.h:12, BUILDSTDERR: from wvdialbrain.cc:10: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from wvdialbrain.cc:11: BUILDSTDERR: wvdialer.h:47:32: warning: passing NULL to non-pointer argument 1 of 'WvString::WvString(long int)' [-Wconversion-null] BUILDSTDERR: WvString _remote_name = NULL ); BUILDSTDERR: ^~~~ ./CXX -c wvdialmon BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from wvdialmon.cc:5: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ linking wvdial.a... BUILDSTDERR: ar: creating wvdial.a ./CXX -c wvdial BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from /usr/include/wvstreams/wvstring.h:18, BUILDSTDERR: from /usr/include/wvstreams/wvargs.h:9, BUILDSTDERR: from wvdial.cc:10: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from wvdial.cc:11: BUILDSTDERR: wvdialer.h:47:32: warning: passing NULL to non-pointer argument 1 of 'WvString::WvString(long int)' [-Wconversion-null] BUILDSTDERR: WvString _remote_name = NULL ); BUILDSTDERR: ^~~~ BUILDSTDERR: wvdial.cc: In function 'int main(int, char**)': BUILDSTDERR: wvdial.cc:96:29: warning: passing NULL to non-pointer argument 1 of 'WvString::WvString(long int)' [-Wconversion-null] BUILDSTDERR: WvString remote_name = NULL; BUILDSTDERR: ^~~~ linking wvdial... BUILDSTDERR: /usr/bin/ld: wvdial.o: in function `.L0 ': BUILDSTDERR: /usr/include/c++/8/tr1/functional:1747: undefined reference to `WvConfEmu::load_file(WvFastString const&)' BUILDSTDERR: /usr/bin/ld: wvdial.o: in function `main': BUILDSTDERR: /builddir/build/BUILD/wvdial-1.61/wvdial.cc:90: undefined reference to `WvConfEmu::WvConfEmu(UniConf const&)' BUILDSTDERR: /usr/bin/ld: wvdial.o: in function `strchr': BUILDSTDERR: /usr/include/string.h:220: undefined reference to `WvConfEmu::set(WvFastString const&, WvFastString const&, char const*)' BUILDSTDERR: /usr/bin/ld: wvdial.o: in function `main': BUILDSTDERR: /builddir/build/BUILD/wvdial-1.61/wvdial.cc:150: undefined reference to `WvConfEmu::isok() const' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/wvdial-1.61/wvdial.cc:216: undefined reference to `WvConfEmu::~WvConfEmu()' BUILDSTDERR: /usr/bin/ld: wvdial.o: in function `.L0 ': BUILDSTDERR: /usr/include/wvstreams/wvlink.h:54: undefined reference to `WvConfEmu::load_file(WvFastString const&)' BUILDSTDERR: /usr/bin/ld: wvdial.o: in function `.L415': BUILDSTDERR: /usr/include/wvstreams/wvlinklist.h:332: undefined reference to `WvConfEmu::load_file(WvFastString const&)' BUILDSTDERR: /usr/bin/ld: wvdial.o: in function `main': BUILDSTDERR: /usr/include/wvstreams/wvstring.h:378: undefined reference to `WvConfEmu::~WvConfEmu()' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `WvDialer::load_options()': BUILDSTDERR: /builddir/build/BUILD/wvdial-1.61/wvdialer.cc:699: undefined reference to `WvConfEmu::get(WvFastString const&, WvFastString const&, char const*)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/wvdial-1.61/wvdialer.cc:681: undefined reference to `WvConfEmu::fuzzy_get(WvStringList&, WvFastString const&, char const*)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/wvdial-1.61/wvdialer.cc:699: undefined reference to `WvConfEmu::getint(WvFastString const&, WvFastString const&, int)' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `.LVL500': BUILDSTDERR: /usr/include/wvstreams/wvstring.h:388: undefined reference to `WvConfEmu::fuzzy_getint(WvStringList&, WvFastString const&, int)' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `WvDialer::load_options()': BUILDSTDERR: /builddir/build/BUILD/wvdial-1.61/wvdialer.cc:691: undefined reference to `WvConfEmu::get(WvFastString const&, WvFastString const&, char const*)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/wvdial-1.61/wvdialer.cc:691: undefined reference to `WvConfEmu::fuzzy_get(WvStringList&, WvFastString const&, char const*)' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `.LVL2112': BUILDSTDERR: /usr/include/wvstreams/wvstring.h:213: undefined reference to `WvConfEmu::operator[](WvFastString const&)' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `.L0 ': BUILDSTDERR: /usr/include/wvstreams/wvlog.h:130: undefined reference to `WvConfEmu::Iter::rewind()' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `.LVL2147': BUILDSTDERR: /usr/include/wvstreams/wvstring.h:329: undefined reference to `WvConfEmu::Iter::ptr() const' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `.LVL2151': /usr/include/wvstreams/wvstring.h:329: undefined RPM build errors: BUILDSTDERR: reference to `WvConfigSectionEmu::operator[](WvFastString const&)' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `WvDialer::async_dial()': BUILDSTDERR: /builddir/build/BUILD/wvdial-1.61/wvdialer.cc:1069: undefined reference to `WvConfEmu::Iter::next()' BUILDSTDERR: /usr/bin/ld: wvdial.a(wvdialer.o): in function `.L1879': BUILDSTDERR: /builddir/build/BUILD/wvdial-1.61/wvdialer.cc:1147: undefined reference to `WvConfEmu::operator[](WvFastString const&)' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make: *** [wvrules.mk:155: wvdial] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Hf4kBo (%build) BUILDSTDERR: Macro expanded in comment on line 8: %{version}.tar.gz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Hf4kBo (%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/wvdial.spec