Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/elog.spec'], chrootPath='/var/lib/mock/epel7-build-18955543-1333692/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/elog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/elog-3.1.4-1.20190113git283534d97d5a.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/elog.spec'], chrootPath='/var/lib/mock/epel7-build-18955543-1333692/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/elog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GrE5wA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ritt-elog-283534d97d5a + /usr/bin/gzip -dc /builddir/build/SOURCES/elog-283534d97d5a.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ritt-elog-283534d97d5a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/elog-makefile-elogdir.patch + /usr/bin/patch -p1 -s + rm -rf scripts/ckeditor + cd scripts + find . -type f -print0 + xargs -0 chmod a-x + cd .. + chmod a-x COPYING + cd doc + find . -type f -print0 + xargs -0 chmod a-x + cd .. + dos2unix doc/strftime.txt dos2unix: converting file doc/strftime.txt to Unix format ... + iconv -f latin1 -t utf-8 doc/strftime.txt + mv -f doc/strftime.txt.conv doc/strftime.txt + chmod -x src/elog.c + chmod -x src/regex.h + chmod -x src/regex.c + chmod -x src/elogd.c + tar xfz /builddir/build/SOURCES/elog-mxml-cb34fe499c80.tar.gz -C mxml --strip-components=1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NMVV27 + umask 022 + cd /builddir/build/BUILD + cd ritt-elog-283534d97d5a + make -j6 '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 -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP' 'LIBS=-Wl,-z,relro -lssl -lkrb5 -lldap -llber' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP -c -o mxml.o mxml/mxml.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP -w -c -o crypt.o src/crypt.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP -w -c -o regex.o src/regex.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP -c -o strlcpy.o mxml/strlcpy.c type git &> /dev/null; if [ $? -eq 1 ]; then REV="unknown" ;else REV=`git log -n 1 --pretty=format:"%ad - %h"`; fi; echo \#define GIT_REVISION \"$REV\" > src/git-revision.h gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP -w -c -o auth.o src/auth.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP -o elconv src/elconv.c -Wl,-z,relro -lssl -lkrb5 -lldap -llber src/elconv.c: In function 'el_submit': src/elconv.c:635:24: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, buffer[index], buffer_size[index]); ^ src/elconv.c:662:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, str, 16); ^ src/elconv.c:664:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, message, size); ^ src/elconv.c:772:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, start_str, strlen(start_str)); ^ src/elconv.c:773:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, message, strlen(message)); ^ src/elconv.c:774:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, end_str, strlen(end_str)); ^ src/elconv.c:786:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fh, TELL(fh)); ^ src/elconv.c:801:17: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, str, 16); ^ src/elconv.c:807:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, 16); ^ src/elconv.c: In function 'el_get_v1': src/elconv.c:881:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, message, size); ^ src/elconv.c: In function 'scan_messages': src/elconv.c:914:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(str, sizeof(str)); ^ src/elconv.c:1003:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elconv.c:1014:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elconv.c:1026:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elconv.c:1036:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, message, strlen(message)); ^ src/elconv.c: In function 'main': src/elconv.c:1071:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(data_dir, sizeof(data_dir)); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP -o elog src/elog.c mxml.o crypt.o regex.o strlcpy.o -Wl,-z,relro -lssl -lkrb5 -lldap -llber gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Imxml -DHAVE_SSL -DHAVE_KRB5 -DHAVE_LDAP -o elogd src/elogd.c auth.o mxml.o crypt.o regex.o strlcpy.o -Wl,-z,relro -lssl -lkrb5 -lldap -llber src/elogd.c: In function 'my_shell': src/elogd.c:979:14: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, result, size - 1); ^ src/elogd.c:1035:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^ src/elogd.c: In function 'setegroup': src/elogd.c:1740:12: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(logbook_dir, -1, gr->gr_gid); ^ src/elogd.c: In function 'seteuser': src/elogd.c:1764:12: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(logbook_dir, pw->pw_uid, -1); ^ src/elogd.c: In function 'ss_daemon_init': src/elogd.c:2679:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); /* change working direcotry (not on NFS!) */ ^ src/elogd.c: In function 'parse_config_file': src/elogd.c:2896:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, length); ^ src/elogd.c: In function 'check_language': src/elogd.c:3249:14: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, _locbuffer, length); ^ src/elogd.c: In function 'parse_file': src/elogd.c:3890:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, length); ^ src/elogd.c: In function 'el_index_logbooks': src/elogd.c:4175:13: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, sizeof(cwd)); ^ src/elogd.c:4181:18: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(DIR_SEPARATOR_STR); ^ src/elogd.c:4191:18: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(str); ^ src/elogd.c:4222:21: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(str); ^ src/elogd.c:4228:12: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(cwd); ^ src/elogd.c: In function 'el_submit_attachment': src/elogd.c:4654:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, buffer, buffer_size); ^ In file included from src/elogd.c:38:0: src/elogd.c: In function 'el_submit': src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:5081:7: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'el_delete_message': src/elogd.c:5293:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, buffer, tail_size); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:5298:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'write_logfile': src/elogd.c:5617:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, buf, strlen(buf)); ^ src/elogd.c: In function 'is_full_html': src/elogd.c:5741:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ src/elogd.c: In function 'is_ascii': src/elogd.c:5779:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ src/elogd.c: In function 'show_html_header': src/elogd.c:7578:15: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, f); ^ src/elogd.c: In function 'show_top_text': src/elogd.c:8164:15: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, f); ^ src/elogd.c: In function 'show_bottom_text': src/elogd.c:8202:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, f); ^ src/elogd.c: In function 'show_bottom_text_login': src/elogd.c:8251:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, f); ^ src/elogd.c: In function 'send_file_direct': src/elogd.c:8407:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(dir, sizeof(dir)); ^ src/elogd.c:8475:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, return_buffer + strlen(return_buffer), length); ^ src/elogd.c: In function 'show_edit_form': src/elogd.c:11666:20: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, length); ^ src/elogd.c:11996:39: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ src/elogd.c: In function 'load_config_section': src/elogd.c:12593:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, *buffer, length); ^ src/elogd.c: In function 'save_admin_config': src/elogd.c:12825:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:12861:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'change_config_line': src/elogd.c:12893:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:12973:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'delete_logbook': src/elogd.c:13007:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:13031:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'rename_logbook': src/elogd.c:13078:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:13115:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'create_logbook': src/elogd.c:13150:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:13207:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'save_config': src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:13248:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'submit_message': src/elogd.c:15877:17: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, size); ^ src/elogd.c: In function 'receive_config': src/elogd.c:16342:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(pwd, sizeof(pwd), stdin); ^ src/elogd.c: In function 'adjust_config': src/elogd.c:16404:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:16466:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'receive_pwdfile': src/elogd.c:16549:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:16590:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'load_md5': src/elogd.c:16675:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ src/elogd.c: In function 'synchronize_logbook': src/elogd.c:16789:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^ src/elogd.c: In function 'display_line': src/elogd.c:18375:36: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ src/elogd.c: In function 'show_page_filters': src/elogd.c:19016:15: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, f); ^ src/elogd.c: In function 'show_elog_list': src/elogd.c:21026:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, f); ^ src/elogd.c: In function 'add_attribute_option': src/elogd.c:22669:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:22725:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'set_attributes': src/elogd.c:22759:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buf, length); ^ In file included from src/elogd.c:38:0: src/elogd.h:162:31: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^ src/elogd.c:22810:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'copy_to': src/elogd.c:23870:20: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, size); ^ src/elogd.c:23898:23: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, size); ^ src/elogd.c:23923:29: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, size); ^ src/elogd.c: In function 'show_elog_entry': src/elogd.c:24656:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, file); ^ src/elogd.c:25344:36: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ src/elogd.c: In function 'convert_password_file': src/elogd.c:25409:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, buf, len); ^ src/elogd.c: In function 'load_password_file': src/elogd.c:25603:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, line, sizeof(line)); ^ src/elogd.c: In function 'server_loop': src/elogd.c:29680:13: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(str, sizeof(str)); ^ src/elogd.c: In function 'create_password': src/elogd.c:30478:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elogd.c:30505:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, i); ^ src/elogd.c:30507:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elogd.c:30514:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, p, strlen(p)); ^ src/elogd.c:30530:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, i); ^ src/elogd.c:30532:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elogd.c:30535:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, p, strlen(p)); ^ src/elogd.c:30543:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, strlen(cfgbuffer)); ^ src/elogd.c:30545:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elogd.c: In function 'main': src/elogd.c:31005:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^ src/elogd.c:31144:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^ src/elogd.c:31185:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6E5CI5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64 + cd ritt-elog-283534d97d5a + make install ROOT=/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64 PREFIX=/usr MANDIR=/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/man ELOGDIR=/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog 'elog' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/bin/elog' 'elconv' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/bin/elconv' 'elogd' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/sbin/elogd' 'man/elog.1' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/man/man1/elog.1' 'man/elconv.1' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/man/man1/elconv.1' 'man/elogd.8' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/man/man8/elogd.8' 'scripts/ckeditor-config.js' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/scripts/ckeditor-config.js' 'scripts/dnd.js' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/scripts/dnd.js' 'scripts/elcode.js' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/scripts/elcode.js' 'scripts/im.js' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/scripts/im.js' 'scripts/jquery-1.11.1.min.js' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/scripts/jquery-1.11.1.min.js' 'scripts/load-ckeditor.js' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/scripts/load-ckeditor.js' Installing CKeditor to /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/scripts/ckeditor Installing resources to /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/resources 'ssl/server.crt' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/ssl/server.crt' 'ssl/server.key' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/ssl/server.key' Installing themes to /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/themes Installing example logbook to /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/logbooks/demo 'logbooks/demo/2001/011108a.log' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/logbooks/demo/2001/011108a.log' 'elogd.cfg.example' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/elogd.cfg' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/etc' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/etc/rc.d' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/etc/rc.d/init.d' 'elogd.init' -> '/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/etc/rc.d/init.d/elogd' + rm /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/etc/rc.d/init.d/elogd + mv /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/elogd.cfg /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/etc/ + mkdir -p /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/lib/systemd/system + cp /builddir/build/SOURCES/elogd.service /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/var/lib/elog/logbooks + ln -s /usr/share/ckeditor /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/elog/scripts/ckeditor + /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/ritt-elog-283534d97d5a extracting debug info from /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/bin/elog extracting debug info from /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/bin/elconv extracting debug info from /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/sbin/elogd /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 2788 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: elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wN0U64 + umask 022 + cd /builddir/build/BUILD + cd ritt-elog-283534d97d5a + DOCDIR=/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/doc/elog-3.1.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/doc/elog-3.1.4 + cp -pr README /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/doc/elog-3.1.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JILew4 + umask 022 + cd /builddir/build/BUILD + cd ritt-elog-283534d97d5a + LICENSEDIR=/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/licenses/elog-3.1.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/licenses/elog-3.1.4 + cp -pr COPYING /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/licenses/elog-3.1.4 + exit 0 Provides: config(elog) = 3.1.4-1.20190113git283534d97d5a.el7 elog = 3.1.4-1.20190113git283534d97d5a.el7 elog(x86-64) = 3.1.4-1.20190113git283534d97d5a.el7 Requires(interp): /bin/sh /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(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(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) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rtld(GNU_HASH) Processing files: elog-client-3.1.4-1.20190113git283534d97d5a.el7.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.52sLq4 + umask 022 + cd /builddir/build/BUILD + cd ritt-elog-283534d97d5a + LICENSEDIR=/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/licenses/elog-client-3.1.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/licenses/elog-client-3.1.4 + cp -pr COPYING /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/licenses/elog-client-3.1.4 + exit 0 Provides: elog-client = 3.1.4-1.20190113git283534d97d5a.el7 elog-client(x86-64) = 3.1.4-1.20190113git283534d97d5a.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(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) libkrb5.so.3()(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rtld(GNU_HASH) Processing files: elog-doc-3.1.4-1.20190113git283534d97d5a.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OADyo4 + umask 022 + cd /builddir/build/BUILD + cd ritt-elog-283534d97d5a + DOCDIR=/builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/doc/elog-doc-3.1.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/doc/elog-doc-3.1.4 + cp -pr doc/ /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64/usr/share/doc/elog-doc-3.1.4 + exit 0 Provides: elog-doc = 3.1.4-1.20190113git283534d97d5a.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: elog-debuginfo-3.1.4-1.20190113git283534d97d5a.el7.x86_64 Provides: elog-debuginfo = 3.1.4-1.20190113git283534d97d5a.el7 elog-debuginfo(x86-64) = 3.1.4-1.20190113git283534d97d5a.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/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64 Wrote: /builddir/build/RPMS/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64.rpm Wrote: /builddir/build/RPMS/elog-client-3.1.4-1.20190113git283534d97d5a.el7.x86_64.rpm Wrote: /builddir/build/RPMS/elog-doc-3.1.4-1.20190113git283534d97d5a.el7.noarch.rpm Wrote: /builddir/build/RPMS/elog-debuginfo-3.1.4-1.20190113git283534d97d5a.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uEXte9 + umask 022 + cd /builddir/build/BUILD + cd ritt-elog-283534d97d5a + /usr/bin/rm -rf /builddir/build/BUILDROOT/elog-3.1.4-1.20190113git283534d97d5a.el7.x86_64 + exit 0 Child return code was: 0