Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hardinfo.spec'], logger=env={'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}printOutput=Falseshell=Falsegid=135timeout=0uid=1001user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5406/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hardinfo.spec'] with env {'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False warning: Could not canonicalize hostname: copr-builder-922479860.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/hardinfo-0.5.1-11.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hardinfo.spec'], logger=private_network=Trueenv={'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}printOutput=Falseshell=Falsegid=135timeout=0uid=1001user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5406/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hardinfo.spec'] with env {'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZZRzGM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hardinfo-0.5.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/hardinfo-0.5.1.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hardinfo-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (hardinfo-build.patch): + echo 'Patch #0 (hardinfo-build.patch):' + /usr/bin/cat /builddir/build/SOURCES/hardinfo-build.patch + /usr/bin/patch -p1 --fuzz=0 patching file hardinfo.h patching file util.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MhAuA0 + umask 022 + cd /builddir/build/BUILD + cd hardinfo-0.5.1 + export LIBDIR=/usr/lib64 + LIBDIR=/usr/lib64 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 ToscoConf (version 0.04) for hardinfo version 0.5.1 Determining system architecture. Compiling hardinfo for Linux x86_64 (ARCH_x86_64). Checking for GTK version >= 2.6.0... found 2.24.28 Checking for libsoup version >= 2.4... found 2.48.1 Checking for Linux Wireless Extensions (CONFIG_NET_RADIO)... found. Writing config.h... ./configure: line 191: hostname: command not found Writing Makefile... Done. Type "make" to compile the program. If you get errors, probably you don't have the right libraries, includes or utilities. However, if you're sure this is a bug in my code, please send a patch (use "diff -u") to . + make -j2 'ARCHOPTS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o hardinfo.o hardinfo.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o shell.o shell.c hardinfo.c: In function 'main': hardinfo.c:40:2: warning: 'g_thread_init' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:265) [-Wdeprecated-declarations] g_thread_init(NULL); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o util.o util.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o iconcache.o iconcache.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o loadgraph.o loadgraph.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o menu.o menu.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o stock.o stock.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o callbacks.o callbacks.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o expr.o expr.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o report.o report.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o binreloc.o binreloc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o vendor.o vendor.c vendor.c: In function 'vendor_get_name': vendor.c:158:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ vendor.c: In function 'vendor_get_url': vendor.c:178:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o socket.o socket.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c -o syncmanager.o syncmanager.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -o computer.so -shared computer.c -lpthread -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype syncmanager.c: In function '_soup_xmlrpc_call_with_parameters': syncmanager.c:227:5: warning: 'g_value_array_new' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:67): Use 'GArray' instead [-Wdeprecated-declarations] parameters = g_value_array_new(1); ^ syncmanager.c:237:5: warning: 'g_value_array_free' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:70): Use 'GArray' instead [-Wdeprecated-declarations] g_value_array_free(parameters); ^ In file included from computer.c:86:0: ./arch/common/users.h: In function 'scan_users_do': ./arch/common/users.h:29:12: warning: variable 'uid' set but not used [-Wunused-but-set-variable] gint uid; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -o devices.so -shared devices.c -lpthread -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype In file included from computer.c:78:0: ./arch/common/languages.h: In function 'scan_languages': ./arch/common/languages.h:43:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 128, locale); ^ In file included from computer.c:84:0: ./arch/this/os.h: In function 'detect_desktop_environment': ./arch/this/os.h:108:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void)fscanf(version, "Version: %s", vers); ^ ./arch/this/os.h:127:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 32, version); ^ ./arch/this/os.h:129:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void)fscanf(version, "KDE: %s", vers); ^ In file included from computer.c:83:0: ./arch/this/uptime.h: In function 'computer_get_uptime': ./arch/this/uptime.h:27:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void)fscanf(procuptime, "%lu", &minutes); ^ In file included from computer.c:81:0: ./arch/this/loadavg.h: In function 'computer_get_loadinfo': ./arch/this/loadavg.h:26:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void)fscanf(procloadavg, "%f %f %f", &(li->load1), &(li->load5), ^ In file included from computer.c:79:0: ./arch/this/alsa.h: In function 'computer_get_alsainfo': ./arch/this/alsa.h:63:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buffer, 128, cards); /* skip next line */ ^ In file included from computer.c:84:0: ./arch/this/os.h: In function 'computer_get_os': ./arch/this/os.h:183:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buffer, 128, release); ^ ./arch/this/os.h:203:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 128, distro_ver); ^ In file included from computer.c:84:0: ./arch/this/os.h: In function 'get_os_compiled_date': ./arch/this/os.h:85:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 512, procversion); ^ ./arch/this/os.h: In function 'get_libc_version': ./arch/this/os.h:58:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 256, libc); ^ In file included from computer.c:77:0: ./arch/this/modules.h: In function 'scan_modules_do': ./arch/this/modules.h:59:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buffer, 1024, lsmod); /* Discards the first line */ ^ In file included from devices.c:126:0: ./arch/this/pci.h: In function '__scan_pci': ./arch/this/pci.h:36:44: warning: variable 'icon' set but not used [-Wunused-but-set-variable] gchar *category = NULL, *name = NULL, *icon, *lspci_path, *command_line = NULL; ^ In file included from devices.c:130:0: ./arch/this/storage.h: In function '__scan_ide_devices': ./arch/this/storage.h:183:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 128, proc_ide); ^ ./arch/this/storage.h:194:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 128, proc_ide); ^ ./arch/this/storage.h:260:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void)fscanf(proc_ide, "%d", &cache); ^ ./arch/this/storage.h:271:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 64, proc_ide); ^ ./arch/this/storage.h:279:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, 64, proc_ide); ^ In file included from devices.c:137:0: ./arch/this/dmi.h: In function 'dmi_get_info_dmidecode': ./arch/this/dmi.h:73:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buffer, 256, dmi_pipe); ^ ./arch/this/dmi.h: In function 'dmi_get_info_sys': ./arch/this/dmi.h:142:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buffer, 256, dmi_file); ^ In file included from devices.c:131:0: ./arch/this/battery.h: In function '__scan_battery_apm': ./arch/this/battery.h:220:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void)fscanf(procapm, "%s %s %s 0x%x %s %s %d%%", ^ ln -sf ../computer.so modules make fbench.o sha1.o blowfish.o md5.o nqueens.o fftbench.o make[1]: Entering directory `/builddir/build/BUILD/hardinfo-0.5.1' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O0 -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c fbench.c -o fbench.o gcc -O0 -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c sha1.c -o sha1.o gcc -O0 -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c blowfish.c -o blowfish.o gcc -O0 -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c md5.c -o md5.o md5.c: In function 'MD5Final': md5.c:176:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ gcc -O0 -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c nqueens.c -o nqueens.o gcc -O0 -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -c fftbench.c -o fftbench.o make[1]: Leaving directory `/builddir/build/BUILD/hardinfo-0.5.1' gcc -O0 -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -o benchmark.so -shared benchmark.c fbench.o sha1.o blowfish.o md5.o nqueens.o fftbench.o \ -lpthread -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype benchmark.c: In function 'benchmark_parallel_for': benchmark.c:132:9: warning: 'g_thread_create' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:104): Use 'g_thread_new' instead [-Wdeprecated-declarations] thread = g_thread_create((GThreadFunc) benchmark_parallel_for_dispatcher, ^ ln -sf ../benchmark.so modules gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -fPIC -pipe -Wall -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -o network.so -shared network.c -lpthread -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype ln -sf ../devices.so modules network.c: In function 'scan_route': network.c:181:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buffer, 256, route); ^ network.c:182:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buffer, 256, route); ^ network.c: In function 'scan_arp': network.c:221:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buffer, 256, arp); ^ ln -sf ../network.so modules gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -fPIC -pipe -Wall -g -o hardinfo -Wl,-export-dynamic hardinfo.o shell.o util.o iconcache.o loadgraph.o menu.o stock.o callbacks.o expr.o report.o binreloc.o vendor.o socket.o syncmanager.o -lpthread -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype \ -pthread -lsoup-2.4 -lxml2 -lm -lgio-2.0 -lz -lresolv -lselinux -lgmodule-2.0 -ldl -lgobject-2.0 -lffi -lglib-2.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tL0fAr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64 + cd hardinfo-0.5.1 + rm -rf /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64 LIBDIR=/usr/lib64 gcc -g -fPIC -pipe -Wall -g -o hardinfo -Wl,-export-dynamic hardinfo.o shell.o util.o iconcache.o loadgraph.o menu.o stock.o callbacks.o expr.o report.o binreloc.o vendor.o socket.o syncmanager.o -lpthread -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype \ -pthread -lsoup-2.4 -lxml2 -lm -lgio-2.0 -lz -lresolv -lselinux -lgmodule-2.0 -ldl -lgobject-2.0 -lffi -lglib-2.0 rm -rf /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/lib64/hardinfo/modules /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/hardinfo/pixmaps mkdir -p /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/bin mkdir -p /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/local mkdir -p /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/applications mkdir -p /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/lib64/hardinfo/modules mkdir -p /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/hardinfo/pixmaps cp hardinfo.desktop /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/applications cp hardinfo /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/bin/hardinfo cp -Lr modules/*.so /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/lib64/hardinfo/modules cp -Lr pixmaps/* /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/hardinfo/pixmaps cp benchmark.conf /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/hardinfo cp benchmark.data /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/hardinfo chmod 755 /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/bin/hardinfo + desktop-file-install --delete-original --dir=/builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/applications /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/applications/hardinfo.desktop + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/hardinfo-0.5.1 extracting debug info from /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/lib64/hardinfo/modules/network.so extracting debug info from /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/lib64/hardinfo/modules/devices.so extracting debug info from /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/lib64/hardinfo/modules/computer.so extracting debug info from /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/lib64/hardinfo/modules/benchmark.so extracting debug info from /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/bin/hardinfo /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 907 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: hardinfo-0.5.1-11.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8DXn8U + umask 022 + cd /builddir/build/BUILD + cd hardinfo-0.5.1 + DOCDIR=/builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/doc/hardinfo-0.5.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/doc/hardinfo-0.5.1 + cp -pr LICENSE /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64/usr/share/doc/hardinfo-0.5.1 + exit 0 Provides: application() application(hardinfo.desktop) hardinfo = 0.5.1-11.el7.centos hardinfo(x86-64) = 0.5.1-11.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(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) libcairo.so.2()(64bit) libdl.so.2()(64bit) libffi.so.6()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libresolv.so.2()(64bit) librt.so.1()(64bit) libselinux.so.1()(64bit) libsoup-2.4.so.1()(64bit) libxml2.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: hardinfo-debuginfo-0.5.1-11.el7.centos.x86_64 Provides: hardinfo-debuginfo = 0.5.1-11.el7.centos hardinfo-debuginfo(x86-64) = 0.5.1-11.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64 Wrote: /builddir/build/RPMS/hardinfo-0.5.1-11.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/hardinfo-debuginfo-0.5.1-11.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Rydrxn + umask 022 + cd /builddir/build/BUILD + cd hardinfo-0.5.1 + rm -rf /builddir/build/BUILDROOT/hardinfo-0.5.1-11.el7.centos.x86_64 + exit 0 Child return code was: 0