[...] dm_handle2path.c: In function 'getcomp': dm_handle2path.c:189:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] dirlen = strlen(bufp); ^~~~~~ dm_handle2path.c:189:11: warning: incompatible implicit declaration of built-in function 'strlen' dm_handle2path.c:189:11: note: include '' or provide a declaration of 'strlen' dm_handle2path.c:232:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(bufp + dirlen, dp->d_name); ^~~~~~ dm_handle2path.c:232:9: 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' 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 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' 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 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_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.3dtEXI/BUILD/dmapi-2.2.12/libdm' gmake[1]: *** [include/buildrules:22: libdm] Error 2 gmake[1]: Leaving directory '/tmp/B.3dtEXI/BUILD/dmapi-2.2.12' make: *** [Makefile:30: default] Error 2 error: Bad exit status from /tmp/B.3dtEXI/BUILD/tmp/rpm-tmp.21377 (%build) RPM build errors: Bad exit status from /tmp/B.3dtEXI/BUILD/tmp/rpm-tmp.21377 (%build) ended at: Thu Nov 9 14:27:11 2017, done in 0:00:04.296248 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.3dtEXI/BUILD + rm -rf /tmp/B.3dtEXI/tmp /tmp/B.3dtEXI/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.3dtEXI Begin-TLD-Builder-Info Build-Time: user:4.24s sys:0.54s real:5.22s (faults io:0 non-io:426241) End-TLD-Builder-Info