Package Details: unzip-natspec 6.0-7

Git Clone URL: https://aur.archlinux.org/unzip-natspec.git (read-only, click to copy)
Package Base: unzip-natspec
Description: Unpacks .zip archives with non-latin filenames, using libnatspec patch from AltLinux.
Upstream URL: https://www.info-zip.org/
Keywords: codepage i18n oem windows кодировка
Licenses: custom
Conflicts: unzip
Provides: unzip
Submitter: natrio
Maintainer: natrio
Last Packager: natrio
Votes: 37
Popularity: 0.017553
First Submitted: 2011-04-04 12:53 (UTC)
Last Updated: 2021-09-06 21:20 (UTC)

Required by (1705)

Sources (10)

Latest Comments

1 2 Next › Last »

natrio commented on 2021-09-06 21:28 (UTC)

Thanks to bhyoo! It was the new default CFLAGS from makepkg.conf with -Werror=format-security conflicted with some old unzip code.

bhyoo commented on 2021-09-05 07:55 (UTC)

Failed to build

patching file unix/Makefile
patching file unix/unix.c
Hunk #2 succeeded at 1877 (offset 208 lines).
patching file unix/unxcfg.h
Hunk #1 succeeded at 227 (offset 86 lines).
patching file unzip.c
Hunk #5 succeeded at 808 with fuzz 2 (offset 135 lines).
Hunk #6 succeeded at 1345 (offset 247 lines).
Hunk #7 succeeded at 1531 (offset 265 lines).
Hunk #8 succeeded at 1635 (offset 265 lines).
patching file unzpriv.h
Hunk #1 succeeded at 3008 (offset 444 lines).
patching file zipinfo.c
Hunk #1 succeeded at 457 (offset 10 lines).
Hunk #2 succeeded at 505 (offset 10 lines).
Hunk #3 succeeded at 554 (offset 10 lines).
patching file list.c
patching file extract.c
Hunk #1 succeeded at 2217 (offset 3 lines).
Hunk #2 succeeded at 2227 (offset 3 lines).
patching file extract.c
Hunk #1 succeeded at 2222 with fuzz 2 (offset 1 line).
patching file process.c
patching file fileio.c
patching file extract.c
patching file extract.c
patching file extract.c
patching file crypt.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE unzip.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE crc32.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE crypt.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE envargs.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE explode.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE extract.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE fileio.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE globals.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE inflate.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE list.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE match.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE process.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE ttyio.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE ubz2err.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE unreduce.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE unshrink.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE zipinfo.c
In file included from unzip.h:718,
                 from list.c:24:
list.c: In function ‘list_files’:
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
list.c:184:38: note: in expansion of macro ‘LoadFarString’
  184 |                      ((char *)slide, LoadFarString(ReportMsg)));
      |                                      ^~~~~~~~~~~~~
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
list.c:522:48: note: in expansion of macro ‘LoadFarString’
  522 |             Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
      |                                                ^~~~~~~~~~~~~
list.c: In function ‘get_time_stamp’:
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
list.c:606:38: note: in expansion of macro ‘LoadFarString’
  606 |                      ((char *)slide, LoadFarString(ReportMsg)));
      |                                      ^~~~~~~~~~~~~
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
list.c:689:44: note: in expansion of macro ‘LoadFarString’
  689 |         Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
      |                                            ^~~~~~~~~~~~~
In file included from unzip.h:718,
                 from extract.c:37:
extract.c: In function ‘extract_or_test_files’:
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
extract.c:478:23: note: in expansion of macro ‘LoadFarString’
  478 |                       LoadFarString(ReportMsg)));
      |                       ^~~~~~~~~~~~~
fileio.c: In function ‘disk_error’:
fileio.c:1223:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1223 |     fgets(G.answerbuf, sizeof(G.answerbuf), stdin);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE unix/unix.c
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
extract.c:757:44: note: in expansion of macro ‘LoadFarString’
  757 |         Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
      |                                            ^~~~~~~~~~~~~
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
extract.c:758:44: note: in expansion of macro ‘LoadFarString’
  758 |         Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg)));
      |                                            ^~~~~~~~~~~~~
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);
      |             ^~~~~~~~~~~~~~
extract.c:617:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  617 |         read(G.zipfd, (char *)G.inbuf, INBUFSIZ);  /* been here before... */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extract.c: In function ‘store_info’:
extract.c:929:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  929 |             fgets(G.answerbuf, sizeof(G.answerbuf), stdin);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extract.c: In function ‘extract_or_test_entrylist’:
extract.c:1514:29: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1514 |                             fgets(G.filename, FILNAMSIZ, stdin);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from unzip.h:718,
                 from zipinfo.c:26:
zipinfo.c: In function ‘zipinfo’:
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
zipinfo.c:836:38: note: in expansion of macro ‘LoadFarString’
  836 |                      ((char *)slide, LoadFarString(ReportMsg)));
      |                                      ^~~~~~~~~~~~~
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
zipinfo.c:1025:48: note: in expansion of macro ‘LoadFarString’
 1025 |             Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
      |                                                ^~~~~~~~~~~~~
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE funzip.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DFUNZIP -o cryptf.o crypt.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DFUNZIP -o globalsf.o globals.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DFUNZIP -o inflatef.o inflate.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DFUNZIP -o ttyiof.o ttyio.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DSFX -o unzipsfx.o unzip.c
list.c: In function ‘list_files’:
list.c:351:45: warning: ‘%03u’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=]
  351 |                     sprintf( &methbuf[ 4], "%03u", G.crec.compression_method);
      |                                             ^~~~
list.c:351:44: note: directive argument in the range [0, 65535]
  351 |                     sprintf( &methbuf[ 4], "%03u", G.crec.compression_method);
      |                                            ^~~~~~
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from list.c:24:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 4 and 6 bytes into a destination of size 4
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DSFX -o crc32_.o crc32.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DSFX -o crypt_.o crypt.c
In file included from unzip.h:718,
                 from unzip.c:68:
unzip.c: In function ‘uz_opts’:
unzpriv.h:2708:53: warning: ‘%s’ directive writing up to 74487 bytes into a region of size 65528 [-Wformat-overflow=]
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
unzip.c:2571:9: note: in expansion of macro ‘Info’
 2571 |         Info(slide, 0, ((char *)slide, LoadFarString(CompileOptFormat),
      |         ^~~~
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from unzip.c:68:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 10 and 74497 bytes into a destination of size 65536
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
In file included from unzip.h:718,
                 from unzip.c:68:
unzpriv.h:2708:53: warning: ‘%s’ directive writing up to 74487 bytes into a region of size 65528 [-Wformat-overflow=]
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
unzip.c:2628:9: note: in expansion of macro ‘Info’
 2628 |         Info(slide, 0, ((char *)slide, LoadFarString(CompileOptFormat),
      |         ^~~~
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from unzip.c:68:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 10 and 74497 bytes into a destination of size 65536
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DSFX -o extract_.o extract.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);
      |             ^~~~~~~~~~~~~~
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DSFX -o fileio_.o fileio.c
cc -c -O -I. -Ibzip2 -DUNIX -DUSE_BZIP2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS   -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT   -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD   -DUSE_BZIP2 -DNATIVE -DNOMEMCPY -DNO_SETLOCALE -DSFX -o globals_.o globals.c
cc1: some warnings being treated as errors
make: *** [unix/Makefile:234: list.o] 오류 1
make: *** 끝나지 않은 작업을 기다리고 있습니다....
In file included from unzip.h:718,
                 from extract.c:37:
extract.c: In function ‘extract_or_test_files’:
unzpriv.h:1009:45: error: format not a string literal and no format arguments [-Werror=format-security]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2708:61: note: in definition of macro ‘Info’
 2708 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
extract.c:478:23: note: in expansion of macro ‘LoadFarString’
  478 |                       LoadFarString(ReportMsg)));
      |                       ^~~~~~~~~~~~~
fileio.c: In function ‘disk_error’:
fileio.c:1223:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1223 |     fgets(G.answerbuf, sizeof(G.answerbuf), stdin);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extract.c:617:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  617 |         read(G.zipfd, (char *)G.inbuf, INBUFSIZ);  /* been here before... */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extract.c: In function ‘store_info’:
extract.c:929:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  929 |             fgets(G.answerbuf, sizeof(G.answerbuf), stdin);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extract.c: In function ‘extract_or_test_entrylist’:
extract.c:1514:29: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1514 |                             fgets(G.filename, FILNAMSIZ, stdin);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zipinfo.c:1986:31: warning: ‘%03u’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=]
 1986 |         sprintf(&methbuf[1], "%03u", G.crec.compression_method);
      |                               ^~~~
zipinfo.c:1986:30: note: directive argument in the range [0, 65535]
 1986 |         sprintf(&methbuf[1], "%03u", G.crec.compression_method);
      |                              ^~~~~~
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from zipinfo.c:26:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 4 and 6 bytes into a destination of size 4
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
zipinfo.c:2034:49: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
 2034 |                     sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
      |                                                 ^
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from zipinfo.c:26:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
zipinfo.c:2077:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
 2077 |             sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
      |                                         ^
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from zipinfo.c:26:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
zipinfo.c:2052:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
 2052 |             sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
      |                                         ^
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from zipinfo.c:26:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
zipinfo.c:2123:52: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
 2123 |                 sprintf(attribs, ".r.-...     %u.%u", hostver/10, hostver%10);
      |                                                    ^
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from zipinfo.c:26:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 16 and 17 bytes into a destination of size 16
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
zipinfo.c:2179:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
 2179 |             sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
      |                                         ^
In file included from /usr/include/stdio.h:866,
                 from unzpriv.h:634,
                 from unzip.h:718,
                 from zipinfo.c:26:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 4 and 5 bytes into a destination of size 4
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

natrio commented on 2018-03-03 09:52 (UTC) (edited on 2018-03-03 09:55 (UTC) by natrio)

It's a wery slow server, caused download aborts by timeout. See https://aur.archlinux.org/packages/zip-natspec/

I was already switched a link FROM it some time before. No changes since then.

kiba commented on 2018-03-02 04:20 (UTC)

sourceforge link could be replaced with: ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz

natrio commented on 2015-01-13 06:00 (UTC)

test_compr_eb.patch added.

sirocco commented on 2015-01-13 04:45 (UTC)

one more patch - test_compr_eb.patch

natrio commented on 2015-01-10 16:52 (UTC)

Patches from unzip package added.

sirocco commented on 2015-01-10 09:13 (UTC)

Please fix FS#43300

natrio commented on 2014-11-27 18:21 (UTC)

https://bugs.archlinux.org/task/41009 -> -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694601 -> -DNOMEMCPY added