Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928879 - media-gfx/freecad-0.21.2-r2: build fails with vtk 9.3
Summary: media-gfx/freecad-0.21.2-r2: build fails with vtk 9.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-04-07 11:41 UTC by Yehoshua Wallach
Modified: 2024-05-07 12:52 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yehoshua Wallach 2024-04-07 11:41:35 UTC
freecad cannot compile with VTK-9.3.

```
/var/tmp/portage/media-gfx/freecad-0.21.2-r2/work/FreeCAD-0.21.2/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp: In member function ‘void SMDS_Unst
ructuredGrid::BuildLinks()’:
/var/tmp/portage/media-gfx/freecad-0.21.2-r2/work/FreeCAD-0.21.2/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp:1029:25: error: no matching function for call to ‘vtkCellLinks::BuildLinks(SMDS_UnstructuredGrid*)’
 1029 |   GetLinks()->BuildLinks(this);
      |   ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
```

see https://forum.freecad.org/viewtopic.php?t=82814 for the same issue,
and a fix - https://github.com/FreeCAD/FreeCAD/pull/11496/commits/68d380a64e033c40fcb9a6dc322d9e0178de52ee which is already in freecad master
Comment 1 Larry the Git Cow gentoo-dev 2024-05-07 12:52:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9161542718b9840ff37f5c27b22b7c3a8e3fd214

commit 9161542718b9840ff37f5c27b22b7c3a8e3fd214
Author:     Yehoshua Pesach Wallach <yehoshuapw@gmail.com>
AuthorDate: 2024-04-07 15:51:09 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-05-07 12:52:13 +0000

    media-gfx/freecad: adds upstream patch for compiling with VTK-9.3
    
    Closes: https://bugs.gentoo.org/928879
    Signed-off-by: Yehoshua Pesach Wallach <yehoshuapw@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36153
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../freecad/files/freecad-0.21.2-vtk9.3-fix.patch  | 33 ++++++++++++++++++++++
 media-gfx/freecad/freecad-0.21.2-r2.ebuild         |  5 ++--
 media-gfx/freecad/freecad-9999.ebuild              |  4 +--
 3 files changed, 38 insertions(+), 4 deletions(-)