Description
Build environment broken. We currently have no mitigation for this.
New errors in a dependency that is pinned. Was building fine on previous image just today
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/code/Common/BaseProcess.cpp:44:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/code/Common/BaseProcess.h:46:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/include/assimp/GenericProperty.h:50:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/include/assimp/Hash.h:51:
/opt/homebrew/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote'
__promote<_A1, _A2, _A3>
^
/opt/homebrew/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote'
typedef typename __promote<_A1, _A2, _A3>::type __result_type;
^
/opt/homebrew/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z);
^~~~~
/opt/homebrew/bin/../include/c++/v1/cmath:533:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); }
^
/opt/homebrew/bin/../include/c++/v1/cmath:534:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); }
^
/opt/homebrew/bin/../include/c++/v1/cmath:535:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); }
^
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/code/Common/BaseProcess.cpp:44:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/code/Common/BaseProcess.h:46:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/include/assimp/GenericProperty.h:50:
/Users/runner/work/engine/engine/target/_deps/assimp/include/assimp/Hash.h:99:25: error: use of undeclared identifier 'abs'; did you mean 'fabs'?
hash ^= abs(data[sizeof(uint16_t)]) << 18;
^
/Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:418:15: note: 'fabs' declared here
extern double fabs(double);
Platforms affected
Runner images affected
Image version and build link
private repo
Is it regression?
yes
Expected behavior
Build does not fail
Actual behavior
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/code/Common/BaseProcess.cpp:44:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/code/Common/BaseProcess.h:46:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/include/assimp/GenericProperty.h:50:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/include/assimp/Hash.h:51:
/opt/homebrew/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote'
__promote<_A1, _A2, _A3>
^
/opt/homebrew/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote'
typedef typename __promote<_A1, _A2, _A3>::type __result_type;
^
/opt/homebrew/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z);
^~~~~
/opt/homebrew/bin/../include/c++/v1/cmath:533:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); }
^
/opt/homebrew/bin/../include/c++/v1/cmath:534:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); }
^
/opt/homebrew/bin/../include/c++/v1/cmath:535:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); }
^
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/code/Common/BaseProcess.cpp:44:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/code/Common/BaseProcess.h:46:
In file included from /Users/runner/work/engine/engine/target/_deps/assimp/include/assimp/GenericProperty.h:50:
/Users/runner/work/engine/engine/target/_deps/assimp/include/assimp/Hash.h:99:25: error: use of undeclared identifier 'abs'; did you mean 'fabs'?
hash ^= abs(data[sizeof(uint16_t)]) << 18;
^
/Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:418:15: note: 'fabs' declared here
extern double fabs(double);
Repro steps
private repo. no reprod. sorry
Description
Build environment broken. We currently have no mitigation for this.
New errors in a dependency that is pinned. Was building fine on previous image just today
Platforms affected
Runner images affected
Image version and build link
private repo
Is it regression?
yes
Expected behavior
Build does not fail
Actual behavior
Repro steps
private repo. no reprod. sorry