Skip to content

Conversation

@ipatch
Copy link
Collaborator

@ipatch ipatch commented Nov 22, 2025

brew style freecad/freecad/[NAME_OF_FORMULA_FILE]

output from running above command should output something similiar to the below

1 file inspected, no offenses detected
  • Have you ensured your commit passed audit checks, ie.
brew audit freecad/freecad/[NAME_OF_FORMULA_FILE] --online --new-formula

Not all PRs require passing these checks ie. adding [no ci] in the commit message will prevent the CI from running but PRs that change formula files generally should run through the CI checks that way new bottles are built and uploaded to the repository thus not having to build all formula from source but rather installing from a bottle (significantly faster 🐰 ... 🐢)

For more information about this template file learn more

@ipatch ipatch force-pushed the calculix-new-formula branch from f075e64 to 81aed25 Compare November 22, 2025 21:36
@ipatch
Copy link
Collaborator Author

ipatch commented Nov 22, 2025

running brew install -v [email protected] locally on asahi linux the configure build of all three packages contained within the formula installed without errors. however the formula fails to build on macos 26 ie. tahoe github hosted runner due to the below error, should be a simple fix. 🤞

 a - misc_orderViaMS.o
  a - misc_orderViaND.o
  rm -f misc_*.o
  ranlib ../../spooles.a
  rm -f makeG
  mv /private/tmp/homebrew-unpack-20251122-61632-yt4gll/arpack-ng-3.9.1 /private/tmp/calculixA2.23--arpack-20251122-61632-zyxlqh/arpack-ng-3.9.1
  ==> ./bootstrap
  ./bootstrap: line 3: autoreconf: command not found
  
  ==> Formula
  Tap: freecad/freecad
  Path: /opt/homebrew/Library/Taps/freecad/homebrew-freecad/Formula/[email protected]

@ipatch
Copy link
Collaborator Author

ipatch commented Nov 22, 2025

2025-11-22T22:02:13.4282090Z rm -f misc_*.o
2025-11-22T22:02:13.4282140Z ranlib ../../spooles.a
2025-11-22T22:02:13.4282190Z rm -f makeG
2025-11-22T22:02:13.4282530Z mv /private/tmp/homebrew-unpack-20251122-17896-y469xt/arpack-ng-3.9.1 /private/tmp/calculixA2.23--arpack-20251122-17896-n60lxw/arpack-ng-3.9.1
2025-11-22T22:02:13.4282720Z �[34m==>�[0m �[1m./bootstrap�[0m
2025-11-22T22:02:13.4282780Z autoreconf: export WARNINGS=
2025-11-22T22:02:13.4282840Z autoreconf: Entering directory '.'
2025-11-22T22:02:13.4282950Z autoreconf: configure.ac: not using Gettext
2025-11-22T22:02:13.4283020Z autoreconf: running: aclocal --force -I m4
2025-11-22T22:02:13.4283120Z error: you must have libtool 2.4.2 or a more recent version
2025-11-22T22:02:13.4283180Z autoreconf: configure.ac: tracing
2025-11-22T22:02:13.4283280Z error: you must have libtool 2.4.2 or a more recent version
2025-11-22T22:02:13.4283370Z autoreconf: configure.ac: creating directory build-aux
2025-11-22T22:02:13.4283440Z autoreconf: configure.ac: not using Libtool
2025-11-22T22:02:13.4283510Z autoreconf: configure.ac: not using Intltool
2025-11-22T22:02:13.4283580Z autoreconf: configure.ac: not using Gtkdoc
2025-11-22T22:02:13.4283720Z autoreconf: running: /opt/homebrew/Cellar/autoconf/2.72/bin/autoconf --force
2025-11-22T22:02:13.4283820Z error: you must have libtool 2.4.2 or a more recent version
2025-11-22T22:02:13.4283890Z autoreconf: configure.ac: not using Autoheader
2025-11-22T22:02:13.4284010Z autoreconf: running: automake --add-missing --copy --force-missing
2025-11-22T22:02:13.4284090Z configure.ac:12: installing 'build-aux/compile'
2025-11-22T22:02:13.4284180Z configure.ac:17: installing 'build-aux/config.guess'
2025-11-22T22:02:13.4284270Z configure.ac:17: installing 'build-aux/config.sub'
2025-11-22T22:02:13.4284350Z configure.ac:6: installing 'build-aux/install-sh'
2025-11-22T22:02:13.4284420Z configure.ac:6: installing 'build-aux/missing'
2025-11-22T22:02:13.4284500Z parallel-tests: installing 'build-aux/test-driver'
2025-11-22T22:02:13.4284630Z EXAMPLES/MATRIX_MARKET/Makefile.am: installing 'build-aux/depcomp'
2025-11-22T22:02:13.4284860Z ICB/Makefile.am:11: error: Libtool library used but 'LIBTOOL' is undefined
2025-11-22T22:02:13.4284980Z ICB/Makefile.am:11:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
2025-11-22T22:02:13.4285120Z ICB/Makefile.am:11:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
2025-11-22T22:02:13.4285160Z ICB/Makefile.am:11: 
2025-11-22T22:02:13.4285270Z ICB/Makefile.am:11:   If 'LT_INIT' is in 'configure.ac', make sure
2025-11-22T22:02:13.4285380Z ICB/Makefile.am:11:   its definition is in aclocal's search path.
2025-11-22T22:02:13.4285420Z ICB/Makefile.am:11: 
2025-11-22T22:02:13.4285580Z ICB/Makefile.am:11:   If you install Automake in its own prefix,
2025-11-22T22:02:13.4285700Z ICB/Makefile.am:11:   you'll need to arrange for the Libtool m4 files
2025-11-22T22:02:13.4285820Z ICB/Makefile.am:11:   to be found by aclocal.  For info on this, see:
2025-11-22T22:02:13.4286190Z ICB/Makefile.am:11:     https://gnu.org/s/automake/manual/automake.html#Libtool-library-used-but-LIBTOOL-is-undefined
2025-11-22T22:02:13.4286370Z PARPACK/SRC/BLACS/Makefile.am:17: error: Libtool library used but 'LIBTOOL' is undefined
2025-11-22T22:02:13.4286530Z PARPACK/SRC/BLACS/Makefile.am:17:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
2025-11-22T22:02:13.4286700Z PARPACK/SRC/BLACS/Makefile.am:17:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
2025-11-22T22:02:13.4286760Z PARPACK/SRC/BLACS/Makefile.am:17: 
2025-11-22T22:02:13.4286910Z PARPACK/SRC/BLACS/Makefile.am:17:   If 'LT_INIT' is in 'configure.ac', make sure
2025-11-22T22:02:13.4287060Z PARPACK/SRC/BLACS/Makefile.am:17:   its definition is in aclocal's search path.
2025-11-22T22:02:13.4287120Z PARPACK/SRC/BLACS/Makefile.am:17: 
2025-11-22T22:02:13.4287270Z PARPACK/SRC/BLACS/Makefile.am:17:   If you install Automake in its own prefix,
2025-11-22T22:02:13.4287420Z PARPACK/SRC/BLACS/Makefile.am:17:   you'll need to arrange for the Libtool m4 files
2025-11-22T22:02:13.4287570Z PARPACK/SRC/BLACS/Makefile.am:17:   to be found by aclocal.  For info on this, see:
2025-11-22T22:02:13.4287870Z PARPACK/SRC/BLACS/Makefile.am:17:     https://gnu.org/s/automake/manual/automake.html#Libtool-library-used-but-LIBTOOL-is-undefined
2025-11-22T22:02:13.4288030Z PARPACK/SRC/MPI/Makefile.am:35: error: Libtool library used but 'LIBTOOL' is undefined
2025-11-22T22:02:13.4288190Z PARPACK/SRC/MPI/Makefile.am:35:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
2025-11-22T22:02:13.4288350Z PARPACK/SRC/MPI/Makefile.am:35:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
2025-11-22T22:02:13.4288410Z PARPACK/SRC/MPI/Makefile.am:35: 
2025-11-22T22:02:13.4288550Z PARPACK/SRC/MPI/Makefile.am:35:   If 'LT_INIT' is in 'configure.ac', make sure
2025-11-22T22:02:13.4288690Z PARPACK/SRC/MPI/Makefile.am:35:   its definition is in aclocal's search path.
2025-11-22T22:02:13.4288750Z PARPACK/SRC/MPI/Makefile.am:35: 
2025-11-22T22:02:13.4288880Z PARPACK/SRC/MPI/Makefile.am:35:   If you install Automake in its own prefix,
2025-11-22T22:02:13.4289030Z PARPACK/SRC/MPI/Makefile.am:35:   you'll need to arrange for the Libtool m4 files
2025-11-22T22:02:13.4289170Z PARPACK/SRC/MPI/Makefile.am:35:   to be found by aclocal.  For info on this, see:
2025-11-22T22:02:13.4289460Z PARPACK/SRC/MPI/Makefile.am:35:     https://gnu.org/s/automake/manual/automake.html#Libtool-library-used-but-LIBTOOL-is-undefined
2025-11-22T22:02:13.4289620Z PARPACK/UTIL/BLACS/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
2025-11-22T22:02:13.4289790Z PARPACK/UTIL/BLACS/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
2025-11-22T22:02:13.4289960Z PARPACK/UTIL/BLACS/Makefile.am:8:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
2025-11-22T22:02:13.4290020Z PARPACK/UTIL/BLACS/Makefile.am:8: 
2025-11-22T22:02:13.4290170Z PARPACK/UTIL/BLACS/Makefile.am:8:   If 'LT_INIT' is in 'configure.ac', make sure
2025-11-22T22:02:13.4290310Z PARPACK/UTIL/BLACS/Makefile.am:8:   its definition is in aclocal's search path.
2025-11-22T22:02:13.4290370Z PARPACK/UTIL/BLACS/Makefile.am:8: 
2025-11-22T22:02:13.4290580Z PARPACK/UTIL/BLACS/Makefile.am:8:   If you install Automake in its own prefix,
2025-11-22T22:02:13.4290740Z PARPACK/UTIL/BLACS/Makefile.am:8:   you'll need to arrange for the Libtool m4 files
2025-11-22T22:02:13.4290890Z PARPACK/UTIL/BLACS/Makefile.am:8:   to be found by aclocal.  For info on this, see:
2025-11-22T22:02:13.4291180Z PARPACK/UTIL/BLACS/Makefile.am:8:     https://gnu.org/s/automake/manual/automake.html#Libtool-library-used-but-LIBTOOL-is-undefined
2025-11-22T22:02:13.4291340Z PARPACK/UTIL/MPI/Makefile.am:10: error: Libtool library used but 'LIBTOOL' is undefined
2025-11-22T22:02:13.4291540Z PARPACK/UTIL/MPI/Makefile.am:10:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
2025-11-22T22:02:13.4291740Z PARPACK/UTIL/MPI/Makefile.am:10:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
2025-11-22T22:02:13.4291800Z PARPACK/UTIL/MPI/Makefile.am:10: 
2025-11-22T22:02:13.4291950Z PARPACK/UTIL/MPI/Makefile.am:10:   If 'LT_INIT' is in 'configure.ac', make sure
2025-11-22T22:02:13.4292090Z PARPACK/UTIL/MPI/Makefile.am:10:   its definition is in aclocal's search path.
2025-11-22T22:02:13.4292150Z PARPACK/UTIL/MPI/Makefile.am:10: 
2025-11-22T22:02:13.4292300Z PARPACK/UTIL/MPI/Makefile.am:10:   If you install Automake in its own prefix,
2025-11-22T22:02:13.4292450Z PARPACK/UTIL/MPI/Makefile.am:10:   you'll need to arrange for the Libtool m4 files
2025-11-22T22:02:13.4292600Z PARPACK/UTIL/MPI/Makefile.am:10:   to be found by aclocal.  For info on this, see:
2025-11-22T22:02:13.4292890Z PARPACK/UTIL/MPI/Makefile.am:10:     https://gnu.org/s/automake/manual/automake.html#Libtool-library-used-but-LIBTOOL-is-undefined
2025-11-22T22:02:13.4293030Z SRC/Makefile.am:26: error: Libtool library used but 'LIBTOOL' is undefined
2025-11-22T22:02:13.4293150Z SRC/Makefile.am:26:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
2025-11-22T22:02:13.4293300Z SRC/Makefile.am:26:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.

@ipatch ipatch force-pushed the calculix-new-formula branch 2 times, most recently from 9fe4829 to f05b22a Compare November 22, 2025 22:25
@ipatch
Copy link
Collaborator Author

ipatch commented Nov 22, 2025

2025-11-22T22:28:44.8061940Z checking dynamic linker characteristics... darwin25.0.0 dyld
2025-11-22T22:28:44.8062050Z checking how to hardcode library paths into programs... immediate
2025-11-22T22:28:44.8062260Z checking if libtool supports shared libraries... yes
2025-11-22T22:28:44.8062340Z checking whether to build shared libraries... no
2025-11-22T22:28:44.8062420Z checking whether to build static libraries... yes
2025-11-22T22:28:44.8062520Z checking for gfortran option to produce PIC... -fno-common
2025-11-22T22:28:44.8062610Z checking if gfortran PIC flag -fno-common works... yes
2025-11-22T22:28:44.8062750Z checking if gfortran static flag -static works... no
2025-11-22T22:28:44.8062830Z checking if gfortran supports -c -o file.o... yes
2025-11-22T22:28:44.8062930Z checking if gfortran supports -c -o file.o... (cached) yes
2025-11-22T22:28:44.8063310Z checking whether the gfortran linker (/Applications/Xcode_26.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
2025-11-22T22:28:44.8063420Z checking dynamic linker characteristics... darwin25.0.0 dyld
2025-11-22T22:28:44.8063530Z checking how to hardcode library paths into programs... immediate
2025-11-22T22:28:44.8063660Z ./configure: line 29565: syntax error near unexpected token `EIGEN3,'
2025-11-22T22:28:44.8063770Z ./configure: line 29565: `	PKG_CHECK_MODULES(EIGEN3, eigen3 >= 3.3)'
2025-11-22T22:28:44.8063780Z 
2025-11-22T22:28:44.8063880Z �[34m==>�[0m �[1mFormula�[0m
2025-11-22T22:28:44.8063930Z Tap: freecad/freecad

@ipatch ipatch force-pushed the calculix-new-formula branch 2 times, most recently from a0508b5 to fc3d3a2 Compare November 22, 2025 22:51
@ipatch
Copy link
Collaborator Author

ipatch commented Nov 22, 2025

2025-11-22T22:45:21.4415310Z checking dynamic linker characteristics... darwin25.0.0 dyld
2025-11-22T22:45:21.4415590Z checking how to hardcode library paths into programs... immediate
2025-11-22T22:45:21.4420870Z checking if libtool supports shared libraries... yes
2025-11-22T22:45:21.4420980Z checking whether to build shared libraries... no
2025-11-22T22:45:21.4421060Z checking whether to build static libraries... yes
2025-11-22T22:45:21.4421280Z checking for gfortran option to produce PIC... -fno-common
2025-11-22T22:45:21.4421380Z checking if gfortran PIC flag -fno-common works... yes
2025-11-22T22:45:21.4421480Z checking if gfortran static flag -static works... no
2025-11-22T22:45:21.4421560Z checking if gfortran supports -c -o file.o... yes
2025-11-22T22:45:21.4421660Z checking if gfortran supports -c -o file.o... (cached) yes
2025-11-22T22:45:21.4422060Z checking whether the gfortran linker (/Applications/Xcode_26.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
2025-11-22T22:45:21.4422160Z checking dynamic linker characteristics... darwin25.0.0 dyld
2025-11-22T22:45:21.4422280Z checking how to hardcode library paths into programs... immediate
2025-11-22T22:45:21.4422410Z ./configure: line 29565: syntax error near unexpected token `EIGEN3,'
2025-11-22T22:45:21.4422520Z ./configure: line 29565: `	PKG_CHECK_MODULES(EIGEN3, eigen3 >= 3.3)'
2025-11-22T22:45:21.4422530Z 

@ipatch
Copy link
Collaborator Author

ipatch commented Nov 22, 2025

might need eigen 3 even though this formula successfully configured, built, and installed without issues on my asahi linux box. 🤷‍♂️

@ipatch ipatch force-pushed the calculix-new-formula branch 2 times, most recently from a4eaef5 to 0ab3aef Compare November 22, 2025 22:58
@ipatch
Copy link
Collaborator Author

ipatch commented Nov 22, 2025

ubuntun 22.04 github hosted runner, build error message,

2025-11-22T23:04:58.6590349Z If reporting this issue please do so at (not Homebrew/* repositories):
2025-11-22T23:04:58.6590548Z   �[4mhttps://github.com/freecad/homebrew-freecad/issues�[24m
2025-11-22T23:04:58.6590556Z 
2025-11-22T23:04:58.6602448Z ##[error]freecad/freecad/[email protected] 2.23 did not build
2025-11-22T23:04:58.6603252Z ##[endgroup]
2025-11-22T23:04:58.6603652Z ##[group]Truncated install --formula --build-bottle freecad/freecad/[email protected] output
2025-11-22T23:04:58.6635265Z ##[error]
   21 |      &     xflow,f,nodef,idirf,df,cp,R,physcon,numf,set,mi,ttime,time,
      |                                                            1~~~~
Warning: Unused dummy argument 'ttime' at (1) [-Wunused-dummy-argument]
/home/linuxbrew/.linuxbrew/opt/gcc/bin/gfortran -Wall -O2 -cpp  -c actideacti.f
cc1: error: ‘-Wno-error=return-mismatch’: no option ‘-Wreturn-mismatch’; did you mean ‘-Wargument-mismatch’?
make: *** [Makefile:9: ccx_2.23.o] Error 1
make: *** Waiting for unfinished jobs....

@ipatch
Copy link
Collaborator Author

ipatch commented Nov 22, 2025

macos-14 github hosted runner image, build error

2025-11-22T23:02:33.9441530Z readnewmesh.c:468:3: error: void function 'readnewmesh' should not return a value [-Wreturn-type]
2025-11-22T23:02:33.9441570Z   return NULL;
2025-11-22T23:02:33.9441610Z   ^      ~~~~
2025-11-22T23:02:33.9441650Z 1 error generated.
2025-11-22T23:02:33.9441710Z make: *** [readnewmesh.o] Error 1
2025-11-22T23:02:33.9441770Z make: *** Waiting for unfinished jobs....

@ipatch ipatch force-pushed the calculix-new-formula branch 2 times, most recently from e1a3aa2 to d97e3d9 Compare November 23, 2025 04:00
@ipatch
Copy link
Collaborator Author

ipatch commented Nov 23, 2025

everything is passing but ubuntu 22.04

2025-11-23T04:06:32.4285993Z 
2025-11-23T04:06:32.4286143Z    21 |      &     xflow,f,nodef,idirf,df,cp,R,physcon,numf,set,mi,ttime,time,
2025-11-23T04:06:32.4286233Z       |                                                                  1~~~
2025-11-23T04:06:32.4286388Z Warning: Unused dummy argument 'time' at (1) [-Wunused-dummy-argument]
2025-11-23T04:06:32.4286457Z absolute_relative.f:21:60:
2025-11-23T04:06:32.4286461Z 
2025-11-23T04:06:32.4286607Z    21 |      &     xflow,f,nodef,idirf,df,cp,R,physcon,numf,set,mi,ttime,time,
2025-11-23T04:06:32.4286696Z       |                                                            1~~~~
2025-11-23T04:06:32.4286851Z Warning: Unused dummy argument 'ttime' at (1) [-Wunused-dummy-argument]
2025-11-23T04:06:32.4287050Z /home/linuxbrew/.linuxbrew/opt/gcc/bin/gfortran -Wall -O2 -cpp  -c actideacti.f
2025-11-23T04:06:32.4287264Z /home/linuxbrew/.linuxbrew/opt/gcc/bin/gfortran -Wall -O2 -cpp  -c actideactistr.f
2025-11-23T04:06:32.4288228Z cc1: error: ‘-Wno-error=return-mismatch’: no option ‘-Wreturn-mismatch’; did you mean ‘-Wargument-mismatch’?
2025-11-23T04:06:32.4288341Z make: *** [Makefile:9: ccx_2.23.o] Error 1
2025-11-23T04:06:32.4288437Z make: *** Waiting for unfinished jobs....
2025-11-23T04:06:32.4288441Z 
2025-11-23T04:06:32.4288557Z �[34m==>�[0m �[1mFormula�[0m
2025-11-23T04:06:32.4288624Z Tap: freecad/freecad

@ipatch ipatch force-pushed the calculix-new-formula branch 3 times, most recently from febf803 to cc9d19d Compare November 23, 2025 21:45
@ipatch
Copy link
Collaborator Author

ipatch commented Nov 23, 2025

on macos-14 only github hosted runner,

2025-11-23T21:48:28.6317700Z ##[error]freecad/freecad/[email protected] 2.23 did not build
2025-11-23T21:48:28.6318440Z ##[endgroup]
2025-11-23T21:48:28.6318730Z ##[group]Truncated install --formula --build-bottle freecad/freecad/[email protected] output
2025-11-23T21:48:28.6343240Z ##[error]clang -Wall -O2 -I/private/tmp/calculixA2.23-20251123-54936-vez8ef/CalculiX/spooles -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -Wno-error=return-mismatch -c radflowload.c
clang -Wall -O2 -I/private/tmp/calculixA2.23-20251123-54936-vez8ef/CalculiX/spooles -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -Wno-error=return-mismatch -c randomfieldmain.c
clang -Wall -O2 -I/private/tmp/calculixA2.23-20251123-54936-vez8ef/CalculiX/spooles -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -Wno-error=return-mismatch -c readfrd.c
clang -Wall -O2 -I/private/tmp/calculixA2.23-20251123-54936-vez8ef/CalculiX/spooles -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -Wno-error=return-mismatch -c readinput.c
clang -Wall -O2 -I/private/tmp/calculixA2.23-20251123-54936-vez8ef/CalculiX/spooles -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -Wno-error=return-mismatch -c readnewmesh.c
readnewmesh.c:487:3: error: non-void function 'genratiomt' should return a value [-Wreturn-type]
  return;
  ^
1 error generated.
make: *** [readnewmesh.o] Error 1
make: *** Waiting for unfinished jobs....

==> Formula

@ipatch ipatch force-pushed the calculix-new-formula branch from cc9d19d to cb5bb24 Compare November 24, 2025 02:09
@ipatch ipatch self-assigned this Nov 24, 2025
@ipatch ipatch added the pr-pull label Nov 24, 2025
@github-actions github-actions bot closed this in 02c2765 Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant