====>> Building archivers/unrar
build started at Sat May 20 16:32:14 BST 2017
port directory: /usr/ports/archivers/unrar
building for: FreeBSD 110amd64-system-job-02 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 amd64
maintained by: sunpoet@FreeBSD.org
Makefile ident:      $FreeBSD: head/archivers/unrar/Makefile 439911 2017-05-01 19:29:20Z sunpoet $
Poudriere version: 3.1.17
Host OSVERSION: 1100122
Jail OSVERSION: 1100122
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p9
UNAME_r=11.0-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/space/poudriere/poudriere_data/.m/110amd64-system/ref
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=unrar-5.50b1_1,5
OLDPWD=/
PWD=/space/poudriere/poudriere_data/.m/110amd64-system/ref/.p/pool
MASTERNAME=110amd64-system
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.17
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for unrar-5.50b1_1,5:
     OPENSSL_AES=on: Use OpenSSL implementation of AES
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/unrar/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/unrar/work  HOME=/wrkdirs/usr/ports/archivers/unrar/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/unrar/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/unrar/work  HOME=/wrkdirs/usr/ports/archivers/unrar/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-DOPENSSL_AES -I/usr/include"  LDFLAGS=" -lpthread -L/usr/lib -lcrypto  -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/unrar"
EXAMPLESDIR="share/examples/unrar"
DATADIR="share/unrar"
WWWDIR="www/unrar"
ETCDIR="etc/unrar"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/unrar
DOCSDIR=/usr/local/share/doc/unrar
EXAMPLESDIR=/usr/local/share/examples/unrar
WWWDIR=/usr/local/www/unrar
ETCDIR=/usr/local/etc/unrar
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/110amd64-make.conf ####
WITH_NEW_XORG=yes
ENABLE_SUIDPERL=yes
JADETEX=yes
LIGHTTPD=yes
OPTIONS_SET=APACHE PGSQL SWAT PDO_PGSQL CUPS SASL BIND910 NTVFS
OPTIONS_UNSET=MYSQL
MPDDIR=/space/music
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=11.0
OSVERSION=1100122
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native\|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
_OSRELEASE=11.0-RELEASE-p9
_SMP_CPUS=4
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  12128
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
/!\ WARNING /!\

WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect

===>  License UNRAR accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   unrar-5.50b1_1,5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[110amd64-system-job-02] Installing pkg-1.10.1...
[110amd64-system-job-02] Extracting pkg-1.10.1: .......... done
===>   unrar-5.50b1_1,5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of unrar-5.50b1_1,5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
/!\ WARNING /!\

WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect

===>  License UNRAR accepted by the user
=> unrarsrc-5.5.3.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://www.rarlab.com/rar/unrarsrc-5.5.3.tar.gz
unrarsrc-5.5.3.tar.gz                                    0  B    0  Bps
===> Fetching all distfiles required by unrar-5.50b1_1,5 for building
===========================================================================
=======================<phase: checksum       >============================
/!\ WARNING /!\

WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect

===>  License UNRAR accepted by the user
===> Fetching all distfiles required by unrar-5.50b1_1,5 for building
=> SHA256 Checksum OK for unrarsrc-5.5.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
/!\ WARNING /!\

WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect

===>  License UNRAR accepted by the user
===> Fetching all distfiles required by unrar-5.50b1_1,5 for building
===>  Extracting for unrar-5.50b1_1,5
=> SHA256 Checksum OK for unrarsrc-5.5.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for unrar-5.50b1_1,5
===>  Applying FreeBSD patches for unrar-5.50b1_1,5
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for unrar-5.50b1_1,5
===========================================================================
=======================<phase: build          >============================
===>  Building for unrar-5.50b1_1,5
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rar.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c strlist.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c strfn.cpp
strfn.cpp:189:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
  return ch>='A' && ch<='Z' || ch>='a' && ch<='z';
         ~~~~~~~~^~~~~~~~~~ ~~
strfn.cpp:189:18: note: place parentheses around the '&&' expression to silence this warning
  return ch>='A' && ch<='Z' || ch>='a' && ch<='z';
                 ^
         (                 )
strfn.cpp:189:40: warning: '&&' within '||' [-Wlogical-op-parentheses]
  return ch>='A' && ch<='Z' || ch>='a' && ch<='z';
                            ~~ ~~~~~~~~^~~~~~~~~~
strfn.cpp:189:40: note: place parentheses around the '&&' expression to silence this warning
  return ch>='A' && ch<='Z' || ch>='a' && ch<='z';
                                       ^
                               (                 )
2 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c pathfn.cpp
pathfn.cpp:349:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (ChPtr[1]==0 && wcslen(ArcName)<MaxLength-3 || wcsicomp(ChPtr+1,L"exe")==0 || wcsicomp(ChPtr+1,L"sfx")==0)
        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
pathfn.cpp:349:21: note: place parentheses around the '&&' expression to silence this warning
    if (ChPtr[1]==0 && wcslen(ArcName)<MaxLength-3 || wcsicomp(ChPtr+1,L"exe")==0 || wcsicomp(ChPtr+1,L"sfx")==0)
                    ^
        (                                         )
pathfn.cpp:420:64: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (strchr(Extended ? "?*<>|\"":"?*",*s)!=NULL || Extended && (byte)*s<32)
                                                   ~~ ~~~~~~~~~^~~~~~~~~~~~~~
pathfn.cpp:420:64: note: place parentheses around the '&&' expression to silence this warning
    if (strchr(Extended ? "?*<>|\"":"?*",*s)!=NULL || Extended && (byte)*s<32)
                                                               ^
                                                      (                      )
pathfn.cpp:441:66: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (wcschr(Extended ? L"?*<>|\"":L"?*",*s)!=NULL || Extended && (uint)*s<32)
                                                     ~~ ~~~~~~~~~^~~~~~~~~~~~~~
pathfn.cpp:441:66: note: place parentheses around the '&&' expression to silence this warning
    if (wcschr(Extended ? L"?*<>|\"":L"?*",*s)!=NULL || Extended && (uint)*s<32)
                                                                 ^
                                                        (                      )
pathfn.cpp:728:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
4 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c smallfn.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c global.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c file.cpp
file.cpp:28:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
file.cpp:381:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
file.cpp:504:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
3 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c filefn.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c filcreat.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c archive.cpp
In file included from archive.cpp:3:
./arccmt.cpp:45:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (Format==RARFMT14 && MainHead.PackComment || Format!=RARFMT14 && CommHead.Method!=0x30)
      ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~
./arccmt.cpp:45:24: note: place parentheses around the '&&' expression to silence this warning
  if (Format==RARFMT14 && MainHead.PackComment || Format!=RARFMT14 && CommHead.Method!=0x30)
                       ^
      (                                       )
./arccmt.cpp:45:68: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (Format==RARFMT14 && MainHead.PackComment || Format!=RARFMT14 && CommHead.Method!=0x30)
                                               ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
./arccmt.cpp:45:68: note: place parentheses around the '&&' expression to silence this warning
  if (Format==RARFMT14 && MainHead.PackComment || Format!=RARFMT14 && CommHead.Method!=0x30)
                                                                   ^
                                                  (                                        )
archive.cpp:104:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
archive.cpp:201:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (Type==HEAD_MAIN || SilentOpen && Type==HEAD_CRYPT)
                        ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
archive.cpp:201:39: note: place parentheses around the '&&' expression to silence this warning
    if (Type==HEAD_MAIN || SilentOpen && Type==HEAD_CRYPT)
                                      ^
                           (                             )
4 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c arcread.cpp
arcread.cpp:14:10: warning: enumeration values 'RARFMT_NONE' and 'RARFMT_FUTURE' not handled in switch [-Wswitch]
  switch(Format)
         ^
arcread.cpp:166:10: warning: 13 enumeration values not handled in switch: 'HEAD_MARK', 'HEAD_MAIN', 'HEAD_FILE'... [-Wswitch]
  switch(ShortBlock.HeaderType)
         ^
arcread.cpp:675:10: warning: 12 enumeration values not handled in switch: 'HEAD_MARK', 'HEAD3_MARK', 'HEAD3_MAIN'... [-Wswitch]
  switch(ShortBlock.HeaderType)
         ^
arcread.cpp:1038:15: warning: add explicit braces to avoid dangling else [-Wdangling-else]
              else
              ^
arcread.cpp:1043:15: warning: add explicit braces to avoid dangling else [-Wdangling-else]
              else
              ^
arcread.cpp:1048:15: warning: add explicit braces to avoid dangling else [-Wdangling-else]
              else
              ^
arcread.cpp:1316:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
arcread.cpp:1355:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (*s=='/' || *s=='\\' && Format!=RARFMT50)
                ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
arcread.cpp:1355:29: note: place parentheses around the '&&' expression to silence this warning
    if (*s=='/' || *s=='\\' && Format!=RARFMT50)
                            ^
                   (                           )
arcread.cpp:1414:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
9 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c unicode.cpp
unicode.cpp:367:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
1 warning generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c system.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c isnt.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c crypt.cpp
In file included from crypt.cpp:7:
./crypt3.cpp:8:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
        (Salt==NULL && !KDF3Cache[I].SaltPresent || Salt!=NULL &&
         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
./crypt3.cpp:8:21: note: place parentheses around the '&&' expression to silence this warning
        (Salt==NULL && !KDF3Cache[I].SaltPresent || Salt!=NULL &&
                    ^
         (                                      )
./crypt3.cpp:9:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
        KDF3Cache[I].SaltPresent && memcmp(KDF3Cache[I].Salt,Salt,SIZE_SALT30)==0))
        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./crypt3.cpp:9:34: note: place parentheses around the '&&' expression to silence this warning
        KDF3Cache[I].SaltPresent && memcmp(KDF3Cache[I].Salt,Salt,SIZE_SALT30)==0))
                                 ^
crypt.cpp:33:10: warning: enumeration value 'CRYPT_NONE' not handled in switch [-Wswitch]
  switch(Method)
         ^
crypt.cpp:69:10: warning: enumeration value 'CRYPT_NONE' not handled in switch [-Wswitch]
  switch(Method)
         ^
4 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c crc.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rawread.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c encname.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c resource.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c match.cpp
match.cpp:52:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
1 warning generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c timefn.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rdwrfn.cpp
rdwrfn.cpp:120:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
        (ReadSize==0 || Decryption && (TotalRead & CRYPT_BLOCK_MASK) != 0) )
                     ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rdwrfn.cpp:120:36: note: place parentheses around the '&&' expression to silence this warning
        (ReadSize==0 || Decryption && (TotalRead & CRYPT_BLOCK_MASK) != 0) )
                                   ^
                        (                                                )
1 warning generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c consio.cpp
consio.cpp:191:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
1 warning generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c options.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c errhnd.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rarvm.cpp
rarvm.cpp:116:10: warning: enumeration value 'VMSF_NONE' not handled in switch [-Wswitch]
  switch(FilterType)
         ^
1 warning generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c secpassword.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rijndael.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c getbits.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c sha1.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c sha256.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c blake2s.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c hash.cpp
hash.cpp:33:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (Type==HASH_RAR14 && cmp.Type==HASH_RAR14 || 
      ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~
hash.cpp:33:24: note: place parentheses around the '&&' expression to silence this warning
  if (Type==HASH_RAR14 && cmp.Type==HASH_RAR14 || 
                       ^
      (                                       )
hash.cpp:34:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
      Type==HASH_CRC32 && cmp.Type==HASH_CRC32)
      ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
hash.cpp:34:24: note: place parentheses around the '&&' expression to silence this warning
      Type==HASH_CRC32 && cmp.Type==HASH_CRC32)
                       ^
      (                                       )
2 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c extinfo.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c extract.cpp
extract.cpp:68:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
extract.cpp:213:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
extract.cpp:257:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
extract.cpp:281:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
extract.cpp:569:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
extract.cpp:630:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
extract.cpp:645:52: warning: '&&' within '||' [-Wlogical-op-parentheses]
          if (!LinkSuccess || Arc.Format==RARFMT15 && !FileCreateMode)
                           ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
extract.cpp:645:52: note: place parentheses around the '&&' expression to silence this warning
          if (!LinkSuccess || Arc.Format==RARFMT15 && !FileCreateMode)
                                                   ^
                              (                                      )
extract.cpp:660:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
          else
          ^
extract.cpp:725:67: warning: '&&' within '||' [-Wlogical-op-parentheses]
          (!LinkEntry || Arc.FileHead.RedirType==FSREDIR_FILECOPY && LinkSuccess) && 
                      ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
extract.cpp:725:67: note: place parentheses around the '&&' expression to silence this warning
          (!LinkEntry || Arc.FileHead.RedirType==FSREDIR_FILECOPY && LinkSuccess) && 
                                                                  ^
                         (                                                      )
extract.cpp:767:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
10 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c volume.cpp
volume.cpp:22:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
         hd->UnpVer>=20 && hd->FileHash.CRC32!=0xffffffff;
         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
volume.cpp:22:25: note: place parentheses around the '&&' expression to silence this warning
         hd->UnpVer>=20 && hd->FileHash.CRC32!=0xffffffff;
                        ^
         (                                               )
1 warning generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c list.cpp
list.cpp:59:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
list.cpp:91:18: warning: 15 enumeration values not handled in switch: 'HEAD_MARK', 'HEAD_MAIN', 'HEAD_CRYPT'... [-Wswitch]
          switch(HeaderType)
                 ^
list.cpp:143:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
          else
          ^
list.cpp:150:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
            Arc.GetHeaderType()==HEAD_ENDARC && Arc.EndArcHead.NextVolume) &&
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
list.cpp:150:46: note: place parentheses around the '&&' expression to silence this warning
            Arc.GetHeaderType()==HEAD_ENDARC && Arc.EndArcHead.NextVolume) &&
                                             ^
            (                                                            )
list.cpp:263:16: warning: enumeration value 'FSREDIR_NONE' not handled in switch [-Wswitch]
        switch(hd.RedirType)
               ^
list.cpp:297:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
6 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c find.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c unpack.cpp
In file included from unpack.cpp:8:
./unpack50mt.cpp:205:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (!CurData->LargeBlock && !ProcessDecoded(*CurData) ||
            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
./unpack50mt.cpp:205:34: note: place parentheses around the '&&' expression to silence this warning
        if (!CurData->LargeBlock && !ProcessDecoded(*CurData) ||
                                 ^
            (                                                )
./unpack50mt.cpp:206:33: warning: '&&' within '||' [-Wlogical-op-parentheses]
            CurData->LargeBlock && !UnpackLargeBlock(*CurData) ||
            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./unpack50mt.cpp:206:33: note: place parentheses around the '&&' expression to silence this warning
            CurData->LargeBlock && !UnpackLargeBlock(*CurData) ||
                                ^
            (                                                 )
./unpack50mt.cpp:316:65: warning: '&&' within '||' [-Wlogical-op-parentheses]
      if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && 
                                   ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
./unpack50mt.cpp:316:65: note: place parentheses around the '&&' expression to silence this warning
      if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && 
                                                                ^
./unpack50mt.cpp:323:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
      if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ~~
./unpack50mt.cpp:323:38: note: place parentheses around the '&&' expression to silence this warning
      if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize)
                                     ^
          (                                          )
./unpack50mt.cpp:547:65: warning: '&&' within '||' [-Wlogical-op-parentheses]
      if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && 
                                   ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
./unpack50mt.cpp:547:65: note: place parentheses around the '&&' expression to silence this warning
      if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && 
                                                                ^
./unpack50mt.cpp:554:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
      if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ~~
./unpack50mt.cpp:554:38: note: place parentheses around the '&&' expression to silence this warning
      if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize)
                                     ^
          (                                          )
In file included from unpack.cpp:11:
./unpack15.cpp:301:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
./unpack15.cpp:309:42: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (OldAvr3 > 0xb0 || AvrPlc >= 0x2a00 && OldAvr2 < 0x40)
                     ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
./unpack15.cpp:309:42: note: place parentheses around the '&&' expression to silence this warning
  if (OldAvr3 > 0xb0 || AvrPlc >= 0x2a00 && OldAvr2 < 0x40)
                                         ^
                        (                                 )
In file included from unpack.cpp:12:
./unpack20.cpp:262:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
In file included from unpack.cpp:15:
./unpack50.cpp:25:73: warning: '&&' within '||' [-Wlogical-op-parentheses]
             Inp.InAddr==BlockHeader.BlockStart+BlockHeader.BlockSize-1 && 
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
./unpack50.cpp:25:73: note: place parentheses around the '&&' expression to silence this warning
             Inp.InAddr==BlockHeader.BlockStart+BlockHeader.BlockSize-1 && 
                                                                        ^
./unpack50.cpp:127:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
./unpack50.cpp:386:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
      WrPtr!=UnpPtr && ((WrPtr-UnpPtr)&MaxWinMask)<((WriteBorder-UnpPtr)&MaxWinMask))
      ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./unpack50.cpp:386:21: note: place parentheses around the '&&' expression to silence this warning
      WrPtr!=UnpPtr && ((WrPtr-UnpPtr)&MaxWinMask)<((WriteBorder-UnpPtr)&MaxWinMask))
                    ^
      (                                                                             )
unpack.cpp:103:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
13 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c headers.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c threadpool.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rs16.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c cmddata.cpp
cmddata.cpp:768:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
cmddata.cpp:1201:60: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if ((FileHead.FileAttr & ExclFileAttr)!=0 || InclAttrSet && (FileHead.FileAttr & InclFileAttr)==0)
                                            ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cmddata.cpp:1201:60: note: place parentheses around the '&&' expression to silence this warning
  if ((FileHead.FileAttr & ExclFileAttr)!=0 || InclAttrSet && (FileHead.FileAttr & InclFileAttr)==0)
                                                           ^
                                               (                                                   )
cmddata.cpp:1226:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (Command[0]!=0 && Command[1]!=0 && wcschr(SingleCharCommands,Command[0])!=NULL || *ArcName==0)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
cmddata.cpp:1226:38: note: place parentheses around the '&&' expression to silence this warning
  if (Command[0]!=0 && Command[1]!=0 && wcschr(SingleCharCommands,Command[0])!=NULL || *ArcName==0)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c ui.cpp
In file included from ui.cpp:12:
./uiconsole.cpp:83:10: warning: 69 enumeration values not handled in switch: 'UIERROR_INCERRCOUNT', 'UIERROR_NOTSFX', 'UIERROR_OLDTOSFX'... [-Wswitch]
  switch(Code)
         ^
1 warning generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c filestr.cpp
filestr.cpp:19:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
1 warning generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c recvol.cpp
In file included from recvol.cpp:3:
./recvol3.cpp:96:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
./recvol3.cpp:231:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2])
        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~~
./recvol3.cpp:231:25: note: place parentheses around the '&&' expression to silence this warning
    if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2])
                        ^
        (                                    )
./recvol3.cpp:231:64: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2])
                                              ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./recvol3.cpp:231:64: note: place parentheses around the '&&' expression to silence this warning
    if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2])
                                                               ^
                                                 (                                )
3 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rs.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c scantree.cpp
scantree.cpp:221:51: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (Name[0]=='.' && (Name[1]==0 || Name[1]=='.' && Name[2]==0))
                                  ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~
scantree.cpp:221:51: note: place parentheses around the '&&' expression to silence this warning
  if (Name[0]=='.' && (Name[1]==0 || Name[1]=='.' && Name[2]==0))
                                                  ^
                                     (                         )
scantree.cpp:260:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
                   FolderWildcards && Recurse!=RECURSE_DISABLE || 
                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
scantree.cpp:260:36: note: place parentheses around the '&&' expression to silence this warning
                   FolderWildcards && Recurse!=RECURSE_DISABLE || 
                                   ^
                   (                                          )
scantree.cpp:261:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
                   Wildcards && Recurse==RECURSE_WILDCARDS || 
                   ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scantree.cpp:261:30: note: place parentheses around the '&&' expression to silence this warning
                   Wildcards && Recurse==RECURSE_WILDCARDS || 
                             ^
                   (                                      )
scantree.cpp:262:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
                   ScanEntireDisk && Recurse!=RECURSE_DISABLE);
                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
scantree.cpp:262:35: note: place parentheses around the '&&' expression to silence this warning
                   ScanEntireDisk && Recurse!=RECURSE_DISABLE);
                                  ^
                   (                                         )
4 warnings generated.
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c qopen.cpp
c++ -o unrar -lpthread -L/usr/lib -lcrypto  -fstack-protector rar.o strlist.o strfn.o pathfn.o smallfn.o global.o file.o filefn.o filcreat.o  archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o  resource.o match.o timefn.o rdwrfn.o consio.o options.o errhnd.o rarvm.o secpassword.o  rijndael.o getbits.o sha1.o sha256.o blake2s.o hash.o extinfo.o extract.o volume.o  list.o find.o unpack.o headers.o threadpool.o rs16.o cmddata.o ui.o filestr.o recvol.o rs.o scantree.o qopen.o 
/usr/bin/strip unrar
===========================================================================
=======================<phase: run-depends    >============================
===========================================================================
=======================<phase: stage          >============================
===>  Staging for unrar-5.50b1_1,5
===>   Generating temporary packing list
install  -s -m 555 /wrkdirs/usr/ports/archivers/unrar/work/unrar/unrar /wrkdirs/usr/ports/archivers/unrar/work/stage/usr/local/bin/
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        >============================
===>  Building package for unrar-5.50b1_1,5
===========================================================================
====>> Cleaning up wrkdir
===>  Cleaning for unrar-5.50b1_1,5
build of archivers/unrar ended at Sat May 20 16:33:19 BST 2017
build time: 00:01:05