#1145107 src:netgen: netgen 6.2.2605 introduced a breaking change for FreeCAD (API refactored)

Package:
netgen
Source:
netgen
Description:
Automatic 3d tetrahedral mesh generator
Submitter:
Tobias Frost
Date:
2026-09-07 14:37:01 UTC
Severity:
normal
#1145107#5
Date:
2026-08-22 16:14:29 UTC
From:
To:
Hi,

netgen has refactored in 6.2.2605 the Segments interface [1].
Unfortuntatly FreeCAD is using this interface for salmonmesh,
therefore causing FTBFS. This (I believe) has been reported upstream as [2].
Unfortuntaly I could only come up with an partial fix, see [2].

I can disable the netgen plugin in FreeCAD, but this will lose
functionality.

Do you have an idea how to solve the issue?

Would it be a possiblity to revert the upload to 2604 until FreeCAD
upstream has found an solution?

[1] https://github.com/NGSolve/netgen/commit/074bc99a7c4ae247d8afb9aa60c4c436d99621b7
[2] https://github.com/FreeCAD/FreeCAD/issues/32105

#1145107#12
Date:
2026-08-22 18:07:11 UTC
From:
To:
Hi Tobi,
apologies for causing the problem, I didn't realize that there was this breaking
change.

I can revert the upload, but can we wait a few days to see if FreeCAD upstream
provides a patch quickly? The issue you linked was just opened 11 hours ago (on
a weekend). Do they typically answer quickly to these issues?

Thanks,
Francesco

#1145107#17
Date:
2026-08-23 06:53:47 UTC
From:
To:
Hi Francesco,

Thanks for your quick reply!

I agree, we should wait if upstream comes up with an solution;
(there is also no urgency, as e.g med-fichier is RC-buggy and will
prevent FreeCAD to migrate to testing anyways.)

#1145107#22
Date:
2026-08-23 11:12:09 UTC
From:
To:
Hi Francesco,

After FreeCAD upstream pointed into this direction:
"2606" seems not to be a "release", it has been only tagged upstream,
but it is not showing up as a release. Maybe 2606 isn't intended as a
release, maybe upstream changed how they release, I don't know, just
wanted to add this observation...

Still no urgency; (I've disabled netgen usage in FreeCAD for the
moment.)

#1145107#27
Date:
2026-09-07 14:34:22 UTC
From:
To:
Hi,

FreeCAD upstream has now rolled back Netgen to the previous version as a workaround for this incompatibility.

Would you consider doing the same in Debian and reverting Netgen to 6.2.2604 for the time being? This would seem preferable to keeping FreeCAD without Netgen support while the compatibility issue is being resolved upstream.

Thanks,
Mike