Bug#903577: lua-torch-cutorch: FTBFS: does not find Torch

Andreas Beckmann anbe at debian.org
Wed Jul 11 14:47:24 BST 2018


Source: lua-torch-cutorch
Version: 0~20170911-g5e9d86c-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

lua-torch-cutorch recently started to FTBFS in an up-to-date sid
environment.

dh_auto_configure --buildsystem=cmake --builddirectory=THC.build -- \
        ../lib/THC -DLUA=/usr/bin/lua5.1 -DLUA_INCDIR=/usr/include/lua5.1 -DLUA_LIBDIR=/usr/lib -DLUA_BINDIR=/usr/bin -DLIBDIR=/usr/lib -DLUALIB=lua5.1 -DTorch_INSTALL_BIN_SUBDIR=bin/ -DTorch_INSTALL_LIB_SUBDIR=li
b/x86_64-linux-gnu/ -DTorch_INSTALL_INCLUDE_SUBDIR=include/ -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="-I/usr/include/TH -g" -DCMAKE_CXX_FLAGS="-I/usr/inclu
de/TH -g" -DTorch_FOUND=ON \
        -DTorch_INSTALL_CMAKE_SUBDIR=/usr/share/libtorch-thc-dev/
        cd THC.build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=O
N -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g\+\+-6 ../lib/THC -DLUA=/usr/bin/lua5.1 -DLUA_INCDIR=/usr/include/lu
a5.1 -DLUA_LIBDIR=/usr/lib -DLUA_BINDIR=/usr/bin -DLIBDIR=/usr/lib -DLUALIB=lua5.1 -DTorch_INSTALL_BIN_SUBDIR=bin/ -DTorch_INSTALL_LIB_SUBDIR=lib/x86_64-linux-gnu/ -DTorch_INSTALL_INCLUDE_SUBDIR=include/ -DCMAKE_V
ERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "-DCMAKE_C_FLAGS=-I/usr/include/TH -g" "-DCMAKE_CXX_FLAGS=-I/usr/include/TH -g" -DTorch_FOUND=ON -DTorch_INSTALL_CMAKE_SUBDIR=/usr/share/libtorch-thc-dev/ ..
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- Check for working C compiler: /usr/bin/gcc-6
-- Check for working C compiler: /usr/bin/gcc-6 -- 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: /usr/bin/g++-6
-- Check for working CXX compiler: /usr/bin/g++-6 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:6 (FIND_PACKAGE):
  By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Torch", but
  CMake did not find one.

  Could not find a package configuration file provided by "Torch" with any of
  the following names:

    TorchConfig.cmake
    torch-config.cmake

  Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set
  "Torch_DIR" to a directory containing one of the above files.  If "Torch"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lua-torch-cutorch_0~20170911-g5e9d86c-2.log.gz
Type: application/gzip
Size: 16493 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180711/f49cfc48/attachment-0001.gz>


More information about the debian-science-maintainers mailing list