Bug 230392

Summary: lang/solidity: fails to build with boost 1.68
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: ale
Priority: --- Keywords: needs-qa, patch
Version: LatestFlags: bugzilla: maintainer-feedback? (ale)
Hardware: Any   
OS: Any   
See Also: https://github.com/ethereum/solidity/pull/4682
Bug Depends on:    
Bug Blocks: 229569    
Attachments:
Description Flags
v0
none
v1 none

Description Jan Beich freebsd_committer 2018-08-05 20:11:25 UTC
After bug 229569 lands this port will end up BROKEN. Can you help? I've already reported upstream.

libevmasm/Assembly.cpp:267:74: error: no matching conversion for functional-style cast from 'const u256' (aka 'const number<boost::multiprecision::cpp_int_backend<256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void> >') to 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >')
                                        createJsonValue("PUSH [tag]", i.location().start, i.location().end, string(i.data())));
                                                                                                            ^~~~~~~~~~~~~~~
libevmasm/Assembly.cpp:293:66: error: no matching conversion for functional-style cast from 'const u256' (aka 'const number<boost::multiprecision::cpp_int_backend<256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void> >') to 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >')
                                createJsonValue("tag", i.location().start, i.location().end, string(i.data())));
                                                                                             ^~~~~~~~~~~~~~~
Comment 1 Jan Beich freebsd_committer 2018-08-05 20:16:37 UTC
Created attachment 195914 [details]
v0

11.1 amd64 + boost 1.68 build log: https://ptpb.pw/0x86
Comment 2 Jan Beich freebsd_committer 2018-08-08 18:51:27 UTC
Created attachment 196015 [details]
v1

12.0 amd64 + clang 7 (bug 230355) + boost 1.68 build log: https://ptpb.pw/QNLk
Comment 3 Jan Beich freebsd_committer 2018-08-09 07:01:00 UTC
Marked BROKEN in ports r476723.