Package Details: freeorion 0.4.6-1

Git Clone URL: https://aur.archlinux.org/freeorion.git (read-only)
Package Base: freeorion
Description: turn-based space empire and galactic conquest (4X) computer game
Upstream URL: http://www.freeorion.org/
Licenses: GPL2
Conflicts: freeorion-git
Submitter: wookietreiber
Maintainer: wookietreiber
Last Packager: wookietreiber
Votes: 5
Popularity: 1.255963
First Submitted: 2016-03-18 00:15
Last Updated: 2017-02-06 07:49

Latest Comments

wookietreiber commented on 2016-12-13 10:36

Thanks for reporting.

This issue seems to be already fixed upstream because compilation worked for me with the freeorion-git AUR package.

There have already been over 800 commits since 0.4.6 so I don't manage to go through all of them in my spare time to figure out which one fixed it.

Feel free to open an issue at GitHub and ask if they are able to sort this out.

Otherwise, feel free to use freeorion-git, which works AFAIK, or wait for the new release which will include the fix.

If you'd like to contribute the fix, feel free to do it.

seylerius commented on 2016-12-08 07:46

Compilation fails for me as follows:

In file included from /usr/include/boost/archive/detail/interface_iarchive.hpp:22:0,
from /usr/include/boost/archive/detail/common_iarchive.hpp:23,
from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
from /usr/include/boost/archive/binary_iarchive.hpp:20,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/Serialize.h:4,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:1:
/usr/include/boost/archive/detail/iserializer.hpp: In instantiation of ‘static void boost::archive::detail::heap_allocation<T>::doesnt_have_new_operator::invoke_delete(T*) [with T = Ship]’:
/usr/include/boost/archive/detail/iserializer.hpp:265:33: required from ‘static void boost::archive::detail::heap_allocation<T>::invoke_delete(T*) [with T = Ship]’
/usr/include/boost/archive/detail/iserializer.hpp:273:26: required from ‘boost::archive::detail::heap_allocation<T>::~heap_allocation() [with T = Ship]’
/usr/include/boost/archive/detail/iserializer.hpp:294:36: required from ‘void* boost::archive::detail::pointer_iserializer<Archive, T>::heap_allocation() const [with Archive = boost::archive::binary_iarchive; T = Ship]’
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:351:133: required from here
/usr/include/boost/archive/detail/iserializer.hpp:246:17: error: ‘virtual Ship::~Ship()’ is protected within this context
delete t;
^~~~~~
In file included from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:8:0:
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/../universe/Ship.h:110:5: note: declared protected here
~Ship() {}
^
In file included from /usr/include/boost/archive/detail/interface_iarchive.hpp:22:0,
from /usr/include/boost/archive/detail/common_iarchive.hpp:23,
from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
from /usr/include/boost/archive/binary_iarchive.hpp:20,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/Serialize.h:4,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:1:
/usr/include/boost/archive/detail/iserializer.hpp: In instantiation of ‘static void boost::archive::detail::heap_allocation<T>::doesnt_have_new_operator::invoke_delete(T*) [with T = Fleet]’:
/usr/include/boost/archive/detail/iserializer.hpp:265:33: required from ‘static void boost::archive::detail::heap_allocation<T>::invoke_delete(T*) [with T = Fleet]’
/usr/include/boost/archive/detail/iserializer.hpp:273:26: required from ‘boost::archive::detail::heap_allocation<T>::~heap_allocation() [with T = Fleet]’
/usr/include/boost/archive/detail/iserializer.hpp:294:36: required from ‘void* boost::archive::detail::pointer_iserializer<Archive, T>::heap_allocation() const [with Archive = boost::archive::binary_iarchive; T = Fleet]’
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:351:133: required from here
/usr/include/boost/archive/detail/iserializer.hpp:246:17: error: ‘virtual Fleet::~Fleet()’ is protected within this context
delete t;
^~~~~~
In file included from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:7:0:
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/../universe/Fleet.h:156:5: note: declared protected here
~Fleet() {}
^
In file included from /usr/include/boost/archive/detail/interface_iarchive.hpp:22:0,
from /usr/include/boost/archive/detail/common_iarchive.hpp:23,
from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
from /usr/include/boost/archive/binary_iarchive.hpp:20,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/Serialize.h:4,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:1:
/usr/include/boost/archive/detail/iserializer.hpp: In instantiation of ‘static void boost::archive::detail::heap_allocation<T>::doesnt_have_new_operator::invoke_delete(T*) [with T = Building]’:
/usr/include/boost/archive/detail/iserializer.hpp:265:33: required from ‘static void boost::archive::detail::heap_allocation<T>::invoke_delete(T*) [with T = Building]’
/usr/include/boost/archive/detail/iserializer.hpp:273:26: required from ‘boost::archive::detail::heap_allocation<T>::~heap_allocation() [with T = Building]’
/usr/include/boost/archive/detail/iserializer.hpp:294:36: required from ‘void* boost::archive::detail::pointer_iserializer<Archive, T>::heap_allocation() const [with Archive = boost::archive::binary_iarchive; T = Building]’
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:351:133: required from here
/usr/include/boost/archive/detail/iserializer.hpp:246:17: error: ‘virtual Building::~Building()’ is protected within this context
delete t;
^~~~~~
In file included from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:6:0:
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/../universe/Building.h:75:5: note: declared protected here
~Building() {}
^
In file included from /usr/include/boost/archive/detail/interface_iarchive.hpp:22:0,
from /usr/include/boost/archive/detail/common_iarchive.hpp:23,
from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
from /usr/include/boost/archive/binary_iarchive.hpp:20,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/Serialize.h:4,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:1:
/usr/include/boost/archive/detail/iserializer.hpp: In instantiation of ‘static void boost::archive::detail::heap_allocation<T>::doesnt_have_new_operator::invoke_delete(T*) [with T = Planet]’:
/usr/include/boost/archive/detail/iserializer.hpp:265:33: required from ‘static void boost::archive::detail::heap_allocation<T>::invoke_delete(T*) [with T = Planet]’
/usr/include/boost/archive/detail/iserializer.hpp:273:26: required from ‘boost::archive::detail::heap_allocation<T>::~heap_allocation() [with T = Planet]’
/usr/include/boost/archive/detail/iserializer.hpp:294:36: required from ‘void* boost::archive::detail::pointer_iserializer<Archive, T>::heap_allocation() const [with Archive = boost::archive::binary_iarchive; T = Planet]’
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:351:133: required from here
/usr/include/boost/archive/detail/iserializer.hpp:246:17: error: ‘virtual Planet::~Planet()’ is protected within this context
delete t;
^~~~~~
In file included from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:9:0:
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/../universe/Planet.h:191:5: note: declared protected here
~Planet() {}
^
In file included from /usr/include/boost/archive/detail/interface_iarchive.hpp:22:0,
from /usr/include/boost/archive/detail/common_iarchive.hpp:23,
from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
from /usr/include/boost/archive/binary_iarchive.hpp:20,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/Serialize.h:4,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:1:
/usr/include/boost/archive/detail/iserializer.hpp: In instantiation of ‘static void boost::archive::detail::heap_allocation<T>::doesnt_have_new_operator::invoke_delete(T*) [with T = Field]’:
/usr/include/boost/archive/detail/iserializer.hpp:265:33: required from ‘static void boost::archive::detail::heap_allocation<T>::invoke_delete(T*) [with T = Field]’
/usr/include/boost/archive/detail/iserializer.hpp:273:26: required from ‘boost::archive::detail::heap_allocation<T>::~heap_allocation() [with T = Field]’
/usr/include/boost/archive/detail/iserializer.hpp:294:36: required from ‘void* boost::archive::detail::pointer_iserializer<Archive, T>::heap_allocation() const [with Archive = boost::archive::binary_iarchive; T = Field]’
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:351:133: required from here
/usr/include/boost/archive/detail/iserializer.hpp:246:17: error: ‘virtual Field::~Field()’ is protected within this context
delete t;
^~~~~~
In file included from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:13:0:
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/../universe/Field.h:54:5: note: declared protected here
~Field() {}
^
In file included from /usr/include/boost/archive/detail/interface_iarchive.hpp:22:0,
from /usr/include/boost/archive/detail/common_iarchive.hpp:23,
from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
from /usr/include/boost/archive/binary_iarchive.hpp:20,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/Serialize.h:4,
from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:1:
/usr/include/boost/archive/detail/iserializer.hpp: In instantiation of ‘static void boost::archive::detail::heap_allocation<T>::doesnt_have_new_operator::invoke_delete(T*) [with T = System]’:
/usr/include/boost/archive/detail/iserializer.hpp:265:33: required from ‘static void boost::archive::detail::heap_allocation<T>::invoke_delete(T*) [with T = System]’
/usr/include/boost/archive/detail/iserializer.hpp:273:26: required from ‘boost::archive::detail::heap_allocation<T>::~heap_allocation() [with T = System]’
/usr/include/boost/archive/detail/iserializer.hpp:294:36: required from ‘void* boost::archive::detail::pointer_iserializer<Archive, T>::heap_allocation() const [with Archive = boost::archive::binary_iarchive; T = System]’
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:351:133: required from here
/usr/include/boost/archive/detail/iserializer.hpp:246:17: error: ‘virtual System::~System()’ is protected within this context
delete t;
^~~~~~
In file included from /tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/SerializeUniverse.cpp:12:0:
/tmp/yaourt-tmp-emhs/aur-freeorion/src/src-tarball/util/../universe/System.h:140:5: note: declared protected here
~System() {}
^
make[2]: *** [CMakeFiles/freeorioncommon.dir/build.make:1359: CMakeFiles/freeorioncommon.dir/util/SerializeUniverse.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/freeorioncommon.dir/all] Error 2
make: *** [Makefile:150: all] Error 2

Wuzzy commented on 2016-06-21 01:39

Please someone make this a regular package, because compling this is not funny at all (can need about 4 GiB RAM and 45 minutes of time).