[Bug 216356] devel/py-ice: fails to build with clang 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 21 19:13:42 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216356

            Bug ID: 216356
           Summary: devel/py-ice: fails to build with clang 4.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: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: freebsd at grem.de
            Blocks: 216008
             Flags: maintainer-feedback?(freebsd at grem.de)
                CC: freebsd at grem.de

Operation.cpp:1685:70: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
                if(PyTuple_SET_ITEM(results.get(), info->pos, Unset) < 0)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2549:75: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(result.get(), 0, ok ? incTrue() : incFalse()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2589:56: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(result.get(), 1, op.get()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2830:73: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, ok ? incTrue() : incFalse()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2870:54: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 1, op.get()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2913:73: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, ok ? incTrue() : incFalse()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2961:54: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 1, op.get()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3129:73: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, ok ? incTrue() : incFalse()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3177:54: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 1, op.get()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3305:80: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
                    if(PyTuple_SET_ITEM(args.get(), info->pos + offset, Unset)
< 0)
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ ~
Operation.cpp:3332:83: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
    if(PyTuple_SET_ITEM(args.get(), PyTuple_GET_SIZE(args.get()) - 1,
curr.get()) < 0)
      
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3350:60: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, (PyObject*)obj) < 0) //
PyTuple_SET_ITEM steals a reference.
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3701:54: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
    if(PyTuple_SET_ITEM(args.get(), start, ip.get()) < 0)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3713:56: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
    if(PyTuple_SET_ITEM(args.get(), start, curr.get()) < 0)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3733:60: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, (PyObject*)obj) < 0) //
PyTuple_SET_ITEM steals a reference.
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

build log: http://sprunge.us/aUGD
regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in base to
4.0.0
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list