Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2017 01:42:08 GMT
From:      pkg-fallout@FreeBSD.org
To:        jhale@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 110amd64-default][archivers/libunrar5] Failed for libunrar5-5.4.5 in build
Message-ID:  <201701010142.v011g8xh071763@beefy9.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     jhale@FreeBSD.org
Last committer: jhale@FreeBSD.org
Ident:          $FreeBSD: head/archivers/libunrar5/Makefile 430150 2016-12-31 18:34:18Z jhale $
Log URL:        http://beefy9.nyi.freebsd.org/data/110amd64-default/430183/logs/libunrar5-5.4.5.log
Build URL:      http://beefy9.nyi.freebsd.org/build.html?mastername=110amd64-default&build=430183
Log:

====>> Building archivers/libunrar5
build started at Sun Jan  1 01:41:42 UTC 2017
port directory: /usr/ports/archivers/libunrar5
building for: FreeBSD 110amd64-default-job-18 11.0-RELEASE-p6 FreeBSD 11.0-RELEASE-p6 amd64
maintained by: jhale@FreeBSD.org
Makefile ident:      $FreeBSD: head/archivers/libunrar5/Makefile 430150 2016-12-31 18:34:18Z jhale $
Poudriere version: 3.1.14
Host OSVERSION: 1200017
Jail OSVERSION: 1100122
Job Id: 18

---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 11.0-RELEASE-p6
UNAME_r=11.0-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
ARCH=amd64
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110amd64-default/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=libunrar5-5.4.5
OSREL=11.0
_OSRELEASE=11.0-RELEASE-p6
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=24
PWD=/usr/local/poudriere/data/.m/110amd64-default/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES OPSYS=FreeBSD
MASTERNAME=110amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.14
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1100122
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for libunrar5-5.4.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--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/libunrar5/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/libunrar5/work  HOME=/wrkdirs/usr/ports/archivers/libunrar5/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/libunrar5/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/libunrar5/work  HOME=/wrkdirs/usr/ports/archivers/libunrar5/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=" -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 444"  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/libunrar5"
EXAMPLESDIR="share/examples/libunrar5"
DATADIR="share/libunrar5"
WWWDIR="www/libunrar5"
ETCDIR="etc/libunrar5"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/libunrar5
DOCSDIR=/usr/local/share/doc/libunrar5
EXAMPLESDIR=/usr/local/share/examples/libunrar5
WWWDIR=/usr/local/www/libunrar5
ETCDIR=/usr/local/etc/libunrar5
--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/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License UNRAR accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libunrar5-5.4.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.9.4_1.txz
[110amd64-default-job-18] Installing pkg-1.9.4_1...
[110amd64-default-job-18] Extracting pkg-1.9.4_1: .......... done
===>   libunrar5-5.4.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libunrar5-5.4.5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License UNRAR accepted by the user
===> Fetching all distfiles required by libunrar5-5.4.5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License UNRAR accepted by the user
===> Fetching all distfiles required by libunrar5-5.4.5 for building
=> SHA256 Checksum OK for unrarsrc-5.4.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License UNRAR accepted by the user
===> Fetching all distfiles required by libunrar5-5.4.5 for building
===>  Extracting for libunrar5-5.4.5
=> SHA256 Checksum OK for unrarsrc-5.4.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for libunrar5-5.4.5
===>  Applying FreeBSD patches for libunrar5-5.4.5
===========================================================================
=======================<phase: build-depends  >============================
===>   libunrar5-5.4.5 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[110amd64-default-job-18] Installing gmake-4.2.1_1...
[110amd64-default-job-18] `-- Installing indexinfo-0.2.6...
[110amd64-default-job-18] `-- Extracting indexinfo-0.2.6: .... done
[110amd64-default-job-18] `-- Installing gettext-runtime-0.19.8.1_1...
[110amd64-default-job-18] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[110amd64-default-job-18] Extracting gmake-4.2.1_1: .......... done
===>   libunrar5-5.4.5 depends on executable: gmake - found
===>   Returning to build of libunrar5-5.4.5
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for libunrar5-5.4.5
===========================================================================
=======================<phase: build          >============================
===>  Building for libunrar5-5.4.5
gmake[1]: Entering directory '/wrkdirs/usr/ports/archivers/libunrar5/work/unrar'
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -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 -DRARDLL -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 -DRARDLL -c strfn.cpp
strfn.cpp:178:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
  return ch>='A' && ch<='Z' || ch>='a' && ch<='z';
         ~~~~~~~~^~~~~~~~~~ ~~
strfn.cpp:178:18: note: place parentheses around the '&&' expression to silence this warning
  return ch>='A' && ch<='Z' || ch>='a' && ch<='z';
                 ^
         (                 )
strfn.cpp:178:40: warning: '&&' within '||' [-Wlogical-op-parentheses]
  return ch>='A' && ch<='Z' || ch>='a' && ch<='z';
                            ~~ ~~~~~~~~^~~~~~~~~~
strfn.cpp:178: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 -DRARDLL -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
<snip>
            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 -DRARDLL -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 -DRARDLL -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 -DRARDLL -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 -DRARDLL -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 -DRARDLL -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 -DRARDLL -c cmddata.cpp
cmddata.cpp:771:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
cmddata.cpp:1210:60: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if ((FileHead.FileAttr & ExclFileAttr)!=0 || InclAttrSet && (FileHead.FileAttr & InclFileAttr)==0)
                                            ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cmddata.cpp:1210:60: note: place parentheses around the '&&' expression to silence this warning
  if ((FileHead.FileAttr & ExclFileAttr)!=0 || InclAttrSet && (FileHead.FileAttr & InclFileAttr)==0)
                                                           ^
                                               (                                                   )
cmddata.cpp:1236:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (Command[0]!=0 && Command[1]!=0 && wcschr(SingleCharCommands,Command[0])!=NULL || *ArcName==0)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
cmddata.cpp:1236: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 -DRARDLL -c ui.cpp
c++ -DOPENSSL_AES -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c dll.cpp
dll.cpp:199:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
dll.cpp:300:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
        Operation==RAR_SKIP && !Data->Arc.Solid)
        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dll.cpp:300:29: note: place parentheses around the '&&' expression to silence this warning
        Operation==RAR_SKIP && !Data->Arc.Solid)
                            ^
        (                                      )
dll.cpp:309:9: 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 -DRARDLL -c filestr.cpp
filestr.cpp:19:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
filestr.cpp:68:58: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (SrcCharset==RCH_UNICODE || SrcCharset==RCH_DEFAULT && IsUnicode)
                              ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
filestr.cpp:68:58: note: place parentheses around the '&&' expression to silence this warning
  if (SrcCharset==RCH_UNICODE || SrcCharset==RCH_DEFAULT && IsUnicode)
                                                         ^
                                 (                                   )
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 -DRARDLL -c recvol.cpp
In file included from recvol.cpp:3:
./recvol3.cpp:98:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
./recvol3.cpp:233:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2])
        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~~
./recvol3.cpp:233:25: note: place parentheses around the '&&' expression to silence this warning
    if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2])
                        ^
        (                                    )
./recvol3.cpp:233:64: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2])
                                              ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./recvol3.cpp:233: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 -DRARDLL -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 -DRARDLL -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 -DRARDLL -c qopen.cpp
c++ -shared -o libunrar.so -Wl,-soname,libunrar.so.5 -pthread  -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 dll.o filestr.o recvol.o rs.o scantree.o qopen.o
/usr/bin/ld: strlist.o: relocation R_X86_64_32 against `ErrHandler' can not be used when making a shared object; recompile with -fPIC
strlist.o: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [makefile:136: lib] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/archivers/libunrar5/work/unrar'
*** Error code 1

Stop.
make: stopped in /usr/ports/archivers/libunrar5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701010142.v011g8xh071763>