Package Details: vcmi 1.7.5-1

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: https://github.com/vcmi/vcmi
Keywords: homm homm3 vcmi
Licenses: CC-BY-SA-4.0, GPL-2.0-or-later
Submitter: Raziel23
Maintainer: Gigas002
Last Packager: Gigas002
Votes: 53
Popularity: 0.058023
First Submitted: 2013-03-12 14:11 (UTC)
Last Updated: 2026-08-16 09:56 (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 .. 10 Next › Last »

norbert79 commented on 2026-08-18 16:08 (UTC)

Alright, I took a look and this is Arch's makepkg.conf (installed in July 2025): cat /etc/makepkg.conf | grep CFLAGS

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"

This is Cachy makepkg.conf

CFLAGS="-march=native -O3 -pipe -fno-plt -fexceptions \
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"

Be reminded, that the two devices differ from architecture perspective.

Gigas002 commented on 2026-08-18 02:17 (UTC)

Hmm. Sounds like a difference in CFLAGS in /etc/makepkg.conf on arch and cachy could cause this...

norbert79 commented on 2026-08-17 13:14 (UTC)

@Gigas002: I can take a look at it a bit later, sorry. Also, it works without a hiccup on CachyOS, but regular Arch with AUR fails. CachyOS has the following:

clang 22.1.8-2
lib32-clang 22.1.8-1

Crandel commented on 2026-08-17 10:00 (UTC) (edited on 2026-08-17 10:09 (UTC) by Crandel)

@Crandel @norbert79 Can you please try to confirm this happens when you compile with clang as well? Just to make sure. Maybe flushing the package manager cache will help as well. I'll try to figure out what's going on too, can't repro for now so unsure.

I can confirm it works with Clang if I add these lines in PKGBUILD

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

Gigas002 commented on 2026-08-17 01:53 (UTC)

@Crandel @norbert79 Can you please try to confirm this happens when you compile with clang as well? Just to make sure. Maybe flushing the package manager cache will help as well. I'll try to figure out what's going on too, can't repro for now so unsure.

norbert79 commented on 2026-08-16 16:23 (UTC) (edited on 2026-08-16 16:25 (UTC) by norbert79)

Fails also for me too, this time 1.7.5:


[566/870] Linking CXX shared library bin/AI/libNullkiller.so
In member function ‘__ct ’,
    inlined from ‘construct_type’ at /usr/include/boost/container/allocator_traits.hpp:103:4,
    inlined from ‘priv_construct’ at /usr/include/boost/container/allocator_traits.hpp:624:29,
    inlined from ‘construct’ at /usr/include/boost/container/allocator_traits.hpp:510:42,
    inlined from ‘emplace_back’ at /usr/include/boost/container/vector.hpp:1944:42,
    inlined from ‘priv_push_back’ at /usr/include/boost/container/vector.hpp:2944:25,
    inlined from ‘push_back’ at /usr/include/boost/container/vector.hpp:2058:4,
    inlined from ‘quickAddChainInfoWithBlocker’ at /home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller/Pathfinding/GraphPaths.cpp:373:24,
    inlined from ‘calculateQuickPathsWithBlocker’ at /home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller/Pathfinding/AIPathfinder.cpp:46:47,
    inlined from ‘clusterizeObject’ at /home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller/Analyzers/ObjectClusterizer.cpp:394:49:
/home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller/Pathfinding/AINodeStorage.h:68:8: warning: ‘MEM[(const struct AIPathNodeInfo &)&n].chainMask’ may be used uninitialized [-Wmaybe-uninitialized]
   68 | struct AIPathNodeInfo
      |        ^
/home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller/Pathfinding/GraphPaths.cpp: In member function ‘clusterizeObject’:
/home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller/Pathfinding/GraphPaths.cpp:362:40: note: ‘n’ declared here
  362 |                         AIPathNodeInfo n;
      |                                        ^
[567/870] Linking CXX shared library bin/AI/libNullkiller2.so
In member function ‘__ct ’,
    inlined from ‘construct_type’ at /usr/include/boost/container/allocator_traits.hpp:103:4,
    inlined from ‘priv_construct’ at /usr/include/boost/container/allocator_traits.hpp:624:29,
    inlined from ‘construct’ at /usr/include/boost/container/allocator_traits.hpp:510:42,
    inlined from ‘emplace_back’ at /usr/include/boost/container/vector.hpp:1944:42,
    inlined from ‘priv_push_back’ at /usr/include/boost/container/vector.hpp:2944:25,
    inlined from ‘push_back’ at /usr/include/boost/container/vector.hpp:2058:4,
    inlined from ‘quickAddChainInfoWithBlocker’ at /home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller2/Pathfinding/GraphPaths.cpp:374:24,
    inlined from ‘calculateQuickPathsWithBlocker’ at /home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller2/Pathfinding/AIPathfinder.cpp:40:47,
    inlined from ‘clusterizeObject’ at /home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller2/Analyzers/ObjectClusterizer.cpp:386:51:
/home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller2/Pathfinding/AINodeStorage.h:68:8: warning: ‘MEM[(const struct AIPathNodeInfo &)&n].chainMask’ may be used uninitialized [-Wmaybe-uninitialized]
   68 | struct AIPathNodeInfo
      |        ^
/home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller2/Pathfinding/GraphPaths.cpp: In member function ‘clusterizeObject’:
/home/norbi/.cache/yay/vcmi/src/vcmi-1.7.5/AI/Nullkiller2/Pathfinding/GraphPaths.cpp:363:40: note: ‘n’ declared here
  363 |                         AIPathNodeInfo n;
      |                                        ^
[568/870] Building CXX object mapeditor/CMakeFiles/vcmieditor.dir/cmake_pch.hxx.gch
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: vcmi-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
vcmi - exit status 4

Crandel commented on 2026-08-16 07:04 (UTC) (edited on 2026-08-16 16:03 (UTC) by Crandel)

1.7.4 is failing with this error. P.S. Same error for 1.7.5

[601/870] Building CXX object launcher/CMakeFiles/vcmilauncher.dir/cmake_pch.hxx.gch
FAILED: [code=1] launcher/CMakeFiles/vcmilauncher.dir/cmake_pch.hxx.gch
/usr/bin/c++ ... <many build flags>
In file included from /data/linux/bb/vcmi/src/vcmi-1.7.4/launcher/StdInc.h:23,
                 from /data/linux/bb/vcmi/src/build/launcher/CMakeFiles/vcmilauncher.dir/cmake_pch.hxx:5,,
                 from <command-line>:
/data/linux/bb/vcmi/src/vcmi-1.7.4/vcmiqt/convpathqstring.h: In substitution of ‘template<class Reference, class const_row_type> struct QRangeModelAdapter< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::RowGetter<Reference, const_row_type, typename std::enable_if<is_pointer_v<const_row_type>, void>::type> [with const_row_type = Reference]’:
/data/linux/bb/vcmi/src/vcmi-1.7.4/vcmiqt/convpathqstring.h:29:1:   required from here
   29 | }
      | ^
/data/linux/bb/vcmi/src/vcmi-1.7.4/vcmiqt/convpathqstring.h:29:1: internal compiler error: Segmentation fault
0x2815bf8 diagnostics::context::diagnostic_impl(rich_location*, diagnostics::metadata const*, diagnostics::option_id, char const*, __va_list_tag (*) [1], diagnostics::kind)
        ???:0
0x2818207 internal_error(char const*, ...)
        ???:0
0x96eee5 tsubst(tree_node*, tree_node*, int, tree_node*)
        ???:0
0x973427 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
        ???:0
0x973741 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
        ???:0
0x96f8cc tsubst(tree_node*, tree_node*, int, tree_node*)
        ???:0
0x985ef8 most_specialized_partial_spec(tree_node*, int, bool)
        ???:0
0x9210c8 class_decl_loc_t::diag_mismatched_tags(tree_node*)
        ???:0
0x92d5d4 class_decl_loc_t::diag_mismatched_tags()
        ???:0
0xaa5545 c_common_parse_file()
        ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues> for instructions.
[618/870] Building CXX object mapeditor/CMakeFiles/vcmieditor.dir/cmake_pch.hxx.gch
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

unnilquadium commented on 2026-08-09 08:50 (UTC)

PKGBUILD should be updated to include minizip as dependency instead of build dependency, as vcmilauncher requires libminizip.so.1

husked327 commented on 2026-05-22 07:48 (UTC)

The vcmi.install file seems incomplete since the previous update. But that doesn't break the builds, so maybe the file is just not needed anymore and could be deleted?

Gigas002 commented on 2026-04-28 06:19 (UTC)

@xcom can't repro on my machine. Can you please share some more details, some error would be good?