Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927222

Summary: media-gfx/freecad-0.21.2-r2: build failure with sci-libs/vtk-9.3.0
Product: Gentoo Linux Reporter: vowstar <vowstar>
Component: Current packagesAssignee: Paul Zander <negril.nx+gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, vowstar
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description vowstar 2024-03-18 04:41:00 UTC
Build failed with sci-libs/vtk-9.3.0, the error is SMDS_UnstructuredGrid.cpp:1029:25: error: no matching function for call to ‘vtkCellLinks::BuildLinks(SMDS_UnstructuredGrid*)’

Reproducible: Always

Steps to Reproduce:
1. emerge =sci-libs/vtk-9.3.0
2. emerge media-gfx/freecad

Actual Results:  
error with SMDS_UnstructuredGrid.cpp:1029:25: error: no matching function for call to ‘vtkCellLinks::BuildLinks(SMDS_UnstructuredGrid*)’

Expected Results:  
Success build

This is a known problem: https://forum.freecad.org/viewtopic.php?t=82814

The patch is https://gitlab.archlinux.org/archlinux/packaging/packages/freecad/-/blob/c2e2e082a68f957382e2cf3ecc403f07becf2c8e/freecad-vtk9.3.patch
Comment 1 vowstar 2024-03-18 04:43:19 UTC
Created attachment 887860 [details]
build.log
Comment 3 Larry the Git Cow gentoo-dev 2024-03-23 11:21:00 UTC
The bug has been referenced in the following commit(s):

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

commit aec924cd3c64f2c349cea2ef26acc2fe1757c546
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2024-03-23 11:20:26 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-03-23 11:20:26 +0000

    media-gfx/freecad: update vtk dependency
    
    Bug: https://bugs.gentoo.org/927222
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 media-gfx/freecad/freecad-0.20.2-r1.ebuild | 4 ++--
 media-gfx/freecad/freecad-0.20.2-r2.ebuild | 4 ++--
 media-gfx/freecad/freecad-0.20.2.ebuild    | 4 ++--
 media-gfx/freecad/freecad-0.21.2-r2.ebuild | 4 ++--
 media-gfx/freecad/freecad-9999.ebuild      | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)