022 + cd /builddir/build/BUILD + cd dlm-4.0.7 + 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' + make for d in libdlm dlm_controld dlm_tool fence; do make -C $d all; done make[1]: Entering directory `/builddir/build/BUILD/dlm-4.0.7/libdlm' cc libdlm.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 -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIC -D_REENTRANT -c -o libdlm.o make[1]: Leaving directory `/builddir/build/BUILD/dlm-4.0.7/libdlm' BUILDSTDERR: make[1]: cc: Command not found BUILDSTDERR: make[1]: *** [libdlm.o] Error 127 make[1]: Entering directory `/builddir/build/BUILD/dlm-4.0.7/dlm_controld' cc lib.c -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE -I../include -I../libdlm -DUSE_SD_NOTIFY -Wl,-z,relro -pie -shared -fPIC -o libdlmcontrol.so.3.1 -Wl,-soname=libdlmcontrol.so.3 make[1]: Leaving directory `/builddir/build/BUILD/dlm-4.0.7/dlm_controld' BUILDSTDERR: make[1]: cc: Command not found BUILDSTDERR: make[1]: *** [libdlmcontrol.so.3.1] Error 127 make[1]: Entering directory `/builddir/build/BUILD/dlm-4.0.7/dlm_tool' cc main.c -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE -I../include -I../libdlm -I../dlm_controld -Wl,-z,now -Wl,-z,relro -pie -L../libdlm -L../dlm_controld -lpthread -ldlm -ldlmcontrol -o dlm_tool make[1]: Leaving directory `/builddir/build/BUILD/dlm-4.0.7/dlm_tool' BUILDSTDERR: make[1]: cc: Command not found BUILDSTDERR: make[1]: *** [dlm_tool] Error 127 make[1]: Entering directory `/builddir/build/BUILD/dlm-4.0.7/fence' cc stonith_helper.c -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE `xml2-config --cflags` -I../include -Wl,-z,now -Wl,-z,relro -pie `xml2-config --libs` -ldl -o dlm_stonith -L. BUILDSTDERR: /bin/sh: cc: command not found make[1]: Leaving directory `/builddir/build/BUILD/dlm-4.0.7/fence' BUILDSTDERR: make[1]: *** [dlm_stonith] Error 127 BUILDSTDERR: make: *** [all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Anu0nH (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Anu0nH (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dlm.spec