Advertisement
Guest User

Limo-git build error

a guest
Mar 2nd, 2025
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.89 KB | None | 0 0
  1. [ 24%] Building CXX object CMakeFiles/core.dir/src/core/mod.cpp.o
  2. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp: In member function ‘virtual void LootDeployer::sortModsByConflicts(std::optional<ProgressNode*>)’:
  3. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:194:50: error: cannot convert ‘std::vector<std::filesystem::__cxx11::path>’ to ‘const std::vector<std::__cxx11::basic_string<char> >&’
  4. 194 | auto sorted_plugins = loot_handle->SortPlugins(plugin_paths);
  5. | ^~~~~~~~~~~~
  6. | |
  7. | std::vector<std::filesystem::__cxx11::path>
  8. In file included from /usr/include/loot/api.h:41,
  9. from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.h:8,
  10. from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:1:
  11. /usr/include/loot/game_interface.h:176:39: note: initializing argument 1 of ‘virtual std::vector<std::__cxx11::basic_string<char> > loot::GameInterface::SortPlugins(const std::vector<std::__cxx11::basic_string<char> >&)’
  12. 176 | const std::vector<std::string>& pluginFilenames) = 0;
  13. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  14. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp: In lambda function:
  15. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:205:84: error: ‘plugin’ is not captured
  16. 205 | auto iter = str::find_if(plugins_, [plugin](const auto& p) { return p.first == plugin; });
  17. | ^~~~~~
  18. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:205:47: note: the lambda has no capture-default
  19. 205 | auto iter = str::find_if(plugins_, [plugin](const auto& p) { return p.first == plugin; });
  20. | ^
  21. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:203:19: note: ‘<typeprefixerror>plugin’ declared here
  22. 203 | for(const auto& plugin : sorted_plugins)
  23. | ^~~~~~
  24. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp: In member function ‘virtual void LootDeployer::sortModsByConflicts(std::optional<ProgressNode*>)’:
  25. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:205:29: error: no match for call to ‘(const std::ranges::__find_if_fn) (std::vector<std::pair<std::__cxx11::basic_string<char>, bool> >&, LootDeployer::sortModsByConflicts(std::optional<ProgressNode*>)::<lambda(const auto:54&)>)’
  26. 205 | auto iter = str::find_if(plugins_, [plugin](const auto& p) { return p.first == plugin; });
  27. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28. In file included from /usr/include/c++/14.2.1/tuple:44,
  29. from /usr/include/c++/14.2.1/bits/uses_allocator_args.h:39,
  30. from /usr/include/c++/14.2.1/bits/memory_resource.h:41,
  31. from /usr/include/c++/14.2.1/string:68,
  32. from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/conflictinfo.h:8,
  33. from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/deployer.h:8,
  34. from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.h:7:
  35. /usr/include/c++/14.2.1/bits/ranges_util.h:526:7: note: candidate: ‘template<class _Iter, class _Sent, class _Proj, class _Pred> requires (input_iterator<_Iter>) && (sentinel_for<_Sent, _Iter>) && (indirect_unary_predicate<_Pred, typename std::__detail::__projected<_Iter, _Proj>::__type>) constexpr _Iter std::ranges::__find_if_fn::operator()(_Iter, _Sent, _Pred, _Proj) const’
  36. 526 | operator()(_Iter __first, _Sent __last,
  37. | ^~~~~~~~
  38. /usr/include/c++/14.2.1/bits/ranges_util.h:526:7: note: candidate expects 3 arguments, 2 provided
  39. /usr/include/c++/14.2.1/bits/ranges_util.h:539:7: note: candidate: ‘template<class _Range, class _Proj, class _Pred> requires (input_range<_Range>) && (indirect_unary_predicate<_Pred, typename std::__detail::__projected<decltype(std::ranges::__access::__begin((declval<_Container&>)())), _Proj>::__type>) constexpr std::ranges::borrowed_iterator_t<_Range> std::ranges::__find_if_fn::operator()(_Range&&, _Pred, _Proj) const’
  40. 539 | operator()(_Range&& __r, _Pred __pred, _Proj __proj = {}) const
  41. | ^~~~~~~~
  42. /usr/include/c++/14.2.1/bits/ranges_util.h:539:7: note: template argument deduction/substitution failed:
  43. /usr/include/c++/14.2.1/bits/ranges_util.h:539:7: note: constraints not satisfied
  44. In file included from /usr/include/c++/14.2.1/compare:40,
  45. from /usr/include/c++/14.2.1/bits/char_traits.h:56,
  46. from /usr/include/c++/14.2.1/string:42:
  47. /usr/include/c++/14.2.1/concepts: In substitution of ‘template<class _Range, class _Proj, class _Pred> requires (input_range<_Range>) && (indirect_unary_predicate<_Pred, typename std::__detail::__projected<decltype(std::ranges::__access::__begin((declval<_Container&>)())), _Proj>::__type>) constexpr std::ranges::borrowed_iterator_t<_Range> std::ranges::__find_if_fn::operator()(_Range&&, _Pred, _Proj) const [with _Range = std::vector<std::pair<std::__cxx11::basic_string<char>, bool> >&; _Proj = std::identity; _Pred = LootDeployer::sortModsByConflicts(std::optional<ProgressNode*>)::<lambda(const auto:54&)>]’:
  48. /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:205:29: required from here
  49. 205 | auto iter = str::find_if(plugins_, [plugin](const auto& p) { return p.first == plugin; });
  50. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  51. /usr/include/c++/14.2.1/concepts:360:13: required for the satisfaction of ‘invocable<_Fn, _Args ...>’ [with _Fn = LootDeployer::sortModsByConflicts::._anon_322&; _Args = {std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>&}]
  52. /usr/include/c++/14.2.1/concepts:364:13: required for the satisfaction of ‘regular_invocable<_Fn, _Args ...>’ [with _Fn = LootDeployer::sortModsByConflicts::._anon_322&; _Args = {std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>&}]
  53. /usr/include/c++/14.2.1/concepts:368:13: required for the satisfaction of ‘predicate<_Fn&, typename std::__detail::__indirect_value<_Iter>::type>’ [with _Fn = LootDeployer::sortModsByConflicts::._anon_322; _Iter = std::__detail::__projected<__gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>*, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool> > > >, std::identity>::__type]
  54. /usr/include/c++/14.2.1/bits/iterator_concepts.h:741:13: required for the satisfaction of ‘indirect_unary_predicate<_Pred, std::projected<decltype (std::ranges::__access::__begin(declval<_Container&>())), _Proj> >’ [with _Pred = LootDeployer::sortModsByConflicts::._anon_322; _Range = std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool> > >&; _Proj = std::identity]
  55. /usr/include/c++/14.2.1/concepts:360:25: note: the expression ‘is_invocable_v<_Fn, _Args ...> [with _Fn = LootDeployer::sortModsByConflicts::._anon_322&; _Args = {std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>&}]’ evaluated to ‘false’
  56. 360 | concept invocable = is_invocable_v<_Fn, _Args...>;
  57. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  58. [ 25%] Building CXX object CMakeFiles/core.dir/src/core/moddedapplication.cpp.o
  59. [ 26%] Building CXX object CMakeFiles/core.dir/src/core/nexus/api.cpp.o
  60. [ 27%] Building CXX object CMakeFiles/core.dir/src/core/nexus/file.cpp.o
  61. [ 28%] Building CXX object CMakeFiles/core.dir/src/core/nexus/mod.cpp.o
  62. [ 29%] Building CXX object CMakeFiles/core.dir/src/core/openmwarchivedeployer.cpp.o
  63. [ 30%] Building CXX object CMakeFiles/core.dir/src/core/openmwplugindeployer.cpp.o
  64. make[2]: *** [CMakeFiles/core.dir/build.make:331: CMakeFiles/core.dir/src/core/lootdeployer.cpp.o] Error 1
  65. make[2]: *** Waiting for unfinished jobs....
  66. make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/core.dir/all] Error 2
  67. make: *** [Makefile:136: all] Error 2
  68. ==> ERROR: A failure occurred in build().
  69. Aborting...
  70. error: failed to build 'limo-git-r138.662e695-1':
  71. error: packages failed to build: limo-git-r138.662e695-1
  72.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement