TurboVNC / turbovnc

Main TurboVNC repository
https://TurboVNC.org
GNU General Public License v2.0
761 stars 138 forks source link

safedirmove: source dir /tmp/turbovnc-build.XXXXX//opt/TurboVNC/icons is not valid #293

Closed pvmilk closed 3 years ago

pvmilk commented 3 years ago

Got the following error when trying to build with the following command

$ git clone --depth 1 --branch 2.2.6 https://github.com/TurboVNC/turbovnc.git

$ cd turbovnc
$ mkdir build

$ cd build
$ cmake -G "Unix Makefiles" -DTVNC_BUILDJAVA=0 -DTJPEG_LIBRARY="-L/usr/lib/ -lturbojpeg" ..
$ make
$ make deb

Error:

...
-- Installing: /tmp/turbovnc-build.sEcnti/opt/TurboVNC/doc/turbovnc.css
safedirmove: source dir /tmp/turbovnc-build.sEcnti//opt/TurboVNC/icons is not valid
CMakeFiles/deb.dir/build.make:57: recipe for target 'CMakeFiles/deb' failed
make[3]: *** [CMakeFiles/deb] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/deb.dir/all' failed
make[2]: *** [CMakeFiles/deb.dir/all] Error 2
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/deb.dir/rule' failed
make[1]: *** [CMakeFiles/deb.dir/rule] Error 2
Makefile:164: recipe for target 'deb' failed
make: *** [deb] Error 2

Try on the following environments:

1.) Ubuntu 18.04.5 LTS (x86_64); using tag 2.2.6 2.) Ubuntu 18.04.5 LTS (aarch64; jetson nano); using both tag 2.2.6 and latest commit 8f8521b

Update 1: Found it to be from tag 2.2.3 (work fine) to 2.2.4 (started to have the error).

https://github.com/TurboVNC/turbovnc/compare/2.2.3...2.2.4