Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hdparm.spec'], chrootPath='/home/mockroot/dist-circle9-build-66845-23337/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/hdparm-9.62-2.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hdparm.spec'], chrootPath='/home/mockroot/dist-circle9-build-66845-23337/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JNAmuf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hdparm-9.62 + /usr/bin/gzip -dc /builddir/build/SOURCES/hdparm-9.62.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hdparm-9.62 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/hdparm-9.60-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/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.60-sysfs-fclose.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pXPM6Z + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.62 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + /usr/bin/make -O -j176 V=1 VERBOSE=1 STRIP=/bin/true 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' /usr/bin/make -j4 hdparm make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o sysfs.o sysfs.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o sgio.o sgio.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o geom.o geom.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fallocate.o fallocate.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fibmap.o fibmap.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' fibmap.c: In function 'handle_extent': fibmap.c:46:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 46 | sprintf(lba_info, "%10llu %10llu", begin_lba, end_lba); | ~~~~~^ ~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %10lu fibmap.c:46:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 46 | sprintf(lba_info, "%10llu %10llu", begin_lba, end_lba); | ~~~~~^ ~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %10lu fibmap.c:52:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 52 | sprintf(len_info, "%10llu", nsectors); | ~~~~~^ ~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %10lu fibmap.c:53:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 53 | printf("%12llu %s %s\n", ext.byte_offset, lba_info, len_info); | ~~~~~^ ~~~~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %12lu fibmap.c: In function 'walk_fiemap': fibmap.c:171:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 171 | if (0) fprintf(stderr, "ioctl(FIEMAP) returned %llu extents\n", (__u64)fs.fm.mapped_extents); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | long unsigned int | long long unsigned int | %lu fibmap.c:181:64: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 181 | if (0) fprintf(stderr, "log=%llu phy=%llu len=%llu flags=0x%x\n", fs.fe[i].logical, | ~~~^ ~~~~~~~~~~~~~~~~ | | | | long long unsigned int __u64 {aka long unsigned int} | %lu fibmap.c:181:73: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 181 | if (0) fprintf(stderr, "log=%llu phy=%llu len=%llu flags=0x%x\n", fs.fe[i].logical, | ~~~^ | | | long long unsigned int | %lu 182 | fs.fe[i].physical, fs.fe[i].length, fs.fe[i].flags); | ~~~~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} fibmap.c:181:82: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 181 | if (0) fprintf(stderr, "log=%llu phy=%llu len=%llu flags=0x%x\n", fs.fe[i].logical, | ~~~^ | | | long long unsigned int | %lu 182 | fs.fe[i].physical, fs.fe[i].length, fs.fe[i].flags); | ~~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} fibmap.c: In function 'do_filemap': fibmap.c:261:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 261 | printf("\n%s:\n filesystem blocksize %u, begins at LBA %llu;" | ~~~^ | | | long long unsigned int | %lu 262 | " assuming %u byte sectors.\n", 263 | file_name, blksize, start_lba, sector_bytes); | ~~~~~~~~~ | | | __u64 {aka long unsigned int} make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fwdownload.o fwdownload.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' fwdownload.c: In function 'fwdownload': fwdownload.c:183:63: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 183 | fprintf(stderr, "Error: file size (%llu) too large for mode7 transfers\n", (__u64)st.st_size); | ~~~^ ~~~~~~~~~~~~~~~~~ | | | | long long unsigned int long unsigned int | %lu make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dvdspeed.o dvdspeed.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o identify.o identify.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' identify.c: In function 'dco_identify_print': identify.c:1535:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1535 | printf("\tReal max sectors: %llu\n", lba); | ~~~^ ~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wdidle3.o wdidle3.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o apt.o apt.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o hdparm.o hdparm.c make[1]: Leaving directory '/builddir/build/BUILD/hdparm-9.62' In file included from /usr/include/unistd.h:25, from hdparm.c:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ hdparm.c: In function 'dump_identity': hdparm.c:513:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 513 | printf(", LBAsects=%llu", get_lba_capacity(idw)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c: In function 'abort_if_not_full_device': hdparm.c:1232:83: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1232 | fprintf(stderr, "Device %s has non-zero LBA starting offset of %llu.\n", devname, start_lba); | ~~~^ ~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c:1235:64: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1235 | fprintf(stderr, "The absolute LBA of sector %llu from %s should be %llu\n", lba, devname, start_lba + lba); | ~~~^ ~~~ | | | | long long unsigned int __u64 {aka long unsigned int} | %lu hdparm.c:1235:87: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1235 | fprintf(stderr, "The absolute LBA of sector %llu from %s should be %llu\n", lba, devname, start_lba + lba); | ~~~^ ~~~~~~~~~~~~~~~ | | | | long long unsigned int __u64 {aka long unsigned int} | %lu hdparm.c: In function 'do_make_bad_sector': hdparm.c:1432:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1432 | printf("Corrupting sector %llu (WRITE_UNC_EXT as %s): ", lba, flagged); | ~~~^ ~~~ | | | | long long unsigned int __u64 {aka long unsigned int} | %lu hdparm.c:1436:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1436 | printf("Corrupting sector %llu (WRITE_LONG): ", lba); | ~~~^ ~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c: In function 'trim_sectors': hdparm.c:1529:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1529 | printf("trimming %llu sectors from %d ranges\n", nsectors, nranges); | ~~~^ ~~~~~~~~ | | | | long long unsigned int __u64 {aka long unsigned int} | %lu hdparm.c: In function 'do_set_sector_size_cmd': hdparm.c:1692:58: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1692 | printf("changing sector size configuration to %llu: ", new_sector_size); | ~~~^ ~~~~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c: In function 'do_trim_from_stdin': hdparm.c:1745:34: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 2 has type '__u64 *' {aka 'long unsigned int *'} [-Wformat=] 1745 | args = scanf("%llu:%llu", &lba, &nsect); | ~~~^ ~~~~ | | | | | __u64 * {aka long unsigned int *} | long long unsigned int * | %lu hdparm.c:1745:39: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type '__u64 *' {aka 'long unsigned int *'} [-Wformat=] 1745 | args = scanf("%llu:%llu", &lba, &nsect); | ~~~^ ~~~~~~ | | | | | __u64 * {aka long unsigned int *} | long long unsigned int * | %lu hdparm.c: In function 'do_write_sector': hdparm.c:1789:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1789 | printf("re-writing sector %llu: ", lba); | ~~~^ ~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c: In function 'do_read_sector': hdparm.c:1823:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 1823 | printf("reading sector %llu: ", lba); | ~~~^ ~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c: In function 'process_dev': hdparm.c:2411:79: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 2411 | printf("issuing DCO set command (sectors = %llu)\n", set_max_addr); | ~~~^ ~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c:2446:68: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 2446 | printf(" setting max visible sectors to %llu (%s)\n", set_max_addr, set_max_permanent ? "permanent" : "temporary"); | ~~~^ ~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c:2644:73: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 2644 | printf(" geometry = %u/%u/%u, sectors = %lld, start = ", cyls, heads, sects, nsectors); | ~~~^ ~~~~~~~~ | | | | long long int __u64 {aka long unsigned int} | %ld hdparm.c:2648:44: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 2648 | printf("%lld\n", start_lba); | ~~~^ ~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long int | %ld hdparm.c:2800:61: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 2800 | printf(" max sectors = %llu/%llu", visible, native); | ~~~^ ~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c:2800:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 2800 | printf(" max sectors = %llu/%llu", visible, native); | ~~~^ ~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu hdparm.c:2820:61: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 2820 | printf("(%llu?)", dco_max); | ~~~^ ~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu make[1]: Entering directory '/builddir/build/BUILD/hdparm-9.62' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.62' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eg6LlD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le + cd hdparm-9.62 + mkdir -p /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/sbin + mkdir -p /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/man/man8 + install -c -m 755 hdparm /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/sbin/hdparm + install -c -m 644 hdparm.8 /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j176 --strict-build-id -m -i --build-id-seed 9.62-2.el9 --unique-debug-suffix -9.62-2.el9.ppc64le --unique-debug-src-base hdparm-9.62-2.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hdparm-9.62 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/sbin/hdparm extracting debug info from /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/sbin/hdparm original debug info size: 424kB, size after compression: 400kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 448 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: hdparm-9.62-2.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2oBQCo + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.62 + DOCDIR=/builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/doc/hdparm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/doc/hdparm + cp -pr hdparm.lsm /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/doc/hdparm + cp -pr Changelog /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/doc/hdparm + cp -pr README.acoustic /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/doc/hdparm + cp -pr TODO /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/doc/hdparm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.G2B0it + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.62 + LICENSEDIR=/builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/licenses/hdparm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/licenses/hdparm + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le/usr/share/licenses/hdparm + RPM_EC=0 ++ jobs -p + exit 0 Provides: /sbin/hdparm hdparm = 9.62-2.el9 hdparm(ppc-64) = 9.62-2.el9 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: hdparm-debugsource-9.62-2.el9.ppc64le Provides: hdparm-debugsource = 9.62-2.el9 hdparm-debugsource(ppc-64) = 9.62-2.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hdparm-debuginfo-9.62-2.el9.ppc64le Provides: debuginfo(build-id) = 231203fd39b5bc830b3dc3c06998768d7928e416 hdparm-debuginfo = 9.62-2.el9 hdparm-debuginfo(ppc-64) = 9.62-2.el9 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.62-2.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le Wrote: /builddir/build/RPMS/hdparm-9.62-2.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/hdparm-debugsource-9.62-2.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/hdparm-debuginfo-9.62-2.el9.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.py34YR + umask 022 + cd /builddir/build/BUILD + cd hdparm-9.62 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hdparm-9.62-2.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0