Package Details: colobot-gold 0.2.1_alpha-1

Git Clone URL: https://aur.archlinux.org/colobot-gold.git (read-only, click to copy)
Package Base: colobot-gold
Description: Colobot GOLD is a real-time strategy game with programmable bots.
Upstream URL: http://colobot.info
Keywords: 3d game
Licenses: GPL3
Submitter: erihel
Maintainer: erihel
Last Packager: erihel
Votes: 20
Popularity: 0.018493
First Submitted: 2013-06-27 19:00 (UTC)
Last Updated: 2023-08-07 22:46 (UTC)

Latest Comments

1 2 3 4 Next › Last »

fernach commented on 2023-12-24 08:11 (UTC)

I think I saw hardcoded -j$(nproc) on some other package in past, it didn't occur to me to check makepkg's settings. Thanks for sound advice!

erihel commented on 2023-12-23 02:09 (UTC) (edited on 2023-12-25 00:16 (UTC) by erihel)

Thanks for your comment. If you want to make use of multiple cores just edit your /etc/makepkg.conf file and set MAKEFLAGS variable. That way you won't need to pass -j argument to make.

fernach commented on 2023-12-16 13:24 (UTC)

Would it be worthwhile to enable parallel build?

--- PKGBUILD    2023-12-16 14:01:18.050664940 +0100
+++ PKGBUILD_multi  2023-12-16 14:01:12.417331413 +0100
@@ -18,8 +18,8 @@
 build() {
     mkdir -p "$srcdir/$_archive_dir/build"
     cd "$srcdir/$_archive_dir/build"
-    cmake "$srcdir/$_archive_dir" -DCMAKE_BUILD_TYPE=release -DOPENAL_SOUND=1 -DASSERTS=1 -DDEV_BUILD=0 -DCMAKE_INSTALL_PREFIX="/usr" -DCOLOBOT_INSTALL_BIN_DIR="/usr/bin"  -DCMAKE_CXX_FLAGS="-Wno-stringop-truncation -Wno-error=format-overflow"
-    make
+    cmake "$srcdir/$_archive_dir" -DCMAKE_BUILD_TYPE=release -DOPENAL_SOUND=1 -DASSERTS=1 -DDEV_BUILD=0 -DCMAKE_INSTALL_PREFIX="/usr" -DCOLOBOT_INSTALL_BIN_DIR="/usr/bin" -DCMAKE_CXX_FLAGS="-Wno-stringop-truncation -Wno-error=format-overflow"
+    make -j$(nproc)
 }

 package() {

It has cut down build time in half for me.

Cooprik commented on 2023-09-18 22:20 (UTC)

After creating the link sudo ln /usr/lib/libboost_filesystem.so.1.83.0 /usr/lib/libboost_filesystem.so.1.81.0, I get the following error

colobot: symbol lookup error: colobot: undefined symbol: _ZNK5boost10filesystem4path7stem_v3Ev

Eragon commented on 2023-09-17 19:01 (UTC)

Just rebuild the package for it to be linked with the new version of libboost

Cooprik commented on 2023-09-17 14:47 (UTC) (edited on 2023-09-17 14:48 (UTC) by Cooprik)

how to fix the error? colobot: error while loading shared libraries: libboost_filesystem.so.1.81.0: cannot open shared object file: No such file or directory

erihel commented on 2021-08-22 08:51 (UTC)

I see it fails only if you have pod2man and po4a both installed

Eragon commented on 2021-08-22 08:38 (UTC)

po4a::chooser: Erreur de chargement de module : Can't locate Pod/Parser.pm in @INC (you may need to install the Pod::Parser module) (@INC contains: /usr/lib/perl5/5.34/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.34/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.34/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/Locale/Po4a/Pod.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Locale/Po4a/Pod.pm line 14.
Compilation failed in require at (eval 38) line 1.
BEGIN failed--compilation aborted at (eval 38) line 1.

The package need a new build dependency perl-pod-parser is required for building the .pod files

erihel commented on 2021-08-12 06:44 (UTC)

I've reported compilation error on github. This is most likely due to GCC/clang update.

https://github.com/colobot/colobot/issues/1450

Eragon commented on 2021-08-11 19:53 (UTC)

The package is not building, it fails with this error.

[ 64%] Building CXX object src/CMakeFiles/colobotbase.dir/sound/sound_type.cpp.o
In file included from /home/eragon/.cache/paru/clone/colobot-gold/src/colobot-colobot-gold-0.1.12-alpha/src/script/script.cpp:21:
/home/eragon/.cache/paru/clone/colobot-gold/src/colobot-colobot-gold-0.1.12-alpha/src/script/script.h:81:89: error: 'numeric_limits' is not a member of 'std'
   81 |     static void ColorizeScript(Ui::CEdit* edit, int rangeStart = 0, int rangeEnd = std::numeric_limits<int>::max());
      |                                                                                         ^~~~~~~~~~~~~~
/home/eragon/.cache/paru/clone/colobot-gold/src/colobot-colobot-gold-0.1.12-alpha/src/script/script.h:81:104: error: expected primary-expression before 'int'
   81 |     static void ColorizeScript(Ui::CEdit* edit, int rangeStart = 0, int rangeEnd = std::numeric_limits<int>::max());
      |                                                                                                        ^~~
[ 65%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/controls/button.cpp.o
[ 65%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/controls/check.cpp.o
[ 66%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/controls/color.cpp.o
[ 66%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/controls/control.cpp.o
[ 66%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/controls/edit.cpp.o
[ 67%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/controls/editvalue.cpp.o
make[2]: *** [src/CMakeFiles/colobotbase.dir/build.make:2134: src/CMakeFiles/colobotbase.dir/script/script.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/eragon/.cache/paru/clone/colobot-gold/src/colobot-colobot-gold-0.1.12-alpha/src/ui/controls/edit.cpp:38:
/home/eragon/.cache/paru/clone/colobot-gold/src/colobot-colobot-gold-0.1.12-alpha/src/script/script.h:81:89: error: 'numeric_limits' is not a member of 'std'
   81 |     static void ColorizeScript(Ui::CEdit* edit, int rangeStart = 0, int rangeEnd = std::numeric_limits<int>::max());
      |                                                                                         ^~~~~~~~~~~~~~
/home/eragon/.cache/paru/clone/colobot-gold/src/colobot-colobot-gold-0.1.12-alpha/src/script/script.h:81:104: error: expected primary-expression before 'int'
   81 |     static void ColorizeScript(Ui::CEdit* edit, int rangeStart = 0, int rangeEnd = std::numeric_limits<int>::max());
      |                                                                                                        ^~~
make[2]: *** [src/CMakeFiles/colobotbase.dir/build.make:2246: src/CMakeFiles/colobotbase.dir/ui/controls/edit.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:276: src/CMakeFiles/colobotbase.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'colobot-gold-0.1.12_alpha-1': 
error: packages failed to build: colobot-gold-0.1.12_alpha-1