(address . bug-guix@gnu.org)
Dear All,
I seem to be having problems with the installation of an image
processing application called ITK-SNAP [0, 1]. This is the error message
I get:
$ guix environment --pure --ad-hoc itk-snap
The following derivations will be built:
/gnu/store/qx7cx3gjqc709gla302yyaggbihq9kw0-itk-snap-3.8.0.drv
/gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv
building /gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv...
| 'configure' phasebuilder for `/gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv' failed with exit code 1
build of /gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv failed
View build log at '/var/log/guix/drvs/r3/ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv.bz2'.
cannot build derivation `/gnu/store/qx7cx3gjqc709gla302yyaggbihq9kw0-itk-snap-3.8.0.drv': 1 dependencies couldn't be built
guix environment: error: build of `/gnu/store/qx7cx3gjqc709gla302yyaggbihq9kw0-itk-snap-3.8.0.drv' failed
If I understand it correctly, this seems to indicate an underlying
problem with vtk-6. As a matter of fact, this also fails:
$ guix environment --pure --ad-hoc vtk@6.3.0
The following derivation will be built:
/gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv
building /gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv...
- 'configure' phasebuilder for `/gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv' failed with exit code 1
build of /gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv failed
View build log at '/var/log/guix/drvs/r3/ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv.bz2'.
guix environment: error: build of `/gnu/store/r3ndf5r2ck8n5h5sq4phipdvgmv5bagg-vtk-6.3.0.drv' failed
The output of the following command is attached.
$ bzcat /var/log/guix/drvs/r3/ndf5r2ck8n5h5sq4phipdvgmv5bagg\
-vtk-6.3.0.drv.bz2 | tail -n 50
Interestingly, a more recent version of vtk seems to install just fine.
$ guix environment --pure --ad-hoc vtk
[this works as expected]
It may be worth to mention that I'm running Guix on a foreign
distribution. This is how my guix self-describes itself:
$ guix describe
guix 8dcbd8a
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 8dcbd8a374f21f478f0059d4d62e364897e6e667
Is there anything you would suggest I could investigate to solve this?
Many thanks,
Fabio.
- [0] http://www.itksnap.org/
--
Fabio Natali
source directory: "/tmp/guix-build-vtk-6.3.0.drv-0/VTK-6.3.0" (relative from build: "../VTK-6.3.0")
build directory: "/tmp/guix-build-vtk-6.3.0.drv-0/build"
running 'cmake' with arguments ("../VTK-6.3.0" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/gnu/store/lpl2jjhy2yd4ipqasvw9frb6a2i7xnr3-vtk-6.3.0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/lpl2jjhy2yd4ipqasvw9frb6a2i7xnr3-vtk-6.3.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVTK_USE_EXTERNAL=OFF" "-DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_expat=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_freetype=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_libproj=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_libxml2=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_lz4=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_ogg=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_png=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_sqlite=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_theora=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_tiff=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_zlib=ON")
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/gcc
-- Check for working C compiler: /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++
-- Check for working CXX compiler: /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
-- Performing Test HAVE_GCC_VISIBILITY
-- Performing Test HAVE_GCC_VISIBILITY - Success
CMake Error at CMake/vtkCompilerExtras.cmake:47 (if):
if given arguments:
"gcc: error: ARGS: No such file or directory
gcc (GCC) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software" " see the source for copying conditions. There is
NO
warranty" " not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
" "VERSION_GREATER" "4.2.0" "AND" "BUILD_SHARED_LIBS" "AND"
"HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY" "AND" "NOT" "MINGW"
"AND" "NOT" "CYGWIN"
Unknown arguments specified
Call Stack (most recent call first):
CMakeLists.txt:283 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/guix-build-vtk-6.3.0.drv-0/build/CMakeFiles/CMakeOutput.log".
command "cmake" "../VTK-6.3.0" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/gnu/store/lpl2jjhy2yd4ipqasvw9frb6a2i7xnr3-vtk-6.3.0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/lpl2jjhy2yd4ipqasvw9frb6a2i7xnr3-vtk-6.3.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVTK_USE_EXTERNAL=OFF" "-DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_expat=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_freetype=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_libproj=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_libxml2=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_lz4=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_ogg=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_png=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_sqlite=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_theora=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_tiff=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_zlib=ON" failed with status 1