Build error

Teoup

New Member
Apr 4, 2019
3
0
0
#1
First of all, I'm sorry if it falls in the wrong section.
Last year I built a server for my own, everything was going well until today, I attempted to build to integrate some minors change on the server.
While the server is still bootable correctly, it seems (once the build done) that something was messed up with the build command and/or the files as I'm not able to access from eclipse editor to the unstable version

Here's the return from the terminal after the build command :
Server is not running

Logging to /home/vagrant/workspace/Core3/MMOCoreORB/build.out
+ make clean-ninja clean-ninja-debug
rm -rf build/unix/ninja
rm -rf build/unix/ninja-debug
mkdir -p build/unix/ninja-debug
cd build/unix/ninja-debug && cmake -G Ninja -DRUN_GIT=ON -DCMAKE_BUILD_TYPE=Debug ../../.. && ninja
-- The CXX compiler identification is GNU 6.3.0
-- The C compiler identification is GNU 6.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Lua: /usr/local/lib/liblua.a;/usr/lib/x86_64-linux-gnu/libm.so (found suitable version "5.3.2", minimum required is "5.3")
-- Found MySQL server version: 10.1.26-MariaDB
-- Found MySQL Include dir: /usr/include/mysql library dir: /usr/lib/x86_64-linux-gnu
-- Found MySQL client libraries: mysqlclient
-- Found berkeley db version: Berkeley DB 5.3.28: (September 9, 2013)
-- Found berkeley db includes: /usr/include
-- Found berkeley db library: /usr/lib/x86_64-linux-gnu/libdb-5.3.so
-- Found Java: /usr/bin/java (found suitable version "1.8.0.181", minimum required is "1.5") found components: Runtime
-- Using engine3 git submodule
-- Initializing git submodules
fatal: Needed a single revision
Unable to find current revision in submodule path 'utils/engine3'
CMake Error at cmake/Modules/FindEngine3.cmake:113 (MESSAGE):
Could NOT download engine3 git submodule
Call Stack (most recent call first):
CMakeLists.txt:65 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/vagrant/workspace/Core3/MMOCoreORB/build/unix/ninja-debug/CMakeFiles/CMakeOutput.log".
Makefile:137: recipe for target 'build-ninja-debug' failed
make: *** [build-ninja-debug] Error 1
** BUILD FAILED **

WARNING: command returned error code 11
Any help would be greatly appreciated, to understand what happened and how it could, if possible, be fixed to get the build command working again

Thank you
 
Jan 16, 2015
126
14
8
42
#2
It is having an issue downloading the engine submodule. You can download the engine manually in the the MMOEngine folder and run a make or investigation to why it is failing.
 
Dec 8, 2011
141
0
16
#3
I was having this same issue. Thought maybe it was some changes I made so I attempted a fresh MTGServer image and still no luck.

So gyrantol, if I get what your saying, if I manually replaced all the code for all the files in the MMOEngine folder with what is currently in the swgemu repo then I should be able to successfully build the server?
 

Teoup

New Member
Apr 4, 2019
3
0
0
#4
Thank you for your answers

I think I'll need some clarification about "downloading the engine manually in the MMOEngine" as well.
Also, what are the risk that I could face right now ?
I mean the build command is bugged and doesn't work but as soon as I change something into Eclipse it apply right away on the server without any building process, and I don't know how it is possible since Eclipse tell me the path to the project is broken/wrong
So should I keep it this way or try to fix it ?
 
Dec 8, 2011
141
0
16
#5