Mock Version: 1.1.38 Mock Version: 1.1.38 Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/mcelog.spec'], False, '/srv/build/7/B/mock-root/c7.01.00-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/mcelog.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mcelog-101-3.9de4924.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/mcelog.spec'], False, '/srv/build/7/B/mock-root/c7.01.00-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/mcelog.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5Dq0M1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mcelog-d2e13bf0 + /usr/bin/gzip -dc /builddir/build/SOURCES/mcelog-d2e13bf0.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mcelog-d2e13bf0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (mcelog-fix-trigger-path-and-cacheing.patch): + echo 'Patch #0 (mcelog-fix-trigger-path-and-cacheing.patch):' + /usr/bin/cat /builddir/build/SOURCES/mcelog-fix-trigger-path-and-cacheing.patch + /usr/bin/patch -p1 -b --suffix .fix-triggers-and-cacheing --fuzz=0 patching file mcelog.cron Patch #1 (mcelog-update-2577aeb.patch): + echo 'Patch #1 (mcelog-update-2577aeb.patch):' + /usr/bin/cat /builddir/build/SOURCES/mcelog-update-2577aeb.patch + /usr/bin/patch -p1 -b --suffix .mcelog-update-2577aeb --fuzz=0 patching file intel.c patching file intel.h patching file ivy-bridge.c patching file leaky-bucket.c patching file mcelog.c patching file mcelog.h patching file p4.c Patch #2 (mcelog-update-f30da3d.patch): + echo 'Patch #2 (mcelog-update-f30da3d.patch):' + /usr/bin/cat /builddir/build/SOURCES/mcelog-update-f30da3d.patch + /usr/bin/patch -p1 -b --suffix .mcelog-update-f30da3d --fuzz=0 patching file dmi.c patching file input/GENCACHE patching file input/GENMEM patching file input/GENPAGE patching file intel.c patching file mcelog.8 patching file mcelog.c patching file p4.c patching file tests/test patching file triggers/cache-error-trigger Patch #3 (mcelog-haswell-support.patch): + echo 'Patch #3 (mcelog-haswell-support.patch):' + /usr/bin/cat /builddir/build/SOURCES/mcelog-haswell-support.patch + /usr/bin/patch -p1 -b --suffix .mcelog-haswell-support --fuzz=0 patching file haswell.c patching file haswell.h patching file intel.c patching file intel.h patching file ivy-bridge.c patching file Makefile patching file mcelog.c patching file mcelog.h patching file p4.c patching file sandy-bridge.c Patch #4 (mcelog-update-9de4924.patch): + echo 'Patch #4 (mcelog-update-9de4924.patch):' + /usr/bin/cat /builddir/build/SOURCES/mcelog-update-9de4924.patch + /usr/bin/patch -p1 -b --suffix .mcelog-update-9de4924 --fuzz=0 patching file Makefile patching file bus.c patching file bus.h patching file input/iomca patching file input/unknown patching file mcelog.c Hunk #2 succeeded at 568 (offset -1 lines). Hunk #3 succeeded at 1160 (offset -1 lines). patching file mcelog.conf patching file msr.c patching file p4.c patching file tests/unknown/inject patching file tests/unknown/unknown.conf patching file triggers/bus-error-trigger patching file triggers/iomca-error-trigger patching file triggers/unknown-error-trigger patching file unknown.c patching file unknown.h patching file yellow.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aCeCoP + umask 022 + cd /builddir/build/BUILD + cd mcelog-d2e13bf0 + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//usr/sbin + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//usr/share/man + make '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 -fpie -pie' Makefile:88: .depend: No such file or directory cc -MM -I. p4.c k8.c mcelog.c dmi.c tsc.c core2.c bitfield.c intel.c nehalem.c dunnington.c tulsa.c config.c memutil.c msg.c eventloop.c leaky-bucket.c memdb.c server.c trigger.c client.c cache.c sysfs.c yellow.c page.c rbtree.c xeon75xx.c sandy-bridge.c ivy-bridge.c haswell.c msr.c bus.c unknown.c > .depend.X && mv .depend.X .depend cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o mcelog.o mcelog.c mcelog.c: In function 'setup_pidfile': mcelog.c:884:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&pidfile, "%s/%s", cwd, s); ^ mcelog.c:886:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&pidfile, "%s", s); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o p4.o p4.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o k8.o k8.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o dmi.o dmi.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o tsc.o tsc.c tsc.c: In function 'fmt_tsc': tsc.c:44:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(buf, "[at %.0f Mhz %u days %u:%u:%u uptime (unreliable)]", ^ tsc.c: In function 'deep_sleep_states': tsc.c:86:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&fn, "/sys/devices/system/cpu/cpu%d/cpuidle", cpu); ^ tsc.c:92:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&fn, "/proc/acpi/processor/CPU%d/power", cpu); ^ tsc.c: In function 'cpufreq_mhz': tsc.c:54:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&fn, "/sys/devices/system/cpu/cpu%d/cpufreq/cpuinfo_max_freq", cpu); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o core2.o core2.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o bitfield.o bitfield.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o intel.o intel.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o nehalem.o nehalem.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o dunnington.o dunnington.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o tulsa.o tulsa.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o config.o config.c config.c: In function 'unparseable': config.c:107:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&field, "%s", name); ^ config.c:109:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&field, "[%s] %s", header, name); ^ config.c: In function 'config_trigger': config.c:296:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s-threshold", base); ^ config.c:306:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s-trigger", base); ^ config.c:319:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s-log", base); ^ config.c: In function 'config_cred': config.c:333:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s-user", base); ^ config.c:345:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s-group", base); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o memutil.o memutil.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o msg.o msg.c msg.c: In function 'SYSERRprintf': msg.c:100:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&fmt2, "%s: %s\n", fmt, err); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o eventloop.o eventloop.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o leaky-bucket.o leaky-bucket.c leaky-bucket.c: In function 'bucket_output': leaky-bucket.c:86:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "not enabled"); ^ leaky-bucket.c:91:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%u in %u%c", b->count + b->excess, ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o memdb.o memdb.c memdb.c: In function 'memdb_trigger': memdb.c:145:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&out, "%s: %s", msg, thresh); ^ memdb.c:152:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "PATH=%s", getenv("PATH") ?: "/sbin:/usr/sbin:/bin:/usr/bin"); ^ memdb.c:153:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "THRESHOLD=%s", thresh); ^ memdb.c:154:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "TOTALCOUNT=%lu", et->count); ^ memdb.c:155:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "LOCATION=%s", location); ^ memdb.c:157:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "DMI_LOCATION=%s", md->location); ^ memdb.c:159:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "DMI_NAME=%s", md->name); ^ memdb.c:161:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "DIMM=%d", md->dimm); ^ memdb.c:163:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "CHANNEL=%d", md->channel); ^ memdb.c:164:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "SOCKETID=%d", md->socketid); ^ memdb.c:165:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "CECOUNT=%lu", md->ce.count); ^ memdb.c:166:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "UCCOUNT=%lu", md->uc.count); ^ memdb.c:168:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "LASTEVENT=%lu", t); ^ memdb.c:169:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "AGETIME=%u", bc->agetime); ^ memdb.c:171:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "MESSAGE=%s", out); ^ memdb.c:172:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "THRESHOLD_COUNT=%d", bucket->count); ^ memdb.c: In function 'format_location': memdb.c:123:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "SOCKET:%d CHANNEL:%s DIMM:%s [%s%s%s]", ^ memdb.c: In function 'account_over': memdb.c:195:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&msg, "Fallback %s memory error count %d exceeded threshold", ^ memdb.c: In function 'account_memdb': memdb.c:208:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&msg, "%scorrected %s memory error count exceeded threshold", ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o server.o server.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o trigger.o trigger.c trigger.c: In function 'run_trigger': trigger.c:85:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(trigger_dir); ^ trigger.c: In function 'trigger_check': trigger.c:163:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s/%s", trigger_dir, s); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o client.o client.c client.c: In function 'ask_server': client.c:61:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, buf, n); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o cache.o cache.c cache.c: In function 'read_caches': cache.c:122:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&fn, "%s/%s/cache", PREFIX, de->d_name); ^ cache.c:134:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cfn, "%s/index%d", fn, i); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o sysfs.o sysfs.c sysfs.c: In function 'read_field': sysfs.c:38:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&fn, "%s/%s", base, name); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o yellow.o yellow.c yellow.c: In function 'run_yellow_trigger': yellow.c:72:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "CPU %d on socket %d", cpu, socket); ^ yellow.c:74:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "CPU %d", cpu); ^ yellow.c:75:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&msg, "%s has large number of corrected cache errors in %s %s", ^ yellow.c:86:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "SOCKETID=%d", socket); ^ yellow.c:87:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "MESSAGE=%s", msg); ^ yellow.c:88:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "CPU=%d", cpu); ^ yellow.c:89:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "LEVEL=%d", lnum); ^ yellow.c:90:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "TYPE=%s", ts); ^ yellow.c:94:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "AFFECTED_CPUS=unknown"); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o page.o page.c page.c: In function 'account_page_error': page.c:217:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&msg, "Corrected memory errors on page %llx exceed threshold %s", ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o rbtree.o rbtree.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o xeon75xx.o xeon75xx.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o sandy-bridge.o sandy-bridge.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o ivy-bridge.o ivy-bridge.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o haswell.o haswell.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o msr.o msr.c cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o bus.o bus.c bus.c: In function 'run_bus_trigger': bus.c:62:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "CPU %d on socket %d", cpu, socket); ^ bus.c:64:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "CPU %d", cpu); ^ bus.c:65:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&msg, "%s received Bus and Interconnect Errors in %s", ^ bus.c:67:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "LOCATION=%s", location); ^ bus.c:74:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "SOCKETID=%d", socket); ^ bus.c:75:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "MESSAGE=%s", msg); ^ bus.c:76:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "CPU=%d", cpu); ^ bus.c:77:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "LEVEL=%s", level); ^ bus.c:78:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "PARTICIPATION=%s", pp); ^ bus.c:79:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "REQUEST=%s", rrrr); ^ bus.c:80:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "ORIGIN=%s", ii); ^ bus.c:81:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "TIMEOUT=%s", timeout); ^ bus.c: In function 'run_iomca_trigger': bus.c:101:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "CPU %d on socket %d", cpu, socket); ^ bus.c:103:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "CPU %d", cpu); ^ bus.c:104:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&msg, "%s received IO MCA Errors from %x:%02x:%02x.%x", ^ bus.c:106:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "LOCATION=%s", location); ^ bus.c:113:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "SOCKETID=%d", socket); ^ bus.c:114:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "MESSAGE=%s", msg); ^ bus.c:115:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "CPU=%d", cpu); ^ bus.c:116:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "SEG=%x", seg); ^ bus.c:117:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "BUS=%02x", bus); ^ bus.c:118:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "DEVICE=%02x", dev); ^ bus.c:119:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "FUNCTION=%x", fn); ^ cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie -pie -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wstrict-prototypes -Wformat-security -Wmissing-declarations -Wdeclaration-after-statement -o unknown.o unknown.c unknown.c: In function 'run_unknown_trigger': unknown.c:54:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "CPU %d on socket %d", cpu, socket); ^ unknown.c:56:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&location, "CPU %d", cpu); ^ unknown.c:57:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&msg, "%s received unknown error", location); ^ unknown.c:58:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "LOCATION=%s", location); ^ unknown.c:65:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "SOCKETID=%d", socket); ^ unknown.c:66:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "MESSAGE=%s", msg); ^ unknown.c:67:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "CPU=%d", cpu); ^ unknown.c:68:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "STATUS=%llx", log->status); ^ unknown.c:69:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "MISC=%llx", log->misc); ^ unknown.c:70:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "ADDR=%llx", log->addr); ^ unknown.c:71:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "MCGSTATUS=%llx", log->mcgstatus); ^ unknown.c:72:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env[ei++], "MCGCAP=%llx", log->mcgcap); ^ cc mcelog.o p4.o k8.o dmi.o tsc.o core2.o bitfield.o intel.o nehalem.o dunnington.o tulsa.o config.o memutil.o msg.o eventloop.o leaky-bucket.o memdb.o server.o trigger.o client.o cache.o sysfs.o yellow.o page.o rbtree.o xeon75xx.o sandy-bridge.o ivy-bridge.o haswell.o msr.o bus.o unknown.o -o mcelog + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FGgf9K + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64 + cd mcelog-d2e13bf0 + rm -rf /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//usr/share/man/man1 /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/mcelog + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/mcelog/triggers + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/cron.hourly + mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//usr/sbin + install -p -m755 mcelog /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//usr/sbin/mcelog + install -p -m644 /builddir/build/SOURCES/mcelog.conf /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/mcelog/mcelog.conf + install -p -m755 /builddir/build/SOURCES/mcelog.setup /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/mcelog/mcelog.setup + install -p -m755 triggers/cache-error-trigger /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/mcelog/triggers/cache-error-trigger + install -p -m755 triggers/dimm-error-trigger /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/mcelog/triggers/dimm-error-trigger + install -p -m755 triggers/page-error-trigger /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/mcelog/triggers/page-error-trigger + install -p -m755 triggers/socket-memory-error-trigger /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/mcelog/triggers/socket-memory-error-trigger + install -p -m755 mcelog.cron /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//etc/cron.hourly/mcelog.cron + install -p -m644 /builddir/build/SOURCES/mcelog.service /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64/usr/lib/systemd/system/mcelog.service + install -p -m644 mcelog.8 /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64//usr/share/man/man8 + /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/mcelog-d2e13bf0 extracting debug info from /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64/usr/sbin/mcelog dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 409 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: mcelog-101-3.9de4924.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gosarH + umask 022 + cd /builddir/build/BUILD + cd mcelog-d2e13bf0 + DOCDIR=/builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64/usr/share/doc/mcelog-101 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64/usr/share/doc/mcelog-101 + cp -pr README /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64/usr/share/doc/mcelog-101 + cp -pr CHANGES /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64/usr/share/doc/mcelog-101 + exit 0 Provides: config(mcelog) = 3:101-3.9de4924.el7 mcelog = 3:101-3.9de4924.el7 mcelog(x86-64) = 3:101-3.9de4924.el7 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /bin/bash /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(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.8)(64bit) rtld(GNU_HASH) Processing files: mcelog-debuginfo-101-3.9de4924.el7.x86_64 Provides: mcelog-debuginfo = 3:101-3.9de4924.el7 mcelog-debuginfo(x86-64) = 3:101-3.9de4924.el7 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/mcelog-101-3.9de4924.el7.x86_64 Wrote: /builddir/build/RPMS/mcelog-101-3.9de4924.el7.x86_64.rpm Wrote: /builddir/build/RPMS/mcelog-debuginfo-101-3.9de4924.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Wm73vx + umask 022 + cd /builddir/build/BUILD + cd mcelog-d2e13bf0 + rm -rf /builddir/build/BUILDROOT/mcelog-101-3.9de4924.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->