Package Details: freeorion-git 0.4.10.with.FreeOrionSDK.v12.1255.g6a9b32fec-1

Git Clone URL: https://aur.archlinux.org/freeorion-git.git (read-only, click to copy)
Package Base: freeorion-git
Description: turn-based space empire and galactic conquest (4X) computer game
Upstream URL: http://www.freeorion.org/
Keywords: freeorion git
Licenses: GPL2
Conflicts: freeorion
Provides: freeorion
Submitter: cassfalg
Maintainer: restore
Last Packager: restore
Votes: 14
Popularity: 0.21
First Submitted: 2015-07-23 11:17 (UTC)
Last Updated: 2022-03-03 12:59 (UTC)

Latest Comments

SadaleNet commented on 2017-10-04 15:20 (UTC)

This build also crash in the same way as https://aur.archlinux.org/packages/freeorion/

hakayova commented on 2017-02-07 02:25 (UTC)

@wookietreiber: Right on. A temporary increase in the tmpfs solved my final problem. Thanks for all the help!

wookietreiber commented on 2017-02-06 13:23 (UTC)

@hakayova: Do you have enough space left on `/tmp`? Looks like you're out of disk space, or possibly memory if your `/tmp` is a tmpfs.

hakayova commented on 2017-02-06 12:41 (UTC)

Thank you for your quick responses; however the installation still fails with the following message: -- Set runtime path of "/tmp/yaourt-tmp-mancar/aur-freeorion-git/pkg/freeorion-git/usr/lib/freeorion/libGiGiSDL.so" to "/usr/lib/freeorion" -- Installing: /tmp/yaourt-tmp-mancar/aur-freeorion-git/pkg/freeorion-git/usr/lib/freeorion/libfreeorionparse.so CMake Error at parse/cmake_install.cmake:42 (file): file INSTALL cannot copy file "/tmp/yaourt-tmp-mancar/aur-freeorion-git/src/FreeOrion-build/libfreeorionparse.so" to "/tmp/yaourt-tmp-mancar/aur-freeorion-git/pkg/freeorion-git/usr/lib/freeorion/libfreeorionparse.so". Call Stack (most recent call first): cmake_install.cmake:90 (include) make: *** [Makefile:62: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build freeorion-git. ==> Restart building freeorion-git ? [y/N]

cassfalg commented on 2017-02-05 22:58 (UTC)

I've fixed the lib/lib64 issue, similar to what wookietreiber proposed. Sorry for the delay. The package should now compile and install again. I've also disowned it so wookietreiber can take over. Thank you for the pointers.

wookietreiber commented on 2017-02-05 17:37 (UTC)

@hakayova: You need to apply the cmake settings from one of my previous comments to get rid of the lib64 issue. This should be the cmake command line in PKGBUILD: cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ ../freeorion.git @cassfalg please change this in the PKGBUILD and upload a new version. Alternatively, feel free to add me as maintainer and I'll do it.

wookietreiber commented on 2017-02-05 17:25 (UTC)

I'll try to fix this later today.

hakayova commented on 2017-02-04 20:10 (UTC)

@wookietreiber With the fix upstream provided, the installation almost worked but I think /usr/lib64 was not writable by the aur package. Please see the following error message and advise: (1/1) checking keys in keyring [##########################################################################################################] 100% (1/1) checking package integrity [##########################################################################################################] 100% (1/1) loading package files [##########################################################################################################] 100% (1/1) checking for file conflicts [##########################################################################################################] 100% error: failed to commit transaction (conflicting files) freeorion-git: /usr/lib64 exists in filesystem Errors occurred, no packages were upgraded. ==> WARNING: Your packages are saved in /tmp/yaourt-tmp-mancar Please also see the discussion here: https://github.com/freeorion/freeorion/issues/1267

hakayova commented on 2017-02-02 05:23 (UTC)

Done. Thanks.

wookietreiber commented on 2017-01-30 09:02 (UTC)

@hakayova Please report upstream: https://github.com/freeorion/freeorion/issues

hakayova commented on 2017-01-29 18:42 (UTC)

The build failed with the following error message. Please advise: In file included from /usr/include/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp:12:0, from /usr/include/boost/phoenix/object/detail/cpp03/construct.hpp:6, from /usr/include/boost/phoenix/object/construct.hpp:76, from /usr/include/boost/phoenix/object.hpp:12, from /usr/include/boost/phoenix/phoenix.hpp:15, from /usr/include/boost/phoenix.hpp:11, from /usr/include/boost/spirit/include/phoenix.hpp:11, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/ConditionParserImpl.h:6, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/ValueRefParserImpl.h:3, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/DoubleComplexValueRefParser.cpp:1: /usr/include/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp: In instantiation of ‘const typename boost::phoenix::expression::construct<boost::phoenix::detail::target<T>, A0>::type boost::phoenix::construct(const A0&) [with T = std::__cxx11::basic_string<char>; A0 = char [21]; typename boost::phoenix::expression::construct<boost::phoenix::detail::target<T>, A0>::type = boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::tag::construct, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::detail::target<std::__cxx11::basic_string<char> > >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<char*>, 0l> >, 2l> >]’: /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/DoubleComplexValueRefParser.cpp:58:96: required from here /usr/include/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp:23:25: error: invalid conversion from ‘const char*’ to ‘param_type {aka char*}’ [-fpermissive] expression:: ~~~~~~~~~~~~ construct<detail::target<T>, A0>:: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make(detail::target<T>(), a0); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/phoenix/core/argument.hpp:14:0, from /usr/include/boost/phoenix/core.hpp:15, from /usr/include/boost/spirit/include/phoenix_core.hpp:11, from /usr/include/boost/spirit/home/support/terminal.hpp:17, from /usr/include/boost/spirit/home/support/common_terminals.hpp:15, from /usr/include/boost/spirit/home/lex/lexer/terminals.hpp:13, from /usr/include/boost/spirit/home/lex/lexer.hpp:13, from /usr/include/boost/spirit/home/lex.hpp:13, from /usr/include/boost/spirit/home/lex/lexer_lexertl.hpp:15, from /usr/include/boost/spirit/include/lex_lexertl.hpp:16, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/Lexer.h:6, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/ValueRefParser.h:4, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/ValueRefParserImpl.h:1, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/DoubleComplexValueRefParser.cpp:1: /usr/include/boost/phoenix/core/expression.hpp:63:21: note: initializing argument 2 of ‘static boost::phoenix::expr_ext<Actor, Tag, A>::type boost::phoenix::expr_ext<Actor, Tag, A>::make(typename boost::call_traits<A>::param_type ...) [with Actor = boost::phoenix::actor; Tag = boost::phoenix::tag::construct; A = {boost::phoenix::detail::target<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, char*}; boost::phoenix::expr_ext<Actor, Tag, A>::type = boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::tag::construct, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::detail::target<std::__cxx11::basic_string<char> > >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<char*>, 0l> >, 2l> >]’ static type make(typename call_traits<A>::param_type... a) ^~~~ In file included from /usr/include/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp:12:0, from /usr/include/boost/phoenix/object/detail/cpp03/construct.hpp:6, from /usr/include/boost/phoenix/object/construct.hpp:76, from /usr/include/boost/phoenix/object.hpp:12, from /usr/include/boost/phoenix/phoenix.hpp:15, from /usr/include/boost/phoenix.hpp:11, from /usr/include/boost/spirit/include/phoenix.hpp:11, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/ConditionParserImpl.h:6, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/ValueRefParserImpl.h:3, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/DoubleComplexValueRefParser.cpp:1: /usr/include/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp: In instantiation of ‘const typename boost::phoenix::expression::construct<boost::phoenix::detail::target<T>, A0>::type boost::phoenix::construct(const A0&) [with T = std::__cxx11::basic_string<char>; A0 = char [22]; typename boost::phoenix::expression::construct<boost::phoenix::detail::target<T>, A0>::type = boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::tag::construct, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::detail::target<std::__cxx11::basic_string<char> > >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<char*>, 0l> >, 2l> >]’: /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/DoubleComplexValueRefParser.cpp:67:98: required from here /usr/include/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp:23:25: error: invalid conversion from ‘const char*’ to ‘param_type {aka char*}’ [-fpermissive] expression:: ~~~~~~~~~~~~ construct<detail::target<T>, A0>:: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make(detail::target<T>(), a0); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/phoenix/core/argument.hpp:14:0, from /usr/include/boost/phoenix/core.hpp:15, from /usr/include/boost/spirit/include/phoenix_core.hpp:11, from /usr/include/boost/spirit/home/support/terminal.hpp:17, from /usr/include/boost/spirit/home/support/common_terminals.hpp:15, from /usr/include/boost/spirit/home/lex/lexer/terminals.hpp:13, from /usr/include/boost/spirit/home/lex/lexer.hpp:13, from /usr/include/boost/spirit/home/lex.hpp:13, from /usr/include/boost/spirit/home/lex/lexer_lexertl.hpp:15, from /usr/include/boost/spirit/include/lex_lexertl.hpp:16, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/Lexer.h:6, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/ValueRefParser.h:4, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/ValueRefParserImpl.h:1, from /tmp/yaourt-tmp-mancar/aur-freeorion-git/src/freeorion.git/parse/DoubleComplexValueRefParser.cpp:1: /usr/include/boost/phoenix/core/expression.hpp:63:21: note: initializing argument 2 of ‘static boost::phoenix::expr_ext<Actor, Tag, A>::type boost::phoenix::expr_ext<Actor, Tag, A>::make(typename boost::call_traits<A>::param_type ...) [with Actor = boost::phoenix::actor; Tag = boost::phoenix::tag::construct; A = {boost::phoenix::detail::target<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, char*}; boost::phoenix::expr_ext<Actor, Tag, A>::type = boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::tag::construct, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix::detail::target<std::__cxx11::basic_string<char> > >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<char*>, 0l> >, 2l> >]’ static type make(typename call_traits<A>::param_type... a) ^~~~ make[2]: *** [parse/CMakeFiles/freeorionparse.dir/build.make:351: parse/CMakeFiles/freeorionparse.dir/DoubleComplexValueRefParser.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:285: parse/CMakeFiles/freeorionparse.dir/all] Error 2 make: *** [Makefile:150: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build freeorion-git.

wookietreiber commented on 2016-12-13 09:53 (UTC)

Reason for adding these options: conform better to the Arch Linux packaging standards. That's why you also see a lot more of these namcap messages, because adding these cmake options gets rid of most of these issues you are still seeing. It's as simple as it gets while still conforming to the packaging standards. FYI if you don't want the effort, add me as a maintainer and I'll take care of it ;)

cassfalg commented on 2016-12-04 12:52 (UTC)

Can you please elaborate why those options should be added to cmake? What's the upside, what do those do? Otherwise I would prefer to keep it short and simple. Regarding the namcap errors - I have some too, different ones. I am not sure how to address them and have not felt the need to invest time to do so yet. For reference, this is my list: freeorion-git W: Referenced library 'libfreeorionparse.so' is an uninstalled dependency freeorion-git W: Referenced library 'libGiGiSDL.so' is an uninstalled dependency freeorion-git W: Referenced library 'libGiGi.so' is an uninstalled dependency freeorion-git W: Referenced library 'libfreeorioncommon.so' is an uninstalled dependency freeorion-git W: .INSTALL file runs a command provided by hooks. freeorion-git W: Directory (usr/share/freeorion/default/AI/freeorion_debug/handlers) is empty freeorion-git E: ELF file ('usr/lib64/freeorion/libfreeorioncommon.so') outside of a valid path. freeorion-git E: ELF file ('usr/lib64/freeorion/libGiGi.so') outside of a valid path. freeorion-git E: ELF file ('usr/lib64/freeorion/libfreeorionparse.so') outside of a valid path. freeorion-git E: ELF file ('usr/lib64/freeorion/libGiGiSDL.so') outside of a valid path. freeorion-git E: Insecure RPATH '/usr/lib64/freeorion' in file ('usr/lib64/freeorion/libfreeorioncommon.so') freeorion-git E: Insecure RPATH '/usr/lib64/freeorion' in file ('usr/lib64/freeorion/libGiGi.so') freeorion-git E: Insecure RPATH '/usr/lib64/freeorion' in file ('usr/lib64/freeorion/libfreeorionparse.so') freeorion-git E: Insecure RPATH '/usr/lib64/freeorion' in file ('usr/lib64/freeorion/libGiGiSDL.so') freeorion-git E: Insecure RPATH '/usr/lib64/freeorion' in file ('usr/bin/freeoriond') freeorion-git E: Insecure RPATH '/usr/lib64/freeorion' in file ('usr/bin/freeorion') freeorion-git E: Insecure RPATH '/usr/lib64/freeorion' in file ('usr/bin/freeorionca') freeorion-git W: File (usr/lib64/) exists in a non-standard directory. freeorion-git W: File (usr/lib64/freeorion/) exists in a non-standard directory. freeorion-git W: File (usr/lib64/freeorion/libfreeorioncommon.so) exists in a non-standard directory. freeorion-git W: File (usr/lib64/freeorion/libGiGi.so) exists in a non-standard directory. freeorion-git W: File (usr/lib64/freeorion/libfreeorionparse.so) exists in a non-standard directory. freeorion-git W: File (usr/lib64/freeorion/libGiGiSDL.so) exists in a non-standard directory. freeorion-git E: Dependency hicolor-icon-theme detected and not included (needed for hicolor theme hierarchy) freeorion-git W: Dependency libogg included but already satisfied freeorion-git W: Dependency included and not needed ('libtiff') freeorion-git W: Dependency included and not needed ('libjpeg-turbo') As a disclaimer: I am by no means an expert in any of this. When I wanted to try out freeorion, the package was basically orphaned and broke after a bit. I updated it to this when the move to git was made by the FO developers. In theory I suppose that the package should be split so that the lib[freeorioncommon|GiGi|freeorionparse|GiGiSDL]'s are a separate package. That may also clean up some of the namcap issues. However, I don't know how to do that and am not sure it would be worth the effort. If you know more, or if it does not run or compile compared to just namcap issues, feel free to provide details?

wookietreiber commented on 2016-11-30 14:27 (UTC)

I have captured a few namcap error with the current version. I recommend to add the following options to cmake: cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ ../freeorion.git Other relevant issues reported by namcap are: freeorion-git W: .INSTALL file runs a command provided by hooks. freeorion-git E: Dependency hicolor-icon-theme detected and not included (needed for hicolor theme hierarchy) freeorion-git E: Dependency freetype2 detected and not included (libraries ['usr/lib/libfreetype.so.6'] needed in files ['usr/lib/freeorion/libGiGi.so']) freeorion-git W: Dependency libogg included but already satisfied freeorion-git W: Dependency included and not needed ('libtiff') freeorion-git W: Dependency included and not needed ('libjpeg-turbo')