Package Details: flightgear 2020.3.19-2

Git Clone URL: https://aur.archlinux.org/flightgear.git (read-only, click to copy)
Package Base: flightgear
Description: An open-source, multi-platform flight simulator
Upstream URL: http://www.flightgear.org/
Licenses: GPL
Submitter: Barthalion
Maintainer: alesar1 (acxz)
Last Packager: acxz
Votes: 49
Popularity: 0.84
First Submitted: 2018-01-05 16:04 (UTC)
Last Updated: 2023-12-31 02:54 (UTC)

Pinned Comments

acxz commented on 2022-09-07 14:47 (UTC)

Development is on Github: https://github.com/acxz/flightgear-arch Please open issues and PRs there instead of commenting.

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

dreieck commented on 2024-06-03 18:29 (UTC)

simgear>=2020.3.19 simgear<2020.3.20 needs to be added to the depends array (please calculate the versions from flightgear-git's $pkgver dynamically.):

fgfs: error while loading shared libraries: libSimGearScened.so.2020.3.19: cannot open shared object file: No such file or directory

dreieck commented on 2024-02-09 13:07 (UTC)

namcap tells me about missing dependencies:

flightgear E: Dependency qt6-declarative detected and not included (QML modules ['QtQuick', 'QtQuick.Controls', 'QtQml'] needed in files ['usr/bin/fgfs'])
flightgear E: Dependency simgear detected and not included (libraries ['usr/lib/libSimGearScened.so.2020.3.19', 'usr/lib/libSimGearCored.so.2020.3.19'] needed in files ['usr/bin/UGsmooth', 'usr/bin/fgelev', 'usr/bin/fgjs', 'usr/bin/fgviewer', 'usr/bin/metar', 'usr/bin/fgfs', 'usr/bin/MIDGsmooth', 'usr/bin/JSBSim', 'usr/bin/js_demo', 'usr/bin/yasim', 'usr/bin/yasim-proptest', 'usr/bin/GPSsmooth', 'usr/bin/fgcom', 'usr/bin/fgpanel'])
flightgear E: Dependency hicolor-icon-theme detected and not included (needed for hicolor theme hierarchy)
flightgear E: Dependency gsm detected and not included (libraries ['usr/lib/libgsm.so.1'] needed in files ['usr/bin/fgcom', 'usr/bin/fgfs'])
flightgear E: Dependency glew detected and not included (libraries ['usr/lib/libGLEW.so.2.2'] needed in files ['usr/bin/fgpanel'])
flightgear E: Dependency freeglut detected and not included (libraries ['usr/lib/libglut.so.3'] needed in files ['usr/bin/fgpanel'])
flightgear E: Dependency speex detected and not included (libraries ['usr/lib/libspeex.so.1'] needed in files ['usr/bin/fgcom', 'usr/bin/fgfs'])
flightgear E: Dependency speexdsp detected and not included (libraries ['usr/lib/libspeexdsp.so.1'] needed in files ['usr/bin/fgcom', 'usr/bin/fgfs'])

Regards and thanks for maintaining!

Mr.Smith1974 commented on 2023-12-31 11:27 (UTC)

Why are you building from source? Here's the binary version: https://aur.archlinux.org/packages/flightgear-appimage

jdjennings18 commented on 2023-12-21 18:36 (UTC) (edited on 2023-12-21 18:46 (UTC) by jdjennings18)

On my Manjaro system, /etc/makepkg.conf has the line:

MAKEFLAGS="-j2"

uncommented.

On my EndeavourOS system, the line in /etc/makepkg:

#MAKEFLAGS="-j2"

is commented.

I uncommented the line on EndeavourOS, and the package builds without error. Maybe some kind of race or synchronization issue?

jdjennings18 commented on 2023-12-21 05:02 (UTC)

The plot thickens. My build failures all occurred on an EndeavorOS system. I have a Manjaro installation on the same machine. I switched over to that, and it builds without petris' patch. I'll have to look into what's different on the two systems.

jdjennings18 commented on 2023-12-20 19:04 (UTC)

Thanks petris. I tried your fix, but the build still fails with the same error. Maybe I misunderstand where to add your fix? I added it as the last line of the prepare() function in PKGBUILD.

Added as an issue on the github project page.

petris commented on 2023-12-18 13:14 (UTC)

I'm getting the same error as jdjennings18; I fixed it by adding the following line to the bottom of the prepare function, though this should be unnecessary.

echo 'add_dependencies(fgfs embeddedresources)' >> src/Main/CMakeLists.txt

jdjennings18 commented on 2023-12-17 17:09 (UTC)

Build fails on new version 2020.3.19-1

make[2]: *** No rule to make target 'src/EmbeddedResources/FlightGear-resources.cxx', needed by 'src/Main/CMakeFiles/fgfs_autogen_timestamp_deps'. Stop. make[1]: *** [CMakeFiles/Makefile2:3349: src/Main/CMakeFiles/fgfs_autogen_timestamp_deps.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build().

Mr.Smith1974 commented on 2023-07-05 14:27 (UTC)

Appimage version here: https://aur.archlinux.org/packages/flightgear-appimage

simona commented on 2023-02-23 09:58 (UTC)

In file included from /home/simona/.cache/yay/flightgear/src/flightgear-2020.3.17/utils/fgelev/fgelev.cxx:30:
/usr/include/simgear/props/props.hxx:1403:18: error: ‘shared_mutex’ in namespace ‘std’ does not name a type
1403 | mutable std::shared_mutex _mutex;
| ^~~~~~~~~~~~
/usr/include/simgear/props/props.hxx:1403:13: note: ‘std::shared_mutex’ is only available from C++17 onwards
1403 | mutable std::shared_mutex _mutex;
| ^~~
make[2]: [utils/fgelev/CMakeFiles/fgelev.dir/build.make:76: utils/fgelev/CMakeFiles/fgelev.dir/fgelev.cxx.o] Error 1
make[1]:
[CMakeFiles/Makefile2:2693: utils/fgelev/CMakeFiles/fgelev.dir/all] Error 2
make: *** [Makefile:166: all] Error 2