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/ruby-ldap.spec'], chrootPath='/var/lib/mock/f30-build-38135-21993/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/ruby-ldap.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 Wrote: /builddir/build/SRPMS/ruby-ldap-0.9.16-14.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby-ldap.spec'], chrootPath='/var/lib/mock/f30-build-38135-21993/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/ruby-ldap.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.JDxhu8 + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/ruby-ldap-0.9.16.gem Unpacked gem: '/builddir/build/BUILD/ruby-ldap-0.9.16' + cd /builddir/build/BUILD + cd ruby-ldap-0.9.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf .INSTALL_FILES + mkdir .INSTALL_FILES + cp -a COPYING ChangeLog FAQ NOTES README TODO clientauth.c conn.c entry.c extconf.rb ldap.c lib misc.c mod.c rbldap.h saslconn.c sslconn.c test win .INSTALL_FILES + pushd .INSTALL_FILES ~/build/BUILD/ruby-ldap-0.9.16/.INSTALL_FILES ~/build/BUILD/ruby-ldap-0.9.16 + rm -rf clientauth.c conn.c entry.c ldap.c misc.c mod.c saslconn.c sslconn.c rbldap.h extconf.rb + popd + gem spec /builddir/build/SOURCES/ruby-ldap-0.9.16.gem -l --ruby ~/build/BUILD/ruby-ldap-0.9.16 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ndposj + umask 022 + cd /builddir/build/BUILD + cd ruby-ldap-0.9.16 + gem build ruby-ldap.gemspec BUILDSTDERR: WARNING: licenses is empty, but is recommended. Use a license identifier from BUILDSTDERR: http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. BUILDSTDERR: WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: ruby-ldap Version: 0.9.16 File: ruby-ldap-0.9.16.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-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'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc ruby-ldap-0.9.16.gem BUILDSTDERR: WARNING: You build with buildroot. BUILDSTDERR: Build root: /builddir/build/BUILD/ruby-ldap-0.9.16 BUILDSTDERR: Bin dir: /builddir/build/BUILD/ruby-ldap-0.9.16/usr/bin BUILDSTDERR: Gem home: /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/COPYING /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/ChangeLog /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/FAQ /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/NOTES /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/README /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/TODO /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/clientauth.c /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/conn.c /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/entry.c /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/extconf.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/ldap.c /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/lib/ldap/control.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/lib/ldap/ldif.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/lib/ldap/schema.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/misc.c /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/mod.c /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/rbldap.h /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/saslconn.c /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/sslconn.c /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/add.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/add2.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/add3.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/bind-ldaps.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/bind-sasl.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/bind-ssl.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/bind.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/compare.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/conf.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/delete.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/ext.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/misc1.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/misc2.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/modrdn.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/moz_cert.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/search.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/search2.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/search3.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/setup.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/subschema.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/tc_conn.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/tc_ldif.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/tc_schema.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/tc_search.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/test/ts_ldap.rb /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/win/winlber.h /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/win/winldap.h /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16/win/wldap32.def Building native extensions. This could take a while... current directory: /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16 /usr/bin/ruby -r ./siteconf20181206-16649-1f4ymd4.rb extconf.rb --with-openldap2 checking for ldap.h... yes checking for lber.h... yes checking for ldap_ssl.h... no checking for openssl/ssl.h... yes checking for openssl/crypto.h... yes checking for -lcrypto... yes checking for -lssl... yes checking for -lnsl... no checking for -lpthread... yes checking for -lresolv... yes checking for -llber... yes checking for -lldap_r... yes checking for -lldap... yes checking for ldap_init() in ldap.h... yes checking for ldap_set_option()... yes checking for ldap_get_option()... yes checking for ldap_start_tls_s()... yes checking for ldap_memfree()... yes checking for ldap_perror()... yes checking for ldap_sort_entries()... yes checking for ldapssl_init()... no checking for ldap_sslinit()... no checking for ldap_sasl_bind_s()... yes checking for ldap_rename_s()... yes checking for ldap_compare_s()... yes checking for ldap_add_ext_s()... yes checking for ldap_compare_ext_s()... yes checking for ldap_delete_ext_s()... yes checking for ldap_modify_ext_s()... yes checking for ldap_search_ext_s()... yes checking for ldap_unbind_ext_s()... yes checking for ldap_sasl_interactive_bind_s()... yes creating Makefile current directory: /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16 make "DESTDIR=" clean rm -f rm -f ldap.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16 make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DUSE_OPENLDAP2 -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CRYPTO_H -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_RENAME_S -DHAVE_LDAP_COMPARE_S -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -DRUBY_VERSION_CODE=251 -fPIC -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 -o clientauth.o -c clientauth.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DUSE_OPENLDAP2 -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CRYPTO_H -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_RENAME_S -DHAVE_LDAP_COMPARE_S -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -DRUBY_VERSION_CODE=251 -fPIC -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 -o conn.o -c conn.c BUILDSTDERR: conn.c: In function 'rb_ldap_conn_set_option': BUILDSTDERR: conn.c:484:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: optdata = (void *) NUM2INT (data); BUILDSTDERR: ^ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DUSE_OPENLDAP2 -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CRYPTO_H -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_RENAME_S -DHAVE_LDAP_COMPARE_S -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -DRUBY_VERSION_CODE=251 -fPIC -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 -o entry.o -c entry.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DUSE_OPENLDAP2 -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CRYPTO_H -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_RENAME_S -DHAVE_LDAP_COMPARE_S -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -DRUBY_VERSION_CODE=251 -fPIC -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 -o ldap.o -c ldap.c BUILDSTDERR: In file included from /usr/include/ruby.h:33, BUILDSTDERR: from ldap.c:7: BUILDSTDERR: ldap.c: In function 'Init_ldap': BUILDSTDERR: ldap.c:391:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: #define rb_ldap_define_opt(code) rb_define_const(rb_mLDAP,#code,INT2NUM((int)code)) BUILDSTDERR: ^ BUILDSTDERR: ldap.c:393:3: note: in expansion of macro 'rb_ldap_define_opt' BUILDSTDERR: rb_ldap_define_opt (LDAP_OPT_ON); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ldap.c:391:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: #define rb_ldap_define_opt(code) rb_define_const(rb_mLDAP,#code,INT2NUM((int)code)) BUILDSTDERR: ^ BUILDSTDERR: ldap.c:396:3: note: in expansion of macro 'rb_ldap_define_opt' BUILDSTDERR: rb_ldap_define_opt (LDAP_OPT_OFF); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DUSE_OPENLDAP2 -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CRYPTO_H -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_RENAME_S -DHAVE_LDAP_COMPARE_S -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -DRUBY_VERSION_CODE=251 -fPIC -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 -o misc.o -c misc.c BUILDSTDERR: misc.c: In function 'rb_ldap_control_oid': BUILDSTDERR: misc.c:284:16: warning: variable 'ctl' set but not used [-Wunused-but-set-variable] BUILDSTDERR: LDAPControl *ctl; BUILDSTDERR: ^~~ BUILDSTDERR: misc.c: In function 'rb_ldap_control_critical': BUILDSTDERR: misc.c:344:16: warning: variable 'ctl' set but not used [-Wunused-but-set-variable] BUILDSTDERR: LDAPControl *ctl; BUILDSTDERR: ^~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DUSE_OPENLDAP2 -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CRYPTO_H -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_RENAME_S -DHAVE_LDAP_COMPARE_S -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -DRUBY_VERSION_CODE=251 -fPIC -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 -o mod.o -c mod.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DUSE_OPENLDAP2 -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CRYPTO_H -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_RENAME_S -DHAVE_LDAP_COMPARE_S -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -DRUBY_VERSION_CODE=251 -fPIC -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 -o saslconn.o -c saslconn.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DUSE_OPENLDAP2 -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CRYPTO_H -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_RENAME_S -DHAVE_LDAP_COMPARE_S -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -DRUBY_VERSION_CODE=251 -fPIC -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 -o sslconn.o -c sslconn.c rm -f ldap.so gcc -shared -o ldap.so clientauth.o conn.o entry.o ldap.o misc.o mod.o saslconn.o sslconn.o -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lldap -lldap_r -llber -lresolv -lpthread -lssl -lcrypto -lc -pthread current directory: /builddir/build/BUILD/ruby-ldap-0.9.16/usr/share/gems/gems/ruby-ldap-0.9.16 make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20181206-16649-1xyf96j exit > .sitearchdir.time /usr/bin/install -c -m 0755 ldap.so ./.gem.20181206-16649-1xyf96j /usr/bin/mkdir -p . ./.gem.20181206-16649-1xyf96j/ldap exit > .sitelibdir.-.ldap.time /usr/bin/install -c -m 644 ./lib/ldap/control.rb .gem.20181206-16649-1xyf96j/ldap /usr/bin/install -c -m 644 ./lib/ldap/schema.rb .gem.20181206-16649-1xyf96j/ldap /usr/bin/install -c -m 644 ./lib/ldap/ldif.rb .gem.20181206-16649-1xyf96j/ldap Successfully installed ruby-ldap-0.9.16 Parsing documentation for ruby-ldap-0.9.16 Parsing sources... 25% [ 1/ 4] extconf.rb 50% [ 2/ 4] lib/ldap/control.rb 75% [ 3/ 4] lib/ldap/ldif.rb 100% [ 4/ 4] lib/ldap/schema.rb Installing ri documentation for ruby-ldap-0.9.16 Installing darkfish documentation for ruby-ldap-0.9.16 Done installing documentation for ruby-ldap after 45 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LmBSyc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64 + cd ruby-ldap-0.9.16 + mkdir -p /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/share/gems/ + rm -rf /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/share/gems/gems/ruby-ldap-0.9.16 + cp -a ./.INSTALL_FILES/ /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/share/gems/gems/ruby-ldap-0.9.16/ + mkdir -p /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/lib64/gems/ruby/ruby-ldap-0.9.16/ + mv .//usr/lib64/gems/ruby/ruby-ldap-0.9.16/ldap .//usr/lib64/gems/ruby/ruby-ldap-0.9.16/ldap.so /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/lib64/gems/ruby/ruby-ldap-0.9.16/. + mv ./usr/lib64/gems/ruby/ruby-ldap-0.9.16/gem.build_complete /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/lib64/gems/ruby/ruby-ldap-0.9.16/. + rm -rf /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/share/gems/gems/ruby-ldap-0.9.16/extconf.rb/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.16-14.fc30 --unique-debug-suffix -0.9.16-14.fc30.riscv64 --unique-debug-src-base ruby-ldap-0.9.16-14.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ruby-ldap-0.9.16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/lib64/gems/ruby/ruby-ldap-0.9.16/ldap.so extracting debug info from /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64/usr/lib64/gems/ruby/ruby-ldap-0.9.16/ldap.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 220 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/share/gems/gems/ruby-ldap-0.9.16/test/setup.rb is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/share/gems/gems/ruby-ldap-0.9.16/test/tc_schema.rb is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/share/gems/gems/ruby-ldap-0.9.16/test/tc_ldif.rb is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/share/gems/gems/ruby-ldap-0.9.16/test/tc_search.rb is executable but has empty or no shebang, removing executable bit Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BdNGgi Processing files: ruby-ldap-0.9.16-14.fc30.riscv64 Provides: ruby(ldap) = 0.9.16-14.fc30 ruby-ldap = 0.9.16-14.fc30 ruby-ldap(riscv-64) = 0.9.16-14.fc30 rubygem(ruby-ldap) = 0.9.16-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libldap_r-2.4.so.2()(64bit) libpthread.so.0()(64bit) libresolv.so.2()(64bit) libruby.so.2.5()(64bit) libssl.so.1.1()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: ruby-ldap-doc-0.9.16-14.fc30.noarch Provides: ruby-ldap-doc = 0.9.16-14.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ruby-ldap-debugsource-0.9.16-14.fc30.riscv64 Provides: ruby-ldap-debugsource = 0.9.16-14.fc30 ruby-ldap-debugsource(riscv-64) = 0.9.16-14.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ruby-ldap-debuginfo-0.9.16-14.fc30.riscv64 Provides: debuginfo(build-id) = 86b9a0c7adb5e35bed4b6d42f5887213a2f54331 ruby-ldap-debuginfo = 0.9.16-14.fc30 ruby-ldap-debuginfo(riscv-64) = 0.9.16-14.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ruby-ldap-debugsource(riscv-64) = 0.9.16-14.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64 Wrote: /builddir/build/RPMS/ruby-ldap-0.9.16-14.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ruby-ldap-doc-0.9.16-14.fc30.noarch.rpm Wrote: /builddir/build/RPMS/ruby-ldap-debugsource-0.9.16-14.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ruby-ldap-debuginfo-0.9.16-14.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JlxhX2 + umask 022 + cd /builddir/build/BUILD + cd ruby-ldap-0.9.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ruby-ldap-0.9.16-14.fc30.riscv64 + exit 0 Child return code was: 0