Re: [MacPorts] #32558: mkvtoolnix: error: ‘boost::BOOST_FOREACH’ has not been declared

MacPorts noreply at macports.org
Fri Dec 30 06:01:24 PST 2011


#32558: mkvtoolnix: error: ‘boost::BOOST_FOREACH’ has not been declared
----------------------------------+-----------------------------------------
  Reporter:  palmer100@…          |       Owner:  kona8lend@…        
      Type:  defect               |      Status:  reopened           
  Priority:  Normal               |   Milestone:                     
 Component:  ports                |     Version:  2.0.3              
Resolution:                       |    Keywords:                     
      Port:  mkvtoolnix           |  
----------------------------------+-----------------------------------------

Comment(by adfernandes@…):

 > Now this simple fix which was common to all the architectures will not
 work on MacPorts!  How the heck am I supposed to have code that works
 properly via CPP now???
 >
 > Fixing a library such as Boost seems wrong to me, too much entropy
 pushed on the users.

 As a long-time boost user, I understand your frustration. However, this
 sort of thing is typical of Boost; the "official" way of handling this is
 to check boost versions or some-such.

 The main problem is that the patches that I committed are '''Already'''
 part of boost, so they will have to be dealt with at some point.

 The horrible truth is that most packages I've seen usually include a
 private copy of boost that they build and test, precisely to avoid this
 sort of thing.

 If I remove the patches as suggested, the port will simply break in a
 couple of months when the next release of boost comes out.

-- 
Ticket URL: <https://trac.macports.org/ticket/32558#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list