Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - freeorion-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: freeorion-git r8845.a777581-1

Git Clone URL: https://aur-dev.archlinux.org/freeorion-git.git (read-only)
Package Base: freeorion-git
Description: Free Clone of Master of Orion.
Upstream URL: http://www.freeorion.org/index.php/Main_Page
Licenses: GPL
Conflicts: freeorion
Provides: freeorion
Submitter: cassfalg
Maintainer: cassfalg
Last Packager: cassfalg
Votes: 10
Popularity: 0.001737
First Submitted: 2015-07-23 11:17
Last Updated: 2015-08-02 11:42

Latest Comments

hakayova commented on 2017-02-04 20:10

@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

Done.

Thanks.

wookietreiber commented on 2017-01-30 09:02

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

hakayova commented on 2017-01-29 18:42

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

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

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

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')