On 20/10/2017 13:52, Dirk Hohndel wrote:
On Oct 20, 2017, at 7:26 AM, Willem Ferguson <willemfergu...@zoology.up.ac.za> 
wrote:

On 20/10/2017 12:46, Dirk Hohndel wrote:
You should start with a fresh build, honestly

/D
I suspect this comes with the git repo in some way. I cloned several versions 
of master over the last few days. Always consistent result. After your mail 
above I did this again (4.6.4.1034) with same result.
You will not get into "sudo required" state unless you did something as root, 
first, and that left files behind that the build cannot change as your user.
And nothing in master changed the settings of those cmake variables. They are 
in your build directory, not in the source directory.

/D.

Below is a listing of parts of my build directory. This generated during a build as a user, NOT as root. I do not build as root.

Is there anything suspicious in this listing? Not a lot of files with rw as user.

Kind regards,

willem


willem@FINS:~/src/subsurface/build$ ls -l
total 39744
-rw-r--r--  1 root root    27488 Oct 20 13:20 CMakeCache.txt
drwxr-xr-x 13 root root     4096 Oct 20 13:21 CMakeFiles
-rw-r--r--  1 root root     7211 Oct 20 13:20 cmake_install.cmake
drwxr-xr-x  3 root root     4096 Oct 20 13:21 core
drwxr-xr-x  5 root root     4096 Oct 20 13:21 desktop-widgets
drwxr-xr-x  2 root root     4096 Oct 20 13:20 Documentation
drwxr-xr-x  2 root root     4096 Oct 20 13:20 geoservices
-rw-r--r--  1 root root    36847 Oct 20 13:20 Makefile
drwxr-xr-x  3 root root     4096 Oct 20 13:21 profile-widget
-rw-r--r--  1 root root  4052038 Oct 20 13:21 qrc_subsurface.cpp
drwxr-xr-x  3 root root     4096 Oct 20 13:21 qt-models
-rw-r--r--  1 root root      136 Oct 20 13:20 ssrf-version.h
-rwxr-xr-x  1 root root 36497288 Oct 20 13:21 subsurface
-rw-r--r--  1 root root       93 Oct 20 13:20 subsurface_automoc.cpp
-rw-rw-r--  1 root root     5678 Oct 20 13:20 subsurface.qrc.depends
drwxr-xr-x  4 root root     4096 Oct 20 13:21 tests
lrwxrwxrwx  1 root root       33 Oct 20 13:20 theme -> /home/willem/src/subsurface/theme
drwxr-xr-x  3 root root     4096 Oct 20 13:20 translations
-rw-rw-r--  1 root root      767 Oct 20 13:19 version.cmake
-rw-r--r--  1 root root      168 Oct 20 13:20 version.h.in
willem@FINS:~/src/subsurface/build$ cd CMakeFiles
willem@FINS:~/src/subsurface/build/CMakeFiles$ ls -l
total 264
drwxr-xr-x 4 root root  4096 Oct 20 13:20 3.5.1
-rw-r--r-- 1 root root    85 Oct 20 13:20 cmake.check_cache
-rw-r--r-- 1 root root   635 Oct 20 13:20 CMakeDirectoryInformation.cmake
-rw-r--r-- 1 root root 41004 Oct 20 13:20 CMakeOutput.log
-rw-r--r-- 1 root root  6744 Oct 20 13:20 CMakeRuleHashes.txt
drwxr-xr-x 2 root root  4096 Oct 20 13:20 CMakeTmp
drwxr-xr-x 2 root root  4096 Oct 20 13:20 documentation.dir
drwxr-xr-x 2 root root  4096 Oct 20 13:20 documentationLink.dir
drwxr-xr-x 2 root root  4096 Oct 20 13:20 export-html_automoc.dir
drwxr-xr-x 2 root root  4096 Oct 20 13:20 export-html.dir
-rwxr-xr-x 1 root root 12696 Oct 20 13:20 feature_tests.bin
-rw-r--r-- 1 root root   688 Oct 20 13:20 feature_tests.c
-rw-r--r-- 1 root root 10011 Oct 20 13:20 feature_tests.cxx
drwxr-xr-x 2 root root  4096 Oct 20 13:20 link_googlemaps_plugin.dir
-rw-r--r-- 1 root root 95380 Oct 20 13:20 Makefile2
-rw-r--r-- 1 root root 14040 Oct 20 13:20 Makefile.cmake
-rw-r--r-- 1 root root     3 Oct 20 13:20 progress.marks
drwxr-xr-x 2 root root  4096 Oct 20 13:20 subsurface_automoc.dir
drwxr-xr-x 2 root root  4096 Oct 20 13:21 subsurface.dir
-rw-r--r-- 1 root root  8422 Oct 20 13:20 TargetDirectories.txt
drwxr-xr-x 2 root root  4096 Oct 20 13:20 themeLink.dir
drwxr-xr-x 2 root root  4096 Oct 20 13:20 version.dir
willem@FINS:~/src/subsurface/build/CMakeFiles$


--
This message and attachments are subject to a disclaimer.
Please refer to http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf for full details.
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to