Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665804 - dev-games/mygui-3.2.2 : /.../MyGUI_OgreDataStream.h:13:10: fatal error: OgreDataStream.h: No such file or directory
Summary: dev-games/mygui-3.2.2 : /.../MyGUI_OgreDataStream.h:13:10: fatal error: OgreD...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Games
Depends on:
Reported: 2018-09-12 15:44 UTC by Toralf Förster
Modified: 2022-03-02 05:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge-info.txt (emerge-info.txt,16.77 KB, text/plain)
2018-09-12 15:44 UTC, Toralf Förster
dev-games:mygui-3.2.2:20180912-101050.log (dev-games:mygui-3.2.2:20180912-101050.log,79.40 KB, text/plain)
2018-09-12 15:44 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,208.39 KB, text/plain)
2018-09-12 15:44 UTC, Toralf Förster
environment (environment,108.23 KB, text/plain)
2018-09-12 15:44 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,28.09 KB, application/x-bzip)
2018-09-12 15:44 UTC, Toralf Förster
logs.tbz2 (logs.tbz2,5.43 KB, application/x-bzip)
2018-09-12 15:44 UTC, Toralf Förster
temp.tbz2 (temp.tbz2,29.65 KB, application/x-bzip)
2018-09-12 15:44 UTC, Toralf Förster
mygui-9999.ebuild and required patches (mygui-9999.tar.bz2,7.06 KB, application/x-bzip)
2018-11-26 22:55 UTC, Konstantin M
mygui-3.2.2-ogre-1.10-compat.patch (file_665804.txt,4.76 KB, patch)
2019-04-30 10:58 UTC, Quentin Minster
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-09-12 15:44:27 UTC
cd /var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-3.2.2_build/Platforms/Ogre/OgrePlatform && /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/MyGUIEngine/include -I/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Platforms/Ogre/OgrePlatform/include   -DNDEBUG -O2 -pipe -march=native -w   -fPIC -o CMakeFiles/MyGUI.OgrePlatform.dir/src/MyGUI_OgreDataManager.cpp.o -c /var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp
In file included from /var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:9:
/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:13:10: fatal error: OgreDataStream.h: No such file or directory
 #include <OgreDataStream.h>
compilation terminated.


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_20180906-174458


gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

emerge -qpv dev-games/mygui
[ebuild  N    ] dev-games/mygui-3.2.2  USE="ogre -debug -doc -opengl -plugins -samples -static-libs -test -tools" L10N="-ru" 

!!! The following installed packages are masked:
- dev-db/postgresql-11_beta3::gentoo (masked by: package.mask)
# Aaron W. Swenson <> (09 Sep 2018)
# PostgreSQL beta and release candidate releases are pre-release testing
# versions, not meant for production use. They are feature-frozen, and are
# released to the public for testing before final release
# NOTE: Successive beta or candidate releases may not be backwards compatible,
# so it is important that you review the release notes before upgrading.
# For more information about beta and release candidate versions, see:

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-09-12 15:44:30 UTC
Created attachment 546740 [details]
Comment 2 Toralf Förster gentoo-dev 2018-09-12 15:44:33 UTC
Created attachment 546742 [details]
Comment 3 Toralf Förster gentoo-dev 2018-09-12 15:44:36 UTC
Created attachment 546744 [details]
Comment 4 Toralf Förster gentoo-dev 2018-09-12 15:44:38 UTC
Created attachment 546746 [details]
Comment 5 Toralf Förster gentoo-dev 2018-09-12 15:44:41 UTC
Created attachment 546748 [details]
Comment 6 Toralf Förster gentoo-dev 2018-09-12 15:44:44 UTC
Created attachment 546750 [details]
Comment 7 Toralf Förster gentoo-dev 2018-09-12 15:44:47 UTC
Created attachment 546752 [details]
Comment 8 Stefan Strogin gentoo-dev 2018-09-24 14:56:01 UTC
See also:
Comment 9 Konstantin M 2018-11-26 22:55:08 UTC
Created attachment 556428 [details]
mygui-9999.ebuild and required patches

To somewhat solve this I created an mygui-9999.ebuild that should make it easy to choose a snapshot (just add EGIT_COMMIT into the ebuild probably).
It's not very clean (for example, I left the mygui-3.2.2-FHS.patch unmodified as it still applies, and that's now baked into the ebuild).
The other two previously existing patches are just changed trivially so that they apply again.
There are also two new patches:
- mygui-9999-fix-ogre-include-dirs.patch: trivially fixes the OGRE_INSTALL_DIRS typo in CMakeLists.txt as mentioned in
- mygui-9999-remove-deprecated-setnull-isnull.patch: removes the deprecated usage of setNull() and isNull(). I'm not sure if I did that right, but with the patch it compiles.

The resulting MyGUI installations seems to run OpenMW fine.
Comment 10 Quentin Minster 2019-04-30 10:58:43 UTC
Created attachment 574782 [details, diff]

As per Stefan's comments on, here is a patch that fixes the build against OGRE 1.10.x.

It'd be nice if this patch could make it in the tree, since even though upstream reportedly fixed the issue a few months back, there hasn't been a release of MyGUI in years. :-o
Comment 11 Larry the Git Cow gentoo-dev 2022-03-02 05:04:16 UTC
The bug has been closed via the following commit(s):

commit 7d97869582c5d3310410c146f3cc5f793987438a
Author:     Sam James <>
AuthorDate: 2022-03-02 05:03:23 +0000
Commit:     Sam James <>
CommitDate: 2022-03-02 05:03:36 +0000

    dev-games/mygui: drop 3.2.2
    Signed-off-by: Sam James <>

 dev-games/mygui/Manifest                           |   1 -
 dev-games/mygui/files/mygui-3.2.2-FHS.patch        |  44 -------
 dev-games/mygui/files/mygui-3.2.2-build.patch      |  61 ---------
 dev-games/mygui/files/mygui-3.2.2-c++17.patch      |  27 ----
 .../mygui/files/mygui-3.2.2-underlinking.patch     |  20 ---
 dev-games/mygui/mygui-3.2.2.ebuild                 | 144 ---------------------
 6 files changed, 297 deletions(-)