Sunday February 28th 2021 - Update issue with packman inode mirror
There are issues with the inode mirror, please configure an alternative mirror. See http://packman.links2linux.org/mirrors
-
Missing dependency OpenMW
Dear all,
We all have this one game we always come back to. For me it's Morrowind. However I have problems coming back to it on OpenSUSE, because I'm having trouble installing the package. See:
Code:
[~] sudo zypper install openmw
[sudo] password for root:
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: nothing provides libboost_filesystem.so.1.71.0()(64bit) needed by openmw-0.46.0-21.1.x86_64
Solution 1: do not install openmw-0.46.0-21.1.x86_64
Solution 2: break openmw-0.46.0-21.1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Resolving dependencies...
Resolving package dependencies...
The following NEW package is going to be installed:
openmw
1 new package to install.
Overall download size: 6.1 MiB. Already cached: 0 B. After the operation, additional
20.0 MiB will be used.
Continue? [y/n/v/...? shows all options] (y):
Retrieving package openmw-0.46.0-21.1.x86_64 (1/1), 6.1 MiB ( 20.0 MiB unpacked)
Retrieving: openmw-0.46.0-21.1.x86_64.rpm ..........................[done (2.8 MiB/s)]
Checking for file conflicts: ...................................................[done]
(1/1) Installing: openmw-0.46.0-21.1.x86_64 ....................................[done]
[~] openmw
openmw: error while loading shared libraries: libboost_filesystem.so.1.71.0: cannot open shared object file: No such file or directory
Should I file this as a bug, or is there a solution? Not sure, I'm new to OpenSUSE. I'm installing it from the 'games' repository, after having similar problems in the ordinary repo.
Thanks!
-
Re: Missing dependency OpenMW
TW currently has libboost* 1.74
openmw at present is not building for TW at either "games" or "factory"
https://build.opensuse.org/package/show/games/openmw
https://build.opensuse.org/package/s...Factory/openmw
So yes, either a bug report or contact the maintainer.
Regards, Paul
2x Tumbleweed (Snapshot: 20210106) KDE Plasma 5
2x Leap 15.2 KDE Plasma 5
-
Re: Missing dependency OpenMW
-
Re: Missing dependency OpenMW
I was feeling brave and tried to solve this myself by changing the dependency in the openmw.spec from:
Code:
5-BuildRequires: libboost_filesystem-devel
to
Code:
5-BuildRequires: libboost_filesystem1_74_0
However, that gives me the following error(s) when trying to build the package:
Code:
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
[ 150s] Could NOT find Boost (missing: filesystem) (found version "1.74.0")
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:2177 (find_package_handle_standard_args)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] -- Configuring incomplete, errors occurred!
Perhaps anyone here can see what's going wrong?
-
AW: Missing dependency OpenMW
I think, there is also a dependency in the cmake-file of the sources.
You have to patch it.
-
Re: Missing dependency OpenMW
Hm, yes that must be it. Just can't seem to find the reference to the dependency...
-
Re: Missing dependency OpenMW
Have you just tried installing the newer version in the TW repo, then running openmw to see if it works?
Depending on internal code, you may not see a problem.
That's because AFAik libboost does not require compiling, so may "just work."
TSU
Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
Solved a problem recently? Create a wiki page for future personal reference!
Learn something new?
Attended a computing event?
Post and Share!
-
Re: Missing dependency OpenMW
BTW - Is still in a couple of private repos for 15.1, 15.2.
If you download and install the package and don't add the repository, I'd guess that using either of these would probably be OK and shouldn't affect other apps on your system (although YMMV) and AFAIK isn't used in any core OS functions.
If you're on BTRFS, this is one of those things that can be undone without a trace by rolling back if a regular uninstall doesn't remove it completely.
https://software.opensuse.org/packag...lesystem1_71_0
TSU
Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
Solved a problem recently? Create a wiki page for future personal reference!
Learn something new?
Attended a computing event?
Post and Share!
-
Re: Missing dependency OpenMW
 Originally Posted by JanDeAlleman
I was feeling brave and tried to solve this myself by changing the dependency in the openmw.spec from:
Code:
5-BuildRequires: libboost_filesystem-devel
to
Code:
5-BuildRequires: libboost_filesystem1_74_0
However, that gives me the following error(s) when trying to build the package:
Code:
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1187 (message):
[ 150s] New Boost version may have incorrect or missing dependencies and imported
[ 150s] targets
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
[ 150s] Could NOT find Boost (missing: filesystem) (found version "1.74.0")
[ 150s] Call Stack (most recent call first):
[ 150s] /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
[ 150s] /usr/share/cmake/Modules/FindBoost.cmake:2177 (find_package_handle_standard_args)
[ 150s] CMakeLists.txt:319 (find_package)
[ 150s]
[ 150s]
[ 150s] -- Configuring incomplete, errors occurred!
Perhaps anyone here can see what's going wrong?
Hi
The actual error is regex missing, install libboost_regex-devel, but there is a build error which indicates algorithm is missing...
Code:
[ 82s] In file included from /home/abuild/rpmbuild/BUILD/openmw-openmw-0.46.0/components/detournavigator/makenavmesh.hpp:4,
[ 82s] from /home/abuild/rpmbuild/BUILD/openmw-openmw-0.46.0/components/detournavigator/makenavmesh.cpp:1:
[ 82s] /home/abuild/rpmbuild/BUILD/openmw-openmw-0.46.0/components/detournavigator/offmeshconnectionsmanager.hpp: In member function 'std::vector<DetourNavigator::OffMeshConnection> DetourNavigator::OffMeshConnectionsManager::get(const TilePosition&)':
[ 82s] /home/abuild/rpmbuild/BUILD/openmw-openmw-0.46.0/components/detournavigator/offmeshconnectionsmanager.hpp:84:18: error: 'for_each' is not a member of 'std'
[ 82s] 84 | std::for_each(itByTilePosition->second.begin(), itByTilePosition->second.end(),
[ 82s] | ^~~~~~~~
[ 82s] make[2]: *** [components/CMakeFiles/components.dir/build.make:3110: components/CMakeFiles/components.dir/detournavigator/makenavmesh.cpp.o] Error 1
[ 82s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/openmw-openmw-0.46.0/build'
[ 82s] make[2]: *** Waiting for unfinished jobs....
diff -Naur a/openmw-openmw-0.46.0/components/detournavigator/offmeshconnectionsmanager.hpp b/openmw-openmw-0.46.0/components/detournavigator/offmeshconnectionsmanager.hpp
--- a/openmw-openmw-0.46.0/components/detournavigator/offmeshconnectionsmanager.hpp 2020-06-08 04:11:24.000000000 -0500
+++ b/openmw-openmw-0.46.0/components/detournavigator/offmeshconnectionsmanager.hpp 2020-11-15 20:03:09.136071793 -0600
@@ -13,6 +13,7 @@
#include <boost/optional.hpp>
+#include <algorithm>
#include <map>
#include <mutex>
#include <unordered_map>
It is fixed upstream....
https://github.com/OpenMW/openmw/blo...onsmanager.hpp
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!
-
Re: Missing dependency OpenMW
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|