Mock Version: 1.2.18 Mock Version: 1.2.18 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/elog.spec'], uid=1000printOutput=Falsegid=425logger=user='mockbuild'env={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir'}chrootPath='/var/lib/mock/f25-build-6321553-631874/root'timeout=172800shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/elog.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir'} and shell False warning: Could not canonicalize hostname: buildhw-03.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/elog-3.1.1-7.fc25.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/elog.spec'], uid=1000printOutput=Falsegid=425logger=user='mockbuild'env={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir'}chrootPath='/var/lib/mock/f25-build-6321553-631874/root'private_network=Truetimeout=172800shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/elog.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LZF3so + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elog-3.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/elog-3.1.1-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd elog-3.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (elog-makefile-elogdir.patch): + echo 'Patch #0 (elog-makefile-elogdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Patch #1 (elog-fix-cve-2016-6342-patch1.patch): + echo 'Patch #1 (elog-fix-cve-2016-6342-patch1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/elogd.c Hunk #1 succeeded at 3545 (offset -4 lines). Hunk #2 succeeded at 8943 (offset -9 lines). Hunk #3 succeeded at 9017 (offset -13 lines). Hunk #4 succeeded at 9115 (offset -13 lines). Hunk #5 succeeded at 12629 (offset -23 lines). Hunk #6 succeeded at 12662 (offset -23 lines). Hunk #7 succeeded at 13779 (offset -25 lines). Hunk #8 succeeded at 13828 (offset -29 lines). Hunk #9 succeeded at 13932 (offset -31 lines). Hunk #10 succeeded at 18586 (offset -42 lines). Hunk #11 succeeded at 18627 (offset -42 lines). Hunk #12 succeeded at 18671 (offset -42 lines). Hunk #13 succeeded at 18680 (offset -42 lines). Hunk #14 succeeded at 18689 (offset -42 lines). Hunk #15 succeeded at 18697 (offset -42 lines). Hunk #16 succeeded at 18721 (offset -42 lines). Hunk #17 succeeded at 18730 (offset -42 lines). Hunk #18 succeeded at 18738 (offset -42 lines). Hunk #19 succeeded at 18746 (offset -42 lines). Hunk #20 succeeded at 18757 (offset -42 lines). Hunk #21 succeeded at 18788 (offset -42 lines). Hunk #22 succeeded at 20916 (offset -42 lines). Hunk #23 succeeded at 24251 (offset -62 lines). Hunk #24 succeeded at 24271 (offset -62 lines). Hunk #25 succeeded at 26008 (offset -62 lines). Hunk #26 succeeded at 26035 (offset -62 lines). Hunk #27 succeeded at 26570 (offset -68 lines). patching file src/elogd.h Patch #2 (elog-fix-cve-2016-6342-patch2.patch): + echo 'Patch #2 (elog-fix-cve-2016-6342-patch2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/elogd.c Hunk #1 succeeded at 25591 (offset -62 lines). Hunk #2 succeeded at 25643 (offset -62 lines). Hunk #3 succeeded at 26041 (offset -62 lines). + 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.RLfXAu + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.1 + make -j16 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' 'LIBS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -w -c -o crypt.o src/crypt.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o strlcpy.o src/strlcpy.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -w -c -o regex.o src/regex.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -w -c -o auth.o src/auth.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o mxml.o src/mxml.c echo \#define GIT_REVISION \"`git log -n 1 --pretty=format:"%ad - %h"`\" > src/git-revision.h gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -o elconv src/elconv.c -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld /bin/sh: git: command not found src/elconv.c: In function 'el_submit': src/elconv.c:635:19: 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:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, str, 16); ^~~~~~~~~~~~~~~~~ src/elconv.c:664:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, message, size); ^~~~~~~~~~~~~~~~~~~~~~~ src/elconv.c:772:4: 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:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, message, strlen(message)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elconv.c:774:4: 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:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fh, TELL(fh)); ^~~~~~~~~~~~~~~~~~~~~~~ src/elconv.c:801:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, str, 16); ^~~~~~~~~~~~~~~~~ src/elconv.c:807:16: 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:4: 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:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(str, sizeof(str)); ^~~~~~~~~~~~~~~~~~~~~~~~ src/elconv.c:1003:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elconv.c:1014:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elconv.c:1026:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elconv.c:1036:7: 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:4: 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -o elog src/elog.c crypt.o strlcpy.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld src/elog.c: In function 'main': src/elog.c:1054:16: warning: array subscript is above array bounds [-Warray-bounds] strcpy(str, svn_revision + 13); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -o elogd src/elogd.c crypt.o auth.o regex.o mxml.o strlcpy.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld src/elogd.c: In function 'execute_shell': src/elogd.c:22545:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0; i < MAX_ATTACHMENTS; i++) ^~~ src/elogd.c:22547:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if (att_file[i][0] && strlen(shell_cmd) + strlen(lbs->data_dir) + strlen(subdir) + strlen(att_file[i]) ^~ src/elogd.c: In function 'my_shell': src/elogd.c:953:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, result, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:1009:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ src/elogd.c: In function 'ss_daemon_init': src/elogd.c:2677:4: 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:2903:4: 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:3263:10: 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:3942:7: 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:4229:7: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, sizeof(cwd)); ^~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:4235:13: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(DIR_SEPARATOR_STR); ^~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:4245:13: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(str); ^~~~~~~~~~ src/elogd.c:4276:16: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(str); ^~~~~~~~~~ src/elogd.c:4282:7: 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:4686:10: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:5113:7: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'el_delete_message': src/elogd.c:5325:7: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:5330:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'write_logfile': src/elogd.c:5652:4: 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:5775:4: 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:5814:4: 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:8208:10: 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:8247:13: 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:8297:13: 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:8480:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(dir, sizeof(dir)); ^~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:8538:7: 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:11654:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, length); ^~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:11977:34: 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:12572:4: 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:12808:4: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:12844:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'change_config_line': src/elogd.c:12877:4: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:12957:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'delete_logbook': src/elogd.c:12992:4: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:13016:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'rename_logbook': src/elogd.c:13064:4: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:13101:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'create_logbook': src/elogd.c:13137:4: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:13194:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'save_config': src/elogd.h:156:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:13236:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'submit_message': src/elogd.c:15867:13: 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:16328:10: 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:16385:4: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:16447:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'receive_pwdfile': src/elogd.c:16531:10: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:16572:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'load_md5': src/elogd.c:16659:7: 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:16776:16: 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:18369:31: 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:10: 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:21018:13: 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:22592:4: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:22648:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'set_attributes': src/elogd.c:22683:4: 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:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] #define TRUNCATE(fh) ftruncate(fh, TELL(fh)) ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:22734:4: note: in expansion of macro 'TRUNCATE' TRUNCATE(fh); ^~~~~~~~ src/elogd.c: In function 'copy_to': src/elogd.c:23791:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, size); ^~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:23819:19: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, buffer, size); ^~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:23844:25: 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:24574:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, size, f); ^~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:25256:31: 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:25322:7: 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:25518:7: 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:29517:7: 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:30302:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30329:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, i); ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30331:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30338:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, p, strlen(p)); ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30354:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, i); ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30356:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, str, strlen(str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30359:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, p, strlen(p)); ^~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30367:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fh, cfgbuffer, strlen(cfgbuffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30369:7: 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:30830:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:30969:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/elogd.c:31010:7: 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.rzOkHv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386 ++ dirname /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386 + cd elog-3.1.1 + make install ROOT=/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386 PREFIX=/usr MANDIR=/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/man ELOGDIR=/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog 'elog' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/bin/elog' 'elconv' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/bin/elconv' 'elogd' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/sbin/elogd' 'man/elog.1' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/man/man1/elog.1' 'man/elconv.1' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/man/man1/elconv.1' 'man/elogd.8' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/man/man8/elogd.8' 'scripts/ckeditor-config.js' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/scripts/ckeditor-config.js' 'scripts/dnd.js' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/scripts/dnd.js' 'scripts/elcode.js' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/scripts/elcode.js' 'scripts/im.js' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/scripts/im.js' 'scripts/jquery-1.11.1.min.js' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/scripts/jquery-1.11.1.min.js' 'scripts/load-ckeditor.js' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/scripts/load-ckeditor.js' Installing CKeditor to /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/scripts/ckeditor Installing resources to /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/resources 'ssl/server.crt' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/ssl/server.crt' 'ssl/server.key' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/ssl/server.key' Installing themes to /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/themes Installing example logbook to /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/logbooks/demo 'logbooks/demo/2001/011108a.log' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/logbooks/demo/2001/011108a.log' 'elogd.cfg' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/elogd.cfg' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/etc' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/etc/rc.d' /usr/bin/install: creating directory '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/etc/rc.d/init.d' 'elogd.init' -> '/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/etc/rc.d/init.d/elogd' + rm /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/etc/rc.d/init.d/elogd + mv /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/elog/elogd.cfg /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/etc/ + mkdir -p /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/lib/systemd/system + cp /builddir/build/SOURCES/elogd.service /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/var/lib/elog/logbooks + ln -s /usr/share/ckeditor /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/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 50000000 /builddir/build/BUILD/elog-3.1.1 extracting debug info from /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/sbin/elogd extracting debug info from /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/bin/elconv extracting debug info from /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/bin/elog /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 2737 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: elog-3.1.1-7.fc25.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.M16W1D + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.1 + DOCDIR=/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/doc/elog + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/doc/elog + cp -pr README /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/doc/elog + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oC2FnM + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/licenses/elog + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/licenses/elog + cp -pr COPYING /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/licenses/elog + exit 0 Provides: config(elog) = 3.1.1-7.fc25 elog = 3.1.1-7.fc25 elog(x86-32) = 3.1.1-7.fc25 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.8) rtld(GNU_HASH) Processing files: elog-client-3.1.1-7.fc25.i686 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8VXT2V + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/licenses/elog-client + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/licenses/elog-client + cp -pr COPYING /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/licenses/elog-client + exit 0 Provides: elog-client = 3.1.1-7.fc25 elog-client(x86-32) = 3.1.1-7.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) rtld(GNU_HASH) Processing files: elog-doc-3.1.1-7.fc25.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4K4tO5 + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.1 + DOCDIR=/builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/doc/elog-doc + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/doc/elog-doc + cp -pr doc/ /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386/usr/share/doc/elog-doc + exit 0 Provides: elog-doc = 3.1.1-7.fc25 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.1-7.fc25.i686 Provides: elog-debuginfo = 3.1.1-7.fc25 elog-debuginfo(x86-32) = 3.1.1-7.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386 Wrote: /builddir/build/RPMS/elog-3.1.1-7.fc25.i686.rpm Wrote: /builddir/build/RPMS/elog-client-3.1.1-7.fc25.i686.rpm Wrote: /builddir/build/RPMS/elog-doc-3.1.1-7.fc25.noarch.rpm Wrote: /builddir/build/RPMS/elog-debuginfo-3.1.1-7.fc25.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cczLLi + umask 022 + cd /builddir/build/BUILD + cd elog-3.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/elog-3.1.1-7.fc25.i386 + exit 0 Child return code was: 0