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/A/mock-root/c7.00.03-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-1.0-0.12.2577aeb.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/A/mock-root/c7.00.03-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.cxeYL3 + 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 + echo 'Patch #1 (mcelog-update-2577aeb.patch):' 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P1xkiq + umask 022 + cd /builddir/build/BUILD + cd mcelog-d2e13bf0 + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//usr/sbin + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.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:85: .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 msr.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:871:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&pidfile, "%s/%s", cwd, s); ^ mcelog.c:873: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); ^ 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 msr.o msr.c 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 msr.o -o mcelog + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sTLGDU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64 + cd mcelog-d2e13bf0 + rm -rf /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//usr/share/man/man1 /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/mcelog + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/mcelog/triggers + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/cron.hourly + mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//usr/sbin + install -p -m755 mcelog /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//usr/sbin/mcelog + install -p -m644 /builddir/build/SOURCES/mcelog.conf /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/mcelog/mcelog.conf + install -p -m755 /builddir/build/SOURCES/mcelog.setup /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/mcelog/mcelog.setup + install -p -m755 triggers/cache-error-trigger /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/mcelog/triggers/cache-error-trigger + install -p -m755 triggers/dimm-error-trigger /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/mcelog/triggers/dimm-error-trigger + install -p -m755 triggers/page-error-trigger /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/mcelog/triggers/page-error-trigger + install -p -m755 triggers/socket-memory-error-trigger /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/mcelog/triggers/socket-memory-error-trigger + install -p -m755 mcelog.cron /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64//etc/cron.hourly/mcelog.cron + install -p -m644 /builddir/build/SOURCES/mcelog.service /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64/usr/lib/systemd/system/mcelog.service + install -p -m644 mcelog.8 /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.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-1.0-0.12.2577aeb.el7.x86_64/usr/sbin/mcelog dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 384 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-1.0-0.12.2577aeb.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fT5aMp + umask 022 + cd /builddir/build/BUILD + cd mcelog-d2e13bf0 + DOCDIR=/builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64/usr/share/doc/mcelog-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64/usr/share/doc/mcelog-1.0 + cp -pr README /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64/usr/share/doc/mcelog-1.0 + cp -pr CHANGES /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64/usr/share/doc/mcelog-1.0 + exit 0 Provides: config(mcelog) = 2:1.0-0.12.2577aeb.el7 mcelog = 2:1.0-0.12.2577aeb.el7 mcelog(x86-64) = 2:1.0-0.12.2577aeb.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-1.0-0.12.2577aeb.el7.x86_64 Provides: mcelog-debuginfo = 2:1.0-0.12.2577aeb.el7 mcelog-debuginfo(x86-64) = 2:1.0-0.12.2577aeb.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-1.0-0.12.2577aeb.el7.x86_64 Wrote: /builddir/build/RPMS/mcelog-1.0-0.12.2577aeb.el7.x86_64.rpm Wrote: /builddir/build/RPMS/mcelog-debuginfo-1.0-0.12.2577aeb.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GpyCDW + umask 022 + cd /builddir/build/BUILD + cd mcelog-d2e13bf0 + rm -rf /builddir/build/BUILDROOT/mcelog-1.0-0.12.2577aeb.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->