Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hdparm.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-stream-build-70715-21210/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hdparm.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/hdparm-9.54-4.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hdparm.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-stream-build-70715-21210/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hdparm.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pYCZT2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hdparm-9.54 + /usr/bin/gzip -dc /builddir/build/SOURCES/hdparm-9.54.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hdparm-9.54 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.43-ditch_dead_code.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.43-close_fd.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.43-get_geom.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.54-sysmacros.patch + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.54-resourceleak-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.54-resourceleak-fixes-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.62-dco_max_sector_calculation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r594H0 + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.54 + 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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection' + /usr/bin/make -O -j8 STRIP=/bin/true 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' /usr/bin/make -j4 hdparm make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o sysfs.o sysfs.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o sgio.o sgio.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o fallocate.o fallocate.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o geom.o geom.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o fibmap.o fibmap.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' fibmap.c: In function 'handle_extent': fibmap.c:48:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] sprintf(lba_info, "%10llu %10llu", begin_lba, end_lba); ~~~~~^ ~~~~~~~~~ %10lu fibmap.c:48:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] sprintf(lba_info, "%10llu %10llu", begin_lba, end_lba); ~~~~~^ ~~~~~~~ %10lu fibmap.c:54:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] sprintf(len_info, "%10llu", nsectors); ~~~~~^ ~~~~~~~~ %10lu fibmap.c:55:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("%12llu %s %s\n", ext.byte_offset, lba_info, len_info); ~~~~~^ ~~~~~~~~~~~~~~~ %12lu fibmap.c: In function 'walk_fiemap': fibmap.c:173:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] if (0) fprintf(stderr, "ioctl(FIEMAP) returned %llu extents\n", (__u64)fs.fm.mapped_extents); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu fibmap.c:183:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] if (0) fprintf(stderr, "log=%llu phy=%llu len=%llu flags=0x%x\n", fs.fe[i].logical, ~~~^ ~~~~~~~~~~~~~~~~ %lu fibmap.c:183:45: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] if (0) fprintf(stderr, "log=%llu phy=%llu len=%llu flags=0x%x\n", fs.fe[i].logical, ~~~^ %lu fs.fe[i].physical, fs.fe[i].length, fs.fe[i].flags); ~~~~~~~~~~~~~~~~~ fibmap.c:183:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] if (0) fprintf(stderr, "log=%llu phy=%llu len=%llu flags=0x%x\n", fs.fe[i].logical, ~~~^ %lu fs.fe[i].physical, fs.fe[i].length, fs.fe[i].flags); ~~~~~~~~~~~~~~~ fibmap.c: In function 'do_filemap': fibmap.c:263:60: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("\n%s:\n filesystem blocksize %u, begins at LBA %llu;" ~~~^ %lu fibmap.c:265:29: file_name, blksize, start_lba, sector_bytes); ~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o fwdownload.o fwdownload.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' fwdownload.c: In function 'fwdownload': fwdownload.c:183:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, "Error: file size (%llu) too large for mode7 transfers\n", (__u64)st.st_size); ~~~^ ~~~~~~~~~~~~~~~~~ %lu make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o dvdspeed.o dvdspeed.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o identify.o identify.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' identify.c: In function 'dco_identify_print': identify.c:1492:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("\tReal max sectors: %llu\n", lba); ~~~^ ~~~ %lu At top level: identify.c:349:19: warning: 'unknown' defined but not used [-Wunused-const-variable=] static const char unknown[8] = "obsolete"; ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o wdidle3.o wdidle3.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o apt.o apt.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -c -o hdparm.o hdparm.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' In file included from /usr/include/unistd.h:25, from hdparm.c:9: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hdparm.c: In function 'dump_identity': hdparm.c:508:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf(", LBAsects=%llu", get_lba_capacity(idw)); ~~~^ ~~~~~~~~~~~~~~~~~~~~~ %lu hdparm.c: In function 'abort_if_not_full_device': hdparm.c:1192:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "Device %s has non-zero LBA starting offset of %llu.\n", devname, start_lba); ~~~^ ~~~~~~~~~ %lu hdparm.c:1195:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "The absolute LBA of sector %llu from %s should be %llu\n", lba, devname, start_lba + lba); ~~~^ ~~~ %lu hdparm.c:1195:73: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "The absolute LBA of sector %llu from %s should be %llu\n", lba, devname, start_lba + lba); ~~~^ ~~~~~~~~~~~~~~~ %lu hdparm.c: In function 'do_make_bad_sector': hdparm.c:1392:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("Corrupting sector %llu (WRITE_UNC_EXT as %s): ", lba, flagged); ~~~^ ~~~ %lu hdparm.c:1396:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("Corrupting sector %llu (WRITE_LONG): ", lba); ~~~^ ~~~ %lu hdparm.c: In function 'trim_sectors': hdparm.c:1489:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("trimming %llu sectors from %d ranges\n", nsectors, nranges); ~~~^ ~~~~~~~~ %lu hdparm.c: In function 'do_trim_from_stdin': hdparm.c:1607:20: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 2 has type '__u64 *' {aka 'long unsigned int *'} [-Wformat=] args = scanf("%llu:%llu", &lba, &nsect); ~~~^ ~~~~ %lu hdparm.c:1607:25: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type '__u64 *' {aka 'long unsigned int *'} [-Wformat=] args = scanf("%llu:%llu", &lba, &nsect); ~~~^ ~~~~~~ %lu hdparm.c: In function 'do_write_sector': hdparm.c:1650:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("re-writing sector %llu: ", lba); ~~~^ ~~~ %lu hdparm.c: In function 'do_read_sector': hdparm.c:1683:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("reading sector %llu: ", lba); ~~~^ ~~~ %lu hdparm.c: In function 'process_dev': hdparm.c:2259:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("issuing DCO set command (sectors = %llu)\n", set_max_addr); ~~~^ ~~~~~~~~~~~~ %lu hdparm.c:2293:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf(" setting max visible sectors to %llu (%s)\n", set_max_addr, set_max_permanent ? "permanent" : "temporary"); ~~~^ ~~~~~~~~~~~~ %lu hdparm.c:2491:52: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf(" geometry = %u/%u/%u, sectors = %lld, start = ", cyls, heads, sects, nsectors); ~~~^ ~~~~~~~~ %ld hdparm.c:2495:16: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("%lld\n", start_lba); ~~~^ ~~~~~~~~~ %ld hdparm.c:2626:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf(" max sectors = %llu/%llu", visible, native); ~~~^ ~~~~~~~ %lu hdparm.c:2626:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf(" max sectors = %llu/%llu", visible, native); ~~~^ ~~~~~~ %lu hdparm.c:2646:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] printf("(%llu?)", dco_max); ~~~^ ~~~~~~~ %lu make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.54' cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hdparm hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o wdidle3.o apt.o /bin/true hdparm make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nvDD71 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le ++ dirname /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le + cd hdparm-9.54 + rm -rf /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le + mkdir -p /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/sbin + mkdir -p /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le//usr/share/man/man8 + install -c -m 755 hdparm /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/sbin/hdparm + install -c -m 644 hdparm.8 /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le//usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 9.54-4.el8 --unique-debug-suffix -9.54-4.el8.ppc64le --unique-debug-src-base hdparm-9.54-4.el8.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hdparm-9.54 extracting debug info from /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/sbin/hdparm /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 433 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: hdparm-9.54-4.el8.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UNg3Z0 + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.54 + DOCDIR=/builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/doc/hdparm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/doc/hdparm + cp -pr hdparm.lsm /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/doc/hdparm + cp -pr Changelog /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/doc/hdparm + cp -pr README.acoustic /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/doc/hdparm + cp -pr TODO /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/doc/hdparm + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.R1gNT0 + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.54 + LICENSEDIR=/builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/licenses/hdparm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/licenses/hdparm + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le/usr/share/licenses/hdparm + exit 0 Provides: hdparm = 9.54-4.el8 hdparm(ppc-64) = 9.54-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: hdparm-debugsource-9.54-4.el8.ppc64le Provides: hdparm-debugsource = 9.54-4.el8 hdparm-debugsource(ppc-64) = 9.54-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hdparm-debuginfo-9.54-4.el8.ppc64le Provides: debuginfo(build-id) = e816423f412b89b0efa201346c5c7684a4e500ca hdparm-debuginfo = 9.54-4.el8 hdparm-debuginfo(ppc-64) = 9.54-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hdparm-debugsource(ppc-64) = 9.54-4.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le Wrote: /builddir/build/RPMS/hdparm-9.54-4.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/hdparm-debugsource-9.54-4.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/hdparm-debuginfo-9.54-4.el8.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.goE610 + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.54 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hdparm-9.54-4.el8.ppc64le + exit 0 Child return code was: 0