Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam_url.spec'], chrootPath='/var/lib/mock/f33-build-163713-43469/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam_url.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 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/pam_url-0.3.3-12.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pam_url.spec'], chrootPath='/var/lib/mock/f33-build-163713-43469/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pam_url.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 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CiRztd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_url-0.3.3 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pam_url-0.3.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_url-0.3.3 + /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.F2xZof + umask 022 + cd /builddir/build/BUILD + cd pam_url-0.3.3 + 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 -std=c99' + make -j4 pamlib=lib64/security all cc -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 -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url.o pam_url.c cc -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 -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_account.o pam_url_account.c cc -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 -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_authenticate.o pam_url_authenticate.c cc -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 -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_password.o pam_url_password.c In file included from pam_url_account.c:3: pam_url.h:33:3: error: #error libcurl headers not found on this system. Giving up. 33 | #error libcurl headers not found on this system. Giving up. | ^~~~~ In file included from pam_url.c:3: pam_url.h:33:3: error: #error libcurl headers not found on this system. Giving up. 33 | #error libcurl headers not found on this system. Giving up. | ^~~~~ In file included from pam_url_authenticate.c:3: pam_url.h:33:3: error: #error libcurl headers not found on this system. Giving up. 33 | #error libcurl headers not found on this system. Giving up. | ^~~~~ In file included from pam_url_password.c:3: pam_url.h:33:3: error: #error libcurl headers not found on this system. Giving up. 33 | #error libcurl headers not found on this system. Giving up. | ^~~~~ pam_url.c: In function 'get_password': pam_url.c:21:6: warning: unused variable 'prompt_len' [-Wunused-variable] 21 | int prompt_len = 0; | ^~~~~~~~~~ pam_url.c: In function 'parse_opts': pam_url.c:120:65: warning: passing argument 3 of 'config_lookup_string' from incompatible pointer type [-Wincompatible-pointer-types] 120 | if(config_lookup_string(&config, "pam_url.settings.extradata", &opts->extra_field) == CONFIG_FALSE) | ^~~~~~~~~~~~~~~~~~ | | | char ** In file included from pam_url.h:36, from pam_url.c:3: /usr/include/libconfig.h:317:60: note: expected 'const char **' but argument is of type 'char **' 317 | const char **value); | ~~~~~~~~~~~~~^~~~~ pam_url.c: In function 'fetch_url': pam_url.c:212:31: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'const void *' [-Wformat=] 212 | if( asprintf(&combined, "%s%s", opts.first_pass, opts.passwd) < 0 || | ~^ ~~~~~~~~~~~ | | | | char * const void * | %p pam_url_authenticate.c: In function 'pam_sm_authenticate': pam_url_authenticate.c:15:6: warning: unused variable 'len' [-Wunused-variable] 15 | int len = 0; | ^~~ make: *** [: pam_url_account.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [: pam_url_authenticate.o] Error 1 make: *** [: pam_url_password.o] Error 1 pam_url.c: In function 'check_rc': pam_url.c:329:6: warning: unused variable 'ret' [-Wunused-variable] 329 | int ret=0; | ^~~ make: *** [: pam_url.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.F2xZof (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.F2xZof (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 --target riscv64 --nodeps /builddir/build/SPECS/pam_url.spec