Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951572 - games-simulation/flightgear-2024.1.1, games-simulation/flightgear-data-2024.1.1 and dev-games/simgear-2024.1.1 Qt6-based version bump, then cleanup old
Summary: games-simulation/flightgear-2024.1.1, games-simulation/flightgear-data-2024.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Mrozowski
URL: https://www.flightgear.org/download/r...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: EAPI7Removal qt5-removal CVE-2025-0781
  Show dependency tree
 
Reported: 2025-03-18 22:00 UTC by Andreas Sturmlechner
Modified: 2025-05-22 06:56 UTC (History)
6 users (show)

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


Attachments
flightgear-2024.1.1.ebuild (flightgear-2024.1.1.ebuild,4.27 KB, application/vnd.gentoo.ebuild)
2025-05-12 19:31 UTC, Andrius Štikonas
Details
flightgear-data-2024.1.1.ebuild (flightgear-data-2024.1.1.ebuild,431 bytes, application/vnd.gentoo.ebuild)
2025-05-12 19:32 UTC, Andrius Štikonas
Details
simgear-2024.1.1.ebuild (simgear-2024.1.1.ebuild,1.40 KB, application/vnd.gentoo.ebuild)
2025-05-12 19:32 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Andrius Štikonas 2025-05-12 19:31:48 UTC
Created attachment 928538 [details]
flightgear-2024.1.1.ebuild

I was able to get something building though my ebuild is not release quality at the moment. Still might be a good starting point.
Comment 2 Andrius Štikonas 2025-05-12 19:32:23 UTC
Created attachment 928539 [details]
flightgear-data-2024.1.1.ebuild
Comment 3 Andrius Štikonas 2025-05-12 19:32:41 UTC
Created attachment 928540 [details]
simgear-2024.1.1.ebuild
Comment 4 Andrius Štikonas 2025-05-12 19:34:43 UTC
Notably, I had to disable "-DWITH_FGPANEL" to get it building at all. Also for some reason startup splash screen still shows debug build. Probably because we only strip debug symbols in post-processing stage.

I also haven't verified all USE flags and options...
Comment 5 Alexis 2025-05-21 00:37:25 UTC
i get an fgpanel-related build failure too. i'm not a C++ dev; is this some sort of namespacing issue?

[363/491] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DWITH_EVENTINPUT -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-2024.1.1_build/src/Include -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-2024.1.1_build/src -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/src -I/usr/include/freetype2  -march=native -O2 -pipe -fdiagnostics-color=always -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -Wall  -D_REENTRANT -DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG -DBOOST_NO_AUTO_PTR -DBOOST_NO_CXX98_BINDERS -std=gnu++17 -fdiagnostics-color=always -MD -MT utils/fgpanel/CMakeFiles/fgpanel.dir/main.cxx.o -MF utils/fgpanel/CMakeFiles/fgpanel.dir/main.cxx.o.d -o utils/fgpanel/CMakeFiles/fgpanel.dir/main.cxx.o -c /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/main.cxx
FAILED: utils/fgpanel/CMakeFiles/fgpanel.dir/main.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DWITH_EVENTINPUT -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-2024.1.1_build/src/Include -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-2024.1.1_build/src -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/src -I/usr/include/freetype2  -march=native -O2 -pipe -fdiagnostics-color=always -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -Wall  -D_REENTRANT -DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG -DBOOST_NO_AUTO_PTR -DBOOST_NO_CXX98_BINDERS -std=gnu++17 -fdiagnostics-color=always -MD -MT utils/fgpanel/CMakeFiles/fgpanel.dir/main.cxx.o -MF utils/fgpanel/CMakeFiles/fgpanel.dir/main.cxx.o.d -o utils/fgpanel/CMakeFiles/fgpanel.dir/main.cxx.o -c /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/main.cxx
In file included from /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGPanel.hxx:32,
                 from /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGPanelApplication.hxx:24,
                 from /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/main.cxx:18:
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGCroppedTexture.hxx:33:27: error: ‘string’ does not name a type; did you mean ‘stdin’?
   33 |   FGCroppedTexture (const string &path,
      |                           ^~~~~~
      |                           stdin
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGCroppedTexture.hxx:39:31: error: ‘string’ does not name a type; did you mean ‘stdin’?
   39 |   virtual void setPath (const string &path);
      |                               ^~~~~~
      |                               stdin
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGCroppedTexture.hxx:41:17: error: ‘string’ does not name a type; did you mean ‘stdin’?
   41 |   virtual const string &getPath () const;
      |                 ^~~~~~
      |                 stdin
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGCroppedTexture.hxx:45:44: error: ‘string’ does not name a type; did you mean ‘stdin’?
   45 |   static void registerTextureLoader (const string &extension,
      |                                            ^~~~~~
      |                                            stdin
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGCroppedTexture.hxx:57:3: error: ‘string’ does not name a type; did you mean ‘stdin’?
   57 |   string m_path;
      |   ^~~~~~
      |   stdin
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGCroppedTexture.hxx:62:10: error: ‘map’ does not name a type
   62 |   static map <string, GLuint> s_cache;
      |          ^~~
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGCroppedTexture.hxx:63:10: error: ‘map’ does not name a type
   63 |   static map <string, FGTextureLoaderInterface*> s_TextureLoader;
      |          ^~~
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/main.cxx: In function ‘int main(int, char**)’:
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/main.cxx:28:5: error: ‘cerr’ was not declared in this scope; did you mean ‘std::cerr’?
   28 |     cerr << "Sorry, your program terminated." << endl;
      |     ^~~~
      |     std::cerr
In file included from /usr/include/simgear/props/props.hxx:24,
                 from /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGPanelProtocol.hxx:22,
                 from /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGPanelApplication.hxx:25:
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/iostream:64:18: note: ‘std::cerr’ declared here
   64 |   extern ostream cerr;          ///< Linked to standard error (unbuffered)
      |                  ^~~~
/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/main.cxx:28:50: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
   28 |     cerr << "Sorry, your program terminated." << endl;
      |                                                  ^~~~
      |                                                  std::endl
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/istream:41,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/sstream:40,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/quoted_string.h:38,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/iomanip:50,
                 from /usr/include/simgear/timing/timestamp.hxx:36,
                 from /usr/include/simgear/structure/subsystem_mgr.hxx:33,
                 from /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgpanel/FGPanelApplication.hxx:21:
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/ostream:741:5: note: ‘std::endl’ declared here
  741 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
[364/491] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DWITH_EVENTINPUT -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-2024.1.1_build/src/Include -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-2024.1.1_build/src -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/src -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/3rdparty/hidapi -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/3rdparty/iaxclient/lib -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/3rdparty/joystick -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/3rdparty/fonts -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/src/FDM/JSBSim -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/3rdparty/cjson -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/3rdparty/mongoose  -march=native -O2 -pipe -fdiagnostics-color=always -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -Wall  -D_REENTRANT -DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG -DBOOST_NO_AUTO_PTR -DBOOST_NO_CXX98_BINDERS -std=gnu++17 -fdiagnostics-color=always -MD -MT CMakeFiles/fgfsObjects.dir/src/Main/subsystemFactory.cxx.o -MF CMakeFiles/fgfsObjects.dir/src/Main/subsystemFactory.cxx.o.d -o CMakeFiles/fgfsObjects.dir/src/Main/subsystemFactory.cxx.o -c /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/src/Main/subsystemFactory.cxx
[365/491] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DWITH_EVENTINPUT -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-2024.1.1_build/src/Include -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-2024.1.1_build/src -I/var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/src  -march=native -O2 -pipe -fdiagnostics-color=always -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -Wall  -D_REENTRANT -DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG -DBOOST_NO_AUTO_PTR -DBOOST_NO_CXX98_BINDERS -std=gnu++17 -fdiagnostics-color=always -MD -MT utils/fgelev/CMakeFiles/fgelev.dir/fgelev.cxx.o -MF utils/fgelev/CMakeFiles/fgelev.dir/fgelev.cxx.o.d -o utils/fgelev/CMakeFiles/fgelev.dir/fgelev.cxx.o -c /var/tmp/portage/games-simulation/flightgear-2024.1.1-r1/work/flightgear-v2024.1.1/utils/fgelev/fgelev.cxx
ninja: build stopped: subcommand failed.
Comment 6 Maciej Mrozowski gentoo-dev 2025-05-22 03:55:38 UTC
I'm working on ebuild for 2024.1.1.
Comment 7 Larry the Git Cow gentoo-dev 2025-05-22 06:56:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebff69b36d297f5e535c679af450210c71e29526

commit ebff69b36d297f5e535c679af450210c71e29526
Author:     Maciej Mrozowski <reavertm@gentoo.org>
AuthorDate: 2025-05-22 06:52:31 +0000
Commit:     Maciej Mrozowski <reavertm@gentoo.org>
CommitDate: 2025-05-22 06:55:13 +0000

    games-simulation/flightgear: version bump 2024.1.1, remove old, #951572
    
    Closes: https://bugs.gentoo.org/951572
    Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>

 dev-games/simgear/Manifest                         |   2 +-
 ...-sure-that-n-is-not-being-set-as-format-t.patch |  34 +
 .../files/0002-fix-support-for-aarch64.patch       |  25 +
 .../simgear/files/simgear-2019.1.1-gdal3.patch     |  12 -
 ...mgear-2020.1.2-do-not-assume-libc++-clang.patch |  12 -
 .../files/simgear-2020.3.17-boost-1.81.patch       |  11 -
 ...imgear-2020.3.19-flightgear-CVE-2025-0781.patch |  84 ---
 dev-games/simgear/metadata.xml                     |   4 +-
 ...2020.3.19-r1.ebuild => simgear-2024.1.1.ebuild} |  36 +-
 dev-games/simgear/simgear-9999.ebuild              |  37 +-
 games-simulation/flightgear-data/Manifest          |   2 +-
 ...3.19.ebuild => flightgear-data-2024.1.1.ebuild} |  11 +-
 .../flightgear-data/flightgear-data-9999.ebuild    |   8 +-
 games-simulation/flightgear-data/metadata.xml      |   2 +-
 games-simulation/flightgear/Manifest               |   2 +-
 ...-sure-that-n-is-not-being-set-as-format-t.patch |  33 +
 .../0003-make-fglauncher-a-static-library.patch    |  25 +
 .../files/0005-make-fgqmlui-a-static-library.patch |  25 +
 .../files/0006-fgviewer-fix-crash-on-exit.patch    |  29 +
 .../files/flightgear-2020.3.19-CVE-2025-0781.patch |  61 --
 .../files/flightgear-2020.3.8-cmake.patch          |  45 --
 .../files/flightgear-2024.1.1-cmake.patch          |  43 ++
 .../files/flightgear-2024.1.1-fix-fgpanel.patch    | 709 +++++++++++++++++++++
 ...0.3.19-r1.ebuild => flightgear-2024.1.1.ebuild} |  59 +-
 games-simulation/flightgear/flightgear-9999.ebuild |  57 +-
 games-simulation/flightgear/metadata.xml           |   4 +-
 profiles/base/package.use.force                    |   4 -
 profiles/base/package.use.mask                     |   5 +
 28 files changed, 1026 insertions(+), 355 deletions(-)