Package Details: orbiter2016-git r560.01aaeb02-4

Git Clone URL: https://aur.archlinux.org/orbiter2016-git.git (read-only, click to copy)
Package Base: orbiter2016-git
Description: Orbiter Space Flight Simulator
Upstream URL: http://orbit.medphys.ucl.ac.uk/index.html
Keywords: flight game orbiter satellite simulation simulator space
Licenses: MIT
Submitter: Mr.Smith1974
Maintainer: FabioLolix
Last Packager: Mr.Smith1974
Votes: 3
Popularity: 0.000188
First Submitted: 2023-07-02 09:10 (UTC)
Last Updated: 2023-09-07 16:27 (UTC)

Latest Comments

FabioLolix commented on 2024-12-17 21:50 (UTC)

@Mr.Smith1974 can't confirm the build issue

I have an updated pkgbuild here: https://github.com/FabioLolix/AURFIX/blob/main/o/orbiter2016-git/PKGBUILD but it still have significant issues https://github.com/FabioLolix/AURFIX/issues/3

Mr.Smith1974 commented on 2024-12-15 12:04 (UTC)

Not building because:

/home/qwerty/.cache/yay/orbiter2016-git/src/TheGondos-orbiter/Addons/NASSP/Orbitersdk/samples/ProjectApollo/src_rtccmfd/ApolloRTCCMFD.cpp:8122:40: warning: format ‘%s’ expects argument of type ‘char*’, but argument 7 has type ‘char (*)[16]’ [-Wformat=]
 8122 |         if (sscanf(str, "%d:%d:%lf %d %s", &hh, &mm, &ss, &star, &ref) == 5)
      |                                       ~^                         ~~~~
      |                                        |                         |
      |                                        char*                     char (*)[16]
/home/qwerty/.cache/yay/orbiter2016-git/src/TheGondos-orbiter/Addons/NASSP/Orbitersdk/samples/ProjectApollo/src_rtccmfd/ApolloRTCCMFD.cpp: In function ‘bool GOSTSXTCalcInput(void*, const char*, void*)’:
/home/qwerty/.cache/yay/orbiter2016-git/src/TheGondos-orbiter/Addons/NASSP/Orbitersdk/samples/ProjectApollo/src_rtccmfd/ApolloRTCCMFD.cpp:8148:40: warning: format ‘%s’ expects argument of type ‘char*’, but argument 7 has type ‘char (*)[16]’ [-Wformat=]
 8148 |         if (sscanf(str, "%d:%d:%lf %d %s", &hh, &mm, &ss, &star, &ref) == 5)
      |                                       ~^                         ~~~~
      |                                        |                         |
      |                                        char*                     char (*)[16]
cc1plus: some warnings being treated as errors
make[2]: *** [Addons/NASSP/CMakeFiles/ApolloRTCCMFD.dir/build.make:107: Addons/NASSP/CMakeFiles/ApolloRTCCMFD.dir/Orbitersdk/samples/ProjectApollo/src_rtccmfd/ApolloRTCCMFD.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5717: Addons/NASSP/CMakeFiles/ApolloRTCCMFD.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: orbiter2016-git-exit status 4

Mr.Smith1974 commented on 2024-02-05 03:48 (UTC) (edited on 2024-02-05 03:49 (UTC) by Mr.Smith1974)

https://www.orbiter-forum.com/threads/linux-playground.40476/post-615715

Notes on the build:

Moving the Orbiter installation out of user space ($HOME/) to a folder like /usr causes Orbiter to not have enough permissions to run and write to disk (scenario saves, joystick drivers, etc.). For some reason the Orbiter shortcut (located in /usr/share/applications) points to $HOME/.cache/yay/orbiter2016-git instead of /usr/Orbiter/Orbiter.

elimik31 commented on 2023-09-07 14:51 (UTC)

This requires glfw-x11 but I have glfw-wayland installed instead and they are not compatible. Can this in any way built with glfw-wayland and if so, can the PKGBUILD be adapted?

Mr.Smith1974 commented on 2023-07-23 07:39 (UTC)

To successfully build this package please disable -Werror=format-security in /etc/makepkg.conf

FabioLolix commented on 2023-07-19 16:22 (UTC)

Please revert pkgver(), date should be used as last resort

Mr.Smith1974 commented on 2023-07-04 06:17 (UTC)

@FabioLolix Thank you very much! I updated the build.

FabioLolix commented on 2023-07-04 05:39 (UTC)

Hello, this pkgbuild is double broken for me (can't find Orbitersdk.h at the first run, then fail for another reason) and need a revision