Resolving dependencies... Starting bindings-DSL-1.0.25 Starting ieee754-0.8.0 Building bindings-DSL-1.0.25 Building ieee754-0.8.0 Completed bindings-DSL-1.0.25 Completed ieee754-0.8.0 Downloading yoga-0.0.0.8 Downloaded yoga-0.0.0.8 Starting yoga-0.0.0.8 Building yoga-0.0.0.8 Failed to install yoga-0.0.0.8 Build log ( /home/builder/.cabal/logs/ghc-9.6.3/yoga-0.0.0.8-4RffdNt0lvYIrep9AR2Fxo.log ): cabal: Entering directory '/tmp/cabal-tmp-3191699/yoga-0.0.0.8' Configuring yoga-0.0.0.8... Preprocessing library for yoga-0.0.0.8.. Building library for yoga-0.0.0.8.. [1 of 3] Compiling Bindings.Yoga.Enums ( dist/build/Bindings/Yoga/Enums.hs, dist/build/Bindings/Yoga/Enums.o, dist/build/Bindings/Yoga/Enums.dyn_o ) [2 of 3] Compiling Bindings.Yoga ( dist/build/Bindings/Yoga.hs, dist/build/Bindings/Yoga.o, dist/build/Bindings/Yoga.dyn_o ) [3 of 3] Compiling Yoga ( lib/Yoga.hs, dist/build/Yoga.o, dist/build/Yoga.dyn_o ) In file included from yoga/yoga/style/Style.h:30, from yoga/yoga/node/Node.h:24, from yoga/yoga/debug/Log.h:14, from yoga/yoga/YGConfig.cpp:10:0: error: yoga/yoga/style/CompactValue.h: In member function facebook::yoga::CompactValue::operator facebook::yoga::StyleLength() const: yoga/yoga/style/CompactValue.h:100:34: error: error: bit_cast is not a member of std; did you mean bad_cast? 100 | return value::percent(std::bit_cast(data)); | ^~~~~~~~ | bad_cast | 100 | return value::percent(std::bit_cast(data)); | ^ yoga/yoga/style/CompactValue.h:100:43: error: error: expected primary-expression before float 100 | return value::percent(std::bit_cast(data)); | ^~~~~ | 100 | return value::percent(std::bit_cast(data)); | ^ yoga/yoga/style/CompactValue.h:102:33: error: error: bit_cast is not a member of std; did you mean bad_cast? 102 | return value::points(std::bit_cast(data)); | ^~~~~~~~ | bad_cast | 102 | return value::points(std::bit_cast(data)); | ^ yoga/yoga/style/CompactValue.h:102:42: error: error: expected primary-expression before float 102 | return value::points(std::bit_cast(data)); | ^~~~~ | 102 | return value::points(std::bit_cast(data)); | ^ yoga/yoga/style/CompactValue.h: In member function bool facebook::yoga::CompactValue::isUndefined() const: yoga/yoga/style/CompactValue.h:109:55: error: error: bit_cast is not a member of std; did you mean bad_cast? 109 | repr_ != ZERO_BITS_PERCENT && std::isnan(std::bit_cast(repr_))); | ^~~~~~~~ | bad_cast | 109 | repr_ != ZERO_BITS_PERCENT && std::isnan(std::bit_cast(repr_))); | ^ yoga/yoga/style/CompactValue.h:109:64: error: error: expected primary-expression before float 109 | repr_ != ZERO_BITS_PERCENT && std::isnan(std::bit_cast(repr_))); | ^~~~~ | 109 | repr_ != ZERO_BITS_PERCENT && std::isnan(std::bit_cast(repr_))); | ^ yoga/yoga/style/CompactValue.h: In static member function static facebook::yoga::CompactValue facebook::yoga::CompactValue::of(float): yoga/yoga/style/CompactValue.h:136:22: error: error: bit_cast is not a member of std; did you mean bad_cast? 136 | auto data = std::bit_cast(value); | ^~~~~~~~ | bad_cast | 136 | auto data = std::bit_cast(value); | ^ yoga/yoga/style/CompactValue.h:136:39: error: error: expected primary-expression before > token 136 | auto data = std::bit_cast(value); | ^ | 136 | auto data = std::bit_cast(value); | ^ yoga/yoga/style/CompactValue.h:139:17: error: error: could not convert {data} from  to facebook::yoga::CompactValue 139 | return {data}; | ^ | | | | 139 | return {data}; | ^ `g++' failed in phase `C++ Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-3191699/yoga-0.0.0.8' Error: cabal: Some packages failed to install: yoga-0.0.0.8-4RffdNt0lvYIrep9AR2Fxo failed during the building phase. The exception was: ExitFailure 1