[Bug 224132] net-p2p/litecoin: fails to build with boost 1.66

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 5 21:32:23 UTC 2017


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

            Bug ID: 224132
           Summary: net-p2p/litecoin: fails to build with boost 1.66
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
            Blocks: 223922
             Flags: maintainer-feedback?(swills at FreeBSD.org)
          Assignee: swills at FreeBSD.org

As part of exp-run in bug 223922 this port was found to break on Boost update.
If the issue won't disappear on its own by Boost release I plan to mark the
port as BROKEN. Can you check with upstream maintainer or help with a fix?

$ fetch -qo- 'https://reviews.freebsd.org/D13279?download=true' | patch -Efsp0
-d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make -C/usr/ports/net-p2p/litecoin
[...]
In file included from miner.cpp:6:
In file included from ./miner.h:10:
In file included from ./txmempool.h:25:
In file included from
/usr/local/include/boost/multi_index/ordered_index.hpp:17:
/usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:1181:10: error:
no matching function for call to object of type 'const key_compare' (aka 'const
CompareModifiedEntry')
      if(comp_(key(v),key(y->value())))return false;
         ^~~~~
[...]
./miner.h:76:10: note: candidate function not viable: 'this' argument has type
'const key_compare' (aka 'const CompareModifiedEntry'), but method is not
marked const
    bool operator()(const CTxMemPoolModifiedEntry &a, const
CTxMemPoolModifiedEntry &b)
         ^
In file included from miner.cpp:6:
In file included from ./miner.h:10:
In file included from ./txmempool.h:25:
In file included from
/usr/local/include/boost/multi_index/ordered_index.hpp:17:
/usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:1186:26: error:
no matching function for call to object of type 'const key_compare' (aka 'const
CompareModifiedEntry')
    return y==header()||!comp_(key(y->value()),key(v));
                         ^~~~~
./miner.h:76:10: note: candidate function not viable: 'this' argument has type
'const key_compare' (aka 'const CompareModifiedEntry'), but method is not
marked const
    bool operator()(const CTxMemPoolModifiedEntry &a, const
CTxMemPoolModifiedEntry &b)
         ^

http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_11h06m37s/logs/errors/litecoin-0.14.2_2.log
http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_11h06m39s/logs/errors/litecoin-0.14.2_2.log
http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_09h31m05s/logs/errors/litecoin-0.14.2_2.log
http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_09h31m14s/logs/errors/litecoin-0.14.2_2.log

http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_11h06m37s/logs/errors/litecoin-daemon-0.14.2_2.log
http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_11h06m39s/logs/errors/litecoin-daemon-0.14.2_2.log
http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_09h31m05s/logs/errors/litecoin-daemon-0.14.2_2.log
http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_09h31m14s/logs/errors/litecoin-daemon-0.14.2_2.log

http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_11h06m37s/logs/errors/litecoin-utils-0.14.2_2.log
http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_11h06m39s/logs/errors/litecoin-utils-0.14.2_2.log
http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_09h31m05s/logs/errors/litecoin-utils-0.14.2_2.log
http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_09h31m14s/logs/errors/litecoin-utils-0.14.2_2.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223922
[Bug 223922] devel/boost-all: Update to 1.66.0 (currently beta)
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list