[MacPorts] #55359: sigil 0.6.0 will not build against boost 1.65.1 error: use of undeclared identifier '_1'

MacPorts noreply at macports.org
Sat Nov 18 23:05:20 UTC 2017


#55359: sigil 0.6.0 will not build against boost 1.65.1 error: use of undeclared
identifier '_1'
--------------------+-------------------------
 Reporter:  kencu   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  sigil boost
--------------------+-------------------------
 sigil fails to build against the new boost update 1.65.1 on both
 highsierra and on 10.6.8/libc++.
 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_sigil/sigil/work/Sigil-0.6.0-Code/src/Sigil/SourceUpdates/AnchorUpdates.cpp:47:86:
 error: use of undeclared identifier '_1'
      QtConcurrent::blockingMap( html_resources, boost::bind(
 UpdateAnchorsInOneFile, _1, ID_locations ) );
 ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_sigil/sigil/work/Sigil-0.6.0-Code/src/Sigil/SourceUpdates/LinkUpdates.cpp:42:83:
 error: use of undeclared identifier '_1'
     QtConcurrent::blockingMap( html_resources, boost::bind(
 UpdateLinksInOneFile, _1, new_stylesheets ) );
 ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_sigil/sigil/work/Sigil-0.6.0-Code/src/Sigil/SourceUpdates/AnchorUpdates.cpp:55:93:
 error: use of undeclared identifier '_1'
     QtConcurrent::blockingMap( html_resources, boost::bind(
 UpdateExternalAnchorsInOneFile, _1, originating_filename, ID_locations )
 );
 }}}

 sigil builds fine against the older boost 1.59.0, but if boost is then
 updated to 1.65.1, when sigil is run it fails to find the appropriate
 features in boost and faults out.

 This version of sigil is quite out of date now. Most likely the fix here
 is to update sigil, unless someone sees a nice way to fix this.

--
Ticket URL: <https://trac.macports.org/ticket/55359>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list