Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MyGUI behind latest release, effects OpenMW
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
alecStewart1
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2022
Posts: 148

PostPosted: Tue Feb 27, 2024 2:13 am    Post subject: MyGUI behind latest release, effects OpenMW Reply with quote

Hello, friends!

I was curious about some of the mods for OpenMW suggested on modding-openmw.com that require the developer build of OpenMW (just means being up-to-date with the master branch, it seems)

https://modding-openmw.com/lists/total-overhaul/#total-overhaul-dev-build-only

Unfortunately, it requires MyGUI 3.4.3 or above, and currently in the main gentoo package repo is 3.4.1.

The error I get from emerge --ask --verbose openmw with ** in my package.accept_keywords

Code:

-- Found Boost: /usr/include (found suitable version "1.84.0", minimum required is "1.6.2") found components: iostreams program_options system regex
CMake Error at cmake/LibFindMacros.cmake:356 (message):
  REQUIRED PACKAGE NOT FOUND

  MyGUI 3.4.1 was found but version 3.4.3 is the minimum requirement.  This
  package is REQUIRED and you need to install it or adjust CMake
  configuration in order to continue building OpenMW.

  Relevant CMake configuration variables:

    MyGUI_INCLUDE_DIR=/usr/include/MYGUI
    MyGUI_LIBRARY=/usr/lib64/libMyGUIEngine.so

  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.

Call Stack (most recent call first):
  cmake/FindMyGUI.cmake:49 (libfind_process)
  CMakeLists.txt:468 (find_package)


-- Configuring incomplete, errors occurred!
 * ERROR: games-engines/openmw-9999::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3284:  Called cmake_src_configure
 *   environment, line 1535:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=games-engines/openmw-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-engines/openmw-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/portage/games-engines/openmw-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/games-engines/openmw-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/games-engines/openmw-9999/work/openmw-9999_build'
 * S: '/var/tmp/portage/portage/games-engines/openmw-9999/work/openmw-9999'


The latest release for MyGUI is 3.4.3

https://github.com/MyGUI/mygui/releases/tag/MyGUI3.4.3

Hopefully at some point I can contribute to updating packages myself, but I thought I'd let someone know here.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22640

PostPosted: Tue Feb 27, 2024 3:29 am    Post subject: Reply with quote

Version bumps should be reported on bugs.gentoo.org if you need a Gentoo maintainer to see them. Posting here may or may not alert the right person.
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 894
Location: Germany

PostPosted: Tue Feb 27, 2024 5:45 am    Post subject: Re: MyGUI behind latest release, effects OpenMW Reply with quote

alecStewart1 wrote:
Hello, friends!

I was curious about some of the mods for OpenMW suggested on modding-openmw.com that require the developer build of OpenMW (just means being up-to-date with the master branch, it seems)

https://modding-openmw.com/lists/total-overhaul/#total-overhaul-dev-build-only

Unfortunately, it requires MyGUI 3.4.3 or above, and currently in the main gentoo package repo is 3.4.1.

The error I get from emerge --ask --verbose openmw with ** in my package.accept_keywords

Code:

-- Found Boost: /usr/include (found suitable version "1.84.0", minimum required is "1.6.2") found components: iostreams program_options system regex
CMake Error at cmake/LibFindMacros.cmake:356 (message):
  REQUIRED PACKAGE NOT FOUND

  MyGUI 3.4.1 was found but version 3.4.3 is the minimum requirement.  This
  package is REQUIRED and you need to install it or adjust CMake
  configuration in order to continue building OpenMW.

  Relevant CMake configuration variables:

    MyGUI_INCLUDE_DIR=/usr/include/MYGUI
    MyGUI_LIBRARY=/usr/lib64/libMyGUIEngine.so

  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.

Call Stack (most recent call first):
  cmake/FindMyGUI.cmake:49 (libfind_process)
  CMakeLists.txt:468 (find_package)


-- Configuring incomplete, errors occurred!
 * ERROR: games-engines/openmw-9999::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3284:  Called cmake_src_configure
 *   environment, line 1535:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=games-engines/openmw-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-engines/openmw-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/portage/games-engines/openmw-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/games-engines/openmw-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/games-engines/openmw-9999/work/openmw-9999_build'
 * S: '/var/tmp/portage/portage/games-engines/openmw-9999/work/openmw-9999'


The latest release for MyGUI is 3.4.3

https://github.com/MyGUI/mygui/releases/tag/MyGUI3.4.3

Hopefully at some point I can contribute to updating packages myself, but I thought I'd let someone know here.


One thing you can try is to make the new ebuild yourself.
Sounds daunting?
Well, for simple version bumps without many changes it often works like this:
As admin do the following
Code:

cd /var/db/repos/gentoo/dev-games/mygui
cp mygui-[current-version].ebuild mygui-[latest-version].ebuild
ebuild mygui-[latest-version] manifest
emerge --update mygui


This ebuild will be deleted whenever you sync your portage tree, so these steps will have to be repeated after each sync, unfortunately. But if it works with this simple method, you can make the bump request as Hu said above and provide the information that a simple renaming of the ebuild is enough.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Tue Feb 27, 2024 6:45 am    Post subject: Re: MyGUI behind latest release, effects OpenMW Reply with quote

Clad in Sky wrote:
This ebuild will be deleted whenever you sync your portage tree, so these steps will have to be repeated after each sync, unfortunately.

For this reason, it is a good idea to create your own local repository: https://wiki.gentoo.org/wiki/Creating_an_ebuild_repository
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 894
Location: Germany

PostPosted: Tue Feb 27, 2024 8:53 pm    Post subject: Re: MyGUI behind latest release, effects OpenMW Reply with quote

shadowless wrote:
Clad in Sky wrote:
This ebuild will be deleted whenever you sync your portage tree, so these steps will have to be repeated after each sync, unfortunately.

For this reason, it is a good idea to create your own local repository: https://wiki.gentoo.org/wiki/Creating_an_ebuild_repository


Indeed, but I was in a bit of a hurry and if in this case simply renaming the ebuild does not work, it would have been quite a bit more work.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 894
Location: Germany

PostPosted: Wed Feb 28, 2024 4:46 pm    Post subject: Reply with quote

FYI
The most simple method does not work.
You'll have to edit the ebuild and delete the PATCHES section.
After that myGUI-3.4.3 will build.

You might want to follow Shadowless' advice and make a local repository so the ebuild doesn't get deleted every sync.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum