Latest commit broke the build procedure

The latest commit(s) commit 3a5dddf24f9d4d8959194b0cd3c6a7dd0cbd73ae (HEAD -> master, origin/master, origin/HEAD) broke the build procedure.

make CMAKE_BUILD_TYPE=RelWithDebInfo
mkdir -p build
touch build/.ran-deps-cmake
ninja  -C .deps
ninja: Entering directory `.deps'
[1/3] Running utility command for luajit
ninja: build stopped: Error writing to build log: Permission denied.
make: *** [Makefile:100: deps] Error 1

Edit: why on earth build.ninja from inside .deps switched to root:root?!

Update: I managed to fix it, but I had to change permissions from two other files that got generated as user:group root again; the files were .ninja_deps and .ninja_log.

Can you also fix your bug ticket settings? They are extremely strict and I had to come here to report this important issue which I doubt anyone will see it as soon as possible.

Can you also fix your bug ticket settings? They are extremely strict

What does this even mean? If you mean just provide all of the information it is because we need all that information to properly respond to a bug report.

It means a user in order to open a ticket has to go through so many steps that makes it not worth the effort to report any issue.

One of the bug sections asked for neovim version as its mandatory field, but how was I supposed to fetch that info if I’m attempting to compile neovim unsuccessfully for the very first time and cannot execute it to get its version info from nvim -v?

Edit: By the way, the whole permissions issue is really dangerous and I have been thinking about it since last night.

Why and how a normal unprivileged user can change user:group permissions of a file or a folder to root:root?

I’m talking about running only make CMAKE_BUILD_TYPE=RelWithDebInfo.

Isn’t this a security concern?

You should (also) look at it from the opposite point of view: without these steps (which we have added over time for a reason!), the bug report is worthless as we don’t have enough information to fix it. Which means you won’t get your issue solved. You can’t have it both ways: either you put in the effort to help us help you help us make Neovim better, or you learn to live with your issue.

By the way, the whole permissions issue is really dangerous and I have been thinking about it since last night.

What permissions issue? If you have sudo privileges, you can of course do all manner of things. If you don’t, you can’t change permissions to root:root. This has zero to do with our build scripts, and everything with how you use them.

If I have never used Vim before and come in Neovim for the very first time and I’m trying to compile it but fail with errors, what info should I insert in Neovim version (nvim -v)?

Again, what should I insert in here: Vim (not Nvim) behaves the same? and why should I be concerned about it as a newcomer?

All I did is the following procedure:

  • I run git pull --rebase --prune from inside my repo directory
  • I run make CMAKE_BUILD_TYPE=RelWithDebInfo

I did not install it yet; I tried to compile it first and stop on the following error message:

mkdir -p build
touch build/.ran-deps-cmake
ninja  -C .deps
ninja: Entering directory `.deps'
[1/3] Running utility command for luajit
ninja: build stopped: Error writing to build log: Permission denied.
make: *** [Makefile:100: deps] Error 1

I went in .deps directory and found out build.ninja changed to root:root for whatever reason.

I changed its permissions to my user:group and re-executed the make command and this time it complained for .ninja_deps and .ninja_log from .deps directory.

I changed their permissions too and this time compiled as expected; THEN I executed sudo make install.

Does this explanation clarifies things a bit better now?

The issue is back again with the latest commit c099836168fd669372895bb9bfa16522b5972134:

$ make CMAKE_BUILD_TYPE=RelWithDebInfo
mkdir -p build
touch build/.ran-deps-cmake
ninja  -C .deps
ninja: Entering directory `.deps'
[3/3] cd /home/stefanos/repositories/n...& /usr/bin/cmake -E touch .third-party
ninja  -C build
ninja: Entering directory `build'
[0/2] Re-checking globbed directories...
ninja: error: rebuilding 'build.ninja': Error writing to build log: Permission denied
make: *** [Makefile:85: nvim] Error 1