Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bti.spec'], chrootPath='/var/lib/mock/f40-build-757739-119385/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bti.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/bti-034-27.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bti.spec'], chrootPath='/var/lib/mock/f40-build-757739-119385/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bti.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Q2VcN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bti-034 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bti-034.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd bti-034 + rm -rf /builddir/build/BUILD/bti-034-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/bti-034-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bti-034_json-c_013.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KaS9sH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bti-034 + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/readline5' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/readline5' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/readline5' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for xsltproc... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBOAUTH... yes checking for LIBPCRE... yes checking for LIBCURL... yes checking for XML... yes checking for JSON... yes checking for library containing dlopen... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands bti 034 ======= prefix: /usr datarootdir: ${prefix}/share mandir: /usr/share/man compiler: gcc cflags: -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ldflags: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/readline5 xsltproc: + /usr/bin/make -O -j4 V=1 VERBOSE=1 gcc -DPACKAGE_NAME=\"bti\" -DPACKAGE_TARNAME=\"bti\" -DPACKAGE_VERSION=\"034\" -DPACKAGE_STRING=\"bti\ 034\" -DPACKAGE_BUGREPORT=\"greg@kroah.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bti\" -DVERSION=\"034\" -I. -I/usr/include/libxml2 -I/usr/include/json-c -I/usr/include/nss3 -I/usr/include/nspr4 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o bti-config.o `test -f 'config.c' || echo './'`config.c gcc -DPACKAGE_NAME=\"bti\" -DPACKAGE_TARNAME=\"bti\" -DPACKAGE_VERSION=\"034\" -DPACKAGE_STRING=\"bti\ 034\" -DPACKAGE_BUGREPORT=\"greg@kroah.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bti\" -DVERSION=\"034\" -I. -I/usr/include/libxml2 -I/usr/include/json-c -I/usr/include/nss3 -I/usr/include/nspr4 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o bti-bti.o `test -f 'bti.c' || echo './'`bti.c bti.c: In function ‘request_access_token’: bti.c:808:9: warning: ‘oauth_http_get’ is deprecated [-Wdeprecated-declarations] 808 | reply = oauth_http_get(request_url, post_params); | ^~~~~ In file included from bti.c:39: /usr/include/oauth.h:572:7: note: declared here 572 | char *oauth_http_get (const char *u, const char *q) attribute_deprecated; | ^~~~~~~~~~~~~~ bti.c:844:9: warning: ‘oauth_http_get’ is deprecated [-Wdeprecated-declarations] 844 | reply = oauth_http_get(request_url, post_params); | ^~~~~ /usr/include/oauth.h:572:7: note: declared here 572 | char *oauth_http_get (const char *u, const char *q) attribute_deprecated; | ^~~~~~~~~~~~~~ bti.c: In function ‘send_request’: bti.c:909:25: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 909 | curl_formadd(&formpost, &lastptr, | ^~~~~~~~~~~~ In file included from bti.c:31: /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ bti.c:910:38: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 910 | CURLFORM_COPYNAME, "status", | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ bti.c:911:38: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 911 | CURLFORM_COPYCONTENTS, session->tweet, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2513:3: note: declared here 2513 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ bti.c:914:25: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 914 | curl_formadd(&formpost, &lastptr, | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ bti.c:915:38: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 915 | CURLFORM_COPYNAME, "source", | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ bti.c:916:38: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 916 | CURLFORM_COPYCONTENTS, "bti", | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2513:3: note: declared here 2513 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ bti.c:920:33: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 920 | curl_formadd(&formpost, &lastptr, | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ bti.c:921:46: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 921 | CURLFORM_COPYNAME, | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ bti.c:923:46: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 923 | CURLFORM_COPYCONTENTS, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2513:3: note: declared here 2513 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ bti.c:927:25: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 927 | curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1199:3: note: declared here 1199 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ bti.c:1006:49: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 1006 | curl_formfree(formpost); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2621:1: note: declared here 2621 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ bti.c:1018:49: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 1018 | curl_formfree(formpost); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2621:1: note: declared here 2621 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ bti.c:1029:49: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 1029 | curl_formfree(formpost); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2621:1: note: declared here 2621 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ bti.c:1039:49: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 1039 | curl_formfree(formpost); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2621:1: note: declared here 2621 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ bti.c:1050:25: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 1050 | curl_formfree(formpost); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2621:1: note: declared here 2621 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ bti.c:1121:33: warning: ‘oauth_http_post’ is deprecated [-Wdeprecated-declarations] 1121 | reply = oauth_http_post(req_url, postarg); | ^~~~~ /usr/include/oauth.h:629:7: note: declared here 629 | char *oauth_http_post (const char *u, const char *p) attribute_deprecated; | ^~~~~~~~~~~~~~~ bti.c:1128:33: warning: ‘oauth_http_get’ is deprecated [-Wdeprecated-declarations] 1128 | reply = oauth_http_get(req_url, postarg); | ^~~~~ /usr/include/oauth.h:572:7: note: declared here 572 | char *oauth_http_get (const char *u, const char *q) attribute_deprecated; | ^~~~~~~~~~~~~~ bti.c: In function ‘read_password’: bti.c:1261:15: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1261 | (void)scanf("%79s", pwd); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from bti.c:21: In function ‘strncpy’, inlined from ‘shrink_urls’ at bti.c:1520:4, inlined from ‘main’ at bti.c:1839:12: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ accessing 1 or more bytes at offsets [-2147483648, 2147483647] and [-2147483648, 2147483647] may overlap up to 18446744073709551615 bytes at offset [-2147483648, 2147483647] [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘shrink_urls’ at bti.c:1503:4, inlined from ‘main’ at bti.c:1839:12: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ accessing between 0 and 2147483647 bytes at offsets [-2147483648, 2147483647] and [-2147483648, 2147483647] may overlap up to 2147483647 bytes at offset [-2147483648, -2] [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ bti.c: In function ‘main’: bti.c:1508:25: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1508 | strncpy(text + outofs, url, short_url_len); | ^ In function ‘shrink_urls’, inlined from ‘main’ at bti.c:1839:12: bti.c:1488:39: note: length computed here 1488 | short_url_len = url ? strlen(url) : 0; | ^~~~~~~~~~~ In function ‘strncpy’, inlined from ‘shrink_urls’ at bti.c:1495:5, inlined from ‘main’ at bti.c:1839:12: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ accessing between 0 and 2147483647 bytes at offsets [-2147483648, 2147483647] and [-2147483648, 2147483647] may overlap up to 2147483647 bytes at offset [-2147483648, -2] [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/include/libxml2 -I/usr/include/json-c -I/usr/include/nss3 -I/usr/include/nspr4 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/readline5 -o bti bti-config.o bti-bti.o -lcurl -lxml2 -ljson-c -lpcre -loauth + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.REH8JV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bti-034 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/bti-034' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/bin' /usr/bin/install -p bti '/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/bin' /usr/bin/install -p bti-shrink-urls '/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 bti.1 bti-shrink-urls.1 '/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/bti-034' + mkdir -p /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/etc/bash_completion.d + cp -p bti-bashcompletion /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/etc/bash_completion.d/bti + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 034-27.fc40 --unique-debug-suffix -034-27.fc40.riscv64 --unique-debug-src-base bti-034-27.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bti-034 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/bti-034-27.fc40.riscv64 113 blocks find-debuginfo: done + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/bti-shrink-urls from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: bti-034-27.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TtzwMs + umask 022 + cd /builddir/build/BUILD + cd bti-034 + DOCDIR=/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/doc/bti + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/doc/bti + cp -pr /builddir/build/BUILD/bti-034/ChangeLog /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/doc/bti + cp -pr /builddir/build/BUILD/bti-034/README /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/doc/bti + cp -pr /builddir/build/BUILD/bti-034/RELEASE-NOTES /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/doc/bti + cp -pr /builddir/build/BUILD/bti-034/bti.example /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/doc/bti + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6uFsdy + umask 022 + cd /builddir/build/BUILD + cd bti-034 + LICENSEDIR=/builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/licenses/bti + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/licenses/bti + cp -pr /builddir/build/BUILD/bti-034/COPYING /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64/usr/share/licenses/bti + RPM_EC=0 ++ jobs -p + exit 0 Provides: bti = 034-27.fc40 bti(riscv-64) = 034-27.fc40 config(bti) = 034-27.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcurl.so.4()(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) liboauth.so.0()(64bit) libpcre.so.1()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) rtld(GNU_HASH) Processing files: bti-debugsource-034-27.fc40.riscv64 Provides: bti-debugsource = 034-27.fc40 bti-debugsource(riscv-64) = 034-27.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bti-debuginfo-034-27.fc40.riscv64 Provides: bti-debuginfo = 034-27.fc40 bti-debuginfo(riscv-64) = 034-27.fc40 debuginfo(build-id) = 7881b459447fc123707d029310439d36cd300a07 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bti-debugsource(riscv-64) = 034-27.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64 Wrote: /builddir/build/RPMS/bti-debugsource-034-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/bti-034-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/bti-debuginfo-034-27.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1KzdoI + umask 022 + cd /builddir/build/BUILD + cd bti-034 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bti-034-27.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.WpmlxP + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/bti-034-SPECPARTS + rm -rf bti-034 bti-034.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0