Mock Version: 1.3.3 Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/acpitool.spec'], uid=1000printOutput=Falsegid=425logger=timeout=172800shell=Falseenv={'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'}user='mockbuild'chrootPath='/var/lib/mock/f26-build-7590529-693990/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/acpitool.spec'] with env {'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/acpitool-0.5.1-13.fc26.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/acpitool.spec'], uid=1000printOutput=Falseuser='mockbuild'gid=425private_network=Truetimeout=172800shell=Falselogger=env={'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'}chrootPath='/var/lib/mock/f26-build-7590529-693990/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/acpitool.spec'] with env {'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UaDFIs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf acpitool-0.5.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/acpitool-0.5.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd acpitool-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xm8h6G + umask 022 + cd /builddir/build/BUILD + cd acpitool-0.5.1 + 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 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-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 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-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 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ 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) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ 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-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for ppc64le-redhat-linux-gnu-g++... no checking for ppc64le-redhat-linux-gnu-c++... no checking for ppc64le-redhat-linux-gnu-gpp... no checking for ppc64le-redhat-linux-gnu-aCC... no checking for ppc64le-redhat-linux-gnu-CC... no checking for ppc64le-redhat-linux-gnu-cxx... no checking for ppc64le-redhat-linux-gnu-cc++... no checking for ppc64le-redhat-linux-gnu-cl.exe... no checking for ppc64le-redhat-linux-gnu-FCC... no checking for ppc64le-redhat-linux-gnu-KCC... no checking for ppc64le-redhat-linux-gnu-RCC... no checking for ppc64le-redhat-linux-gnu-xlC_r... no checking for ppc64le-redhat-linux-gnu-xlC... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for ppc64le-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 dependency style of gcc... none checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether closedir returns void... no checking for strdup... yes checking for memset... yes checking for strtol... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands +-----------------------------------------------------------------------------------+ | Run make && make install when the configure script has finished without problems. | +-----------------------------------------------------------------------------------+ + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o main.o main.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o acpitool.o acpitool.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o ac_adapter.o ac_adapter.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o toshiba.o toshiba.cpp acpitool.cpp: In function 'int Has_ACPI(char*)': acpitool.cpp:69:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/info"; ^~~~~~~~~~~~~~~~~ acpitool.cpp:70:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename2 = "/sys/module/acpi/parameters/acpica_version"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Get_Kernel_Version(char*, int)': acpitool.cpp:142:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/sys/kernel/osrelease"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Set_Kernel_Version()': acpitool.cpp:190:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/sys/kernel/osrelease"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': acpitool.cpp:232:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/proc/acpi/thermal_zone/"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Do_Fan_Info(int)': acpitool.cpp:366:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/proc/acpi/fan/"; ^~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Show_WakeUp_Devices(int)': acpitool.cpp:422:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/wakeup"; ^~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Toggle_WakeUp_Device(int, int)': acpitool.cpp:469:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/wakeup"; ^~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Do_Suspend(int)': acpitool.cpp:535:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/sleep"; // nice default values // ^~~~~~~~~~~~~~~~~~ acpitool.cpp:536:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = "3"; ^~~ acpitool.cpp:542:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/sys/power/state"; ^~~~~~~~~~~~~~~~~~ acpitool.cpp:543:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = "mem"; ^~~~~ acpitool.cpp:546:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 4 : if(Kernel_24) str = "4"; ^~~ acpitool.cpp:549:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/sys/power/state"; ^~~~~~~~~~~~~~~~~~ acpitool.cpp:550:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = "disk"; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o asus.o asus.cpp toshiba.cpp: In function 'int Has_Toshiba_ACPI()': toshiba.cpp:50:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/toshiba"; ^~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Do_Toshiba_Fan_Info()': toshiba.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/toshiba/fan"; ^~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Has_ACPI(char*)': acpitool.cpp:107:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ toshiba.cpp: In function 'int Do_LCD_Info()': toshiba.cpp:137:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/toshiba/lcd"; ^~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': acpitool.cpp:324:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 120, fp); ~~~~~^~~~~~~~~~~~~~ toshiba.cpp: In function 'int Force_Fan(int)': toshiba.cpp:171:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/toshiba/fan"; ^~~~~~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Set_LCD_Level(int)': toshiba.cpp:205:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/toshiba/lcd"; ^~~~~~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Do_Video_Info()': toshiba.cpp:236:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/toshiba/video"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp: In function 'int Do_AC_Info(int)': ac_adapter.cpp:62:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/proc/acpi/ac_adapter/"; ^~~~~~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:53:37: warning: unused variable 'str' [-Wunused-variable] char *dirname, filename[4][50], str[40]; ^~~ ac_adapter.cpp: In function 'int Do_AC_Info_Proc(int)': ac_adapter.cpp:99:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/proc/acpi/ac_adapter/"; ^~~~~~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp: In function 'int Do_AC_Info_Sys()': ac_adapter.cpp:157:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/sys/class/power_supply/"; //find all entries in this dir ^~~~~~~~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:223:50: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ ac_adapter.cpp:153:23: warning: unused variable 'start' [-Wunused-variable] int ac_count = 0, start = 0, findex = 0; ^~~~~ ac_adapter.cpp:183:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(temp_fp, "%s", str); ~~~~~~^~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:215:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); /* just skip the first 5 lines */ ~~~~~^~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:218:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:149:5: warning: '%s' directive writing up to 255 bytes into a region of size 76 [-Wformat-overflow=] int Do_AC_Info_Sys() ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:939:0, from /usr/include/c++/7/cstdio:42, from /usr/include/c++/7/ext/string_conversions.h:43, from /usr/include/c++/7/bits/basic_string.h:6157, from /usr/include/c++/7/string:52, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from ac_adapter.cpp:35: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 30 and 285 bytes into a destination of size 100 __bos (__s), __fmt, __va_arg_pack ()); ^ asus.cpp: In function 'int Has_Asus_ACPI()': asus.cpp:50:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/asus"; ^~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Do_Asus_LCD_Info()': asus.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/asus/brn"; ^~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Set_Asus_LCD_Level(int)': asus.cpp:121:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/asus/brn"; ^~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Do_Asus_Video_Info()': asus.cpp:149:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/asus/disp"; ^~~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Do_Asus_Info()': asus.cpp:204:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/asus/info"; ^~~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Set_Asus_LCD_State(int)': asus.cpp:268:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/asus/lcd"; ^~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o thinkpad.o thinkpad.cpp asus.cpp: In function 'int Set_MLed(int)': asus.cpp:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/asus/mled"; ^~~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Set_WLed(int)': asus.cpp:318:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/asus/wled"; ^~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o cpu.o cpu.cpp thinkpad.cpp: In function 'int Has_Thinkpad_ACPI()': thinkpad.cpp:17:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/ibm"; ^~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Eject_Thinkpad_Bay()': thinkpad.cpp:38:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/ibm/bay"; ^~~~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Set_Thinkpad_LCD_Level(int)': thinkpad.cpp:59:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/ibm/brightness"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Do_Thinkpad_Fan_Info()': thinkpad.cpp:85:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename = "/proc/acpi/ibm/fan"; ^~~~~~~~~~~~~~~~~~~~ acpitool.cpp:219:5: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] int Do_Thermal_Info(const int show_trip, int verbose) ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:939:0, from /usr/include/c++/7/cstdio:42, from /usr/include/c++/7/ext/string_conversions.h:43, from /usr/include/c++/7/bits/basic_string.h:6157, from /usr/include/c++/7/string:52, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from acpitool.cpp:37: /usr/include/bits/stdio2.h:65:44: note: '__builtin___snprintf_chk' output between 31 and 286 bytes into a destination of size 255 __bos (__s), __fmt, __va_arg_pack ()); ^ acpitool.cpp:219:5: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] int Do_Thermal_Info(const int show_trip, int verbose) ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:939:0, from /usr/include/c++/7/cstdio:42, from /usr/include/c++/7/ext/string_conversions.h:43, from /usr/include/c++/7/bits/basic_string.h:6157, from /usr/include/c++/7/string:52, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from acpitool.cpp:37: /usr/include/bits/stdio2.h:65:44: note: '__builtin___snprintf_chk' output between 37 and 292 bytes into a destination of size 255 __bos (__s), __fmt, __va_arg_pack ()); ^ acpitool.cpp:219:5: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] int Do_Thermal_Info(const int show_trip, int verbose) ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:939:0, from /usr/include/c++/7/cstdio:42, from /usr/include/c++/7/ext/string_conversions.h:43, from /usr/include/c++/7/bits/basic_string.h:6157, from /usr/include/c++/7/string:52, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from acpitool.cpp:37: /usr/include/bits/stdio2.h:65:44: note: '__builtin___snprintf_chk' output between 37 and 292 bytes into a destination of size 255 __bos (__s), __fmt, __va_arg_pack ()); ^ cpu.cpp: In function 'int Show_CPU_Info()': cpu.cpp:107:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/proc/acpi/processor/"; //find all entries in this dir // ^~~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:55:16: warning: variable 'bm_activity' set but not used [-Wunused-but-set-variable] long long int bm_activity; ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o battery.o battery.cpp cpu.cpp:64:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] for(int t=0; t<4; t++) fgets(str, 299, cpuinfo_fp); // skip 4 lines // ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:65:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 299, cpuinfo_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:69:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 299, cpuinfo_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:70:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 299, cpuinfo_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:81:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 299, cpuinfo_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:86:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] for(int t=0; t<5; t++) fgets(str, 299, cpuinfo_fp); // we can skip at least 5 lines to reach Bogomips line// ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:90:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 299, cpuinfo_fp); // different for Amd64, Opteron, Core Duo, P4 with Ht, ... // ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:213:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); // active state ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:220:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); // max_cstate ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:229:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); // bus master activity ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:236:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); // states (line contains no information) ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:239:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 130, power_fp); // cstate Cx ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:285:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, throt_fp); // active state ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:289:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, throt_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -mcpu=power8 -mtune=power8 -c -o freq.o freq.cpp battery.cpp: In function 'int Do_Battery_Stuff(int, int, int)': battery.cpp:69:23: warning: variable 'Use_Sys' set but not used [-Wunused-but-set-variable] int Use_Proc = 0, Use_Sys = 0; ^~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Proc(int, Battery_Info*, int)': battery.cpp:338:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/proc/acpi/battery/"; //find all entries in this dir ^~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': battery.cpp:521:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/sys/class/power_supply/"; //find all entries in this dir ^~~~~~~~~~~~~~~~~~~~~~~~~~ battery.cpp:626:49: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ battery.cpp:655:49: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ battery.cpp:676:49: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ battery.cpp:689:49: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ battery.cpp:702:49: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ battery.cpp:718:49: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ battery.cpp:734:49: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ battery.cpp:767:49: warning: format '%[^ ' expects a matching 'char*' argument [-Wformat=] sscanf(str, "%*[^=] %*c %s %[^\n]",temp); ^ battery.cpp: In function 'int Count_Batteries_ProcFS()': battery.cpp:788:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/proc/acpi/battery/"; ^~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Count_Batteries_SysFS()': battery.cpp:837:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = "/sys/class/power_supply/"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': battery.cpp:553:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(temp_fp, "%s", str); ~~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:618:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); /* skip first 5 lines */ ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:622:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:633:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:651:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:667:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); /* skip 1 line */ ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:672:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:685:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:698:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:714:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:730:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:745:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:759:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:763:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(str, 100, power_fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Count_Batteries_SysFS()': battery.cpp:883:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(powertype_fp, "%s", str); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Min_Freq()': freq.cpp:97:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(freqinfo_fp, "%s", str); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Max_Freq()': freq.cpp:121:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(freqinfo_fp, "%s", str); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Current_Freq()': freq.cpp:144:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(freqinfo_fp, "%s", str); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Governor(char*)': freq.cpp:166:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(freqinfo_fp, "%s", str); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Driver(char*)': freq.cpp:189:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(freqinfo_fp, "%s", str); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': battery.cpp:513:5: warning: '%s' directive writing up to 255 bytes into a region of size 76 [-Wformat-overflow=] int Get_Battery_Info_from_Sys(const int bat_nr, Battery_Info *batt_info, int verbose) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:939:0, from /usr/include/c++/7/cstdio:42, from /usr/include/c++/7/ext/string_conversions.h:43, from /usr/include/c++/7/bits/basic_string.h:6157, from /usr/include/c++/7/string:52, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from battery.cpp:38: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 30 and 285 bytes into a destination of size 100 __bos (__s), __fmt, __va_arg_pack ()); ^ In file included from /usr/include/string.h:639:0, from /usr/include/c++/7/cstring:42, from battery.cpp:35: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)' at battery.cpp:690:17: /usr/include/bits/string3.h:125:71: warning: 'char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)': specified bound 12 exceeds the size 10 of the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)' at battery.cpp:703:17: /usr/include/bits/string3.h:125:71: warning: 'char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)': specified bound 12 exceeds the size 10 of the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)' at battery.cpp:719:17: /usr/include/bits/string3.h:125:71: warning: 'char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)': specified bound 12 exceeds the size 10 of the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)' at battery.cpp:735:17: /usr/include/bits/string3.h:125:71: warning: 'char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)': specified bound 12 exceeds the size 10 of the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^ g++ -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 -mcpu=power8 -mtune=power8 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o acpitool main.o acpitool.o ac_adapter.o toshiba.o asus.o thinkpad.o cpu.o battery.o freq.o make[2]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1/src' Making all in man make[2]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1/man' make[2]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1' make[1]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CrccXZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le ++ dirname /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le + cd acpitool-0.5.1 + rm -fr /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le + make install DESTDIR=/builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le Making install in src make[1]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1/src' make[2]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1/src' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/bin" /usr/bin/install -c 'acpitool' '/builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/bin/acpitool' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1/src' make[1]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1/man' make[2]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1/man' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/man/man1" /usr/bin/install -c -m 644 './acpitool.1' '/builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/man/man1/acpitool.1' make[2]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1/man' make[1]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1/man' make[1]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1' make[2]: Entering directory '/builddir/build/BUILD/acpitool-0.5.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1' make[1]: Leaving directory '/builddir/build/BUILD/acpitool-0.5.1' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/acpitool-0.5.1 extracting debug info from /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/bin/acpitool dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 212 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: acpitool-0.5.1-13.fc26.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.r85ahj + umask 022 + cd /builddir/build/BUILD + cd acpitool-0.5.1 + DOCDIR=/builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/doc/acpitool + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/doc/acpitool + cp -pr AUTHORS /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/doc/acpitool + cp -pr ChangeLog /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/doc/acpitool + cp -pr COPYING /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/doc/acpitool + cp -pr INSTALL /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/doc/acpitool + cp -pr README /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/doc/acpitool + cp -pr TODO /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le/usr/share/doc/acpitool + exit 0 Provides: acpitool = 0.5.1-13.fc26 acpitool(ppc-64) = 0.5.1-13.fc26 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: acpitool-debuginfo-0.5.1-13.fc26.ppc64le Provides: acpitool-debuginfo = 0.5.1-13.fc26 acpitool-debuginfo(ppc-64) = 0.5.1-13.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le Wrote: /builddir/build/RPMS/acpitool-0.5.1-13.fc26.ppc64le.rpm Wrote: /builddir/build/RPMS/acpitool-debuginfo-0.5.1-13.fc26.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RLvZJC + umask 022 + cd /builddir/build/BUILD + cd acpitool-0.5.1 + rm -fr /builddir/build/BUILDROOT/acpitool-0.5.1-13.fc26.ppc64le + exit 0 Child return code was: 0