Compile Error [c23bfde]
Moderator: Oberlus
- adrian_broher
- Programmer
- Posts: 1156
- Joined: Fri Mar 01, 2013 9:52 am
- Location: Germany
Re: Compile Error [c23bfde]
Can you rerun the commands as before (make with VERBOSE=1 and running the last compiler/linker call with the -v flag added)?
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Re: Compile Error [c23bfde]
adrian_broher wrote:Can you rerun the commands as before (make with VERBOSE=1 and running the last compiler/linker call with the -v flag added)?
Code: Select all
/usr/bin/cmake -H/home/andrew/Games/freeorion -B/home/andrew/Games/freeorion --c
heck-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/andrew/Games/freeorion/CMakeFiles /
home/andrew/Games/freeorion/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/andrew/Games/freeorion'
make -f CMakeFiles/freeorionversion.dir/build.make CMakeFiles/freeorionversion.d
ir/depend
make[2]: Entering directory '/home/andrew/Games/freeorion'
cd /home/andrew/Games/freeorion && /usr/bin/cmake -E cmake_depends "Unix Makefil
es" /home/andrew/Games/freeorion /home/andrew/Games/freeorion /home/andrew/Games
/freeorion /home/andrew/Games/freeorion /home/andrew/Games/freeorion/CMakeFiles/
freeorionversion.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/andrew/Games/freeorion'
make -f CMakeFiles/freeorionversion.dir/build.make CMakeFiles/freeorionversion.d
ir/build
make[2]: Entering directory '/home/andrew/Games/freeorion'
/usr/bin/python2.7 /home/andrew/Games/freeorion/cmake/make_versioncpp.py /home/a
ndrew/Games/freeorion CMake
Building v0.4.6+ build 2016-10-07.6769e6d
make[2]: Leaving directory '/home/andrew/Games/freeorion'
/usr/bin/cmake -E cmake_progress_report /home/andrew/Games/freeorion/CMakeFiles
[ 0%] Built target freeorionversion
make -f CMakeFiles/freeorioncommon.dir/build.make CMakeFiles/freeorioncommon.dir
/depend
make[2]: Entering directory '/home/andrew/Games/freeorion'
cd /home/andrew/Games/freeorion && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/andrew/Games/freeorion /home/andrew/Games/freeorion /home/andrew/Games/freeorion /home/andrew/Games/freeorion /home/andrew/Games/freeorion/CMakeFiles/freeorioncommon.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/andrew/Games/freeorion'
make -f CMakeFiles/freeorioncommon.dir/build.make CMakeFiles/freeorioncommon.dir/build
make[2]: Entering directory '/home/andrew/Games/freeorion'
make[2]: Nothing to be done for 'CMakeFiles/freeorioncommon.dir/build'.
make[2]: Leaving directory '/home/andrew/Games/freeorion'
/usr/bin/cmake -E cmake_progress_report /home/andrew/Games/freeorion/CMakeFiles 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
[ 25%] Built target freeorioncommon
make -f GG/src/CMakeFiles/GiGi.dir/build.make GG/src/CMakeFiles/GiGi.dir/depend
make[2]: Entering directory '/home/andrew/Games/freeorion'
cd /home/andrew/Games/freeorion && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/andrew/Games/freeorion /home/andrew/Games/freeorion/GG/src /home/andrew/Games/freeorion /home/andrew/Games/freeorion/GG/src /home/andrew/Games/freeorion/GG/src/CMakeFiles/GiGi.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/andrew/Games/freeorion'
make -f GG/src/CMakeFiles/GiGi.dir/build.make GG/src/CMakeFiles/GiGi.dir/build
make[2]: Entering directory '/home/andrew/Games/freeorion'
make[2]: Nothing to be done for 'GG/src/CMakeFiles/GiGi.dir/build'.
make[2]: Leaving directory '/home/andrew/Games/freeorion'
/usr/bin/cmake -E cmake_progress_report /home/andrew/Games/freeorion/CMakeFiles 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
[ 41%] Built target GiGi
make -f GG/src/SDL/CMakeFiles/GiGiSDL.dir/build.make GG/src/SDL/CMakeFiles/GiGiSDL.dir/depend
make[2]: Entering directory '/home/andrew/Games/freeorion'
cd /home/andrew/Games/freeorion && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/andrew/Games/freeorion /home/andrew/Games/freeorion/GG/src/SDL /home/andrew/Games/freeorion /home/andrew/Games/freeorion/GG/src/SDL /home/andrew/Games/freeorion/GG/src/SDL/CMakeFiles/GiGiSDL.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/andrew/Games/freeorion'
make -f GG/src/SDL/CMakeFiles/GiGiSDL.dir/build.make GG/src/SDL/CMakeFiles/GiGiSDL.dir/build
make[2]: Entering directory '/home/andrew/Games/freeorion'
make[2]: Nothing to be done for 'GG/src/SDL/CMakeFiles/GiGiSDL.dir/build'.
make[2]: Leaving directory '/home/andrew/Games/freeorion'
/usr/bin/cmake -E cmake_progress_report /home/andrew/Games/freeorion/CMakeFiles 17
[ 42%] Built target GiGiSDL
make -f parse/CMakeFiles/freeorionparse.dir/build.make parse/CMakeFiles/freeorionparse.dir/depend
make[2]: Entering directory '/home/andrew/Games/freeorion'
cd /home/andrew/Games/freeorion && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/andrew/Games/freeorion /home/andrew/Games/freeorion/parse /home/andrew/Games/freeorion /home/andrew/Games/freeorion/parse /home/andrew/Games/freeorion/parse/CMakeFiles/freeorionparse.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/andrew/Games/freeorion'
make -f parse/CMakeFiles/freeorionparse.dir/build.make parse/CMakeFiles/freeorionparse.dir/build
make[2]: Entering directory '/home/andrew/Games/freeorion'
/usr/bin/cmake -E cmake_progress_report /home/andrew/Games/freeorion/CMakeFiles 80
[ 43%] Building CXX object parse/CMakeFiles/freeorionparse.dir/AlignmentsParser.cpp.o
cd /home/andrew/Games/freeorion/parse && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LINK -DBOOST_LOG_DYN_LINK -DENABLE_BINRELOC -DFREEORION_BUILD_PARSE -DFREEORION_LINUX -DNDEBUG -Dfreeorionparse_EXPORTS -O3 -DNDEBUG -fPIC -I/home/andrew/Games/freeorion -I/usr/include/freetype2 -I/home/andrew/Games/freeorion/GG -Wall -fvisibility=hidden -O3 -o CMakeFiles/freeorionparse.dir/AlignmentsParser.cpp.o -c /home/andrew/Games/freeorion/parse/AlignmentsParser.cpp
parse/CMakeFiles/freeorionparse.dir/build.make:54: recipe for target 'parse/CMakeFiles/freeorionparse.dir/AlignmentsParser.cpp.o' failed
make[2]: Leaving directory '/home/andrew/Games/freeorion'
CMakeFiles/Makefile2:286: recipe for target 'parse/CMakeFiles/freeorionparse.dir/all' failed
make[1]: Leaving directory '/home/andrew/Games/freeorion'
Makefile:127: recipe for target 'all' failed
- adrian_broher
- Programmer
- Posts: 1156
- Joined: Fri Mar 01, 2013 9:52 am
- Location: Germany
Re: Compile Error [c23bfde]
For a solution see https://github.com/freeorion/freeorion/pull/1046 ; could you please test if the fix works for you?
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Re: Compile Error [c23bfde]
Updated the force-phoenix-version, same results:adrian_broher wrote:For a solution see https://github.com/freeorion/freeorion/pull/1046 ; could you please test if the fix works for you?
Code: Select all
[ 42%] Building C object CMakeFiles/freeorioncommon.dir/util/binreloc.c.o
Linking CXX shared library libfreeorioncommon.so
[ 42%] Built target freeorioncommon
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
- adrian_broher
- Programmer
- Posts: 1156
- Joined: Fri Mar 01, 2013 9:52 am
- Location: Germany
Re: Compile Error [c23bfde]
Are you sure you're on the right branch (check with `git status`)? As you can see the PR fixed the Issue for another user and the PR was already merged.
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Re: Compile Error [c23bfde]
adrian_broher wrote:Are you sure you're on the right branch (check with `git status`)? As you can see the PR fixed the Issue for another user and the PR was already merged.
On branch master
Your branch is up-to-date with 'origin/master'.
Re: Compile Error [c23bfde]
Ok, removed the old directory fetched again with git, compiled got to 100% but ended up with the same problem. Did a pull, clean build and this time it compiled fine with a9cabda. So, dunno what was going on but seems ok now.
- adrian_broher
- Programmer
- Posts: 1156
- Joined: Fri Mar 01, 2013 9:52 am
- Location: Germany
Re: Compile Error [c23bfde]
There is a difference between 'fetching' and 'checking out', which both are different from 'pull'.AndrewW wrote:Ok, removed the old directory fetched again with git, compiled got to 100% but ended up with the same problem. Did a pull, clean build and this time it compiled fine with a9cabda. So, dunno what was going on but seems ok now.
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Re: Compile Error [c23bfde]
Well, didn't do a pull with starting over on it. Did a clone initially to 'fetch' it then a pull after that when it failed to compile.adrian_broher wrote:There is a difference between 'fetching' and 'checking out', which both are different from 'pull'.