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/tcl-zlib.spec'], chrootPath='/var/lib/mock/f37-build-636511-69993/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/tcl-zlib.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=1658534400 Wrote: /builddir/build/SRPMS/tcl-zlib-2.0.1-0.30.svn40.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tcl-zlib.spec'], chrootPath='/var/lib/mock/f37-build-636511-69993/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/tcl-zlib.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OsZPDh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zlib + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zlib.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zlib + /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.HBpLS4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 CFLAGS + CXXFLAGS='-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 CXXFLAGS + FFLAGS='-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/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/zlib/.package_note-tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh tcl-zlib 2.0.1-0.30.svn40.fc37 riscv64 + cd zlib + CFLAGS='-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 CFLAGS + CXXFLAGS='-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 CXXFLAGS + FFLAGS='-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/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/zlib/.package_note-tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2005-03-30 08:44:53.000000000 -0500 +++ ./configure 2022-09-11 02:52:46.174171171 -0400 @@ -4540,7 +4540,7 @@ #if defined (__stub_sin) || defined (__stub___sin) choke me #else -char (*f) () = sin; +__attribute__ ((used)) char (*f) () = sin; #endif #ifdef __cplusplus } @@ -4931,7 +4931,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -5028,7 +5028,7 @@ #if defined (__stub_setsockopt) || defined (__stub___setsockopt) choke me #else -char (*f) () = setsockopt; +__attribute__ ((used)) char (*f) () = setsockopt; #endif #ifdef __cplusplus } @@ -5197,7 +5197,7 @@ #if defined (__stub_accept) || defined (__stub___accept) choke me #else -char (*f) () = accept; +__attribute__ ((used)) char (*f) () = accept; #endif #ifdef __cplusplus } @@ -5294,7 +5294,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -7629,7 +7629,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -7732,7 +7732,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + '[' 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 + ./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 --with-tcl=/usr/lib64 checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for zlib location... /usr checking for deflateBound in -lz... yes checking for correct TEA configuration... ok (TEA 3.2) checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for Tcl public headers... /usr/include checking for pthread_mutex_init in -lpthread... yes checking for pthread_attr_setstacksize... yes checking for readdir_r... yes checking for building with threads... yes checking how to build libraries... shared checking for tclsh... /usr/bin/tclsh8.6 checking if 64bit support is enabled... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... Linux-5.18.8-200.0.riscv64.fc33.riscv64 checking for dlopen in -ldl... yes checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no configure: creating ./config.status config.status: creating Makefile + make gcc -pipe -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"zlib\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_ZLIB=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"/usr/include" -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 -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/zlib.c` -o zlib.o ./generic/zlib.c: In function 'Zlib_StreamPut': ./generic/zlib.c:647:25: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 647 | zsh->stream.next_out=datatmp; | ^ ./generic/zlib.c:652:35: warning: pointer targets in passing argument 1 of 'tclStubsPtr->tcl_NewByteArrayObj' differ in signedness [-Wpointer-sign] 652 | obj = Tcl_NewByteArrayObj(datatmp, outsize - zsh->stream.avail_out ); | ^~~~~~~ | | | char * ./generic/zlib.c:652:35: note: expected 'const unsigned char *' but argument is of type 'char *' ./generic/zlib.c:662:27: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 662 | zsh->stream.next_out=datatmp; | ^ ./generic/zlib.c:667:33: warning: pointer targets in passing argument 1 of 'tclStubsPtr->tcl_NewByteArrayObj' differ in signedness [-Wpointer-sign] 667 | obj = Tcl_NewByteArrayObj(datatmp, outsize - zsh->stream.avail_out ); | ^~~~~~~ | | | char * ./generic/zlib.c:667:33: note: expected 'const unsigned char *' but argument is of type 'char *' ./generic/zlib.c: In function 'Zlib_CRC32': ./generic/zlib.c:1002:21: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness [-Wpointer-sign] 1002 | return crc32(crc, buf, len); | ^~~ | | | const char * In file included from /usr/include/zlib.h:34, from ./generic/zlib.c:17: /usr/include/zlib.h:1727:29: note: expected 'const Bytef *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1727 | ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); | ^~ ./generic/zlib.c: In function 'Zlib_Adler32': ./generic/zlib.c:1007:25: warning: pointer targets in passing argument 2 of 'adler32' differ in signedness [-Wpointer-sign] 1007 | return adler32(adler, buf, len); | ^~~ | | | const char * /usr/include/zlib.h:1689:31: note: expected 'const Bytef *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1689 | ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); | ^~ ./generic/zlib.c: In function 'ZlibCmd': ./generic/zlib.c:1056:58: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 1056 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &start) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1056:58: note: expected 'int *' but argument is of type 'unsigned int *' ./generic/zlib.c:1063:46: warning: pointer targets in passing argument 2 of 'Zlib_Adler32' differ in signedness [-Wpointer-sign] 1063 | Tcl_SetIntObj(obj, Zlib_Adler32(start, data, dlen)); | ^~~~ | | | Byte * {aka unsigned char *} ./generic/zlib.c:1006:46: note: expected 'const char *' but argument is of type 'Byte *' {aka 'unsigned char *'} 1006 | Zlib_Adler32(unsigned int adler, const char *buf, unsigned int len) { | ~~~~~~~~~~~~^~~ ./generic/zlib.c:1066:58: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 1066 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &start) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1066:58: note: expected 'int *' but argument is of type 'unsigned int *' ./generic/zlib.c:1073:44: warning: pointer targets in passing argument 2 of 'Zlib_CRC32' differ in signedness [-Wpointer-sign] 1073 | Tcl_SetIntObj(obj, Zlib_CRC32(start, data, dlen)); | ^~~~ | | | Byte * {aka unsigned char *} ./generic/zlib.c:1000:42: note: expected 'const char *' but argument is of type 'Byte *' {aka 'unsigned char *'} 1000 | Zlib_CRC32(unsigned int crc, const char *buf, unsigned int len) { | ~~~~~~~~~~~~^~~ ./generic/zlib.c:1076:58: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 1076 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1076:58: note: expected 'int *' but argument is of type 'unsigned int *' ./generic/zlib.c:1081:58: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 1081 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1081:58: note: expected 'int *' but argument is of type 'unsigned int *' ./generic/zlib.c:1086:58: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 1086 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1086:58: note: expected 'int *' but argument is of type 'unsigned int *' ./generic/zlib.c:1091:58: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 1091 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &buffersize) != TCL_OK) { | ^~~~~~~~~~~ | | | unsigned int * ./generic/zlib.c:1091:58: note: expected 'int *' but argument is of type 'unsigned int *' ./generic/zlib.c:1098:58: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 1098 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &buffersize) != TCL_OK) { | ^~~~~~~~~~~ | | | unsigned int * ./generic/zlib.c:1098:58: note: expected 'int *' but argument is of type 'unsigned int *' ./generic/zlib.c:1128:48: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 1128 | if (Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1128:48: note: expected 'int *' but argument is of type 'unsigned int *' gcc -pipe -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"zlib\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_ZLIB=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"/usr/include" -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 -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/zlibStubInit.c` -o zlibStubInit.o rm -f libzlib2.0.1.so gcc -pipe -shared -o libzlib2.0.1.so zlib.o zlibStubInit.o -lz -L/usr/lib64 -ltclstub8.6 : libzlib2.0.1.so gcc -pipe -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"zlib\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_ZLIB=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"/usr/include" -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 -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/zlibStubLib.c` -o zlibStubLib.o ./generic/zlibStubLib.c: In function 'Zlib_InitStubs': ./generic/zlibStubLib.c:54:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | actualVersion = Tcl_PkgRequireEx(interp, "zlib", version, exact, | ^ rm -f libzlibstub2.0.1.a ar cr libzlibstub2.0.1.a zlibStubLib.o ranlib libzlibstub2.0.1.a ( echo pkg_mkIndex . libzlib2.0.1.so \; exit; ) | TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 If you have documentation to create, place the commands to build the docs in the 'doc:' target. For example: xml2nroff sample.xml > sample.n xml2html sample.xml > sample.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.w3YGRH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 + CFLAGS='-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 CFLAGS + CXXFLAGS='-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 CXXFLAGS + FFLAGS='-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/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/zlib/.package_note-tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zlib + make DESTDIR=/builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 install-binaries install-libraries /usr/bin/install -c libzlib2.0.1.so /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/zlib2.0.1/libzlib2.0.1.so : /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/zlib2.0.1/libzlib2.0.1.so /usr/bin/install -c libzlibstub2.0.1.a /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/zlib2.0.1/libzlibstub2.0.1.a ranlib /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/zlib2.0.1/libzlibstub2.0.1.a Install zlib.c /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/zlib2.0.1/zlib.c Install pkgIndex.tcl /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/zlib2.0.1 Installing header files in /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/include Installing ./generic/zlibDecls.h Installing ./generic/tclZlib.h + install -d /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/tcl8.6 + mv /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/zlib2.0.1 /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/tcl8.6/zlib2.0.1 + rm -rf /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/tcl8.6/zlib2.0.1/zlib.c + chmod -x /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/tcl8.6/zlib2.0.1/libzlibstub2.0.1.a + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.0.1-0.30.svn40.fc37 --unique-debug-suffix -2.0.1-0.30.svn40.fc37.riscv64 --unique-debug-src-base tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/zlib extracting debug info from /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/lib64/tcl8.6/zlib2.0.1/libzlib2.0.1.so original debug info size: 200kB, size after compression: 200kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 107 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mqaYlq + umask 022 + cd /builddir/build/BUILD + cd zlib + DOCDIR=/builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/share/doc/tcl-zlib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/share/doc/tcl-zlib + cp -pr README /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/share/doc/tcl-zlib + cp -pr ChangeLog /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64/usr/share/doc/tcl-zlib + RPM_EC=0 ++ jobs -p + exit 0 Provides: libzlib2.0.1.so()(64bit) tcl-zlib = 2.0.1-0.30.svn40.fc37 tcl-zlib(riscv-64) = 2.0.1-0.30.svn40.fc37 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) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) rtld(GNU_HASH) Processing files: tcl-zlib-devel-2.0.1-0.30.svn40.fc37.riscv64 Provides: tcl-zlib-devel = 2.0.1-0.30.svn40.fc37 tcl-zlib-devel(riscv-64) = 2.0.1-0.30.svn40.fc37 tcl-zlib-static = 2.0.1-0.30.svn40.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tcl-zlib-debugsource-2.0.1-0.30.svn40.fc37.riscv64 Provides: tcl-zlib-debugsource = 2.0.1-0.30.svn40.fc37 tcl-zlib-debugsource(riscv-64) = 2.0.1-0.30.svn40.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tcl-zlib-debuginfo-2.0.1-0.30.svn40.fc37.riscv64 Provides: debuginfo(build-id) = 543398d1bcc11bf33cff9b9ee5445bc9e775c6a1 libzlib2.0.1.so-2.0.1-0.30.svn40.fc37.riscv64.debug()(64bit) tcl-zlib-debuginfo = 2.0.1-0.30.svn40.fc37 tcl-zlib-debuginfo(riscv-64) = 2.0.1-0.30.svn40.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tcl-zlib-debugsource(riscv-64) = 2.0.1-0.30.svn40.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 Wrote: /builddir/build/RPMS/tcl-zlib-devel-2.0.1-0.30.svn40.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/tcl-zlib-debugsource-2.0.1-0.30.svn40.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/tcl-zlib-debuginfo-2.0.1-0.30.svn40.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vOiaMz + umask 022 + cd /builddir/build/BUILD + cd zlib + /usr/bin/rm -rf /builddir/build/BUILDROOT/tcl-zlib-2.0.1-0.30.svn40.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.BFtNV4 + umask 022 + cd /builddir/build/BUILD + rm -rf zlib zlib.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0