On Mon, 30 Oct 2023 03:03:16 +0530, Stephen Gelman wrote:
> Sorry for the delay, I uploaded checkinstall 1.6.2+git20170426.d24a630-4
> which has this fix.

Thank you!

I pulled the package from unstable. But it seems the problem still exists.

I built mumble from source [1] using cmake.

Then I ran the following command:
```
checkinstall \
        --install=no \
        --showinstall=no \
        --pkgname=mumble \
        --pkgversion=$version \
        --pkgrelease=$release_id \
        --nodoc \
        --default \
        make install
```

Which resulted in the following failure log:
```
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/mumble
CMake Error at src/mumble/cmake_install.cmake:52 (file):
file INSTALL cannot copy file "/tmp/mumble_broo/build/mumble" to
"/usr/local/bin/mumble": No such file or directory.
Call Stack (most recent call first):
src/cmake_install.cmake:47 (include)
cmake_install.cmake:47 (include)


make: *** [Makefile:110: install] Error 1
```

This is the exact same thing as earlier.

The line pointed out by the cmake error is as follows:
```
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES 
"/tmp/mumble_broo/build/mumble")
```

CMake's file(INSTALL [...]) just "copies files, directories, and symlinks
to a destination folder" according to the documentation at [2].

Even the log file which checkinstall supposedly creates does not exist.

Thanks,
Siddh

[1] https://github.com/mumble-voip/mumble
[2] https://cmake.org/cmake/help/latest/command/file.html#install

Reply via email to