Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jan 2018 12:39:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224930] archivers/p7zip: fails to build with clang 6.0
Message-ID:  <bug-224930-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224930

            Bug ID: 224930
           Summary: archivers/p7zip: fails to build with clang 6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rakuco@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 224669
          Assignee: rakuco@FreeBSD.org
             Flags: maintainer-feedback?(rakuco@FreeBSD.org)

FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing th=
is
port failed to build.

../../../../CPP/Windows/ErrorMsg.cpp:24:10: error: case value evaluates to
-2147024809, which cannot
      be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
    case E_INVALIDARG          : txt =3D "E_INVALIDARG"; break ;
         ^
../../../../CPP/Common/MyWindows.h:89:22: note: expanded from macro
'E_INVALIDARG'
#define E_INVALIDARG ((HRESULT)0x80070057L)
                     ^
../../../../CPP/Windows/ErrorMsg.cpp:23:10: error: case value evaluates to
-2147024882, which cannot
      be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
    case E_OUTOFMEMORY         : txt =3D "E_OUTOFMEMORY"; break ;
         ^
../../../../CPP/Common/MyWindows.h:88:23: note: expanded from macro
'E_OUTOFMEMORY'
#define E_OUTOFMEMORY ((HRESULT)0x8007000EL)
                      ^
../../../../CPP/Windows/ErrorMsg.cpp:22:10: error: case value evaluates to
-2147287039, which cannot
      be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
    case STG_E_INVALIDFUNCTION : txt =3D "STG_E_INVALIDFUNCTION"; break ;
         ^
../../../../CPP/Common/MyWindows.h:87:31: note: expanded from macro
'STG_E_INVALIDFUNCTION'
#define STG_E_INVALIDFUNCTION ((HRESULT)0x80030001L)
                              ^
../../../../CPP/Windows/ErrorMsg.cpp:21:10: error: case value evaluates to
-2147467259, which cannot
      be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
    case E_FAIL                : txt =3D "E_FAIL"; break ;
         ^
../../../../CPP/Common/MyWindows.h:86:16: note: expanded from macro 'E_FAIL'
#define E_FAIL ((HRESULT)0x80004005L)
               ^
../../../../CPP/Windows/ErrorMsg.cpp:20:10: error: case value evaluates to
-2147467260, which cannot
      be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
    case E_ABORT               : txt =3D "E_ABORT"; break ;
         ^
../../../../CPP/Common/MyWindows.h:85:17: note: expanded from macro 'E_ABOR=
T'
#define E_ABORT ((HRESULT)0x80004004L)
                ^
../../../../CPP/Windows/ErrorMsg.cpp:19:10: error: case value evaluates to
-2147467262, which cannot
      be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
    case E_NOINTERFACE         : txt =3D "E_NOINTERFACE"; break ;
         ^
../../../../CPP/Common/MyWindows.h:84:23: note: expanded from macro
'E_NOINTERFACE'
#define E_NOINTERFACE ((HRESULT)0x80004002L)
                      ^
../../../../CPP/Windows/ErrorMsg.cpp:18:10: error: case value evaluates to
-2147467263, which cannot
      be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
    case E_NOTIMPL             : txt =3D "E_NOTIMPL"; break ;
         ^
../../../../CPP/Common/MyWindows.h:83:19: note: expanded from macro 'E_NOTI=
MPL'
#define E_NOTIMPL ((HRESULT)0x80004001L)
                  ^

To reproduce:
$ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m
svn+https
$ poudriere bulk -Ctj clang6-amd64 archivers/p7zip

http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-02_=
08h32m49s/logs/errors/p7zip-16.02.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224669
[Bug 224669] [exp-run] Against projects/clang600-import branch
--=20
You are receiving this mail because:
You are the assignee for the bug.=



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