Hello.

On 12/03/2017 02:07 PM, Carsten Haitzler wrote:
> On Sat, 2 Dec 2017 00:10:11 +0100 marcel-hollerb...@t-online.de said:
>
>> Hello,
>>
>> so it turned out that this is a ninja bug.
>>
>> Ninja has some sort of recompactination if the number of entries in the
>> .ninja_log and .ninja_deps files are getting too big, then it will cut
>> off a few, write that into a temp file, and rename that temp file later
>> to .ninja_log or .ninja_deps, if you ran exactly this time ninja as root
>> it will place .ninja_log and .ninja_deps as root owned files in the
>> directory instead of maintaining the old gid / uid of the file.
> I'm amazed it took us to discover this and you to fix it... ninja isn't 
> exactly
> THAT new... :) is it that no one does regular "build as user, install as root"
> when using ninja? like this is the regular workflow with make like since...
> dinosaurs roamed the earth.

There was a report on cmake with ninja on this already:
https://github.com/ninja-build/ninja/issues/1302

But it took Marcel to actually take a stab at it to get it fixed. :)
That being said the bug fix is bot yet merged in ninja, hopefully soon.

regards
Stefan Schmidt

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to