Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727130 - sci-libs/volk-2.3.0 - CMake Error at CMakeLists.txt:128 (message): Mako templates required to build VOLK
Summary: sci-libs/volk-2.3.0 - CMake Error at CMakeLists.txt:128 (message): Mako tem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-04 13:36 UTC by AI0867
Modified: 2020-06-08 16:58 UTC (History)
1 user (show)

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


Attachments
emerge --info '=sci-libs/volk-2.3.0::gentoo' (emerge-info,6.82 KB, text/plain)
2020-06-04 13:36 UTC, AI0867
Details
volk build log (build.log,3.95 KB, text/x-log)
2020-06-05 07:01 UTC, AI0867
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AI0867 2020-06-04 13:36:05 UTC
Created attachment 643416 [details]
emerge --info '=sci-libs/volk-2.3.0::gentoo'

Building volk 2.3.0 because CMake cannot find mako.

Mako 1.1.2 is installed, but it is only installed for python 2.7 and 3.7, while the volk build uses python 3.8. I believe that is the issue.

Relevant part of emerge output:

-- Found PythonInterp: /usr/bin/python (found suitable version "3.8.2", minimum required is "3") 
-- 
-- Python checking for python >= 3.4
-- Python checking for python >= 3.4 - found
-- 
-- Python checking for mako >= 0.4.2
-- Python checking for mako >= 0.4.2 - not found
CMake Error at CMakeLists.txt:128 (message):
  Mako templates required to build VOLK
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-06-05 06:29:59 UTC
Please attach the entire build log to this bug report.
Comment 2 AI0867 2020-06-05 07:01:35 UTC
Created attachment 643508 [details]
volk build log
Comment 3 Michiel Derhaeg 2020-06-05 23:29:06 UTC
Encountered the same issue.
Indeed caused by the CMake trying to use python 3.8 instead of 3.7.
Only the latter has Mako installed.

Setting `-DPYTHON_EXECUTABLE` when invoking CMake to the correct `python3.7` binary fixed it for me.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2020-06-08 16:58:43 UTC
This should be fixed in -r1, apologies for -r0, it was...poor.