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

Bug 741900

Summary: sci-visualization/paraview-5.8.1 fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED DUPLICATE    
Severity: normal CC: benjamin.reveille, mail
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
patch

Description Agostino Sarubbo gentoo-dev 2020-09-12 18:29:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-visualization/paraview-5.8.1 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-12 18:29:55 UTC
Created attachment 659802 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Benjamin Réveillé 2020-09-13 10:39:01 UTC
Same thing here.

The main error seems to be:
/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Rendering/Qt/vtkQtStringToImage.cxx: Dans la fonction membre « virtual vtkVector2i vtkQtStringToImage::GetBounds(vtkTextProperty*, const vtkUnicodeString&, int) »:
/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Rendering/Qt/vtkQtStringToImage.cxx:105:16: erreur: l'agrégat « QPainterPath path » a un type incomplet et ne peut être défini
  105 |   QPainterPath path;
      |                ^~~~
/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Rendering/Qt/vtkQtStringToImage.cxx: Dans la fonction membre « virtual vtkVector2i vtkQtStringToImage::GetBounds(vtkTextProperty*, const vtkStdString&, int) »:
/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Rendering/Qt/vtkQtStringToImage.cxx:136:16: erreur: l'agrégat « QPainterPath path » a un type incomplet et ne peut être défini
  136 |   QPainterPath path;
      |                ^~~~
/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Rendering/Qt/vtkQtStringToImage.cxx: Dans la fonction membre « virtual int vtkQtStringToImage::RenderString(vtkTextProperty*, const vtkUnicodeString&, int, vtkImageData*, int*) »:
/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Rendering/Qt/vtkQtStringToImage.cxx:181:16: erreur: l'agrégat « QPainterPath path » a un type incomplet et ne peut être défini
  181 |   QPainterPath path;
Comment 3 foufou33 2020-09-15 18:31:36 UTC
Created attachment 660435 [details, diff]
patch

the attached patch worked for me
Comment 4 Agostino Sarubbo gentoo-dev 2020-09-24 08:23:46 UTC
Hello, thanks for the patch. I believe you can speed up the process by making a pull-request via Github.
Comment 5 Andreas Sturmlechner gentoo-dev 2020-11-22 00:38:39 UTC
Looking forward to meaningful summaries.

This was fixed in 5.8.0 already, so 5.8.1 regressed.

*** This bug has been marked as a duplicate of bug 729348 ***