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: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-20 03:07 UTC by Marco Clocchiatti
Modified: 2019-09-03 16:49 UTC (History)
5 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.