Page 1 of 1

Build failure: PythonUniverseGenerator.h missing

Posted: Thu Mar 26, 2015 10:33 pm
by Apo
Hi,

I tried to compile git master on Debian GNU/Linux but the build failed with the following message:

Code: Select all

CMake Error at CMakeLists.txt:261 (add_library):
  Cannot find source file:

    python/server/PythonUniverseGenerator.h

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Any ideas? The file does not exist under python/server.

Re: Build failure: PythonUniverseGenerator.h missing

Posted: Thu Mar 26, 2015 10:57 pm
by wheals
It looks like c356695e39 added that into the CMake file when it shouldn't have. I think there's going to be yet another reimport, so it might just pay to wait until then.

Re: Build failure: PythonUniverseGenerator.h missing

Posted: Fri Mar 27, 2015 5:57 am
by Geoff the Medio
Remove the file from CMakeLists.txt then.

Someone who actually builds using CMake should fix that. Otherwise I'd be guessing / hoping it will work.

Re: Build failure: PythonUniverseGenerator.h missing

Posted: Fri Mar 27, 2015 12:03 pm
by Apo
Just removing the file from CMakeLists.txt works and everything builds fine.

Re: Build failure: PythonUniverseGenerator.h missing

Posted: Fri Mar 27, 2015 9:25 pm
by Chriss
Who besides adrian_brother has a deeper understanding of cmake? Who's the primary maintainer of the cmake build system, so to speak?

Re: Build failure: PythonUniverseGenerator.h missing

Posted: Fri Mar 27, 2015 9:29 pm
by Dilvish
adrian_broher has the best/deepest understanding of it, AFAIK, and since he seems to be active with us again after a bit of a hiatus then I would consider him to generally be the primary maintainer of our cmake files. I understand the basics of it & have covered a few changes now and then, but have no where near the mastery he does.

Re: Build failure: PythonUniverseGenerator.h missing

Posted: Sat Mar 28, 2015 9:14 pm
by Vezzra
Dilvish wrote:since he seems to be active with us again after a bit of a hiatus
If I understood him correctly in an PM exchange we had, he's only temporarily back to help us with the migration. Which is a pity, but I got the impression that he simply does not have the time for FO stuff. Which makes me appreciate all the effort he's currently putting in helping us all the more.