* Package: app-arch/unzip-6.0_p27-r1:0 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 bzip2 elibc_glibc kernel_linux natspec unicode * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking unzip60.tar.gz to /var/tmp/portage/app-arch/unzip-6.0_p27-r1/work >>> Unpacking unzip_6.0-27.debian.tar.xz to /var/tmp/portage/app-arch/unzip-6.0_p27-r1/work >>> Source unpacked in /var/tmp/portage/app-arch/unzip-6.0_p27-r1/work >>> Preparing source in /var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60 ... * Applying patches from /var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/debian/patches ... [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60 ... make -j2 -f unix/Makefile linux_noasm make unzips CC="x86_64-pc-linux-gnu-gcc" LD="x86_64-pc-linux-gnu-gcc" CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall" make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE unzip.c unzip.c: In function ‘uz_opts’: unzip.c:1662:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1662 | strncpy(OEM_CP, s, sizeof(OEM_CP)); | ^ unzip.c:1653:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1653 | strncpy(OEM_CP, s, sizeof(OEM_CP)); | ^ unzip.c:1558:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1558 | strncpy(ISO_CP, s, sizeof(ISO_CP)); | ^ unzip.c:1549:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1549 | strncpy(ISO_CP, s, sizeof(ISO_CP)); | ^ In file included from unzip.h:719, from unzip.c:68: In function ‘show_version_info’, inlined from ‘uz_opts’ at unzip.c:1968:13: unzpriv.h:2718:53: warning: ‘%s’ directive writing up to 74535 bytes into a region of size 65528 [-Wformat-overflow=] 2718 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) unzip.c:2572:9: note: in expansion of macro ‘Info’ 2572 | Info(slide, 0, ((char *)slide, LoadFarString(CompileOptFormat), | ^~~~ In file included from /usr/include/stdio.h:970, from unzpriv.h:634: In function ‘sprintf’, inlined from ‘show_version_info’ at unzip.c:2572:9, inlined from ‘uz_opts’ at unzip.c:1968:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 10 and 74545 bytes into a destination of size 65536 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: ‘__builtin___sprintf_chk’ argument 5 may overlap destination object ‘G’ [-Wrestrict] In file included from unzpriv.h:2237: globals.h: In function ‘uz_opts’: globals.h:433:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 433 | extern Uz_Globs G; | ^ In function ‘show_version_info’, inlined from ‘uz_opts’ at unzip.c:1968:13: unzpriv.h:2718:53: warning: ‘%s’ directive writing up to 74535 bytes into a region of size 65528 [-Wformat-overflow=] 2718 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) unzip.c:2629:9: note: in expansion of macro ‘Info’ 2629 | Info(slide, 0, ((char *)slide, LoadFarString(CompileOptFormat), | ^~~~ In function ‘sprintf’, inlined from ‘show_version_info’ at unzip.c:2629:9, inlined from ‘uz_opts’ at unzip.c:1968:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 10 and 74545 bytes into a destination of size 65536 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: ‘__builtin___sprintf_chk’ argument 5 may overlap destination object ‘G’ [-Wrestrict] globals.h: In function ‘uz_opts’: globals.h:433:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 433 | extern Uz_Globs G; | ^ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE crc32.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE crypt.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE envargs.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE explode.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE extract.c extract.c: In function ‘UZbunzip2’: extract.c:2940:9: warning: variable ‘repeated_buf_err’ set but not used [-Wunused-but-set-variable] 2940 | int repeated_buf_err; | ^~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_files’: extract.c:774:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 774 | read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘store_info’: extract.c:1086:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1086 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_entrylist’: extract.c:1676:29: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1676 | fgets(G.filename, FILNAMSIZ, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE globals.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE fileio.c fileio.c: In function ‘disk_error’: fileio.c:1227:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1227 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE inflate.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE list.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE match.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE ttyio.c ttyio.c: In function ‘zgetch’: ttyio.c:463:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 463 | 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] 631 | read(f, &c, 1); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE process.c process.c: In function ‘wide_to_local_string’: process.c:2507:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable] 2507 | int state_dependent; | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE ubz2err.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE unreduce.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE unshrink.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE unix/unix.c unix/unix.c: In function ‘checkdir’: unix/unix.c:984:17: warning: pointer ‘tmproot’ may be used after ‘realloc’ [-Wuse-after-free] 984 | free(tmproot); | ^~~~~~~~~~~~~ unix/unix.c:983:39: note: call to ‘realloc’ here 983 | if ((G.rootpath = (char *)realloc(tmproot, G.rootlen+1)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/unix.c: In function ‘init_conversion_charsets’: unix/unix.c:1892:9: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1892 | strncpy(OEM_CP, archive_charset, sizeof(OEM_CP)); | ^ unix/unix.c:1897:9: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1897 | strncpy(ISO_CP, archive_charset, sizeof(ISO_CP)); | ^ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE zipinfo.c zipinfo.c: In function ‘zi_opts’: zipinfo.c:580:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 580 | strncpy(OEM_CP, s, sizeof(OEM_CP)); | ^ zipinfo.c:571:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 571 | strncpy(OEM_CP, s, sizeof(OEM_CP)); | ^ zipinfo.c:531:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 531 | strncpy(ISO_CP, s, sizeof(ISO_CP)); | ^ zipinfo.c:522:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 522 | strncpy(ISO_CP, s, sizeof(ISO_CP)); | ^ zipinfo.c: In function ‘zipinfo’: zipinfo.c:2045:49: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2045 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10); | ^ In file included from /usr/include/stdio.h:970, from unzpriv.h:634, from unzip.h:719, from zipinfo.c:26: In function ‘sprintf’, inlined from ‘zi_short’ at zipinfo.c:2045:21, inlined from ‘zipinfo’ at zipinfo.c:919:34: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zipinfo.c: In function ‘zipinfo’: zipinfo.c:2088:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2088 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10); | ^ In function ‘sprintf’, inlined from ‘zi_short’ at zipinfo.c:2088:13, inlined from ‘zipinfo’ at zipinfo.c:919:34: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zipinfo.c: In function ‘zipinfo’: zipinfo.c:2134:52: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2134 | sprintf(attribs, ".r.-... %u.%u", hostver/10, hostver%10); | ^ In function ‘sprintf’, inlined from ‘zi_short’ at zipinfo.c:2134:17, inlined from ‘zipinfo’ at zipinfo.c:919:34: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 16 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zipinfo.c: In function ‘zipinfo’: zipinfo.c:2063:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2063 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10); | ^ In function ‘sprintf’, inlined from ‘zi_short’ at zipinfo.c:2063:13, inlined from ‘zipinfo’ at zipinfo.c:919:34: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zipinfo.c: In function ‘zipinfo’: zipinfo.c:2134:52: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2134 | sprintf(attribs, ".r.-... %u.%u", hostver/10, hostver%10); | ^ In function ‘sprintf’, inlined from ‘zi_short’ at zipinfo.c:2134:17, inlined from ‘zipinfo’ at zipinfo.c:919:34: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 16 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE funzip.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DFUNZIP -o globalsf.o globals.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DFUNZIP -o cryptf.o crypt.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DFUNZIP -o inflatef.o inflate.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DFUNZIP -o ttyiof.o ttyio.c ttyio.c: In function ‘getp’: ttyio.c:631:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 631 | read(f, &c, 1); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o unzipsfx.o unzip.c unzip.c: In function ‘uz_opts’: unzip.c:1662:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1662 | strncpy(OEM_CP, s, sizeof(OEM_CP)); | ^ unzip.c:1653:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1653 | strncpy(OEM_CP, s, sizeof(OEM_CP)); | ^ unzip.c:1558:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1558 | strncpy(ISO_CP, s, sizeof(ISO_CP)); | ^ unzip.c:1549:49: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1549 | strncpy(ISO_CP, s, sizeof(ISO_CP)); | ^ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o crypt_.o crypt.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o crc32_.o crc32.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o fileio_.o fileio.c fileio.c: In function ‘disk_error’: fileio.c:1227:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1227 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o extract_.o extract.c extract.c: In function ‘extract_or_test_files’: extract.c:774:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 774 | read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘store_info’: extract.c:1086:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1086 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_entrylist’: extract.c:1676:29: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1676 | fgets(G.filename, FILNAMSIZ, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o globals_.o globals.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o inflate_.o inflate.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o match_.o match.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o ttyio_.o ttyio.c ttyio.c: In function ‘zgetch’: ttyio.c:463:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 463 | read(f, &c, 1); /* read our character */ | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o process_.o process.c process.c: In function ‘wide_to_local_string’: process.c:2507:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable] 2507 | int state_dependent; | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o ubz2err_.o ubz2err.c make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -c -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -std=gnu89 -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX -DNO_SETLOCALE -DSFX -o unix_.o unix/unix.c unix/unix.c: In function ‘checkdir’: unix/unix.c:984:17: warning: pointer ‘tmproot’ may be used after ‘realloc’ [-Wuse-after-free] 984 | free(tmproot); | ^~~~~~~~~~~~~ unix/unix.c:983:39: note: call to ‘realloc’ here 983 | if ((G.rootpath = (char *)realloc(tmproot, G.rootlen+1)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/unix.c: In function ‘init_conversion_charsets’: unix/unix.c:1892:9: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1892 | strncpy(OEM_CP, archive_charset, sizeof(OEM_CP)); | ^ unix/unix.c:1897:9: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 1897 | strncpy(ISO_CP, archive_charset, sizeof(ISO_CP)); | ^ make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -o unzip -Lbzip2 unzip.o crc32.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 -l natspec make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -o funzip funzip.o crc32.o cryptf.o globalsf.o inflatef.o ttyiof.o -l natspec make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' make[1]: Entering directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -o unzipsfx unzipsfx.o crc32_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o ubz2err_.o unix_.o -l natspec make[1]: Leaving directory '/var/tmp/portage/app-arch/unzip-6.0_p27-r1/work/unzip60' >>> Source compiled. >>> Test phase [not enabled]: app-arch/unzip-6.0_p27-r1 >>> Install app-arch/unzip-6.0_p27-r1 into /var/tmp/portage/app-arch/unzip-6.0_p27-r1/image >>> Completed installing app-arch/unzip-6.0_p27-r1 into /var/tmp/portage/app-arch/unzip-6.0_p27-r1/image * Final size of build directory: 8420 KiB (8.2 MiB) * Final size of installed tree: 608 KiB * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * /usr/include/bits/stdio2.h:30:10: warning: ‘__builtin___sprintf_chk’ argument 5 may overlap destination object ‘G’ [-Wrestrict] * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: https://infozip.sourceforge.net/UnZip.html strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/bin/unzip /usr/bin/funzip /usr/bin/unzipsfx