Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653588 - sci-libs/vtk-8.1.0-r1 - CMake Error at ThirdParty/constantly/cmake_install.cmake:48 (file): file INSTALL cannot find ".../work/vtk-8.1.0_build/Wrapping/Python/constantly".
Summary: sci-libs/vtk-8.1.0-r1 - CMake Error at ThirdParty/constantly/cmake_install.cm...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-20 03:07 UTC by Marco Clocchiatti
Modified: 2020-05-01 21:06 UTC (History)
6 users (show)

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


Attachments
emerge --info (emerge-info.txt,9.04 KB, text/plain)
2018-04-20 03:07 UTC, Marco Clocchiatti
Details
build.log.xz (build.log.xz,227.18 KB, application/x-xz)
2018-04-20 03:10 UTC, Marco Clocchiatti
Details
environment (environment.xz,48.72 KB, application/x-xz)
2018-04-20 03:11 UTC, Marco Clocchiatti
Details
ebuild patch (vtk-8.1.0-WrappingPython.patch,558 bytes, patch)
2018-07-24 06:33 UTC, Marco Clocchiatti
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2018-04-20 03:07:04 UTC
Created attachment 528070 [details]
emerge --info

sci-libs/vtk-8.1.0-r1 failes to build with error: "file INSTALL cannot find portage/sci-libs/vtk-8.1.0-r1/work/vtk-8.1.0_build/Wrapping/Python/constantly"
Comment 1 Marco Clocchiatti 2018-04-20 03:10:30 UTC
Created attachment 528072 [details]
build.log.xz
Comment 2 Marco Clocchiatti 2018-04-20 03:11:09 UTC
Created attachment 528074 [details]
environment
Comment 3 Marco Clocchiatti 2018-07-24 06:33:20 UTC
Created attachment 540702 [details, diff]
ebuild patch

minimal workaround to pass ebuild install fase.

tested with vtk-8.1.0-r1.ebuild version.
Comment 4 hangglider 2018-09-10 20:03:16 UTC
patch works for vtk-8.1.0-r2 too
Comment 5 Attila Tóth 2019-04-02 13:42:24 UTC
(In reply to Marco Clocchiatti from comment #3)
> Created attachment 540702 [details, diff] [details, diff]
> ebuild patch
> 
> minimal workaround to pass ebuild install fase.
> 
> tested with vtk-8.1.0-r1.ebuild version.

Patch works for vtk-8.1.0-r3.ebuild too.
Comment 6 hangglider 2019-07-19 20:32:57 UTC
just trying patch for vtk-8.1.0-r3 - problem reoccurs there.
Comment 7 Alessandro Barbieri 2019-09-02 03:15:51 UTC
which USE will trigger this?
Comment 8 hangglider 2019-09-02 15:20:59 UTC
Looking at the ebuild I'd say: web, because it needs dev-python/constantly. Trying out, will report if the problem remains without USE=web.
Comment 9 hangglider 2019-09-02 21:41:39 UTC
USE=web triggers the problem, as it will require dev-python/constantly. With USE=-web ebuild works fine.
Comment 10 Thomas Beutin 2019-09-03 13:54:25 UTC
(In reply to hangglider from comment #9)
> USE=web triggers the problem, as it will require dev-python/constantly. With
> USE=-web ebuild works fine.

but dev-python/constantly-15.1.0 is installed here...!?
Comment 11 hangglider 2019-09-03 16:49:41 UTC
(In reply to Thomas Beutin from comment #10)
> (In reply to hangglider from comment #9)
> > USE=web triggers the problem, as it will require dev-python/constantly. With
> > USE=-web ebuild works fine.
> 
> but dev-python/constantly-15.1.0 is installed here...!?

yes, same @here. But the ebuild or build process both don't create the directories needed for that (below BUILD_DIR, usually /var/tmp/portage/sci-libs/vtk*). The patch only inserts some code into the ebuild for creating some of the directories needed.

So far, we could also think of it as an upstream bug, IMHO the package build process should create all dirs needed for any given configuration, but I'm not so familiar with the vtk build at all to be able to decide that.
Comment 12 Matthias Maier gentoo-dev 2020-05-01 15:12:02 UTC
Please test again with version 8.2.0
Comment 13 Attila Tóth 2020-05-01 17:21:56 UTC
(In reply to Matthias Maier from comment #12)
> Please test again with version 8.2.0

It is OK for me, although I'm using my own 8.2.0 ebuild for some time now.
Comment 14 hangglider 2020-05-01 19:00:29 UTC
vtk-8.2.0 ebuild is missing pugixml as dependency. Just retrying with that.
Comment 15 hangglider 2020-05-01 21:06:50 UTC
Doesn't compile for me, but seems to be another problem:

FAILED: Geovis/Core/CMakeFiles/vtkGeovisCore.dir/vtkGeoProjection.cxx.o                                   
/usr/bin/x86_64-pc-linux-gnu-g++ -DVTK_IN_VTK -DvtkGeovisCore_EXPORTS -IGeovis/Core -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Geovis/Core -ICommon/Core -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.
2.0/Common/Core -IUtilities/KWIML -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Utilities/KWIML -IUtilities/KWSys -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Utilities/KWSys -IThirdParty/utf8 -I/v
ar/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/utf8 -ICommon/DataModel -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Common/DataModel -ICommon/Math -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/V
TK-8.2.0/Common/Math -ICommon/Misc -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Common/Misc -ICommon/System -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Common/System -ICommon/Transforms -I/var/tm
p/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Common/Transforms -ICommon/ExecutionModel -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Common/ExecutionModel -IFilters/Core -I/var/tmp/portage/sci-libs/vtk-8.2.
0/work/VTK-8.2.0/Filters/Core -IFilters/General -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Filters/General -ICommon/ComputationalGeometry -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Common/Comp
utationalGeometry -IIO/Image -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/IO/Image -IUtilities/DICOMParser -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Utilities/DICOMParser -IUtilities/MetaIO/vtk
metaio -IUtilities/MetaIO -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Utilities/MetaIO -IThirdParty/zlib -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/zlib -IThirdParty/jpeg -I/var/tmp/
portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/jpeg -IThirdParty/png -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/png -IThirdParty/tiff -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.
0/ThirdParty/tiff -IIO/XML -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/IO/XML -IIO/Core -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/IO/Core -IThirdParty/doubleconversion -I/var/tmp/portage/sci-l
ibs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/doubleconversion -I/usr/include/double-conversion -IThirdParty/lz4 -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/lz4 -IThirdParty/lzma -I/var/tmp/portage/
sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/lzma -IIO/XMLParser -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/IO/XMLParser -IThirdParty/expat -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdPart
y/expat -IImaging/Core -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Imaging/Core -IImaging/Sources -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Imaging/Sources -IInfovis/Core -I/var/tmp/portage/sc
i-libs/vtk-8.2.0/work/VTK-8.2.0/Infovis/Core -IFilters/Extraction -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Filters/Extraction -IFilters/Statistics -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/
Filters/Statistics -IImaging/Fourier -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Imaging/Fourier -IThirdParty/eigen -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/eigen -I/usr/include/ei
gen3 -IInfovis/Layout -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Infovis/Layout -IFilters/Modeling -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Filters/Modeling -IFilters/Sources -I/var/tmp/port
age/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Filters/Sources -IImaging/Hybrid -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Imaging/Hybrid -IInteraction/Style -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/
Interaction/Style -IRendering/Core -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Rendering/Core -ICommon/Color -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Common/Color -IFilters/Geometry -I/var/tm
p/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Filters/Geometry -IInteraction/Widgets -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Interaction/Widgets -IFilters/Hybrid -I/var/tmp/portage/sci-libs/vtk-8.2.0/w
ork/VTK-8.2.0/Filters/Hybrid -IImaging/Color -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Imaging/Color -IImaging/General -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Imaging/General -IRendering/A
nnotation -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Rendering/Annotation -IRendering/FreeType -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Rendering/FreeType -IThirdParty/freetype -I/var/tmp/po
rtage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/freetype -I/usr/include/freetype2 -IRendering/Volume -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Rendering/Volume -IViews/Core -I/var/tmp/portage/sci-li
bs/vtk-8.2.0/work/VTK-8.2.0/Views/Core -IThirdParty/libproj -I/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/ThirdParty/libproj  -D__STDC_CONSTANT_MACROS -D_UNICODE -DNDEBUG -march=haswell -O2 -pipe  -fPIC -f
visibility=hidden   -std=c++11 -MD -MT Geovis/Core/CMakeFiles/vtkGeovisCore.dir/vtkGeoProjection.cxx.o -MF Geovis/Core/CMakeFiles/vtkGeovisCore.dir/vtkGeoProjection.cxx.o.d -o Geovis/Core/CMakeFiles/vtkGeovisCore
.dir/vtkGeoProjection.cxx.o -c /var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Geovis/Core/vtkGeoProjection.cxx
In file included from /var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/Geovis/Core/vtkGeoProjection.cxx:30:
ThirdParty/libproj/vtk_libproj.h:21:11: fatal error: projects.h: No such file or directory                
   21 | # include <projects.h>                       
      |           ^~~~~~~~~~~~                       
compilation terminated.