Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/elog.spec'], env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOME': '/builddir'}timeout=172800nspawn_args=[]gid=425chrootPath='/var/lib/mock/epel7-build-8810935-759649/root'user='mockbuild'shell=FalseprintOutput=Falseuid=1000logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/elog.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False warning: Could not canonicalize hostname: buildvm-22.phx2.fedoraproject.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/elog-3.1.3-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/elog.spec'], env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOME': '/builddir'}timeout=172800nspawn_args=[]gid=425chrootPath='/var/lib/mock/epel7-build-8810935-759649/root'user='mockbuild'shell=FalseprintOutput=Falseuid=1000logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/elog.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H5ysfb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elog-3.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/elog-3.1.3-1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd elog-3.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (elog-makefile-elogdir.patch):' Patch #0 (elog-makefile-elogdir.patch): + /usr/bin/cat /builddir/build/SOURCES/elog-makefile-elogdir.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b4CSOB + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.3 + 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:953:14: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, result, size-1); ^ src/elogd.c:1009: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:1722: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:1747: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:2691: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:2917: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:3277: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:3956: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:4243:13: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, sizeof(cwd)); ^ src/elogd.c:4249:18: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(DIR_SEPARATOR_STR); ^ src/elogd.c:4259:18: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(str); ^ src/elogd.c:4290:21: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(str); ^ src/elogd.c:4296: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:4700: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:156: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:5127:7: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'el_delete_message': src/elogd.c:5339: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:156: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:5344:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'write_logfile': src/elogd.c:5666: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:5789: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:5828: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_top_text': src/elogd.c:8222: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:8261: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:8311: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:8494:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(dir, sizeof(dir)); ^ src/elogd.c:8552: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:11715:20: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, length); ^ src/elogd.c:12040: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:12636: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:12872: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:156: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:12908:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'change_config_line': src/elogd.c:12941: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:156: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:13021:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'delete_logbook': src/elogd.c:13056: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:156: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:13080:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'rename_logbook': src/elogd.c:13128: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:156: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:13165:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'create_logbook': src/elogd.c:13201: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:156: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:13258:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'save_config': src/elogd.h:156: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:13300:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'submit_message': src/elogd.c:15969: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:16430: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:16487: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:156: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:16549:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'receive_pwdfile': src/elogd.c:16633: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:156: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:16674:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'load_md5': src/elogd.c:16761: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:16878: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:18479: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:19128: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:21130: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:22725: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:156: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:22781:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'set_attributes': src/elogd.c:22816: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:156: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:22867:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^ src/elogd.c: In function 'copy_to': src/elogd.c:23924:20: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, size); ^ src/elogd.c:23952:23: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, size); ^ src/elogd.c:23977: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:24707:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, f); ^ src/elogd.c:25389: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:25455: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:25651: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:29665: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:30458:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elogd.c:30485:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, i); ^ src/elogd.c:30487:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elogd.c:30494:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, p, strlen(p)); ^ src/elogd.c:30510:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, i); ^ src/elogd.c:30512:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^ src/elogd.c:30515:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, p, strlen(p)); ^ src/elogd.c:30523:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, strlen(cfgbuffer)); ^ src/elogd.c:30525: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:30986:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^ src/elogd.c:31125:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^ src/elogd.c:31166: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.MIK3HD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64 + cd elog-3.1.3 + make install ROOT=/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64 PREFIX=/usr MANDIR=/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/man ELOGDIR=/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog 'elog' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/bin/elog' 'elconv' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/bin/elconv' 'elogd' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/sbin/elogd' 'man/elog.1' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/man/man1/elog.1' 'man/elconv.1' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/man/man1/elconv.1' 'man/elogd.8' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/man/man8/elogd.8' 'scripts/ckeditor-config.js' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/scripts/ckeditor-config.js' 'scripts/dnd.js' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/scripts/dnd.js' 'scripts/elcode.js' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/scripts/elcode.js' 'scripts/im.js' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/scripts/im.js' 'scripts/jquery-1.11.1.min.js' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/scripts/jquery-1.11.1.min.js' 'scripts/load-ckeditor.js' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/scripts/load-ckeditor.js' Installing CKeditor to /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/scripts/ckeditor Installing resources to /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/resources 'ssl/server.crt' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/ssl/server.crt' 'ssl/server.key' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/ssl/server.key' Installing themes to /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/themes Installing example logbook to /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/logbooks/demo 'logbooks/demo/2001/011108a.log' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/logbooks/demo/2001/011108a.log' 'elogd.cfg' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/elogd.cfg' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/etc' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/etc/rc.d' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/etc/rc.d/init.d' 'elogd.init' -> '/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/etc/rc.d/init.d/elogd' + rm /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/etc/rc.d/init.d/elogd + mv /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/elog/elogd.cfg /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/etc/ + mkdir -p /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/lib/systemd/system + cp /builddir/build/SOURCES/elogd.service /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/var/lib/elog/logbooks + ln -s /usr/share/ckeditor /builddir/build/BUILDROOT/elog-3.1.3-2.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/elog-3.1.3 extracting debug info from /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/sbin/elogd extracting debug info from /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/bin/elog extracting debug info from /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/bin/elconv /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 2751 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.3-2.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ldiQtH + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.3 + DOCDIR=/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/doc/elog-3.1.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/doc/elog-3.1.3 + cp -pr README /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/doc/elog-3.1.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.L3LBgL + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.3 + LICENSEDIR=/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/licenses/elog-3.1.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/licenses/elog-3.1.3 + cp -pr COPYING /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/licenses/elog-3.1.3 + exit 0 Provides: config(elog) = 3.1.3-2.el7 elog = 3.1.3-2.el7 elog(x86-64) = 3.1.3-2.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.3-2.el7.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KTqpvQ + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.3 + LICENSEDIR=/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/licenses/elog-client-3.1.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/licenses/elog-client-3.1.3 + cp -pr COPYING /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/licenses/elog-client-3.1.3 + exit 0 Provides: elog-client = 3.1.3-2.el7 elog-client(x86-64) = 3.1.3-2.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.3-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FsaqOV + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.3 + DOCDIR=/builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/doc/elog-doc-3.1.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/doc/elog-doc-3.1.3 + cp -pr doc/ /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64/usr/share/doc/elog-doc-3.1.3 + exit 0 Provides: elog-doc = 3.1.3-2.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.3-2.el7.x86_64 Provides: elog-debuginfo = 3.1.3-2.el7 elog-debuginfo(x86-64) = 3.1.3-2.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.3-2.el7.x86_64 Wrote: /builddir/build/RPMS/elog-3.1.3-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/elog-client-3.1.3-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/elog-doc-3.1.3-2.el7.noarch.rpm Wrote: /builddir/build/RPMS/elog-debuginfo-3.1.3-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MZZ7Ku + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/elog-3.1.3-2.el7.x86_64 + exit 0 Child return code was: 0