cc -D_REENTRANT -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -DMAJOR_VER='"1"' -DMINOR_VER='"0"' -DLIBAUTHBIND='"/usr/lib64/libauthbind.so.1"' -DHELPER='"/usr/libexec/authbind/helper"' -DCONFIGDIR='"/etc/authbind"' -D_GNU_SOURCE -c -o libauthbind.o -fPIC libauthbind.c /usr/include/sys/socket.h: In function 'bind': libauthbind.c:39:28: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define STDERRSTR_CONST(m) write(2,m,sizeof(m)-1) ^~~~~~~~~~~~~~~~~~~~~~ libauthbind.c:218:5: note: in expansion of macro 'STDERRSTR_CONST' STDERRSTR_CONST("libauthbind: possible installation problem - " ^~~~~~~~~~~~~~~ libauthbind.c: In function 'find_any': libauthbind.c:39:28: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define STDERRSTR_CONST(m) write(2,m,sizeof(m)-1) ^~~~~~~~~~~~~~~~~~~~~~ libauthbind.c:48:3: note: in expansion of macro 'STDERRSTR_CONST' STDERRSTR_CONST("libauthbind: error finding original version of "); ^~~~~~~~~~~~~~~ libauthbind.c:40:29: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define STDERRSTR_STRING(m) write(2,m,strlen(m)) ^~~~~~~~~~~~~~~~~~~~ libauthbind.c:49:3: note: in expansion of macro 'STDERRSTR_STRING' STDERRSTR_STRING(name); ^~~~~~~~~~~~~~~~ libauthbind.c:39:28: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define STDERRSTR_CONST(m) write(2,m,sizeof(m)-1) ^~~~~~~~~~~~~~~~~~~~~~ libauthbind.c:50:3: note: in expansion of macro 'STDERRSTR_CONST' STDERRSTR_CONST(": "); ^~~~~~~~~~~~~~~ libauthbind.c:40:29: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define STDERRSTR_STRING(m) write(2,m,strlen(m)) ^~~~~~~~~~~~~~~~~~~~ libauthbind.c:51:3: note: in expansion of macro 'STDERRSTR_STRING' STDERRSTR_STRING(dlerr); ^~~~~~~~~~~~~~~~ libauthbind.c:40:29: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define STDERRSTR_STRING(m) write(2,m,strlen(m)) ^~~~~~~~~~~~~~~~~~~~ libauthbind.c:52:3: note: in expansion of macro 'STDERRSTR_STRING' STDERRSTR_STRING("\n"); ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from libauthbind.c:29: In function 'strcpy', inlined from 'removepreload' at libauthbind.c:111:3: /usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' accessing 1 byte at offsets [0, 9223372036854775807] and [0, 9223372036854775807] may overlap 1 byte at offset 0 [-Wrestrict] return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -nostartfiles -shared -Wl,-soname libauthbind.so.1 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libauthbind.so.1.0 libauthbind.o -ldl -lc cc: error: libauthbind.so.1: No such file or directory make: *** [Makefile:87: libauthbind.so.1.0] Error 1 make: *** Waiting for unfinished jobs.... cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld authbind.o -o authbind RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.SxomIJ (%build) Bad exit status from /var/tmp/rpm-tmp.SxomIJ (%build)