Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mm.spec'], chrootPath='/var/lib/mock/f29-build-25469-13270/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/mm-1.4.2-21.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mm.spec'], chrootPath='/var/lib/mock/f29-build-25469-13270/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yn4TOq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mm-1.4.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.65pNc2 + umask 022 + cd /builddir/build/BUILD + cd mm-1.4.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ 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' ']' BUILDSTDERR: ++ 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 BUILDSTDERR: ./shtool: line 683: warning: command substitution: ignored null byte in input BUILDSTDERR: ./shtool: line 684: warning: command substitution: ignored null byte in input BUILDSTDERR: ./shtool: line 683: warning: command substitution: ignored null byte in input BUILDSTDERR: ./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... no checking for 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 for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E 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 BUILDSTDERR: 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 checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes BUILDSTDERR: 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 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... no checking for shm_unlink... no 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_global.c ./libtool --quiet --mode=compile gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_alloc.c ./libtool --quiet --mode=compile gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_core.c ./libtool --quiet --mode=compile gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_lib.c BUILDSTDERR: mm_core.c: In function 'mm_core_permission': BUILDSTDERR: mm_core.c:449:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_core *)((char *)core-SIZEOF_mem_core); BUILDSTDERR: ^ BUILDSTDERR: mm_core.c: In function 'mm_core_delete': BUILDSTDERR: mm_core.c:508:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_core *)((char *)core-SIZEOF_mem_core); BUILDSTDERR: ^ BUILDSTDERR: mm_core.c:498:12: warning: variable 'size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: size_t size; BUILDSTDERR: ^~~~ BUILDSTDERR: mm_core.c: In function 'mm_core_size': BUILDSTDERR: mm_core.c:558:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_core *)((char *)core-SIZEOF_mem_core); BUILDSTDERR: ^ BUILDSTDERR: mm_core.c: In function 'mm_core_lock': BUILDSTDERR: mm_core.c:570:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_core *)((char *)core-SIZEOF_mem_core); BUILDSTDERR: ^ BUILDSTDERR: mm_core.c: In function 'mm_core_unlock': BUILDSTDERR: mm_core.c:631:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_core *)((char *)core-SIZEOF_mem_core); BUILDSTDERR: ^ BUILDSTDERR: mm_alloc.c: In function 'mm_display_info': BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, " memory size = %d\n", mm->mp_size); BUILDSTDERR: ~^ ~~~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, " memory offset = %d\n", mm->mp_offset); BUILDSTDERR: ~^ ~~~~~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, " bytes spare = %d\n", mm->mp_size-mm->mp_offset); BUILDSTDERR: ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, " bytes free = %d (%d chunk%s)\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: nFree, mm->mp_freechunks.mc_usize, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, " chunk #%03d: 0x%lx-0x%lx (%d bytes)\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: i++, (unsigned long)mc, (unsigned long)(mc+mc->mc_size), mc->mc_size); BUILDSTDERR: ~~~~~~~~~~~ BUILDSTDERR: mm_alloc.c: In function 'mm_retrieve_chunk': BUILDSTDERR: mm_alloc.c:307:18: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_chunk *)((char *)mcRes + size); BUILDSTDERR: ^ BUILDSTDERR: mm_alloc.c: In function 'mm_malloc': BUILDSTDERR: mm_alloc.c:347:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_chunk *)((char *)mm + mm->mp_offset); BUILDSTDERR: ^ BUILDSTDERR: mm_alloc.c: In function 'mm_realloc': BUILDSTDERR: mm_alloc.c:369:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_chunk *)((char *)ptr - SIZEOF_mem_chunk); BUILDSTDERR: ^ BUILDSTDERR: mm_alloc.c: In function 'mm_free': BUILDSTDERR: mm_alloc.c:395:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_chunk *)((char *)ptr - SIZEOF_mem_chunk); BUILDSTDERR: ^ BUILDSTDERR: mm_alloc.c: In function 'mm_sizeof': BUILDSTDERR: mm_alloc.c:441:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: mc = (mem_chunk *)((char *)ptr - SIZEOF_mem_chunk); BUILDSTDERR: ^ ./libtool --quiet --mode=compile gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_vers.c ./libtool --quiet --mode=compile gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline mm_test.c BUILDSTDERR: mm_test.c: In function 'main': BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, "actually allocated core size = %d\n", s); BUILDSTDERR: ~^ ~ BUILDSTDERR: %ld BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, "actually allocated core size = %d\n", s); BUILDSTDERR: ~^ ~ BUILDSTDERR: %ld BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, "actually available bytes = %d\n", s); BUILDSTDERR: ~^ ~ BUILDSTDERR: %ld BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, "total=%09d allocated=%09d add=%06d\r", s, n, (i+1)*(i+1)); BUILDSTDERR: ~~~^ ~ BUILDSTDERR: %09ld BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, "Something is leaking, we've lost %d bytes\n", s - s2); BUILDSTDERR: ~^ ~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: 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=] BUILDSTDERR: fprintf(stderr, "Fine, we have again %d bytes available\n", s2); BUILDSTDERR: ~^ ~~ BUILDSTDERR: %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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GNFypl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 + cd mm-1.4.2 + rm -rf /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/bin ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/include ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/lib64 ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/share/man/man1 ./shtool mkdir -f -p -m 755 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/share/man/man3 ./shtool install -c -m 755 mm-config /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/bin/mm-config ./shtool install -c -m 644 mm-config.1 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/share/man/man1/mm-config.1 ./shtool install -c -m 644 mm.3 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/share/man/man3/mm.3 ./shtool install -c -m 644 mm.h /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/include/mm.h ./shtool install -c -m 644 .libs/libmm.so.14.0.22 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/lib64/libmm.so.14.0.22 (cd /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.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-21.fc29.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-21.fc29.riscv64/usr/lib64/libmm.la ./shtool install -c -m 644 .libs/libmm.a /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/lib64/libmm.a chmod 644 /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/lib64/libmm.a ranlib /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/lib64/libmm.a BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib64' + find /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 -name '*.la' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 -name '*.a' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.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-21.fc29.riscv64/usr/bin/mm-config + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.4.2-21.fc29 --unique-debug-suffix -1.4.2-21.fc29.riscv64 --unique-debug-src-base mm-1.4.2-21.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mm-1.4.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/lib64/libmm.so.14.0.22 extracting debug info from /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/lib64/libmm.so.14.0.22 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 102 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/mm-config from /bin/sh to #!/usr/bin/sh Processing files: mm-1.4.2-21.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kVqHw8 + umask 022 + cd /builddir/build/BUILD + cd mm-1.4.2 + DOCDIR=/builddir/build/BUILDROOT/mm-1.4.2-21.fc29.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-21.fc29.riscv64/usr/share/doc/mm + cp -pr LICENSE /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/share/doc/mm + cp -pr THANKS /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/share/doc/mm + cp -pr README /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/share/doc/mm + exit 0 Provides: libmm.so.14()(64bit) mm = 1.4.2-21.fc29 mm(riscv-64) = 1.4.2-21.fc29 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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-21.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hS9XLm + umask 022 + cd /builddir/build/BUILD + cd mm-1.4.2 + DOCDIR=/builddir/build/BUILDROOT/mm-1.4.2-21.fc29.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-21.fc29.riscv64/usr/share/doc/mm-devel + cp -pr ChangeLog /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64/usr/share/doc/mm-devel + exit 0 Provides: mm-devel = 1.4.2-21.fc29 mm-devel(riscv-64) = 1.4.2-21.fc29 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-21.fc29.riscv64 Provides: mm-debugsource = 1.4.2-21.fc29 mm-debugsource(riscv-64) = 1.4.2-21.fc29 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-21.fc29.riscv64 Provides: debuginfo(build-id) = f4271046edc0f448ea197039462db282bed9c80c mm-debuginfo = 1.4.2-21.fc29 mm-debuginfo(riscv-64) = 1.4.2-21.fc29 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-21.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 Wrote: /builddir/build/RPMS/mm-1.4.2-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/mm-devel-1.4.2-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/mm-debugsource-1.4.2-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/mm-debuginfo-1.4.2-21.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5DZTwq + umask 022 + cd /builddir/build/BUILD + cd mm-1.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mm-1.4.2-21.fc29.riscv64 + exit 0 Child return code was: 0