Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520310 - sci-libs/vtk-5.10.1 - CMake Error at CMake/vtkThirdParty.cmake:19 (MESSAGE): VTK_USE_SYSTEM_FREETYPE is ON, but FREETYPE_LIBRARY is NOTFOUND.
Summary: sci-libs/vtk-5.10.1 - CMake Error at CMake/vtkThirdParty.cmake:19 (MESSAGE): ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-20 10:53 UTC by marek wojciechowski
Modified: 2014-12-26 12:22 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge.info,5.36 KB, text/plain)
2014-08-20 10:55 UTC, marek wojciechowski
Details
build.log (build.log,19.89 KB, text/plain)
2014-08-20 10:58 UTC, marek wojciechowski
Details
CMakeOutput.log (CMakeOutput.log,181.61 KB, text/x-log)
2014-08-20 11:05 UTC, marek wojciechowski
Details
CMakeError.log (CMakeError.log,41.17 KB, text/x-log)
2014-08-20 11:05 UTC, marek wojciechowski
Details
vtk-5.10.1-freetype.patch (vtk-5.10.1-freetype.patch,720 bytes, patch)
2014-08-20 17:55 UTC, marek wojciechowski
Details | Diff
vtk-5.10.1-r1.ebuild (vtk-5.10.1-r1.ebuild,7.46 KB, text/plain)
2014-08-20 17:56 UTC, marek wojciechowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marek wojciechowski 2014-08-20 10:53:26 UTC
When i try to emerge vtk-5.10.1 the build process stops at configuration step with an error.

Reproducible: Always

Actual Results:  
cannot emerge vtk-5.10.1

Expected Results:  
can emerge vtk-5.10.1

It seems that configuration stops at checking something in opengl implementation. I have nvidia graphic card and I obtain the same error when using proprietary driver with proprietary opengl and the nouveau driver with x11-xorg opengl.
Comment 1 marek wojciechowski 2014-08-20 10:55:16 UTC
Created attachment 383182 [details]
emerge --info
Comment 2 marek wojciechowski 2014-08-20 10:58:23 UTC
Created attachment 383184 [details]
build.log
Comment 3 marek wojciechowski 2014-08-20 11:05:31 UTC
Created attachment 383186 [details]
CMakeOutput.log
Comment 4 marek wojciechowski 2014-08-20 11:05:58 UTC
Created attachment 383190 [details]
CMakeError.log
Comment 5 marek wojciechowski 2014-08-20 17:52:23 UTC
emerge vtk-5.10.1 fails at configure
Comment 6 marek wojciechowski 2014-08-20 17:55:16 UTC
Created attachment 383216 [details, diff]
vtk-5.10.1-freetype.patch

Added patch for finding freetype based on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732059
Comment 7 marek wojciechowski 2014-08-20 17:56:28 UTC
Created attachment 383218 [details]
vtk-5.10.1-r1.ebuild

Added modified ebuild which uses the freetype patch.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2014-08-21 08:53:25 UTC
As already said in the debian bug, we shouldn't do this ugly hack but use the proper cmake way.
Comment 9 marek wojciechowski 2014-10-07 08:46:53 UTC
Can you provide this "clean cmake way"? The current patch at least works...
Comment 10 Jan Marten Simons 2014-10-10 15:05:02 UTC
(In reply to marek wojciechowski from comment #9)
> Can you provide this "clean cmake way"? The current patch at least works...

Upsteam has fixed this in the newer version (6.0.0). So unless 5.10.1 is to be removed right now, the patch should imho be applied to get this version working (again) at least.
Comment 11 Jan Marten Simons 2014-10-10 15:06:18 UTC
(In reply to marek wojciechowski from comment #6)
> Created attachment 383216 [details, diff] [details, diff]
> vtk-5.10.1-freetype.patch
> 
> Added patch for finding freetype based on
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732059

I can confirm this patch working (despite being an ugly hack ;))
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2014-12-26 12:22:33 UTC
+*vtk-6.1.0 (26 Dec 2014)
+
+  26 Dec 2014; Justin Lecher <jlec@gentoo.org> -vtk-5.10.0.ebuild,
+  -vtk-5.10.1.ebuild, vtk-6.0.0.ebuild, +vtk-6.1.0.ebuild,
+  +files/vtk-6.1.0-freetype.patch, +files/vtk-6.1.0-glext.patch,
+  +files/vtk-6.1.0-install.patch, +files/vtk-6.1.0-netcdf.patch,
+  +files/vtk-6.1.0-system.patch, +files/vtk-6.1.0-web.patch, metadata.xml:
+  Version BUmp, #500814; fixes GLintptr declaration problems, #523786; Add slot
+  operators to dependencies, #531040; drop old which obsoletes, #477638,
+  #497224, #520310
+