The issue was created https://github.com/vcmi/vcmi/issues/4561
Search Criteria
Package Details: vcmi 1.6.7-2
Package Actions
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: | 51 |
Popularity: | 0.50 |
First Submitted: | 2013-03-12 14:11 (UTC) |
Last Updated: | 2025-03-06 09:34 (UTC) |
Dependencies (20)
- boost-libs
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR)
- fuzzyliteAUR (fuzzylite-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR)
- onetbb
- qt6-base (qt6-base-gitAUR, qt6-base-noguiAUR, qt6-base-headlessAUR)
- sdl2_image
- sdl2_mixer
- sdl2_ttf
- boost (boost-gitAUR) (make)
- ccache (ccache-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- minizip (minizip-gitAUR) (make)
- qt6-tools (make)
- innoextract (innoextract-gitAUR) (optional) – required by vcmibuilder
- unshield (unshield-gitAUR) (optional) – required by vcmibuilder
- unzip (unzip-natspecAUR, unzip-zstdAUR) (optional) – required by vcmibuilder
Required by (1)
Sources (1)
Crandel commented on 2024-09-04 09:08 (UTC)
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
Gigas002 commented on 2024-06-23 14:10 (UTC)
So, about the qt6 compilation... The upstream fix have been merged, however, since it was merged to a wrong branch it's not in a recent release. Hoping to see it in a next one. For now, I think I found out a dirty hack to force compile with qt5, have to live with it.
Gigas002 commented on 2024-05-30 15:40 (UTC)
@michaldybczak The fix is not yet merged upstream, unfortunately. You can track the progress on this issue using the link in pinned post. It's scheduled to be merged somewhere before 1.6.0 release, but no exact schedule
michaldybczak commented on 2024-05-30 15:35 (UTC)
Still can't compile the package in the latest version. The same issue with "translation/chinese.qm" path.
Pinned Comments
Gigas002 commented on 2024-05-29 15:08 (UTC)
PKGBUILD
tweaksIf you want to build with
clang
, add this part tocmake
flags:If you want to use bundled
fuzzylite
:If you want to use
innoextract
(system-wide installation won't work since vcmi has a temporary? fork ofinnoextract
for now):