* Package: app-arch/unzip-6.0_p25 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_32 bzip2 elibc_glibc kernel_linux unicode userland_GNU x86 * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Package: app-arch/unzip-6.0_p25 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_32 bzip2 elibc_glibc kernel_linux unicode userland_GNU x86 * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking unzip60.tar.gz to /var/tmp/portage/app-arch/unzip-6.0_p25/work >>> Unpacking unzip_6.0-25.debian.tar.xz to /var/tmp/portage/app-arch/unzip-6.0_p25/work >>> Source unpacked in /var/tmp/portage/app-arch/unzip-6.0_p25/work >>> Preparing source in /var/tmp/portage/app-arch/unzip-6.0_p25/work/unzip60 ... * Applying 01-manpages-in-section-1-not-in-section-1l.patch ... [ ok ] * Applying 03-include-unistd-for-kfreebsd.patch ... [ ok ] * Applying 04-handle-pkware-verification-bit.patch ... [ ok ] * Applying 05-fix-uid-gid-handling.patch ... [ ok ] * Applying 06-initialize-the-symlink-flag.patch ... [ ok ] * Applying 07-increase-size-of-cfactorstr.patch ... [ ok ] * Applying 08-allow-greater-hostver-values.patch ... [ ok ] * Applying 09-cve-2014-8139-crc-overflow.patch ... [ ok ] * Applying 10-cve-2014-8140-test-compr-eb.patch ... [ ok ] * Applying 11-cve-2014-8141-getzip64data.patch ... [ ok ] * Applying 12-cve-2014-9636-test-compr-eb.patch ... [ ok ] * Applying 13-remove-build-date.patch ... [ ok ] * Applying 14-cve-2015-7696.patch ... [ ok ] * Applying 15-cve-2015-7697.patch ... [ ok ] * Applying 16-fix-integer-underflow-csiz-decrypted.patch ... [ ok ] * Applying 17-restore-unix-timestamps-accurately.patch ... [ ok ] * Applying 18-cve-2014-9913-unzip-buffer-overflow.patch ... [ ok ] * Applying 19-cve-2016-9844-zipinfo-buffer-overflow.patch ... [ ok ] * Applying 20-cve-2018-1000035-unzip-buffer-overflow.patch ... [ ok ] * Applying 21-fix-warning-messages-on-big-files.patch ... [ ok ] * Applying 22-cve-2019-13232-fix-bug-in-undefer-input.patch ... [ ok ] * Applying 23-cve-2019-13232-zip-bomb-with-overlapped-entries.patch ... [ ok ] * Applying 24-cve-2019-13232-do-not-raise-alert-for-misplaced-central-directory.patch ... [ ok ] * Applying unzip-6.0-no-exec-stack.patch ... [ ok ] * Applying unzip-6.0-format-security.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-arch/unzip-6.0_p25/work/unzip60 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-arch/unzip-6.0_p25/work/unzip60 ... make --jobs 5 --load-average 7.95 -f unix/Makefile linux_asm NOTE: use linux_noasm target for non-Intel Linux compiles. make unzips CC="i686-pc-linux-gnu-gcc" LD="i686-pc-linux-gnu-gcc" AS="i686-pc-linux-gnu-gcc"\ CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC"\ AF="-Di386 " CRCA_O=crc_gcc.o make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p25/work/unzip60' i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX unzip.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX crc32.c i686-pc-linux-gnu-gcc -Di386 -x assembler-with-cpp -c -o crc_gcc.o crc_i386.S i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX crypt.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX envargs.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX explode.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX extract.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX fileio.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX globals.c extract.c: In function ‘UZbunzip2’: extract.c:2939:9: warning: variable ‘repeated_buf_err’ set but not used [-Wunused-but-set-variable] int repeated_buf_err; ^~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_files’: extract.c:773:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘store_info’: extract.c:1085:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(G.answerbuf, sizeof(G.answerbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_entrylist’: extract.c:1675:29: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(G.filename, FILNAMSIZ, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘disk_error’: fileio.c:1225:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(G.answerbuf, sizeof(G.answerbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX inflate.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX list.c list.c: In function ‘list_files’: list.c:350:45: warning: ‘%03u’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] sprintf( &methbuf[ 4], "%03u", G.crec.compression_method); ^~~~ fileio.c: In function ‘UzpPassword’: list.c:350:44: note: directive argument in the range [0, 65535] sprintf( &methbuf[ 4], "%03u", G.crec.compression_method); ^~~~~~ In file included from /usr/include/stdio.h:867, from unzpriv.h:634, from unzip.h:719, from list.c:24: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 6 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:1620:8: warning: ‘prompt’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (prompt != (char *)NULL) { ^ i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX match.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX process.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX ttyio.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX ubz2err.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX unreduce.c process.c: In function ‘wide_to_local_string’: process.c:2504:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable] int state_dependent; ^~~~~~~~~~~~~~~ ttyio.c: In function ‘zgetch’: ttyio.c:463:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(f, &c, 1); /* read our character */ ^~~~~~~~~~~~~~ ttyio.c: In function ‘getp’: ttyio.c:631:13: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(f, &c, 1); ^~~~~~~~~~~~~~ i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX unshrink.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX zipinfo.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX unix/unix.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX funzip.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DFUNZIP -o cryptf.o crypt.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DFUNZIP -o globalsf.o globals.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DFUNZIP -o inflatef.o inflate.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DFUNZIP -o ttyiof.o ttyio.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o unzipsfx.o unzip.c zipinfo.c: In function ‘zipinfo’: zipinfo.c:1932:37: warning: ‘%03u’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] sprintf( &methbuf[ 1], "%03u", G.crec.compression_method); ^~~~ zipinfo.c:1932:36: note: directive argument in the range [0, 65535] sprintf( &methbuf[ 1], "%03u", G.crec.compression_method); ^~~~~~ In file included from /usr/include/stdio.h:867, from unzpriv.h:634, from unzip.h:719, from zipinfo.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 6 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zipinfo.c:2026:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10); ^ In file included from /usr/include/stdio.h:867, from unzpriv.h:634, from unzip.h:719, from zipinfo.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zipinfo.c:1983:49: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10); ^ In file included from /usr/include/stdio.h:867, from unzpriv.h:634, from unzip.h:719, from zipinfo.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zipinfo.c:2001:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10); ^ In file included from /usr/include/stdio.h:867, from unzpriv.h:634, from unzip.h:719, from zipinfo.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zipinfo.c:2072:52: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(attribs, ".r.-... %u.%u", hostver/10, hostver%10); ^ In file included from /usr/include/stdio.h:867, from unzpriv.h:634, from unzip.h:719, from zipinfo.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 17 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zipinfo.c:2072:52: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(attribs, ".r.-... %u.%u", hostver/10, hostver%10); ^ In file included from /usr/include/stdio.h:867, from unzpriv.h:634, from unzip.h:719, from zipinfo.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 17 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zipinfo.c:2072:52: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(attribs, ".r.-... %u.%u", hostver/10, hostver%10); ^ In file included from /usr/include/stdio.h:867, from unzpriv.h:634, from unzip.h:719, from zipinfo.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 17 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttyio.c: In function ‘getp’: ttyio.c:631:13: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(f, &c, 1); ^~~~~~~~~~~~~~ i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o crc32_.o crc32.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o crypt_.o crypt.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o extract_.o extract.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o fileio_.o fileio.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o globals_.o globals.c fileio.c: In function ‘disk_error’: fileio.c:1225:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(G.answerbuf, sizeof(G.answerbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_files’: extract.c:773:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o inflate_.o inflate.c extract.c: In function ‘store_info’: extract.c:1085:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(G.answerbuf, sizeof(G.answerbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_entrylist’: extract.c:1675:29: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(G.filename, FILNAMSIZ, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o match_.o match.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o process_.o process.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o ttyio_.o ttyio.c i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o ubz2err_.o ubz2err.c ttyio.c: In function ‘zgetch’: ttyio.c:463:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(f, &c, 1); /* read our character */ ^~~~~~~~~~~~~~ i686-pc-linux-gnu-gcc -c -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -DASM_CRC -I. -Ibzip2 -DUNIX -DSFX -o unix_.o unix/unix.c process.c: In function ‘wide_to_local_string’: process.c:2504:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable] int state_dependent; ^~~~~~~~~~~~~~~ i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o unzip -Lbzip2 unzip.o crc32.o crc_gcc.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o -lbz2 i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o funzip funzip.o crc32.o crc_gcc.o cryptf.o globalsf.o inflatef.o ttyiof.o i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o unzipsfx unzipsfx.o crc32_.o crc_gcc.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o ubz2err_.o unix_.o make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p25/work/unzip60' >>> Source compiled. >>> Test phase: app-arch/unzip-6.0_p25 make --jobs 5 --load-average 7.95 check ##### This is a Unix-specific target. (Just so you know.) ##### Make sure unzip, funzip and unzipsfx are compiled and ##### in this directory. ##### testing extraction Archive: testmake.zip inflating: testmake.zipinfo ##### testing zipinfo (unzip -Z) 1,4c1,3 < Archive: testmake.zip < Zip file size: 527 bytes, number of entries: 2 < -rw-a-- 2.3 ntf 126 tx defX 98-Nov-19 22:46 notes < -rw-a-- 2.3 ntf 236 tx defX 98-Nov-19 22:46 testmake.zipinfo --- > Archive: testmake.zip 527 bytes 2 files > -rw-a-- 2.3 ntf 126 tx defX 19-Nov-98 22:46 notes > -rw-a-- 2.3 ntf 236 tx defX 19-Nov-98 22:46 testmake.zipinfo ##### WARNING: zipinfo output doesn't match stored version ##### (If the only difference is the file times, compare your ##### timezone with the Central European timezone, which is one ##### hour east of Greenwich but effectively 2 hours east ##### during summer Daylight Savings Time. The upper two ##### lines should correspond to your local time when the ##### files were created, on 19 November 1998 at 10:46pm CET. ##### If the times are consistent, please ignore this warning.) ##### testing unzip -d exdir option Archive: testmake.zip inflating: testun/notes This file is part of testmake.zip for UnZip 5.4 and later. It has DOS/OS2/NT style CR-LF line-endings. It's pretty short. ##### testing unzip -o and funzip (ignore funzip warning) funzip warning: zipfile has more than one entry--rest ignored ##### testing unzipsfx (self-extractor) UnZipSFX 6.00 of 20 April 2009, by Info-ZIP (http://www.info-zip.org). error: invalid zip file with overlapped components (possible zip bomb) make: *** [Makefile:501: check] Error 12 * ERROR: app-arch/unzip-6.0_p25::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 1551: Called default * phase-functions.sh, line 872: Called default_src_test * phase-functions.sh, line 901: Called __eapi0_src_test * phase-helpers.sh, line 779: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details." * * If you need support, post the output of `emerge --info '=app-arch/unzip-6.0_p25::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/unzip-6.0_p25::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-arch/unzip-6.0_p25/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-arch/unzip-6.0_p25/temp/environment'. * Working directory: '/var/tmp/portage/app-arch/unzip-6.0_p25/work/unzip60' * S: '/var/tmp/portage/app-arch/unzip-6.0_p25/work/unzip60'