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/google-compute-engine-oslogin.spec'], chrootPath='/var/lib/mock/f33-build-596954-66901/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/google-compute-engine-oslogin.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 warning: line 22: Possible unexpanded macro in: Requires(post): selinux-policy-base >= %{_selinux_policy_version} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/google-compute-engine-oslogin-1.4.3-6.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/google-compute-engine-oslogin.spec'], chrootPath='/var/lib/mock/f33-build-596954-66901/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/google-compute-engine-oslogin.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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZAV7mE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + /usr/bin/gzip -dc /builddir/build/SOURCES/compute-image-packages-3178e68.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm google_compute_engine_oslogin/policy/oslogin.pp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U0Q93C + umask 022 + cd /builddir/build/BUILD + cd compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 ~/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50/google_compute_engine_oslogin ~/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + pushd google_compute_engine_oslogin + export 'CC=gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CC='gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'CXX=g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CXX='g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + /usr/bin/make -O -j4 V=1 VERBOSE=1 'LIBS=-lcurl -ljson-c' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -fPIC -g -c -o libnss_cache_oslogin/compat/getpwent_r.o libnss_cache_oslogin/compat/getpwent_r.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -fPIC -g -c -o libnss_cache_oslogin/nss_cache_oslogin.o libnss_cache_oslogin/nss_cache_oslogin.c In file included from /usr/include/string.h:519, from libnss_cache_oslogin/nss_cache_oslogin.h:21, from libnss_cache_oslogin/nss_cache_oslogin.c:17: In function 'strncpy', inlined from '_nss_cache_oslogin_getpwuid_r' at libnss_cache_oslogin/nss_cache_oslogin.c:336:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from '_nss_cache_oslogin_getpwnam_r' at libnss_cache_oslogin/nss_cache_oslogin.c:397:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnss_cache_oslogin/nss_cache_oslogin.c: In function '_nss_cache_oslogin_getpwnam_r': libnss_cache_oslogin/nss_cache_oslogin.c:397:26: note: length computed here 397 | strncpy(pw_name, name, strlen(name) + 1); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:519, from libnss_cache_oslogin/nss_cache_oslogin.h:21, from libnss_cache_oslogin/nss_cache_oslogin.c:17: In function 'strncpy', inlined from '_nss_cache_oslogin_getpwnam_r' at libnss_cache_oslogin/nss_cache_oslogin.c:399:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c pam_module/pam_oslogin_admin.cc -o pam_module/pam_oslogin_admin.o pam_module/pam_oslogin_admin.cc: In function 'int pam_sm_acct_mgmt(pam_handle_t*, int, int, const char**)': pam_module/pam_oslogin_admin.cc:92:12: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | chown(filename.c_str(), 0, 0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c pam_module/pam_oslogin_login.cc -o pam_module/pam_oslogin_login.o pam_module/pam_oslogin_login.cc: In function 'int pam_sm_authenticate(pam_handle_t*, int, int, const char**)': pam_module/pam_oslogin_login.cc:213:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | if (choicei > challenges.size()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ pam_module/pam_oslogin_login.cc: In function 'int pam_sm_acct_mgmt(pam_handle_t*, int, int, const char**)': pam_module/pam_oslogin_login.cc:100:12: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 100 | chown(users_filename.c_str(), 0, 0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -fPIC -g -shared -Wl,-soname,libnss_cache_oslogin.so.2 -o libnss_cache_google-compute-engine-oslogin-1.4.3.so libnss_cache_oslogin/nss_cache_oslogin.o libnss_cache_oslogin/compat/getpwent_r.o In function 'strncpy', inlined from '_nss_cache_oslogin_getpwnam_r' at libnss_cache_oslogin/nss_cache_oslogin.c:397:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ libnss_cache_oslogin/nss_cache_oslogin.c: In function '_nss_cache_oslogin_getpwnam_r': libnss_cache_oslogin/nss_cache_oslogin.c:397:26: note: length computed here 397 | strncpy(pw_name, name, strlen(name) + 1); | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/json-c -c utils/oslogin_utils.cc -o utils/oslogin_utils.o utils/oslogin_utils.cc: In member function 'bool oslogin_utils::NssCache::HasNextPasswd()': utils/oslogin_utils.cc:99:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | return index_ < passwd_cache_.size() && !passwd_cache_[index_].empty(); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ utils/oslogin_utils.cc: In function 'bool oslogin_utils::ParseJsonToChallenges(const string&, std::vector*)': utils/oslogin_utils.cc:548:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 548 | for (int i = 0; i < json_object_array_length(jsonChallenges); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils/oslogin_utils.cc: In function 'oslogin_utils::ContinueSession(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, oslogin_utils::Challenge const&, std::__cxx11::basic_string, std::allocator >*)': utils/oslogin_utils.cc:652:20: warning: 'jresp' may be used uninitialized in this function [-Wmaybe-uninitialized] 652 | json_object_put(jresp); | ~~~~~~~~~~~~~~~^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/json-c -o google_oslogin_nss_cache nss_cache/nss_cache.cc utils/oslogin_utils.cc -lcurl -ljson-c nss_cache/nss_cache.cc: In function 'int main(int, char**)': nss_cache/nss_cache.cc:80:8: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | chown(kDefaultFilePath, 0, 0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ utils/oslogin_utils.cc: In member function 'bool oslogin_utils::NssCache::HasNextPasswd()': utils/oslogin_utils.cc:99:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | return index_ < passwd_cache_.size() && !passwd_cache_[index_].empty(); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ utils/oslogin_utils.cc: In function 'bool oslogin_utils::ParseJsonToChallenges(const string&, std::vector*)': utils/oslogin_utils.cc:548:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 548 | for (int i = 0; i < json_object_array_length(jsonChallenges); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils/oslogin_utils.cc: In function 'oslogin_utils::ContinueSession(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, oslogin_utils::Challenge const&, std::__cxx11::basic_string, std::allocator >*)': utils/oslogin_utils.cc:652:20: warning: 'jresp' may be used uninitialized in this function [-Wmaybe-uninitialized] 652 | json_object_put(jresp); | ~~~~~~~~~~~~~~~^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/json-c -o google_authorized_keys authorized_keys/authorized_keys.cc utils/oslogin_utils.cc -lcurl -ljson-c authorized_keys/authorized_keys.cc: In function 'int main(int, char**)': authorized_keys/authorized_keys.cc:74:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 74 | for (int i = 0; i < ssh_keys.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ utils/oslogin_utils.cc: In member function 'bool oslogin_utils::NssCache::HasNextPasswd()': utils/oslogin_utils.cc:99:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | return index_ < passwd_cache_.size() && !passwd_cache_[index_].empty(); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ utils/oslogin_utils.cc: In function 'bool oslogin_utils::ParseJsonToChallenges(const string&, std::vector*)': utils/oslogin_utils.cc:548:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 548 | for (int i = 0; i < json_object_array_length(jsonChallenges); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils/oslogin_utils.cc: In function 'oslogin_utils::ContinueSession(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, oslogin_utils::Challenge const&, std::__cxx11::basic_string, std::allocator >*)': utils/oslogin_utils.cc:652:20: warning: 'jresp' may be used uninitialized in this function [-Wmaybe-uninitialized] 652 | json_object_put(jresp); | ~~~~~~~~~~~~~~~^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/json-c -shared -o pam_oslogin_admin.so pam_module/pam_oslogin_admin.o utils/oslogin_utils.o -lpam -lcurl -ljson-c g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/json-c -shared -Wl,-soname,libnss_oslogin.so.2 -o libnss_google-compute-engine-oslogin-1.4.3.so \ nss_module/nss_oslogin.cc utils/oslogin_utils.o -lcurl -ljson-c nss_module/nss_oslogin.cc:49:24: warning: 'cache_mutex' defined but not used [-Wunused-variable] 49 | static pthread_mutex_t cache_mutex = PTHREAD_MUTEX_INITIALIZER; | ^~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/json-c -shared -o pam_oslogin_login.so pam_module/pam_oslogin_login.o utils/oslogin_utils.o -lpam -lcurl -ljson-c + make -C policy make: Entering directory '/builddir/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50/google_compute_engine_oslogin/policy' checkmodule -M -m -o oslogin.mod oslogin.te semodule_package -o oslogin.pp -m oslogin.mod -f oslogin.fc make: Leaving directory '/builddir/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50/google_compute_engine_oslogin/policy' + popd ~/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7rm8YC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64 + cd compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + pushd google_compute_engine_oslogin ~/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50/google_compute_engine_oslogin ~/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64 'INSTALL=/usr/bin/install -p' NSS_INSTALL_PATH=/usr/lib64 PAM_INSTALL_PATH=/usr/lib64/security INSTALL_SELINUX=true mkdir -p /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/lib64 mkdir -p /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/lib64/security mkdir -p /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/bin mkdir -p /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/bin install -m 0644 libnss_cache_google-compute-engine-oslogin-1.4.3.so /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/lib64 install -m 0644 libnss_google-compute-engine-oslogin-1.4.3.so /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/lib64 install -m 0644 pam_oslogin_admin.so pam_oslogin_login.so /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/lib64/security install -m 0755 google_authorized_keys /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/bin install -m 0755 bin/google_oslogin_control /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/bin install -m 0755 google_oslogin_nss_cache /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/bin mkdir -p /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/share/selinux/packages install -T -m 0644 policy/oslogin.pp /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64//usr/share/selinux/packages/oslogin.pp + popd ~/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + bzip2 -9 /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/share/selinux/packages/oslogin.pp + chmod +x /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_cache_google-compute-engine-oslogin-1.4.3.so /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_google-compute-engine-oslogin-1.4.3.so + chmod +x /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/security/pam_oslogin_admin.so /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/security/pam_oslogin_login.so + mkdir -p /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/var/google-sudoers.d + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.4.3-6.fc33 --unique-debug-suffix -1.4.3-6.fc33.riscv64 --unique-debug-src-base google-compute-engine-oslogin-1.4.3-6.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/bin/google_authorized_keys explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/bin/google_oslogin_nss_cache explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_google-compute-engine-oslogin-1.4.3.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_cache_google-compute-engine-oslogin-1.4.3.so extracting debug info from /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/bin/google_authorized_keys extracting debug info from /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_google-compute-engine-oslogin-1.4.3.so extracting debug info from /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_cache_google-compute-engine-oslogin-1.4.3.so extracting debug info from /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/bin/google_oslogin_nss_cache explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/security/pam_oslogin_admin.so extracting debug info from /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/security/pam_oslogin_admin.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/security/pam_oslogin_login.so extracting debug info from /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/security/pam_oslogin_login.so original debug info size: 19100kB, size after compression: 15044kB /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 123 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/google_oslogin_control from /bin/sh to #!/usr/bin/sh Processing files: google-compute-engine-oslogin-1.4.3-6.fc33.riscv64 error: File not found: /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_cache_oslogin.so.* error: File not found: /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_oslogin.so.* Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MJhWCF + umask 022 + cd /builddir/build/BUILD + cd compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + DOCDIR=/builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/share/doc/google-compute-engine-oslogin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/share/doc/google-compute-engine-oslogin + cp -pr google_compute_engine_oslogin/README.md /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/share/doc/google-compute-engine-oslogin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XSPFnG + umask 022 + cd /builddir/build/BUILD + cd compute-image-packages-3178e68b004eea38dada580de4193994f45dfc50 + LICENSEDIR=/builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/share/licenses/google-compute-engine-oslogin + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/share/licenses/google-compute-engine-oslogin + cp -pr LICENSE /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/share/licenses/google-compute-engine-oslogin + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_cache_oslogin.so.* File not found: /builddir/build/BUILDROOT/google-compute-engine-oslogin-1.4.3-6.fc33.riscv64/usr/lib64/libnss_oslogin.so.* 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/google-compute-engine-oslogin.spec