tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

help with pdal-lib build failure due to incomplete buildlinking of vtk (?)



Hi,

I got this issue building geography/pdal-lib with vtk option (assuming
that current frozen branch has the same issue):

CMake Error at /dev/shm/sw/env/gcc-9.2.0_openmpi-4.0.2/pkgsrc/2022Q1/bw/graphics/pcl/work/.buildlink/lib/cmake/vtk-9.0/VTK-targets.cmake:1159 (message):
  The imported target "VTK::vtkProbeOpenGLVersion" references the file

     "/dev/shm/sw/env/gcc-9.2.0_openmpi-4.0.2/pkgsrc/2022Q1/bw/graphics/pcl/work/.buildlink/bin/vtkProbeOpenGLVersion-9.0"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/dev/shm/sw/env/gcc-9.2.0_openmpi-4.0.2/pkgsrc/2022Q1/bw/graphics/pcl/work/.buildlink/lib/cmake/vtk-9.0/VTK-targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /dev/shm/sw/env/gcc-9.2.0_openmpi-4.0.2/pkgsrc/2022Q1/bw/graphics/pcl/work/.buildlink/lib/cmake/vtk-9.0/vtk-config.cmake:126 (include)
  cmake/pcl_find_vtk.cmake:25 (find_package)
  CMakeLists.txt:377 (include)


Now I did that and a subsequent build seems to get over the hurdle:

ln -s \
 /sw/env/gcc-9.2.0_openmpi-4.0.2/pkgsrc/2022Q1/bin/vtkProbeOpenGLVersion-9.0 \
 /dev/shm/sw/env/gcc-9.2.0_openmpi-4.0.2/pkgsrc/2022Q1/bw/graphics/pcl/work/.buildlink/bin/vtkProbeOpenGLVersion-9.0

(/dev/shm/ is really fine, this machine got _lots_ of RAM;-)

Now, the buildlink system should have linked in this file from vtk, but
did not do so? Some way how I can properly enforce it? Is this
unexpected?


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg


Home | Main Index | Thread Index | Old Index