You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description brew install boost install boost 1.74, which is not compatible with the AppleClang 12 compiler. Compiling C++ code containing a include to boost::serialization headers can fail with error: explicit specialization of undeclared template struct 'version'. Can be solved by rolling back to boost 1.73.
Area for Triage:
Question, Bug, or Feature?:
Bug
Virtual environments affected
Ubuntu 16.04
Ubuntu 18.04
Ubuntu 20.04
macOS 10.15
macOS 11.0
Windows Server 2016 R2
Windows Server 2019
Expected behavior brew install boost boost-mpi should install a boost version other than 1.74. brew install [email protected][email protected] should install the 1.73 version.
Actual behavior brew install boost boost-mpi install the 1.74 version, which cannot compile with AppleClang: run 1322746536.
The previous version of boost available until today was 1.73, but cannot be installed anymore: run 1322911956, run 1322700474.
Repro steps
run brew install boost boost-mpi
compile any .cpp file containing #include <boost/serialization/optional.hpp> with AppleClang
@jngrad Hello,
Could you please clarify what is the issue with GitHub Actions images? We don't provide boost on MacOS images and don't control version that is installed from brew.
Description
brew install boost
install boost 1.74, which is not compatible with the AppleClang 12 compiler. Compiling C++ code containing a include toboost::serialization
headers can fail witherror: explicit specialization of undeclared template struct 'version'
. Can be solved by rolling back to boost 1.73.Area for Triage:
Question, Bug, or Feature?:
Bug
Virtual environments affected
Expected behavior
brew install boost boost-mpi
should install a boost version other than 1.74.brew install [email protected] [email protected]
should install the 1.73 version.Actual behavior
brew install boost boost-mpi
install the 1.74 version, which cannot compile with AppleClang: run 1322746536.The previous version of boost available until today was 1.73, but cannot be installed anymore: run 1322911956, run 1322700474.
Repro steps
brew install boost boost-mpi
#include <boost/serialization/optional.hpp>
with AppleClangHere is a minimal project: jngrad/espresso@boost174-appleclang12. The GitHub Action fails.
The regression was introduced in the boost 1.74 library and will probably get fixed in 1.75. See tickets boostorg/serialization#210 and boostorg/serialization#217. Here are links to the MWE that passes with 1.73 and fails with 1.74.
The text was updated successfully, but these errors were encountered: