Skip to content

brew install freecad@1.0.1_py312 build failure on arch linux #684

@ipatch

Description

@ipatch

attempting to run brew install freecad on arch linux ie. brew install freecad@1.0.1_py312 fails due to a build issue.

snippet taken from STDOUT

/opt/tmp/homebrew/freecadA1.0.1_py312-20250613-399043-h5dki0/FreeCAD-1.0.1/src/3rdParty/OndselSolver/OndselSolver/NewtonRaphson.h:51:25: error: use of undeclared identifier 'SIZE_MAX'
'
   51 |         size_t iterNo = SIZE_MAX, iterMax = SIZE_MAX, nDivergence = SIZE_MAX, nBackTracking = SIZE_MAX;
      |                         ^
/opt/tmp/homebrew/freecadA1.0.1_py312-20250613-399043-h5dki0/FreeCAD-1.0.1/src/3rdParty/OndselSolver/OndselSolver/NewtonRaphson.h:51:45: error: use of undeclared identifier 'SIZE_MAX'
   51 |         size_t iterNo = SIZE_MAX, iterMax = SIZE_MAX, nDivergence = SIZE_MAX, nBackTracking = SIZE_MAX;
      |                                             ^
/opt/tmp/homebrew/freecadA1.0.1_py312-20250613-399043-h5dki0/FreeCAD-1.0.1/src/3rdParty/OndselSolver/OndselSolver/NewtonRaphson.h:51:69: error: use of undeclared identifier 'SIZE_MAX'
   51 |         size_t iterNo = SIZE_MAX, iterMax = SIZE_MAX, nDivergence = SIZE_MAX, nBackTracking = SIZE_MAX;
      |                                                                     ^
/opt/tmp/homebrew/freecadA1.0.1_py312-20250613-399043-h5dki0/FreeCAD-1.0.1/src/3rdParty/OndselSolver/OndselSolver/NewtonRaphson.h:51:95: error: use of undeclared identifier 'SIZE_MAX'
   51 |         size_t iterNo = SIZE_MAX, iterMax = SIZE_MAX, nDivergence = SIZE_MAX, nBackTracking = SIZE_MAX;
      |                                                                                               ^
In file included from /opt/tmp/homebrew/freecadA1.0.1_py312-20250613-399043-h5dki0/FreeCAD-1.0.1/src/3rdParty/OndselSolver/OndselSolver/AccICKineNewtonRaphson.cpp:9:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions