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/mm.spec'], chrootPath='/var/lib/mock/f37-build-668618-74757/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mm.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=1658361600 Wrote: /builddir/build/SRPMS/mm-1.4.2-29.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/mm.spec'], chrootPath='/var/lib/mock/f37-build-668618-74757/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mm.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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RvCTtM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mm-1.4.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mm-1.4.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mm-1.4.2 + /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.w6IY1Y + 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 -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 mm-1.4.2 + 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 -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 + '[' '-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 + mv ./configure.backup ./configure + /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 --- ./configure.backup 2006-08-15 03:04:28.000000000 -0400 +++ ./configure 2022-11-08 08:52:17.335054591 -0500 @@ -6277,7 +6277,7 @@ sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --enable-debug ./shtool: line 683: warning: command substitution: ignored null byte in input ./shtool: line 684: warning: command substitution: ignored null byte in input ./shtool: line 683: warning: command substitution: ignored null byte in input ./shtool: line 684: warning: command substitution: ignored null byte in input Configuring OSSP mm (Shared Memory Allocation), Version 1.4.2 (15-Aug-2006) Copyright (c) 1999-2006 Ralf S. Engelschall Copyright (c) 1999-2006 The OSSP Project Platform: riscv64-unknown-linux-gnu Build Tools: 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for compilation debug mode... enabled checking whether make sets $(MAKE)... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool Platform Environment: checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes decision on mandatory system headers... all fine checking for memory.h... (cached) yes checking for memcpy... yes checking for memset... yes checking for bcopy... yes checking for _POSIX_PATH_MAX in limits.h... yes checking for PATH_MAX in limits.h... yes checking for _POSIX_CHILD_MAX in limits.h... yes checking for CHILD_MAX in limits.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for MAXPATHLEN in sys/param.h... yes Virtual Memory Page Size: checking for unistd.h... (cached) yes checking kernel/OS.h usability... no checking kernel/OS.h presence... no checking for kernel/OS.h... no checking for getpagesize... yes checking for sysconf... yes checking for _SC_PAGESIZE in unistd.h... yes checking for B_PAGE_SIZE in kernel/OS.h... no decision on memory page size determination... POSIX.1 sysconf(_SC_PAGESIZE) Shared Memory Implementation: checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for MAP_ANON in sys/mman.h... yes checking for mmap... yes checking for munmap... yes checking for shm_open... yes checking for shm_unlink... yes checking for /dev/zero... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for shmget... yes checking for shmat... yes checking for shmdt... yes checking for shmctl... yes checking for kernel/OS.h... (cached) no checking for create_area... no decision on shared memory allocation method... SysV IPC shmget() checking for shared memory maximum segment size... 64MB (soft limit) Mutual Exclusion Implementation: checking for sys/ipc.h... (cached) yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking for sys/file.h... (cached) yes checking for semget... yes checking for semctl... yes checking for LOCK_EX in sys/file.h... yes checking for F_SETLK in fcntl.h... yes checking for IPC_PRIVATE in sys/ipc.h... yes checking for SEM_UNDO in sys/sem.h... yes checking for kernel/OS.h... (cached) no checking for create_sem... no checking whether union semun is defined in sys/sem.h... no decision on mutex implementation method... SVR4-style fcntl() on temporary file Output Substitution: configure: creating ./config.status config.status: creating Makefile config.status: creating mm-config config.status: creating config.h config.status: executing adjustment commands + /usr/bin/make -j4 ./libtool --quiet --mode=compile gcc -c -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 -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_global.c ./libtool --quiet --mode=compile gcc -c -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 -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_alloc.c ./libtool --quiet --mode=compile gcc -c -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 -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_core.c ./libtool --quiet --mode=compile gcc -c -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 -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_lib.c mkdir: cannot create directory '.libs': File exists mm_alloc.c: In function 'mm_display_info': mm_alloc.c:169:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 169 | fprintf(stderr, " memory size = %d\n", mm->mp_size); | ~^ ~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld mm_alloc.c:170:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 170 | fprintf(stderr, " memory offset = %d\n", mm->mp_offset); | ~^ ~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld mm_alloc.c:171:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 171 | fprintf(stderr, " bytes spare = %d\n", mm->mp_size-mm->mp_offset); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld mm_alloc.c:172:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 172 | fprintf(stderr, " bytes free = %d (%d chunk%s)\n", | ~^ | | | int | %ld 173 | nFree, mm->mp_freechunks.mc_usize, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} mm_alloc.c:183:65: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 183 | fprintf(stderr, " chunk #%03d: 0x%lx-0x%lx (%d bytes)\n", | ~^ | | | int | %ld 184 | i++, (unsigned long)mc, (unsigned long)(mc+mc->mc_size), mc->mc_size); | ~~~~~~~~~~~ | | | size_t {aka long unsigned int} mm_alloc.c: In function 'mm_retrieve_chunk': mm_alloc.c:307:18: warning: cast increases required alignment of target type [-Wcast-align] 307 | mc = (mem_chunk *)((char *)mcRes + size); | ^ mm_alloc.c: In function 'mm_malloc': mm_alloc.c:347:10: warning: cast increases required alignment of target type [-Wcast-align] 347 | mc = (mem_chunk *)((char *)mm + mm->mp_offset); | ^ mm_alloc.c: In function 'mm_realloc': mm_alloc.c:369:10: warning: cast increases required alignment of target type [-Wcast-align] 369 | mc = (mem_chunk *)((char *)ptr - SIZEOF_mem_chunk); | ^ mm_alloc.c: In function 'mm_free': mm_alloc.c:395:10: warning: cast increases required alignment of target type [-Wcast-align] 395 | mc = (mem_chunk *)((char *)ptr - SIZEOF_mem_chunk); | ^ mm_alloc.c: In function 'mm_sizeof': mm_alloc.c:441:10: warning: cast increases required alignment of target type [-Wcast-align] 441 | mc = (mem_chunk *)((char *)ptr - SIZEOF_mem_chunk); | ^ mm_core.c: In function 'mm_core_permission': mm_core.c:449:10: warning: cast increases required alignment of target type [-Wcast-align] 449 | mc = (mem_core *)((char *)core-SIZEOF_mem_core); | ^ mm_core.c: In function 'mm_core_delete': mm_core.c:508:10: warning: cast increases required alignment of target type [-Wcast-align] 508 | mc = (mem_core *)((char *)core-SIZEOF_mem_core); | ^ mm_core.c:498:12: warning: variable 'size' set but not used [-Wunused-but-set-variable] 498 | size_t size; | ^~~~ mm_core.c: In function 'mm_core_size': mm_core.c:558:10: warning: cast increases required alignment of target type [-Wcast-align] 558 | mc = (mem_core *)((char *)core-SIZEOF_mem_core); | ^ mm_core.c: In function 'mm_core_lock': mm_core.c:570:10: warning: cast increases required alignment of target type [-Wcast-align] 570 | mc = (mem_core *)((char *)core-SIZEOF_mem_core); | ^ mm_core.c: In function 'mm_core_unlock': mm_core.c:631:10: warning: cast increases required alignment of target type [-Wcast-align] 631 | mc = (mem_core *)((char *)core-SIZEOF_mem_core); | ^ mm_core.c: In function 'mm_core_create': mm_core.c:240:29: warning: '.sem' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 240 | sprintf(semfilename, "%s.sem", file); | ^~~~ In file included from /usr/include/stdio.h:906, from mm.h:59, from mm_core.c:49: In function 'sprintf', inlined from 'mm_core_create' at mm_core.c:240:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./libtool --quiet --mode=compile gcc -c -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 -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_vers.c ./libtool --quiet --mode=compile gcc -c -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 -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_test.c mm_test.c: In function 'main': mm_test.c:108:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 108 | fprintf(stderr, "actually allocated core size = %d\n", s); | ~^ ~ | | | | int size_t {aka long unsigned int} | %ld mm_test.c:137:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 137 | fprintf(stderr, "actually allocated core size = %d\n", s); | ~^ ~ | | | | int size_t {aka long unsigned int} | %ld mm_test.c:206:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 206 | fprintf(stderr, "actually available bytes = %d\n", s); | ~^ ~ | | | | int size_t {aka long unsigned int} | %ld mm_test.c:213:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 213 | fprintf(stderr, "total=%09d allocated=%09d add=%06d\r", s, n, (i+1)*(i+1)); | ~~~^ ~ | | | | int size_t {aka long unsigned int} | %09ld mm_test.c:251:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 251 | fprintf(stderr, "Something is leaking, we've lost %d bytes\n", s - s2); | ~^ ~~~~~~ | | | | int size_t {aka long unsigned int} | %ld mm_test.c:255:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 255 | fprintf(stderr, "Fine, we have again %d bytes available\n", s2); | ~^ ~~ | | | | int size_t {aka long unsigned int} | %ld ./libtool --quiet --mode=link gcc -o libmm.la mm_global.lo mm_alloc.lo mm_core.lo mm_lib.lo mm_vers.lo \ -rpath /usr/lib64 -version-info `./shtool version -l c -d libtool mm_vers.c` ./libtool --quiet --mode=link gcc -o mm_test mm_test.lo libmm.la + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R77zLr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mm-1.4.2-29.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 -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 mm-1.4.2 + rm -rf /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/bin ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/include ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64 ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/man/man1 ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/man/man3 ./shtool install -c -m 755 mm-config /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/bin/mm-config ./shtool install -c -m 644 mm-config.1 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/man/man1/mm-config.1 ./shtool install -c -m 644 mm.3 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/man/man3/mm.3 ./shtool install -c -m 644 mm.h /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/include/mm.h ./shtool install -c -m 644 .libs/libmm.so.14.0.22 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64/libmm.so.14.0.22 (cd /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64 && { ln -s -f libmm.so.14.0.22 libmm.so.14 || { rm -f libmm.so.14 && ln -s libmm.so.14.0.22 libmm.so.14; }; }) (cd /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64 && { ln -s -f libmm.so.14.0.22 libmm.so || { rm -f libmm.so && ln -s libmm.so.14.0.22 libmm.so; }; }) ./shtool install -c -m 644 .libs/libmm.lai /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64/libmm.la ./shtool install -c -m 644 .libs/libmm.a /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64/libmm.a chmod 644 /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64/libmm.a ranlib /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64/libmm.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' + find /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 -name '*.la' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 -name '*.a' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 -name '*.so.*' -type f -exec chmod 755 '{}' ';' + sed -i -e 's#^mm_libdir=.*#mm_libdir=#; s# -L$mm_libdir##; s# -m[36][24]##' /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/bin/mm-config + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.4.2-29.fc37 --unique-debug-suffix -1.4.2-29.fc37.riscv64 --unique-debug-src-base mm-1.4.2-29.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mm-1.4.2 extracting debug info from /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/lib64/libmm.so.14.0.22 original debug info size: 164kB, size after compression: 164kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 102 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 mangling shebang in /usr/bin/mm-config from /bin/sh to #!/usr/bin/sh + /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: mm-1.4.2-29.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1YUlO0 + umask 022 + cd /builddir/build/BUILD + cd mm-1.4.2 + DOCDIR=/builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/doc/mm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/doc/mm + cp -pr LICENSE /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/doc/mm + cp -pr THANKS /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/doc/mm + cp -pr README /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/doc/mm + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmm.so.14()(64bit) mm = 1.4.2-29.fc37 mm(riscv-64) = 1.4.2-29.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) rtld(GNU_HASH) Processing files: mm-devel-1.4.2-29.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LhuKOr + umask 022 + cd /builddir/build/BUILD + cd mm-1.4.2 + DOCDIR=/builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/doc/mm-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/doc/mm-devel + cp -pr ChangeLog /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64/usr/share/doc/mm-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: mm-devel = 1.4.2-29.fc37 mm-devel(riscv-64) = 1.4.2-29.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libmm.so.14()(64bit) Processing files: mm-debugsource-1.4.2-29.fc37.riscv64 Provides: mm-debugsource = 1.4.2-29.fc37 mm-debugsource(riscv-64) = 1.4.2-29.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mm-debuginfo-1.4.2-29.fc37.riscv64 Provides: debuginfo(build-id) = 54db4f239c19f5f37c2922f52417f07b64050716 libmm.so.14.0.22-1.4.2-29.fc37.riscv64.debug()(64bit) mm-debuginfo = 1.4.2-29.fc37 mm-debuginfo(riscv-64) = 1.4.2-29.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mm-debugsource(riscv-64) = 1.4.2-29.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 Wrote: /builddir/build/RPMS/mm-1.4.2-29.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/mm-devel-1.4.2-29.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/mm-debuginfo-1.4.2-29.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/mm-debugsource-1.4.2-29.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xOpOOX + umask 022 + cd /builddir/build/BUILD + cd mm-1.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mm-1.4.2-29.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.pMOYKn + umask 022 + cd /builddir/build/BUILD + rm -rf mm-1.4.2 mm-1.4.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0