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/cpmtools.spec'], chrootPath='/var/lib/mock/f29-build-10360-4679/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/cpmtools.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/cpmtools-2.20-6.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cpmtools.spec'], chrootPath='/var/lib/mock/f29-build-10360-4679/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/cpmtools.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.QWSXFm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cpmtools-2.20 + /usr/bin/gzip -dc /builddir/build/SOURCES/cpmtools-2.20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cpmtools-2.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (cpmtools-2.19-nostrip.patch):' Patch #0 (cpmtools-2.19-nostrip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nostrip --fuzz=0 patching file Makefile.in + sed -i -e 's!@datarootdir@/diskdefs!$\(DATADIR\)/diskdefs!' Makefile.in + sed -i -e 's!@DATADIR@!/usr/share/cpmtools!' cpmchattr.1.in cpmchmod.1.in cpmcp.1.in cpmls.1.in cpmrm.1.in fsck.cpm.1.in fsed.cpm.1.in mkfs.cpm.1.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AfnmkG + umask 022 + cd /builddir/build/BUILD + cd cpmtools-2.20 + 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 + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --datarootdir=/usr/share/cpmtools --with-libdsk BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for printw in -lcurses... yes checking for dsk_open in -ldsk... yes checking libdsk.h usability... yes checking libdsk.h presence... yes checking for libdsk.h... yes checking for ANSI C header files... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/types.h usability... yes checking sys/types.h presence... yes checking for sys/types.h... yes checking sys/stat.h usability... yes checking sys/stat.h presence... yes checking for sys/stat.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking for an ANSI C-conforming const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for working memcmp... yes checking for strftime... yes checking for mktime... yes checking for strerror... yes configure: creating ./config.status config.status: creating Makefile config.status: creating cpm.5 config.status: creating cpmchattr.1 config.status: creating cpmchmod.1 config.status: creating cpmcp.1 config.status: creating cpmls.1 config.status: creating cpmrm.1 config.status: creating fsck.cpm.1 config.status: creating fsed.cpm.1 config.status: creating mkfs.cpm.1 config.status: creating config.h BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o cpmls.o cpmls.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o cpmfs.o cpmfs.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o getopt.o getopt.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o getopt1.o getopt1.c BUILDSTDERR: cpmfs.c: In function 'alvInit': BUILDSTDERR: cpmfs.c:270:25: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: if (d->dir[i].status>=0 && d->dir[i].status<=(d->type&CPMFS_HI_USER ? 31 : 15)) BUILDSTDERR: ^~ BUILDSTDERR: getopt1.c: In function 'getopt_long': BUILDSTDERR: getopt1.c:44:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return _getopt_internal (argc, (char **) argv, options, long_options, BUILDSTDERR: ^ BUILDSTDERR: getopt1.c: In function 'getopt_long_only': BUILDSTDERR: getopt1.c:67:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return _getopt_internal (argc, (char **) argv, options, long_options, BUILDSTDERR: ^ gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o device_libdsk.o device_libdsk.c BUILDSTDERR: getopt.c: In function '_getopt_internal_r': BUILDSTDERR: getopt.c:738:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: d->__nextchar = (char *) ""; BUILDSTDERR: ^ BUILDSTDERR: cpmfs.c: In function 'cpmReaddir': BUILDSTDERR: cpmfs.c:1520:70: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: if ((cur=dir->ino->sb->dir+(dir->pos-RESERVED_ENTRIES))->status>=0 && cur->status<=(dir->ino->sb->type&CPMFS_HI_USER ? 31 : 15)) BUILDSTDERR: ^~ BUILDSTDERR: getopt.c: At top level: BUILDSTDERR: getopt.c:1113:5: warning: "_LIBC" is not defined, evaluates to 0 [-Wundef] BUILDSTDERR: #if _LIBC BUILDSTDERR: ^~~~~ BUILDSTDERR: getopt.c: In function 'getopt': BUILDSTDERR: getopt.c:1122:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return _getopt_internal (argc, (char **) argv, optstring, NULL, NULL, 0, BUILDSTDERR: ^ BUILDSTDERR: device_libdsk.c: In function 'Device_setGeometry': BUILDSTDERR: device_libdsk.c:95:53: warning: comparison of integer expressions of different signedness: 'dsk_pcyl_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (this->geom.dg_cylinders * this->geom.dg_heads == tracks) return NULL; BUILDSTDERR: ^~ gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o cpmrm.o cpmrm.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o cpmcp.o cpmcp.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o cpmchmod.o cpmchmod.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o cpmchattr.o cpmchattr.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o mkfs.cpm.o mkfs.cpm.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o fsck.cpm.o fsck.cpm.c gcc -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 -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common -Iyes/include -Iyes/include -DDISKDEFS=\"/usr/share/cpmtools/diskdefs\" -DFORMAT=\"ibm-3740\" -c -o fsed.cpm.o fsed.cpm.c BUILDSTDERR: fsck.cpm.c: In function 'fsck': BUILDSTDERR: fsck.cpm.c:161:16: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: if (*status>=0 && *status<=(sb->type==CPMFS_P2DOS ? 31 : 15)) /* directory entry */ /*{{{*/ BUILDSTDERR: ^~ BUILDSTDERR: fsck.cpm.c:311:50: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: if ((s=sb->dir[extent2=(extent&~3)].status)>=0 && s<=(sb->type==CPMFS_P2DOS ? 31 : 15)) /* time stamps for first of the three extents */ /*{{{*/ BUILDSTDERR: ^~ BUILDSTDERR: fsck.cpm.c:325:52: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: if ((s=sb->dir[extent2=(extent&~3)+1].status)>=0 && s<=(sb->type==CPMFS_P2DOS ? 31 : 15)) /* time stamps for second */ /*{{{*/ BUILDSTDERR: ^~ BUILDSTDERR: fsck.cpm.c:339:52: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: if ((s=sb->dir[extent2=(extent&~3)+2].status)>=0 && s<=(sb->type==CPMFS_P2DOS ? 31 : 15)) /* time stamps for third */ /*{{{*/ BUILDSTDERR: ^~ BUILDSTDERR: fsck.cpm.c:488:79: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: for (extent=0; extentmaxdir; ++extent) if ((dir=sb->dir+extent)->status>=0 && dir->status<=(sb->type==CPMFS_P2DOS ? 31 : 15)) BUILDSTDERR: ^~ BUILDSTDERR: fsck.cpm.c:496:88: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: for (extent2=0; extent2maxdir; ++extent2) if ((dir2=sb->dir+extent2)->status>=0 && dir2->status<=(sb->type==CPMFS_P2DOS ? 31 : 15)) BUILDSTDERR: ^~ BUILDSTDERR: fsck.cpm.c:514:79: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: for (extent=0; extentmaxdir; ++extent) if ((dir=sb->dir+extent)->status>=0 && dir->status<=(sb->type==CPMFS_P2DOS ? 31 : 15)) BUILDSTDERR: ^~ BUILDSTDERR: fsck.cpm.c:516:86: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: for (extent2=0; extent2maxdir; ++extent2) if ((dir2=sb->dir+extent2)->status>=0 && dir2->status<=(sb->type==CPMFS_P2DOS ? 31 : 15)) BUILDSTDERR: ^~ BUILDSTDERR: fsck.cpm.c:543:81: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: for (extent=0; extentmaxdir; ++extent) if ((dir=sb->dir+extent)->status>=0 && dir->status<=(sb->type==CPMFS_P2DOS ? 31 : 15)) BUILDSTDERR: ^~ BUILDSTDERR: fsed.cpm.c: In function 'map': BUILDSTDERR: fsed.cpm.c:124:27: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: if (mapbuf[entry*32]>=0 && mapbuf[entry*32]<=(sb->type==CPMFS_P2DOS ? 31 : 15)) BUILDSTDERR: ^~ BUILDSTDERR: fsed.cpm.c: In function 'main': BUILDSTDERR: fsed.cpm.c:322:24: warning: comparison is always true due to limited range of data type [-Wtype-limits] BUILDSTDERR: ((buf[entrystart]>=0 && buf[entrystart]<=(drive.type==CPMFS_P2DOS ? 31 : 15)) || buf[entrystart]==(char)0xe5) BUILDSTDERR: ^~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Lyes/lib -o cpmls cpmls.o cpmfs.o getopt.o getopt1.o device_libdsk.o -ldsk -lcurses gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Lyes/lib -o cpmrm cpmrm.o cpmfs.o getopt.o getopt1.o device_libdsk.o -ldsk -lcurses gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Lyes/lib -o cpmcp cpmcp.o cpmfs.o getopt.o getopt1.o device_libdsk.o -ldsk -lcurses gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Lyes/lib -o cpmchmod cpmchmod.o cpmfs.o getopt.o getopt1.o device_libdsk.o -ldsk -lcurses gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Lyes/lib -o cpmchattr cpmchattr.o cpmfs.o getopt.o getopt1.o device_libdsk.o -ldsk -lcurses gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Lyes/lib -o mkfs.cpm mkfs.cpm.o cpmfs.o getopt.o getopt1.o device_libdsk.o -ldsk -lcurses gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Lyes/lib -o fsck.cpm fsck.cpm.o cpmfs.o getopt.o getopt1.o device_libdsk.o -ldsk -lcurses gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Lyes/lib -o fsed.cpm fsed.cpm.o cpmfs.o getopt.o getopt1.o device_libdsk.o -ldsk -lcurses + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7G8KLq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64 + cd cpmtools-2.20 + mkdir -p /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man5 + mkdir -p /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/cpmtools + make install BINDIR=/builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin MANDIR=/builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man DATADIR=/builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/cpmtools 'INSTALL=install -p' [ -d /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1 ] || install -p -m 755 -d /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1 [ -d /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man5 ] || install -p -m 755 -d /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man5 [ -d /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin ] || install -p -m 755 -d /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin install -p -m 755 cpmls /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmls install -p -m 755 cpmcp /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmcp install -p -m 755 cpmrm /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmrm install -p -m 755 cpmchmod /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmchmod install -p -m 755 cpmchattr /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmchattr install -p -m 755 mkfs.cpm /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/mkfs.cpm install -p -m 755 fsck.cpm /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/fsck.cpm [ "fsed.cpm" == '' ] || install -p -s -m 755 fsed.cpm /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/fsed.cpm install -p -m 644 diskdefs /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/cpmtools/diskdefs install -p -m 644 cpmls.1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1/cpmls.1 install -p -m 644 cpmcp.1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1/cpmcp.1 install -p -m 644 cpmrm.1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1/cpmrm.1 install -p -m 644 cpmchmod.1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1/cpmchmod.1 install -p -m 644 cpmchattr.1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1/cpmchattr.1 install -p -m 644 mkfs.cpm.1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1/mkfs.cpm.1 install -p -m 644 fsck.cpm.1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1/fsck.cpm.1 install -p -m 644 fsed.cpm.1 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man1/fsed.cpm.1 install -p -m 644 cpm.5 /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/man/man5/cpm.5 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.20-6.fc29 --unique-debug-suffix -2.20-6.fc29.riscv64 --unique-debug-src-base cpmtools-2.20-6.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cpmtools-2.20 extracting debug info from /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmchmod extracting debug info from /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/mkfs.cpm extracting debug info from /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmrm extracting debug info from /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmls extracting debug info from /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmcp extracting debug info from /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/cpmchattr extracting debug info from /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/bin/fsck.cpm /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. BUILDSTDERR: 326 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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cpmtools-2.20-6.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dZWnGs + umask 022 + cd /builddir/build/BUILD + cd cpmtools-2.20 + DOCDIR=/builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/doc/cpmtools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/doc/cpmtools + cp -pr COPYING /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/doc/cpmtools + cp -pr NEWS /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/doc/cpmtools + cp -pr README /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64/usr/share/doc/cpmtools + exit 0 Provides: cpmtools = 2.20-6.fc29 cpmtools(riscv-64) = 2.20-6.fc29 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) libdsk.so.3()(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: cpmtools-debugsource-2.20-6.fc29.riscv64 Provides: cpmtools-debugsource = 2.20-6.fc29 cpmtools-debugsource(riscv-64) = 2.20-6.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cpmtools-debuginfo-2.20-6.fc29.riscv64 Provides: cpmtools-debuginfo = 2.20-6.fc29 cpmtools-debuginfo(riscv-64) = 2.20-6.fc29 debuginfo(build-id) = 07f05367b13371440834787ed48794e00ea6af5f debuginfo(build-id) = 2021c3a9ccd35a7c902b79cde26be1e3eba8d657 debuginfo(build-id) = 323ea8306bba901ccb29e7163edac55b77272310 debuginfo(build-id) = 4fd6eeb0494afb7c5f86556a5a9e2fee27c488cf debuginfo(build-id) = 9155a709ef6c02d80bfeeaf330b562a6c9df832c debuginfo(build-id) = 9a6cdf5aacb5d3f25e2fe6dc9326e8f67cccada1 debuginfo(build-id) = eaed25e4b0bb32e3e312d30d50f0965edcd61037 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cpmtools-debugsource(riscv-64) = 2.20-6.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64 Wrote: /builddir/build/RPMS/cpmtools-2.20-6.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/cpmtools-debugsource-2.20-6.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/cpmtools-debuginfo-2.20-6.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.t6TCuz + umask 022 + cd /builddir/build/BUILD + cd cpmtools-2.20 + rm -rf /builddir/build/BUILDROOT/cpmtools-2.20-6.fc29.riscv64 + exit 0 Child return code was: 0