I can't get openMW to compile from the AUR

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
BooficusIIIrd
Posts: 8
Joined: 21 Nov 2021, 22:46

I can't get openMW to compile from the AUR

Post by BooficusIIIrd »

Hi everyone,
I am trying to install open MW via the Arch user repository, my computer is a lenovo x200 running artix, and I am using yay to install.

here is the issue in my terminal:

Spoiler: Show



OK so that was the error, to me it seems to be unable to find Libunsheild? I have tried installing that separate, however I can't find it.

see here
booflet451-Reboofed:[booflet451]:~/openmw/openmw-git$ yay -S libunsheild
-> Could not find all required packages:
libunsheild (Target)


I'm not really sure how to proceed?
if all else fails perhaps is there a way to contact the maintainer of openmw on the AUR, it lists a name but no email or other means to contact as far as I can see.

any help would be greatly appreciated,
Booficus IIIrd
User avatar
akortunov
Posts: 899
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: I can't get openMW to compile from the AUR

Post by akortunov »

I suppose that the package is called "unshield" on Arch:

https://archlinux.org/packages/communit ... ield/files
BooficusIIIrd
Posts: 8
Joined: 21 Nov 2021, 22:46

Re: I can't get openMW to compile from the AUR

Post by BooficusIIIrd »

thanks akortunov,
thanks to your tip I have installed unsheild-git using yay,
Spoiler: Show


so after that I tried makepkg again for openmw, but am getting the same error it seems to me,
Spoiler: Show




too me it looks like open mw is looking for libunsheild and isn't recognising unsheild.
could there be some way to rename the package? or change when openmw is looking for?

anyway at this point i noiced this part of the error:
"You may use CMake GUI, cmake -D or ccmake to modify the values. Delete
CMakeCache.txt to discard all values and force full re-detection if
necessary. "
as i don't understand how to use cmake -D or ccmake so I tried deleting CMakeCahse.txt but that has not changed the error.

I think this could be part of the solution so I'm going to look into that but please don't let that stop you from reaching out with more help.
thanks.
User avatar
akortunov
Posts: 899
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: I can't get openMW to compile from the AUR

Post by akortunov »

Judging by log, your CMake can not find unshield library (more likely because it is called /usr/lib/liblibunshield.so instead of /usr/lib/libunshield.so). Probably you misconfigured your "unshield" package. I do not use Arch, so I can not tell why it uses a non-default library name and how to fix it properly.
LoneWolf
Posts: 138
Joined: 26 Sep 2017, 19:13

Re: I can't get openMW to compile from the AUR

Post by LoneWolf »

Builds fine in a clean chroot, there's nothing wrong with archlinux repo unshield package.
remove unshield-git please.

output of pacman -Qs base-devel ?
(should show 24 packages)

does running makepg --cleanbuild --syncdeps --rmdeps help ?


Edit : parameters in pacman command were useless for troubleshooting this, corrected.
BooficusIIIrd
Posts: 8
Joined: 21 Nov 2021, 22:46

Re: I can't get openMW to compile from the AUR

Post by BooficusIIIrd »

so pacman -Qs base-devel gave me this looks like 26 results to me:
Spoiler: Show
So I removed unshield, however lonewolf, if I'm not getting unshield from the AUR where should I get it from? I can't find it with pacman.
you mentioned you were able to build, where did you source your unshield?

also tried makepg --cleanbuild --syncdeps --rmdeps but no success
Spoiler: Show
thanks again for the help
BooficusIIIrd
Posts: 8
Joined: 21 Nov 2021, 22:46

Re: I can't get openMW to compile from the AUR

Post by BooficusIIIrd »

Hi again all,
tried installing with yay again instead of the makepkg command to see if that would help, didn't work but I thought i'd share the terminal's output it might be helpfull.
Spoiler: Show
LoneWolf
Posts: 138
Joined: 26 Sep 2017, 19:13

Re: I can't get openMW to compile from the AUR

Post by LoneWolf »

Code: Select all

local/esysusers 249.6-1 (base-devel)
the sysusers.d binary
local/etmpfiles 249.6-1 (base-devel)
the tmpfiles.d binary
Those 2 packages are not present in archlinux repos or aur.
Also unshield is present in archlinux community repo[1]

Combining those indicate you're not using archlinux but some other distro that uses archlinux as a base [2] , maybe artix linux .

Fortunately unshield is a simple package, a short term solution is to use the archlinux PKGBUILD and build your own local version of unshield.

A longterm solution would be to ask the devs of your distribution to add unshield to their repos .


[1] https://archlinux.org/packages/communit ... /unshield/
[2] https://wiki.archlinux.org/title/Arch-b ... tributions
BooficusIIIrd
Posts: 8
Joined: 21 Nov 2021, 22:46

Re: I can't get openMW to compile from the AUR

Post by BooficusIIIrd »

Yes I am using Artix, I mentioned it in my original post.
also I have reinstalled unsheild-git with yay now.
LoneWolf
Posts: 138
Joined: 26 Sep 2017, 19:13

Re: I can't get openMW to compile from the AUR

Post by LoneWolf »

BooficusIIIrd wrote: Yes I am using Artix, I mentioned it in my original post.
Apologies, I overlooked that.
BooficusIIIrd wrote: Also I have reinstalled unsheild-git with yay now.
I tested building openmw with unshield-git and got exactly the same error as you.

Using the stable unshield version does not give that error, so unshield-git is not the solution but the cause of the error.

Replace unshield-git with the stable version.
Post Reply