@Potomac: yes the error message was clear about this required change and this works well.
Search Criteria
Package Details: simgear 2020.3.19-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/simgear.git (read-only, click to copy) |
---|---|
Package Base: | simgear |
Description: | A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications. |
Upstream URL: | http://home.flightgear.org/ |
Licenses: | GPL |
Submitter: | Barthalion |
Maintainer: | acxz |
Last Packager: | acxz |
Votes: | 24 |
Popularity: | 0.000522 |
First Submitted: | 2018-01-05 16:49 (UTC) |
Last Updated: | 2023-12-31 01:08 (UTC) |
Dependencies (8)
- freealut
- glu (glu-gitAUR)
- glut (freeglut-x11-gitAUR, freeglut-wayland-gitAUR, freeglut)
- openscenegraph (openscenegraph-gitAUR, openscenegraph-openmw-gitAUR)
- plibAUR
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber) (make)
Required by (3)
- flightgear (make)
- flightgear-git (make)
- terragear-git
Sources (2)
zebulon commented on 2020-04-10 20:03 (UTC)
Potomac commented on 2020-04-07 18:32 (UTC) (edited on 2020-04-07 18:34 (UTC) by Potomac)
Here is a workaround for building Simgear 2019.1 with openscenegraph 3.6.5 : just add the "-fpermissive" option to -DCMAKE_CXX_FLAGS in PKGBUILD for cmake :
build() {
cd "$srcdir"/simgear-$pkgver
cmake -DCMAKE_CXX_FLAGS="-fpermissive" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=off ../simgear-${pkgver}
make
}
Potomac commented on 2020-04-07 01:10 (UTC) (edited on 2020-04-07 01:11 (UTC) by Potomac)
Instead of downgrading openscenegraph 3.6.5-1 to 3.6.4 we should be able to find a workaround, a patch for the file src/simgear-2019.1.1/simgear/canvas/elements/CanvasText.cxx.
Perhaps someone in a bugreport (flightgear's bugzilla) has already wrote a patch.
washingt0 commented on 2020-03-22 14:38 (UTC)
There is a incompatibility with openscenegraph
, as a walk around you can downgrade to the version 3.6.4 from the Arch Linux archive and then build simgear
.(https://archive.archlinux.org/packages/o/openscenegraph/)
gcampra commented on 2020-02-13 02:11 (UTC)
make[2]: * [simgear/CMakeFiles/SimGearScene.dir/build.make:271: simgear/CMakeFiles/SimGearScene.dir/canvas/elements/CanvasText.cxx.o] Erro 1 make[2]: Esperando que outros processos terminem. make[2]: Saindo do diretório '/home/gino/simgear/src/simgear-2019.1.1'
make[1]: *** [CMakeFiles/Makefile2:930: simgear/CMakeFiles/SimGearScene.dir/all] Erro 2 make[1]: Saindo do diretório '/home/gino/simgear/src/simgear-2019.1.1'
make: *** [Makefile:152: all] Erro 2 ==> ERRO: Uma falha ocorreu em build(). Abortando...
Potomac commented on 2020-01-02 00:20 (UTC)
Sometimes a bug can lead to a faulty file "/usr/lib/cmake/SimGear/SimGearTargets.cmake", with a wrong path "/include", which prevents to build flightgear,
check at line 66 in "/usr/lib/cmake/SimGear/SimGearTargets.cmake", if you have "/include" path :
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;/include;/usr/include"
if yes then remove "/include" path, in order to have this :
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;/usr/include"
iggyvolz commented on 2019-11-24 21:48 (UTC)
Depends on openscenegraph34 - moved to openscenegraph
mrshr3d commented on 2019-10-17 16:17 (UTC) (edited on 2019-10-18 22:50 (UTC) by mrshr3d)
EDIT - deleted cache files for simgear and installed manually. Installation successful. Sometimes these aur helper tools can be more of a hindrance.
==
Confirm I get the exact same error as Tio, except I'm using yay instead of pamac:
==> Entering fakeroot environment...
==> Starting package()...
/home/mrshr3d/.cache/yay/simgear/PKGBUILD: line 32: cd: /home/mrshr3d/.cache/yay/simgear/src/sgbuild: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Tio commented on 2019-10-17 02:11 (UTC)
Error:
==> Entering fakeroot environment...
==> Starting package()...
/var/tmp/pamac-build-tio/simgear/PKGBUILD: line 32: cd: /var/tmp/pamac-build-tio/simgear/src/sgbuild: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
polylux commented on 2019-10-16 21:34 (UTC)
brilliant, that builds now. thanks, Fred!
Pinned Comments
acxz commented on 2022-09-07 14:48 (UTC)
Development is on Github: https://github.com/acxz/flightgear-arch Please open issues and PRs there instead of commenting.