Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820521 - sci-libs/vtk-9.0.3: fatal error: proj_api.h: No such file or directory
Summary: sci-libs/vtk-9.0.3: fatal error: proj_api.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Bernd
URL: https://gitlab.kitware.com/vtk/vtk/-/...
Whiteboard:
Keywords: PullRequest
: 820533 (view as bug list)
Depends on:
Blocks: PROJ-8
  Show dependency tree
 
Reported: 2021-10-27 14:30 UTC by Andrew Ammerlaan
Modified: 2021-12-14 08:36 UTC (History)
6 users (show)

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


Attachments
build log (build.tar.gz,380.75 KB, application/gzip)
2021-10-27 14:32 UTC, Andrew Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ammerlaan gentoo-dev 2021-10-27 14:30:51 UTC
sci-libs/vtk-9.0.3::gentoo was built with the following:
USE="X boost ffmpeg imaging json openmp python qt5 rendering theora -all-modules -cuda -doc -examples -gdal -java -kits -mpi -mysql -odbc -offscreen -pegtl -postgres -tbb -test -tk -views -web" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_9" VIDEO_CARDS="-nvidia"
FEATURES="strict config-protect-if-modified binpkg-logs binpkg-dostrip network-sandbox sign multilib-strict unmerge-logs usersync fixlafiles preserve-libs xattr assume-digests news usersandbox ipc-sandbox getbinpkg qa-unresolved-soname-deps sandbox merge-sync unmerge-orphans parallel-install buildpkg parallel-fetch binpkg-multi-instance unknown-features-warn distlocks sfperms binpkg-docompress protect-owned pid-sandbox userpriv userfetch ebuild-locks"

Fails to build:

FAILED: Geovis/Core/CMakeFiles/GeovisCore.dir/vtkGeoTransform.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DGeovisCore_EXPORTS -DVTK_IN_VTK -DvtkRenderingCore_AUTOINIT_INCLUDE=\"/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/CMakeFiles/vtkModuleAutoInit_9b5895f873bcba09752b0c704bf968d6.h\" -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Geovis/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Geovis/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Common/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Common/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Common/DataModel -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Common/DataModel -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Common/Math -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Common/Math -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Common/Transforms -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Common/Transforms -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Common/ExecutionModel -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Common/ExecutionModel -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Infovis/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Infovis/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Common/Color -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Common/Color -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/IO/Image -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/IO/Image -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Imaging/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Imaging/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Imaging/Sources -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Imaging/Sources -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Rendering/FreeType -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Rendering/FreeType -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Rendering/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Rendering/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Filters/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Filters/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Common/Misc -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Common/Misc -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Interaction/Style -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Interaction/Style -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Interaction/Widgets -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Interaction/Widgets -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Filters/General -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Filters/General -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Filters/Sources -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Filters/Sources -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Views/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Views/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Common/System -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Common/System -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/IO/XML -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/IO/XML -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/IO/XMLParser -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/IO/XMLParser -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Infovis/Layout -I/var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Infovis/Layout -isystem /var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Utilities/KWIML -isystem /var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Utilities/KWIML -isystem /var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/Utilities/KWSys -isystem /var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Utilities/KWSys -isystem /var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/ThirdParty/freetype -isystem /var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/ThirdParty/freetype -isystem /usr/include/freetype2 -isystem /var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/ThirdParty/libproj -isystem /var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/ThirdParty/libproj  -O2 -pipe -march=skylake -mabm -mtune=native  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -std=c++11 -MD -MT Geovis/Core/CMakeFiles/GeovisCore.dir/vtkGeoTransform.cxx.o -MF Geovis/Core/CMakeFiles/GeovisCore.dir/vtkGeoTransform.cxx.o.d -o Geovis/Core/CMakeFiles/GeovisCore.dir/vtkGeoTransform.cxx.o -c /var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Geovis/Core/vtkGeoTransform.cxx
In file included from /var/tmp/portage/sci-libs/vtk-9.0.3/work/VTK-9.0.3/Geovis/Core/vtkGeoTransform.cxx:29:
/var/tmp/portage/sci-libs/vtk-9.0.3/work/vtk-9.0.3_build/ThirdParty/libproj/vtk_libproj.h:38:11: fatal error: proj_api.h: No such file or directory
38 | # include <proj_api.h>
Comment 1 Andrew Ammerlaan gentoo-dev 2021-10-27 14:32:21 UTC
Created attachment 747003 [details]
build log
Comment 2 Larry the Git Cow gentoo-dev 2021-10-27 15:09:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99328bfb5c353a60de6a577a71e460cf3d2bab07

commit 99328bfb5c353a60de6a577a71e460cf3d2bab07
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-27 15:08:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-27 15:08:55 +0000

    sci-libs/vtk: depend on < PROJ 8 for now
    
    Should be fixed in 9.1.0 anyway.
    
    Bug: https://bugs.gentoo.org/820521
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/vtk/{vtk-9.0.3.ebuild => vtk-9.0.3-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-27 15:52:21 UTC
*** Bug 820533 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2021-12-14 08:36:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6010f1d0f545b9ddf5f2ee3fd673332d8342821a

commit 6010f1d0f545b9ddf5f2ee3fd673332d8342821a
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2021-11-05 19:34:22 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-12-14 08:36:16 +0000

    sci-libs/vtk: bump to 9.1.0
    
    Bug: https://bugs.gentoo.org/820593
    Closes: https://bugs.gentoo.org/822780
    Closes: https://bugs.gentoo.org/820521
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sci-libs/vtk/Manifest         |   6 +
 sci-libs/vtk/vtk-9.1.0.ebuild | 596 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 602 insertions(+)