Package: cmake Version: 3.5.0-1 Severity: normal Tags: patch Dear Maintainer,
(This is a copy of my report on the CMake mantis site: https://public.kitware.com/Bug/view.php?id=16027 ) I've been using CMake on Debian Stretch with CUDA. I'm not sure what the version was until recently, but everything worked fine for me. Then I started getting errors such as: "/usr/local/cuda/bin/gcc": No such file or directory CMakeFiles/whatever/build.make:2335: recipe for target 'CMakeFiles/wherever/foo.o' failed The culprit seems to be /usr/share/cmake/Modules/FindCUDA.cmake, line 1554. Pseudo-patch: - list(APPEND nvcc_flags -ccbin "\"${CUDA_HOST_COMPILER}\"") + list(APPEND nvcc_flags -ccbin "${CUDA_HOST_COMPILER}") that resolves the issue. ... also, other than the bug - I don't think it's reasonable for cmake to suggest eclipse or codeblocks, that's kind of out-of-scope IMHO. Cheers, Eyal -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (1000, 'testing'), (750, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages cmake depends on: ii cmake-data 3.5.0-1 ii dpkg 1.18.4 ii libarchive13 3.1.2-11+b1 ii libc6 2.22-3 ii libcurl3 7.47.0-1 ii libexpat1 2.1.0-7 ii libgcc1 1:5.3.1-11 ii libjsoncpp1 1.6.5-4 ii libstdc++6 5.3.1-11 ii procps 2:3.3.11-3 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages cmake recommends: ii gcc 4:5.3.1-1 ii make 4.1-6 Versions of packages cmake suggests: pn codeblocks <none> pn eclipse <none> ii ninja-build 1.6.0-1 -- no debconf information