Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/hdparm.spec'], chrootPath='/var/lib/mock/f27-build-11817037-876875/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/hdparm.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: ppc64 Building for target ppc64 Wrote: /builddir/build/SRPMS/hdparm-9.54-1.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/hdparm.spec'], chrootPath='/var/lib/mock/f27-build-11817037-876875/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/hdparm.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: ppc64 Building for target ppc64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.28e4DB + 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/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.43-close_fd.patch + /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/cat /builddir/build/SOURCES/hdparm-9.54-sysmacros.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lqSXrZ + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.54 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables' + /usr/bin/make -O -j4 STRIP=/bin/true LDFLAGS= /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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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:262: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 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -c -o fwdownload.o fwdownload.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.54' fwdownload.c: In function 'fwdownload': fwdownload.c:176: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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -funwind-tables -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:0, from hdparm.c:9: /usr/include/features.h:183: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:505: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:1184: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:1187: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:1187: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:1383: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:1387: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:1480: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:1598: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:1598: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:1641: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:1674: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:2250: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:2284: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:2482: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:2486: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:2617: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:2617: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:2637: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 -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.eCG41n + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64 ++ dirname /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64 + cd hdparm-9.54 + rm -rf /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64 + mkdir -p /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/sbin + mkdir -p /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64//usr/share/man/man8 + install -c -m 755 hdparm /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/sbin/hdparm + install -c -m 644 hdparm.8 /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64//usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 9.54-1.fc27 --unique-debug-suffix -9.54-1.fc27.ppc64 --unique-debug-src-base hdparm-9.54-1.fc27.ppc64 --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-1.fc27.ppc64/sbin/hdparm /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 433 blocks + /usr/lib/rpm/check-buildroot + /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 Processing files: hdparm-9.54-1.fc27.ppc64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SQyW1M + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.54 + DOCDIR=/builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/doc/hdparm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/doc/hdparm + cp -pr hdparm.lsm /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/doc/hdparm + cp -pr Changelog /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/doc/hdparm + cp -pr README.acoustic /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/doc/hdparm + cp -pr TODO /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/doc/hdparm + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8ARk2b + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.54 + LICENSEDIR=/builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/licenses/hdparm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/licenses/hdparm + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64/usr/share/licenses/hdparm + exit 0 Provides: hdparm = 9.54-1.fc27 hdparm(ppc-64) = 9.54-1.fc27 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.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: hdparm-debugsource-9.54-1.fc27.ppc64 Provides: hdparm-debugsource = 9.54-1.fc27 hdparm-debugsource(ppc-64) = 9.54-1.fc27 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-1.fc27.ppc64 Provides: debuginfo(build-id) = 18cb8e8bc65835e4774c0620276828ffb6b027c5 hdparm-debuginfo = 9.54-1.fc27 hdparm-debuginfo(ppc-64) = 9.54-1.fc27 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-1.fc27 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64 Wrote: /builddir/build/RPMS/hdparm-9.54-1.fc27.ppc64.rpm Wrote: /builddir/build/RPMS/hdparm-debugsource-9.54-1.fc27.ppc64.rpm Wrote: /builddir/build/RPMS/hdparm-debuginfo-9.54-1.fc27.ppc64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ayHoaB + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.54 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hdparm-9.54-1.fc27.ppc64 + exit 0 Child return code was: 0