Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/zip.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-230660-62415/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/zip.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/zip-3.0-24.an8.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/zip.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-230660-62415/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/zip.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.0FsnVA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zip30 + /usr/bin/gzip -dc /builddir/build/SOURCES/zip-3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zip30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-zip-3.0-format-security.patch):' Patch #1 (0001-zip-3.0-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 patching file zip.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NXb6tZ + umask 022 + cd /builddir/build/BUILD + cd zip30 + /usr/bin/make -O -j64 -f unix/Makefile prefix=/usr 'CFLAGS_NOOPT=-I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' generic sh unix/configure "cc" "-I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" "" Check C compiler type (optimization options) GNU C (-O3) Check bzip2 support Check for bzip2 in bzip2 directory Check if OS already has bzip2 library installed -- OS supports bzip2 - linking in bzip2 Check for the C preprocessor Check if we can use asm code Check for ANSI options Check for prototypes Check the handling of const Check for time_t Check for size_t Check for off_t Check size of UIDs and GIDs (Now zip stores variable size UIDs/GIDs using a new extra field. This tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage should also be used for backward compatibility.) s.st_uid is 4 bytes s.st_gid is 4 bytes -- UID not 2 bytes - disabling old 16-bit UID/GID support Check for Large File Support off_t is 8 bytes -- yes we have Large File Support! Check for wide char support -- have wchar_t - enabling Unicode support Check for gcc no-builtin flag Check for rmdir Check for strchr Check for strrchr Check for rename Check for mktemp Check for mktime Check for mkstemp Check for memset Check for memmove Check for strerror Check for errno declaration Check for directory libraries Check for readlink Check for directory include file Check for nonexistent include files Check for term I/O include file Check for valloc Check for /usr/local/bin and /usr/local/man Check for OS-specific flags Check for symbolic links eval /usr/bin/make -f unix/Makefile zips `cat flags` make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zbz2err.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o unix_.o unix/unix.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' ttyio.c: In function 'getp': ttyio.c:628:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(f, &c, 1); ^~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crc32_.o crc32.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o util_.o util.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H deflate.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crypt_.o crypt.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zipup.c: In function 'zipup': zipup.c:403:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] zoff_t o = 0, p; /* offsets in zip file */ ^ zipup.c: In function 'bz_compress_init': zipup.c:1674:17: warning: variable 'bzlibVer' set but not used [-Wunused-but-set-variable] const char *bzlibVer; ^~~~~~~~ In file included from zipup.c:109: zipup.c: In function 'file_read': unix/zipup.h:21:22: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define zread(f,b,n) read(f,b,n) ^~~~~~~~~~~ zipup.c:1264:10: note: in expansion of macro 'zread' zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */ ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zipsplit.c: In function 'main': zipsplit.c:884:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(m, 10, stdin); ^~~~~~~~~~~~~~~~~~~ zipsplit.c: In function 'retry': zipsplit.c:496:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(m, 10, stdin); ^~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H trees.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o fileio_.o fileio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' fileio.c: In function 'wide_to_local_string': fileio.c:3281:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] int state_dependent; ^~~~~~~~~~~~~~~ fileio.c: In function 'ask_for_split_read_path': fileio.c:2120:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, SPLIT_MAXPATH, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, SPLIT_MAXPATH, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function 'ask_for_split_write_path': fileio.c:2324:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, FNMAX, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~ At top level: fileio.c:3727:24: warning: 'no_arg_files_err' defined but not used [-Wunused-const-variable=] static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n"; ^~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' fileio.c: In function 'wide_to_local_string': fileio.c:3281:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] int state_dependent; ^~~~~~~~~~~~~~~ fileio.c: In function 'ask_for_split_read_path': fileio.c:2120:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, SPLIT_MAXPATH, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, SPLIT_MAXPATH, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function 'ask_for_split_write_path': fileio.c:2324:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, FNMAX, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~ At top level: fileio.c:3727:24: warning: 'no_arg_files_err' defined but not used [-Wunused-const-variable=] static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n"; ^~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o zipfile_.o zipfile.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zipfile.c: In function 'ffile_size': zipfile.c:1696:10: warning: variable 'siz' set but not used [-Wunused-but-set-variable] size_t siz; ^~~ zipfile.c: In function 'scanzipf_regnew': zipfile.c:4030:11: warning: variable 'version_made' set but not used [-Wunused-but-set-variable] ush version_made; ^~~~~~~~~~~~ zipfile.c:4029:11: warning: variable 'z64eocdr_size' set but not used [-Wunused-but-set-variable] uzoff_t z64eocdr_size; ^~~~~~~~~~~~~ zipfile.c: In function 'readzipfile': zipfile.c:5057:10: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] *x = z; ~~~^~~ zipfile.c:4049:27: note: 'x' was declared here struct zlist far * far *x; /* pointer last entry's link */ ^ make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -o zipsplit zipsplit.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2 make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -o zipnote zipnote.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2 make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -o zipcloak zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o crypt_.o ttyio.o -lbz2 make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zipfile.c: In function 'ffile_size': zipfile.c:1696:10: warning: variable 'siz' set but not used [-Wunused-but-set-variable] size_t siz; ^~~ zipfile.c: In function 'readlocal': zipfile.c:2168:11: warning: variable 'start_offset' set but not used [-Wunused-but-set-variable] uzoff_t start_offset = 0; ^~~~~~~~~~~~ zipfile.c: In function 'scanzipf_fixnew': zipfile.c:3225:11: warning: variable 'in_cd_start_offset' set but not used [-Wunused-but-set-variable] uzoff_t in_cd_start_offset; /* offset of start of cd on cd start disk */ ^~~~~~~~~~~~~~~~~~ zipfile.c:3223:11: warning: variable 'cd_total_entries' set but not used [-Wunused-but-set-variable] uzoff_t cd_total_entries = 0; /* number of entries according to EOCDR */ ^~~~~~~~~~~~~~~~ zipfile.c: In function 'scanzipf_regnew': zipfile.c:4030:11: warning: variable 'version_made' set but not used [-Wunused-but-set-variable] ush version_made; ^~~~~~~~~~~~ zipfile.c:4029:11: warning: variable 'z64eocdr_size' set but not used [-Wunused-but-set-variable] uzoff_t z64eocdr_size; ^~~~~~~~~~~~~ zipfile.c: In function 'scanzipf_fixnew': zipfile.c:3638:14: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] *x = z; ~~~^~~ zipfile.c: In function 'readzipfile': zipfile.c:5057:10: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] *x = z; ~~~^~~ zipfile.c:4049:27: note: 'x' was declared here struct zlist far * far *x; /* pointer last entry's link */ ^ make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -o zip zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o unix.o crc32.o zbz2err.o deflate.o trees.o -lbz2 make[1]: Leaving directory '/builddir/build/BUILD/zip30' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VSewKa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64 ++ dirname /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64 + cd zip30 + mkdir -p /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/bin + mkdir -p /usr/share/man/man1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64 'INSTALL=/usr/bin/install -p' -f unix/Makefile prefix=/builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr MANDIR=/builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1 mkdir -p /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/bin cp zip zipcloak zipnote zipsplit /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/bin cd /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/bin; chmod 755 zip zipcloak zipnote zipsplit mkdir -p /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1 cp man/zip.1 /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1/zip.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1/zip.1 cp man/zipcloak.1 /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1/zipcloak.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1/zipcloak.1 cp man/zipnote.1 /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1/zipnote.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1/zipnote.1 cp man/zipsplit.1 /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1/zipsplit.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-24.an8.x86_64/usr/share/man/man1/zipsplit.1 + %generate_compatibility_deps /var/tmp/rpm-tmp.VSewKa: line 45: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.VSewKa (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VSewKa (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/zip.spec