Package Details: vcmi 1.5.7-2

Git Clone URL: https://aur.archlinux.org/vcmi.git (read-only, click to copy)
Package Base: vcmi
Description: Open-source engine for Heroes of Might and Magic III
Upstream URL: http://vcmi.eu
Keywords: homm homm3 vcmi
Licenses: GPL-2.0-or-later AND CC-BY-SA-4.0
Conflicts: vcmi
Provides: vcmi
Submitter: Raziel23
Maintainer: Gigas002
Last Packager: Gigas002
Votes: 50
Popularity: 0.64
First Submitted: 2013-03-12 14:11 (UTC)
Last Updated: 2024-09-06 16:07 (UTC)

Pinned Comments

Gigas002 commented on 2024-05-29 15:08 (UTC)

PKGBUILD tweaks

If you want to build with clang, add this part to cmake flags:

    -DCMAKE_CXX_COMPILER='clang++' \
    -DCMAKE_C_COMPILER='clang' \

If you want to use bundled fuzzylite:

    -DFORCE_BUNDLED_FL=ON \

If you want to use innoextract (system-wide installation won't work since vcmi has a temporary? fork of innoextract for now):

    -DENABLE_INNOEXTRACT=ON \

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

mk_root commented on 2024-09-29 04:50 (UTC) (edited on 2024-09-29 04:51 (UTC) by mk_root)


[ 98%] Building CXX object client/CMakeFiles/vcmiclient.dir/ServerRunner.cpp.o
/var/tmp/pamac-build-mk/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:13:10: fatal error: boost/process/v1/child.hpp: No such file or directory
   13 | #include <boost/process/v1/child.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [client/CMakeFiles/vcmiclient.dir/build.make:2701: client/CMakeFiles/vcmiclient.dir/ServerRunner.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:951: client/CMakeFiles/vcmiclient.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Looks like it similar to related bug https://github.com/vcmi/vcmi/issues/4561#issuecomment-2333877704

Version 1.5.7-2

Gigas002 commented on 2024-09-06 16:07 (UTC)

@Crandel Thank you for the contribution! I've tested the patch and everything seems to work for me. Added to a package until 1.6.x releases

Crandel commented on 2024-09-06 11:47 (UTC)

@Gigas002

there is a patch available in the comments of my issue https://github.com/vcmi/vcmi/issues/4561#issuecomment-2333877704

Crandel commented on 2024-09-04 09:08 (UTC)

The issue was created https://github.com/vcmi/vcmi/issues/4561

Gigas002 commented on 2024-09-03 15:08 (UTC)

My bad, tested on a wrong machine. Could you please report this upstream, as the issue for it got removed, it seems? The flatpak maintainer just downgraded the boost version to 1.85 for now

Crandel commented on 2024-09-03 14:36 (UTC)

Thanks for reporting this, @Crandel! Could you try out clean out all vcmi build caches and rebuild package, or try out building in a clean chroot? It builds and works for me without old caches

I've build this package several times, with cache clean and complete vcmi directory remove. The output is the same.

Gigas002 commented on 2024-09-03 14:33 (UTC) (edited on 2024-09-03 15:06 (UTC) by Gigas002)

Thanks for reporting this, @Crandel! Could you try out clean out all vcmi build caches and rebuild package, or try out building in a clean chroot? It builds and works for me without old caches

Crandel commented on 2024-09-03 12:50 (UTC)

After updating boost to version 1.86 vcmi stop working and failed to compile with this error

/data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:63:14: error: invalid use of incomplete type ‘class boost::process::child’ 63 | child->terminate(); | ^~ In file included from /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:12: /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.h:49:7: note: forward declaration of ‘class boost::process::child’ 49 | class child; | ^~~~~ /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp: In member function ‘virtual void ServerProcessRunner::wait()’: /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:68:14: error: invalid use of incomplete type ‘class boost::process::child’ 68 | child->wait(); | ^~ /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.h:49:7: note: forward declaration of ‘class boost::process::child’ 49 | class child; | ^~~~~ /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp: In member function ‘virtual int ServerProcessRunner::exitCode()’: /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:73:21: error: invalid use of incomplete type ‘class boost::process::child’ 73 | return child->exit_code(); | ^~ /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.h:49:7: note: forward declaration of ‘class boost::process::child’ 49 | class child; | ^~~~~ /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp: In member function ‘virtual void ServerProcessRunner::start(uint16_t, bool, std::shared_ptr<StartInfo>)’: /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:87:22: error: parse error in template argument list 87 | child = std::make_unique<boost::process::child>(serverPath, args, ec, boost::process::std_out > logPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:87:56: error: no matching function for call to ‘make_unique<<expression error> >(boost::filesystem::path&, std::vector<std::__cxx11::basic_string<char> >&, std::error_code&, boost::process::v1::detail::posix::file_out<1, -1>)’ 87 | child = std::make_unique<boost::process::child>(serverPath, args, ec, boost::process::std_out > logPath); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.1/memory:78, from /data/linux/bb/vcmi/src/vcmi-1.5.7/Global.h:123: /usr/include/c++/14.2.1/bits/unique_ptr.h:1075:5: note: candidate: ‘template<class _Tp, class ... _Args> std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...)’ 1075 | make_unique(_Args&&... __args) | ^~~~~~~~~~~ /usr/include/c++/14.2.1/bits/unique_ptr.h:1075:5: note: template argument deduction/substitution failed: /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:87:56: error: template argument 1 is invalid 87 | child = std::make_unique<boost::process::child>(serverPath, args, ec, boost::process::std_out > logPath); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.1/bits/unique_ptr.h:1090:5: note: candidate: ‘template<class _Tp> std::__detail::__unique_ptr_array_t<_Tp> std::make_unique(size_t)’ 1090 | make_unique(size_t __num) | ^~~~~~~~~~~ /usr/include/c++/14.2.1/bits/unique_ptr.h:1090:5: note: candidate expects 1 argument, 4 provided /usr/include/c++/14.2.1/bits/unique_ptr.h:1100:5: note: candidate: ‘template<class _Tp, class ... _Args> std::__detail::__invalid_make_unique_t<_Tp> std::make_unique(_Args&& ...)’ (deleted) 1100 | make_unique(_Args&&...) = delete; | ^~~~~~~~~~~ /usr/include/c++/14.2.1/bits/unique_ptr.h:1100:5: note: template argument deduction/substitution failed: /data/linux/bb/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:87:56: error: template argument 1 is invalid 87 | child = std::make_unique<boost::process::child>(serverPath, args, ec, boost::process::std_out > logPath); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.1/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = boost::process::child]’: make[1]: *** [CMakeFiles/Makefile2:951: client/CMakeFiles/vcmiclient.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: vcmi-exit status 4 checking dependencies...

Gigas002 commented on 2024-07-12 11:01 (UTC)

The irritating qt6 compilation issue fix was merged and now I'm making qt6 default for this package