[...] warning: incompatible implicit declaration of built-in function 'strcpy' dm_handle2path.c:232:9: note: include '' or provide a declaration of 'strcpy' dm_handle2path.c:244:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(dp->d_name, ".")) { /* the directory itself */ ^~~~~~ dm_handle2path.c:257:16: warning: implicit declaration of function 'strrchr' [-Wimplicit-function-declaration] if ((slash = strrchr(bufp, '/')) == NULL) ^~~~~~~ dm_handle2path.c:257:16: warning: incompatible implicit declaration of built-in function 'strrchr' dm_handle2path.c:257:16: note: include '' or provide a declaration of 'strrchr' dm_handle2path.c: In function 'get_mnt': dm_handle2path.c:309:11: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] mtpt = strdup(mntent->mnt_dir); ^~~~~~ dm_handle2path.c:309:11: warning: incompatible implicit declaration of built-in function 'strdup' gmake[2]: *** [../include/buildrules:39: dm_handle2path.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.12\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c dm_bulkattr.c -o dm_bulkattr.o >/dev/null 2>&1 libtool: compile: x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.12\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c dm_attr.c -o dm_attr.o >/dev/null 2>&1 libtool: compile: x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.12\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c dm_dmattr.c -o dm_dmattr.o >/dev/null 2>&1 libtool: compile: x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.12\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c dm_event.c -o dm_event.o >/dev/null 2>&1 libtool: compile: x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.12\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c dm_config.c -o dm_config.o >/dev/null 2>&1 libtool: compile: x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.12\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c dm_handle.c -o dm_handle.o >/dev/null 2>&1 libtool: compile: x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.12\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c dmapi_lib.c -o dmapi_lib.o >/dev/null 2>&1 gmake[2]: Leaving directory '/tmp/B.qEi_PK/BUILD/dmapi-2.2.12/libdm' gmake[1]: *** [include/buildrules:22: libdm] Error 2 gmake[1]: Leaving directory '/tmp/B.qEi_PK/BUILD/dmapi-2.2.12' make: *** [Makefile:30: default] Error 2 error: Bad exit status from /tmp/B.qEi_PK/BUILD/tmp/rpm-tmp.94087 (%build) RPM build errors: Bad exit status from /tmp/B.qEi_PK/BUILD/tmp/rpm-tmp.94087 (%build) ended at: Wed Apr 5 14:31:26 2017, done in 0:00:04.049275 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.qEi_PK/BUILD + rm -rf /tmp/B.qEi_PK/tmp /tmp/B.qEi_PK/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.qEi_PK Begin-TLD-Builder-Info Build-Time: user:4.01s sys:0.50s real:15.13s (faults io:0 non-io:388776) End-TLD-Builder-Info